@trigger.dev/core 0.0.0-v3-canary-20240321134710 → 0.0.0-v3-canary-20240321164857
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 +817 -810
- package/dist/v3/index.d.ts +817 -810
- 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.js
CHANGED
|
@@ -648,6 +648,13 @@ var GetDeploymentResponseBody = zod.z.object({
|
|
|
648
648
|
}))
|
|
649
649
|
}).optional()
|
|
650
650
|
});
|
|
651
|
+
var RegexSchema = zod.z.custom((val) => {
|
|
652
|
+
try {
|
|
653
|
+
return typeof val.test === "function";
|
|
654
|
+
} catch {
|
|
655
|
+
return false;
|
|
656
|
+
}
|
|
657
|
+
});
|
|
651
658
|
var Config = zod.z.object({
|
|
652
659
|
project: zod.z.string(),
|
|
653
660
|
triggerDirectories: zod.z.string().array().optional(),
|
|
@@ -657,7 +664,11 @@ var Config = zod.z.object({
|
|
|
657
664
|
enabledInDev: zod.z.boolean().default(true),
|
|
658
665
|
default: RetryOptions.optional()
|
|
659
666
|
}).optional(),
|
|
660
|
-
additionalPackages: zod.z.string().array().optional()
|
|
667
|
+
additionalPackages: zod.z.string().array().optional(),
|
|
668
|
+
dependenciesToBundle: zod.z.array(zod.z.union([
|
|
669
|
+
zod.z.string(),
|
|
670
|
+
RegexSchema
|
|
671
|
+
])).optional()
|
|
661
672
|
});
|
|
662
673
|
var Machine = zod.z.object({
|
|
663
674
|
cpu: zod.z.string().default("1").optional(),
|