@trigger.dev/core 0.0.0-v3-canary-20240321134710 → 0.0.0-v3-canary-20240321162743
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/v3/index.d.mts +7 -0
- package/dist/v3/index.d.ts +7 -0
- package/dist/v3/index.js +12 -1
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +12 -1
- package/dist/v3/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/v3/index.mjs
CHANGED
|
@@ -640,6 +640,13 @@ var GetDeploymentResponseBody = z.object({
|
|
|
640
640
|
}))
|
|
641
641
|
}).optional()
|
|
642
642
|
});
|
|
643
|
+
var RegexSchema = z.custom((val) => {
|
|
644
|
+
try {
|
|
645
|
+
return typeof val.test === "function";
|
|
646
|
+
} catch {
|
|
647
|
+
return false;
|
|
648
|
+
}
|
|
649
|
+
});
|
|
643
650
|
var Config = z.object({
|
|
644
651
|
project: z.string(),
|
|
645
652
|
triggerDirectories: z.string().array().optional(),
|
|
@@ -649,7 +656,11 @@ var Config = z.object({
|
|
|
649
656
|
enabledInDev: z.boolean().default(true),
|
|
650
657
|
default: RetryOptions.optional()
|
|
651
658
|
}).optional(),
|
|
652
|
-
additionalPackages: z.string().array().optional()
|
|
659
|
+
additionalPackages: z.string().array().optional(),
|
|
660
|
+
dependenciesToBundle: z.array(z.union([
|
|
661
|
+
z.string(),
|
|
662
|
+
RegexSchema
|
|
663
|
+
])).optional()
|
|
653
664
|
});
|
|
654
665
|
var Machine = z.object({
|
|
655
666
|
cpu: z.string().default("1").optional(),
|