@trigger.dev/core 2.3.15 → 2.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -14834,7 +14834,7 @@ declare const ScheduledPayloadSchema: z.ZodObject<{
|
|
|
14834
14834
|
}>;
|
|
14835
14835
|
type ScheduledPayload = z.infer<typeof ScheduledPayloadSchema>;
|
|
14836
14836
|
declare const IntervalOptionsSchema: z.ZodObject<{
|
|
14837
|
-
/** The number of seconds for the interval. Min =
|
|
14837
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14838
14838
|
seconds: z.ZodNumber;
|
|
14839
14839
|
}, "strip", z.ZodTypeAny, {
|
|
14840
14840
|
seconds: number;
|
|
@@ -14891,7 +14891,7 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
14891
14891
|
type: z.ZodLiteral<"interval">;
|
|
14892
14892
|
/** An object containing options about the interval. */
|
|
14893
14893
|
options: z.ZodObject<{
|
|
14894
|
-
/** The number of seconds for the interval. Min =
|
|
14894
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14895
14895
|
seconds: z.ZodNumber;
|
|
14896
14896
|
}, "strip", z.ZodTypeAny, {
|
|
14897
14897
|
seconds: number;
|
|
@@ -14923,7 +14923,7 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14923
14923
|
type: z.ZodLiteral<"interval">;
|
|
14924
14924
|
/** An object containing options about the interval. */
|
|
14925
14925
|
options: z.ZodObject<{
|
|
14926
|
-
/** The number of seconds for the interval. Min =
|
|
14926
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14927
14927
|
seconds: z.ZodNumber;
|
|
14928
14928
|
}, "strip", z.ZodTypeAny, {
|
|
14929
14929
|
seconds: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -14834,7 +14834,7 @@ declare const ScheduledPayloadSchema: z.ZodObject<{
|
|
|
14834
14834
|
}>;
|
|
14835
14835
|
type ScheduledPayload = z.infer<typeof ScheduledPayloadSchema>;
|
|
14836
14836
|
declare const IntervalOptionsSchema: z.ZodObject<{
|
|
14837
|
-
/** The number of seconds for the interval. Min =
|
|
14837
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14838
14838
|
seconds: z.ZodNumber;
|
|
14839
14839
|
}, "strip", z.ZodTypeAny, {
|
|
14840
14840
|
seconds: number;
|
|
@@ -14891,7 +14891,7 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
14891
14891
|
type: z.ZodLiteral<"interval">;
|
|
14892
14892
|
/** An object containing options about the interval. */
|
|
14893
14893
|
options: z.ZodObject<{
|
|
14894
|
-
/** The number of seconds for the interval. Min =
|
|
14894
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14895
14895
|
seconds: z.ZodNumber;
|
|
14896
14896
|
}, "strip", z.ZodTypeAny, {
|
|
14897
14897
|
seconds: number;
|
|
@@ -14923,7 +14923,7 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14923
14923
|
type: z.ZodLiteral<"interval">;
|
|
14924
14924
|
/** An object containing options about the interval. */
|
|
14925
14925
|
options: z.ZodObject<{
|
|
14926
|
-
/** The number of seconds for the interval. Min =
|
|
14926
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14927
14927
|
seconds: z.ZodNumber;
|
|
14928
14928
|
}, "strip", z.ZodTypeAny, {
|
|
14929
14929
|
seconds: number;
|
package/dist/index.js
CHANGED
|
@@ -184,8 +184,8 @@ var ScheduledPayloadSchema = zod.z.object({
|
|
|
184
184
|
lastTimestamp: zod.z.coerce.date().optional()
|
|
185
185
|
});
|
|
186
186
|
var IntervalOptionsSchema = zod.z.object({
|
|
187
|
-
/** The number of seconds for the interval. Min =
|
|
188
|
-
seconds: zod.z.number().int().positive().min(
|
|
187
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
188
|
+
seconds: zod.z.number().int().positive().min(20).max(2592e3)
|
|
189
189
|
});
|
|
190
190
|
var CronOptionsSchema = zod.z.object({
|
|
191
191
|
/** A CRON expression that defines the schedule. A useful tool when writing CRON
|