We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d99f68 commit e90e211Copy full SHA for e90e211
packages/core/src/v3/schemas/resources.ts
@@ -13,6 +13,7 @@ export const TaskResource = z.object({
13
triggerSource: z.string().optional(),
14
schedule: ScheduleMetadata.optional(),
15
maxDuration: z.number().optional(),
16
+ ttl: z.string().or(z.number().nonnegative()).optional(),
17
// JSONSchema type - using z.unknown() for runtime validation to accept JSONSchema7
18
payloadSchema: z.unknown().optional(),
19
});
0 commit comments