From b7d97b0b78632eeef8229a4c0a67c97fdb9037ec Mon Sep 17 00:00:00 2001 From: Ali Waseem Date: Mon, 30 Mar 2026 12:00:08 -0600 Subject: [PATCH] Update apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/CreateQueueSheet.schema.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../Queues/CreateQueueSheet/CreateQueueSheet.schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/CreateQueueSheet.schema.ts b/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/CreateQueueSheet.schema.ts index 393c244061b..e4ff0c93fd0 100644 --- a/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/CreateQueueSheet.schema.ts +++ b/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/CreateQueueSheet.schema.ts @@ -8,8 +8,8 @@ const normalQueueSchema = z.object({ const partitionedQueueSchema = z.object({ type: z.literal('partitioned'), - partitionInterval: z.coerce.number(), - retentionInterval: z.coerce.number(), + partitionInterval: z.coerce.number().int().positive(), + retentionInterval: z.coerce.number().int().positive(), }) const unloggedQueueSchema = z.object({