debounce keys with a maximum size of 512
This commit is contained in:
@@ -205,7 +205,7 @@ export const TriggerTaskRequestBody = z.object({
|
||||
region: z.string().optional(),
|
||||
debounce: z
|
||||
.object({
|
||||
key: z.string(),
|
||||
key: z.string().max(512),
|
||||
delay: z.string(),
|
||||
})
|
||||
.optional(),
|
||||
@@ -259,7 +259,7 @@ export const BatchTriggerTaskItem = z.object({
|
||||
region: z.string().optional(),
|
||||
debounce: z
|
||||
.object({
|
||||
key: z.string(),
|
||||
key: z.string().max(512),
|
||||
delay: z.string(),
|
||||
})
|
||||
.optional(),
|
||||
|
||||
Reference in New Issue
Block a user