@trigger.dev/core 0.0.0-v3-prerelease-20241028160720 → 0.0.0-v3-prerelease-20241105122139
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/commonjs/v3/apiClient/index.d.ts +18 -18
- package/dist/commonjs/v3/apiClient/index.js +1 -1
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/errors.js +8 -0
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +95 -95
- package/dist/commonjs/v3/schemas/build.d.ts +74 -74
- package/dist/commonjs/v3/schemas/common.d.ts +124 -124
- package/dist/commonjs/v3/schemas/common.js +1 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +1911 -1911
- package/dist/commonjs/v3/schemas/resources.d.ts +22 -22
- package/dist/commonjs/v3/schemas/schemas.d.ts +181 -181
- package/dist/commonjs/v3/types/tasks.d.ts +1 -0
- package/dist/commonjs/v3/workers/taskExecutor.js +4 -2
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +18 -18
- package/dist/esm/v3/apiClient/index.js +1 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/errors.js +8 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +95 -95
- package/dist/esm/v3/schemas/build.d.ts +74 -74
- package/dist/esm/v3/schemas/common.d.ts +124 -124
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +1911 -1911
- package/dist/esm/v3/schemas/resources.d.ts +22 -22
- package/dist/esm/v3/schemas/schemas.d.ts +181 -181
- package/dist/esm/v3/types/tasks.d.ts +1 -0
- package/dist/esm/v3/workers/taskExecutor.js +4 -2
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ export declare const BuildExternal: z.ZodObject<{
|
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
version: z.ZodString;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
version: string;
|
|
7
6
|
name: string;
|
|
8
|
-
}, {
|
|
9
7
|
version: string;
|
|
8
|
+
}, {
|
|
10
9
|
name: string;
|
|
10
|
+
version: string;
|
|
11
11
|
}>;
|
|
12
12
|
export type BuildExternal = z.infer<typeof BuildExternal>;
|
|
13
13
|
export declare const BuildTarget: z.ZodEnum<["dev", "deploy"]>;
|
|
@@ -62,11 +62,11 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
62
62
|
name: z.ZodString;
|
|
63
63
|
version: z.ZodString;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
version: string;
|
|
66
65
|
name: string;
|
|
67
|
-
}, {
|
|
68
66
|
version: string;
|
|
67
|
+
}, {
|
|
69
68
|
name: string;
|
|
69
|
+
version: string;
|
|
70
70
|
}>, "many">>;
|
|
71
71
|
build: z.ZodObject<{
|
|
72
72
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -121,11 +121,11 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
121
121
|
}>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
environment: string;
|
|
124
|
-
contentHash: string;
|
|
125
124
|
configPath: string;
|
|
126
125
|
runtime: "node" | "bun";
|
|
127
|
-
|
|
126
|
+
contentHash: string;
|
|
128
127
|
packageVersion: string;
|
|
128
|
+
cliPackageVersion: string;
|
|
129
129
|
deploy: {
|
|
130
130
|
env?: Record<string, string> | undefined;
|
|
131
131
|
sync?: {
|
|
@@ -156,8 +156,8 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
156
156
|
indexControllerEntryPoint?: string | undefined;
|
|
157
157
|
loaderEntryPoint?: string | undefined;
|
|
158
158
|
externals?: {
|
|
159
|
-
version: string;
|
|
160
159
|
name: string;
|
|
160
|
+
version: string;
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
customConditions?: string[] | undefined;
|
|
163
163
|
image?: {
|
|
@@ -170,11 +170,11 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
170
170
|
} | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
environment: string;
|
|
173
|
-
contentHash: string;
|
|
174
173
|
configPath: string;
|
|
175
174
|
runtime: "node" | "bun";
|
|
176
|
-
|
|
175
|
+
contentHash: string;
|
|
177
176
|
packageVersion: string;
|
|
177
|
+
cliPackageVersion: string;
|
|
178
178
|
deploy: {
|
|
179
179
|
env?: Record<string, string> | undefined;
|
|
180
180
|
sync?: {
|
|
@@ -205,8 +205,8 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
205
205
|
indexControllerEntryPoint?: string | undefined;
|
|
206
206
|
loaderEntryPoint?: string | undefined;
|
|
207
207
|
externals?: {
|
|
208
|
-
version: string;
|
|
209
208
|
name: string;
|
|
209
|
+
version: string;
|
|
210
210
|
}[] | undefined;
|
|
211
211
|
customConditions?: string[] | undefined;
|
|
212
212
|
image?: {
|
|
@@ -270,11 +270,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
270
270
|
name: z.ZodString;
|
|
271
271
|
version: z.ZodString;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
version: string;
|
|
274
273
|
name: string;
|
|
275
|
-
}, {
|
|
276
274
|
version: string;
|
|
275
|
+
}, {
|
|
277
276
|
name: string;
|
|
277
|
+
version: string;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
build: z.ZodObject<{
|
|
280
280
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -329,11 +329,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
329
329
|
}>>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
331
|
environment: string;
|
|
332
|
-
contentHash: string;
|
|
333
332
|
configPath: string;
|
|
334
333
|
runtime: "node" | "bun";
|
|
335
|
-
|
|
334
|
+
contentHash: string;
|
|
336
335
|
packageVersion: string;
|
|
336
|
+
cliPackageVersion: string;
|
|
337
337
|
deploy: {
|
|
338
338
|
env?: Record<string, string> | undefined;
|
|
339
339
|
sync?: {
|
|
@@ -364,8 +364,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
364
364
|
indexControllerEntryPoint?: string | undefined;
|
|
365
365
|
loaderEntryPoint?: string | undefined;
|
|
366
366
|
externals?: {
|
|
367
|
-
version: string;
|
|
368
367
|
name: string;
|
|
368
|
+
version: string;
|
|
369
369
|
}[] | undefined;
|
|
370
370
|
customConditions?: string[] | undefined;
|
|
371
371
|
image?: {
|
|
@@ -378,11 +378,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
environment: string;
|
|
381
|
-
contentHash: string;
|
|
382
381
|
configPath: string;
|
|
383
382
|
runtime: "node" | "bun";
|
|
384
|
-
|
|
383
|
+
contentHash: string;
|
|
385
384
|
packageVersion: string;
|
|
385
|
+
cliPackageVersion: string;
|
|
386
386
|
deploy: {
|
|
387
387
|
env?: Record<string, string> | undefined;
|
|
388
388
|
sync?: {
|
|
@@ -413,8 +413,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
413
413
|
indexControllerEntryPoint?: string | undefined;
|
|
414
414
|
loaderEntryPoint?: string | undefined;
|
|
415
415
|
externals?: {
|
|
416
|
-
version: string;
|
|
417
416
|
name: string;
|
|
417
|
+
version: string;
|
|
418
418
|
}[] | undefined;
|
|
419
419
|
customConditions?: string[] | undefined;
|
|
420
420
|
image?: {
|
|
@@ -429,11 +429,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
build: {
|
|
431
431
|
environment: string;
|
|
432
|
-
contentHash: string;
|
|
433
432
|
configPath: string;
|
|
434
433
|
runtime: "node" | "bun";
|
|
435
|
-
|
|
434
|
+
contentHash: string;
|
|
436
435
|
packageVersion: string;
|
|
436
|
+
cliPackageVersion: string;
|
|
437
437
|
deploy: {
|
|
438
438
|
env?: Record<string, string> | undefined;
|
|
439
439
|
sync?: {
|
|
@@ -464,8 +464,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
464
464
|
indexControllerEntryPoint?: string | undefined;
|
|
465
465
|
loaderEntryPoint?: string | undefined;
|
|
466
466
|
externals?: {
|
|
467
|
-
version: string;
|
|
468
467
|
name: string;
|
|
468
|
+
version: string;
|
|
469
469
|
}[] | undefined;
|
|
470
470
|
customConditions?: string[] | undefined;
|
|
471
471
|
image?: {
|
|
@@ -480,11 +480,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
480
480
|
}, {
|
|
481
481
|
build: {
|
|
482
482
|
environment: string;
|
|
483
|
-
contentHash: string;
|
|
484
483
|
configPath: string;
|
|
485
484
|
runtime: "node" | "bun";
|
|
486
|
-
|
|
485
|
+
contentHash: string;
|
|
487
486
|
packageVersion: string;
|
|
487
|
+
cliPackageVersion: string;
|
|
488
488
|
deploy: {
|
|
489
489
|
env?: Record<string, string> | undefined;
|
|
490
490
|
sync?: {
|
|
@@ -515,8 +515,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
515
515
|
indexControllerEntryPoint?: string | undefined;
|
|
516
516
|
loaderEntryPoint?: string | undefined;
|
|
517
517
|
externals?: {
|
|
518
|
-
version: string;
|
|
519
518
|
name: string;
|
|
519
|
+
version: string;
|
|
520
520
|
}[] | undefined;
|
|
521
521
|
customConditions?: string[] | undefined;
|
|
522
522
|
image?: {
|
|
@@ -530,15 +530,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
530
530
|
};
|
|
531
531
|
}>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
type: "index";
|
|
534
533
|
data: {
|
|
535
534
|
build: {
|
|
536
535
|
environment: string;
|
|
537
|
-
contentHash: string;
|
|
538
536
|
configPath: string;
|
|
539
537
|
runtime: "node" | "bun";
|
|
540
|
-
|
|
538
|
+
contentHash: string;
|
|
541
539
|
packageVersion: string;
|
|
540
|
+
cliPackageVersion: string;
|
|
542
541
|
deploy: {
|
|
543
542
|
env?: Record<string, string> | undefined;
|
|
544
543
|
sync?: {
|
|
@@ -569,8 +568,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
569
568
|
indexControllerEntryPoint?: string | undefined;
|
|
570
569
|
loaderEntryPoint?: string | undefined;
|
|
571
570
|
externals?: {
|
|
572
|
-
version: string;
|
|
573
571
|
name: string;
|
|
572
|
+
version: string;
|
|
574
573
|
}[] | undefined;
|
|
575
574
|
customConditions?: string[] | undefined;
|
|
576
575
|
image?: {
|
|
@@ -583,16 +582,16 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
583
582
|
} | undefined;
|
|
584
583
|
};
|
|
585
584
|
};
|
|
586
|
-
}, {
|
|
587
585
|
type: "index";
|
|
586
|
+
}, {
|
|
588
587
|
data: {
|
|
589
588
|
build: {
|
|
590
589
|
environment: string;
|
|
591
|
-
contentHash: string;
|
|
592
590
|
configPath: string;
|
|
593
591
|
runtime: "node" | "bun";
|
|
594
|
-
|
|
592
|
+
contentHash: string;
|
|
595
593
|
packageVersion: string;
|
|
594
|
+
cliPackageVersion: string;
|
|
596
595
|
deploy: {
|
|
597
596
|
env?: Record<string, string> | undefined;
|
|
598
597
|
sync?: {
|
|
@@ -623,8 +622,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
623
622
|
indexControllerEntryPoint?: string | undefined;
|
|
624
623
|
loaderEntryPoint?: string | undefined;
|
|
625
624
|
externals?: {
|
|
626
|
-
version: string;
|
|
627
625
|
name: string;
|
|
626
|
+
version: string;
|
|
628
627
|
}[] | undefined;
|
|
629
628
|
customConditions?: string[] | undefined;
|
|
630
629
|
image?: {
|
|
@@ -637,6 +636,7 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
637
636
|
} | undefined;
|
|
638
637
|
};
|
|
639
638
|
};
|
|
639
|
+
type: "index";
|
|
640
640
|
}>;
|
|
641
641
|
export type IndexMessage = z.infer<typeof IndexMessage>;
|
|
642
642
|
export declare const WorkerManifest: z.ZodObject<{
|
|
@@ -855,12 +855,12 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
855
855
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
856
856
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
|
858
|
-
cpu?:
|
|
859
|
-
memory?:
|
|
858
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
859
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
860
860
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
861
861
|
}, {
|
|
862
|
-
cpu?:
|
|
863
|
-
memory?:
|
|
862
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
863
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
864
864
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
865
865
|
}>>;
|
|
866
866
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -925,8 +925,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
925
925
|
randomize?: boolean | undefined;
|
|
926
926
|
} | undefined;
|
|
927
927
|
machine?: {
|
|
928
|
-
cpu?:
|
|
929
|
-
memory?:
|
|
928
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
929
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
930
930
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
931
931
|
} | undefined;
|
|
932
932
|
triggerSource?: string | undefined;
|
|
@@ -985,8 +985,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
985
985
|
randomize?: boolean | undefined;
|
|
986
986
|
} | undefined;
|
|
987
987
|
machine?: {
|
|
988
|
-
cpu?:
|
|
989
|
-
memory?:
|
|
988
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
989
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
990
990
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
991
991
|
} | undefined;
|
|
992
992
|
triggerSource?: string | undefined;
|
|
@@ -1012,6 +1012,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1012
1012
|
exclude?: string[] | undefined;
|
|
1013
1013
|
}>>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
configPath: string;
|
|
1015
1016
|
tasks: {
|
|
1016
1017
|
id: string;
|
|
1017
1018
|
filePath: string;
|
|
@@ -1062,8 +1063,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1062
1063
|
randomize?: boolean | undefined;
|
|
1063
1064
|
} | undefined;
|
|
1064
1065
|
machine?: {
|
|
1065
|
-
cpu?:
|
|
1066
|
-
memory?:
|
|
1066
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1067
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1067
1068
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1068
1069
|
} | undefined;
|
|
1069
1070
|
triggerSource?: string | undefined;
|
|
@@ -1073,7 +1074,6 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1073
1074
|
} | undefined;
|
|
1074
1075
|
maxDuration?: number | undefined;
|
|
1075
1076
|
}[];
|
|
1076
|
-
configPath: string;
|
|
1077
1077
|
workerEntryPoint: string;
|
|
1078
1078
|
runtime: "node" | "bun";
|
|
1079
1079
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1084,6 +1084,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1084
1084
|
exclude?: string[] | undefined;
|
|
1085
1085
|
} | undefined;
|
|
1086
1086
|
}, {
|
|
1087
|
+
configPath: string;
|
|
1087
1088
|
tasks: {
|
|
1088
1089
|
id: string;
|
|
1089
1090
|
filePath: string;
|
|
@@ -1134,8 +1135,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1134
1135
|
randomize?: boolean | undefined;
|
|
1135
1136
|
} | undefined;
|
|
1136
1137
|
machine?: {
|
|
1137
|
-
cpu?:
|
|
1138
|
-
memory?:
|
|
1138
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1139
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1139
1140
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1140
1141
|
} | undefined;
|
|
1141
1142
|
triggerSource?: string | undefined;
|
|
@@ -1145,7 +1146,6 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1145
1146
|
} | undefined;
|
|
1146
1147
|
maxDuration?: number | undefined;
|
|
1147
1148
|
}[];
|
|
1148
|
-
configPath: string;
|
|
1149
1149
|
workerEntryPoint: string;
|
|
1150
1150
|
runtime: "node" | "bun";
|
|
1151
1151
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1376,12 +1376,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1376
1376
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
1377
1377
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
cpu?:
|
|
1380
|
-
memory?:
|
|
1379
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1380
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1381
1381
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1382
1382
|
}, {
|
|
1383
|
-
cpu?:
|
|
1384
|
-
memory?:
|
|
1383
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1384
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1385
1385
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1386
1386
|
}>>;
|
|
1387
1387
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1446,8 +1446,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1446
1446
|
randomize?: boolean | undefined;
|
|
1447
1447
|
} | undefined;
|
|
1448
1448
|
machine?: {
|
|
1449
|
-
cpu?:
|
|
1450
|
-
memory?:
|
|
1449
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1450
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1451
1451
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1452
1452
|
} | undefined;
|
|
1453
1453
|
triggerSource?: string | undefined;
|
|
@@ -1506,8 +1506,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1506
1506
|
randomize?: boolean | undefined;
|
|
1507
1507
|
} | undefined;
|
|
1508
1508
|
machine?: {
|
|
1509
|
-
cpu?:
|
|
1510
|
-
memory?:
|
|
1509
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1510
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1511
1511
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1512
1512
|
} | undefined;
|
|
1513
1513
|
triggerSource?: string | undefined;
|
|
@@ -1533,6 +1533,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1533
1533
|
exclude?: string[] | undefined;
|
|
1534
1534
|
}>>;
|
|
1535
1535
|
}, "strip", z.ZodTypeAny, {
|
|
1536
|
+
configPath: string;
|
|
1536
1537
|
tasks: {
|
|
1537
1538
|
id: string;
|
|
1538
1539
|
filePath: string;
|
|
@@ -1583,8 +1584,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1583
1584
|
randomize?: boolean | undefined;
|
|
1584
1585
|
} | undefined;
|
|
1585
1586
|
machine?: {
|
|
1586
|
-
cpu?:
|
|
1587
|
-
memory?:
|
|
1587
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1588
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1588
1589
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1589
1590
|
} | undefined;
|
|
1590
1591
|
triggerSource?: string | undefined;
|
|
@@ -1594,7 +1595,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1594
1595
|
} | undefined;
|
|
1595
1596
|
maxDuration?: number | undefined;
|
|
1596
1597
|
}[];
|
|
1597
|
-
configPath: string;
|
|
1598
1598
|
workerEntryPoint: string;
|
|
1599
1599
|
runtime: "node" | "bun";
|
|
1600
1600
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1605,6 +1605,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1605
1605
|
exclude?: string[] | undefined;
|
|
1606
1606
|
} | undefined;
|
|
1607
1607
|
}, {
|
|
1608
|
+
configPath: string;
|
|
1608
1609
|
tasks: {
|
|
1609
1610
|
id: string;
|
|
1610
1611
|
filePath: string;
|
|
@@ -1655,8 +1656,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1655
1656
|
randomize?: boolean | undefined;
|
|
1656
1657
|
} | undefined;
|
|
1657
1658
|
machine?: {
|
|
1658
|
-
cpu?:
|
|
1659
|
-
memory?:
|
|
1659
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1660
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1660
1661
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1661
1662
|
} | undefined;
|
|
1662
1663
|
triggerSource?: string | undefined;
|
|
@@ -1666,7 +1667,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1666
1667
|
} | undefined;
|
|
1667
1668
|
maxDuration?: number | undefined;
|
|
1668
1669
|
}[];
|
|
1669
|
-
configPath: string;
|
|
1670
1670
|
workerEntryPoint: string;
|
|
1671
1671
|
runtime: "node" | "bun";
|
|
1672
1672
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1679,6 +1679,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1679
1679
|
}>;
|
|
1680
1680
|
}, "strip", z.ZodTypeAny, {
|
|
1681
1681
|
manifest: {
|
|
1682
|
+
configPath: string;
|
|
1682
1683
|
tasks: {
|
|
1683
1684
|
id: string;
|
|
1684
1685
|
filePath: string;
|
|
@@ -1729,8 +1730,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1729
1730
|
randomize?: boolean | undefined;
|
|
1730
1731
|
} | undefined;
|
|
1731
1732
|
machine?: {
|
|
1732
|
-
cpu?:
|
|
1733
|
-
memory?:
|
|
1733
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1734
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1734
1735
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1735
1736
|
} | undefined;
|
|
1736
1737
|
triggerSource?: string | undefined;
|
|
@@ -1740,7 +1741,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1740
1741
|
} | undefined;
|
|
1741
1742
|
maxDuration?: number | undefined;
|
|
1742
1743
|
}[];
|
|
1743
|
-
configPath: string;
|
|
1744
1744
|
workerEntryPoint: string;
|
|
1745
1745
|
runtime: "node" | "bun";
|
|
1746
1746
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1753,6 +1753,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1753
1753
|
};
|
|
1754
1754
|
}, {
|
|
1755
1755
|
manifest: {
|
|
1756
|
+
configPath: string;
|
|
1756
1757
|
tasks: {
|
|
1757
1758
|
id: string;
|
|
1758
1759
|
filePath: string;
|
|
@@ -1803,8 +1804,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1803
1804
|
randomize?: boolean | undefined;
|
|
1804
1805
|
} | undefined;
|
|
1805
1806
|
machine?: {
|
|
1806
|
-
cpu?:
|
|
1807
|
-
memory?:
|
|
1807
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1808
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1808
1809
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1809
1810
|
} | undefined;
|
|
1810
1811
|
triggerSource?: string | undefined;
|
|
@@ -1814,7 +1815,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1814
1815
|
} | undefined;
|
|
1815
1816
|
maxDuration?: number | undefined;
|
|
1816
1817
|
}[];
|
|
1817
|
-
configPath: string;
|
|
1818
1818
|
workerEntryPoint: string;
|
|
1819
1819
|
runtime: "node" | "bun";
|
|
1820
1820
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1827,9 +1827,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1827
1827
|
};
|
|
1828
1828
|
}>;
|
|
1829
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1830
|
-
type: "worker-manifest";
|
|
1831
1830
|
data: {
|
|
1832
1831
|
manifest: {
|
|
1832
|
+
configPath: string;
|
|
1833
1833
|
tasks: {
|
|
1834
1834
|
id: string;
|
|
1835
1835
|
filePath: string;
|
|
@@ -1880,8 +1880,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1880
1880
|
randomize?: boolean | undefined;
|
|
1881
1881
|
} | undefined;
|
|
1882
1882
|
machine?: {
|
|
1883
|
-
cpu?:
|
|
1884
|
-
memory?:
|
|
1883
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1884
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1885
1885
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1886
1886
|
} | undefined;
|
|
1887
1887
|
triggerSource?: string | undefined;
|
|
@@ -1891,7 +1891,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1891
1891
|
} | undefined;
|
|
1892
1892
|
maxDuration?: number | undefined;
|
|
1893
1893
|
}[];
|
|
1894
|
-
configPath: string;
|
|
1895
1894
|
workerEntryPoint: string;
|
|
1896
1895
|
runtime: "node" | "bun";
|
|
1897
1896
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1903,10 +1902,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1903
1902
|
} | undefined;
|
|
1904
1903
|
};
|
|
1905
1904
|
};
|
|
1906
|
-
}, {
|
|
1907
1905
|
type: "worker-manifest";
|
|
1906
|
+
}, {
|
|
1908
1907
|
data: {
|
|
1909
1908
|
manifest: {
|
|
1909
|
+
configPath: string;
|
|
1910
1910
|
tasks: {
|
|
1911
1911
|
id: string;
|
|
1912
1912
|
filePath: string;
|
|
@@ -1957,8 +1957,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1957
1957
|
randomize?: boolean | undefined;
|
|
1958
1958
|
} | undefined;
|
|
1959
1959
|
machine?: {
|
|
1960
|
-
cpu?:
|
|
1961
|
-
memory?:
|
|
1960
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
1961
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
1962
1962
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1963
1963
|
} | undefined;
|
|
1964
1964
|
triggerSource?: string | undefined;
|
|
@@ -1968,7 +1968,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1968
1968
|
} | undefined;
|
|
1969
1969
|
maxDuration?: number | undefined;
|
|
1970
1970
|
}[];
|
|
1971
|
-
configPath: string;
|
|
1972
1971
|
workerEntryPoint: string;
|
|
1973
1972
|
runtime: "node" | "bun";
|
|
1974
1973
|
controllerEntryPoint?: string | undefined;
|
|
@@ -1980,6 +1979,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1980
1979
|
} | undefined;
|
|
1981
1980
|
};
|
|
1982
1981
|
};
|
|
1982
|
+
type: "worker-manifest";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
export type WorkerManifestMessage = z.infer<typeof WorkerManifestMessage>;
|
|
1985
1985
|
export declare const ImportError: z.ZodObject<{
|