@trigger.dev/core 0.0.0-prerelease-20240823132052 → 0.0.0-prerelease-20240905123715
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 +45 -45
- package/dist/commonjs/v3/build/extensions.d.ts +1 -1
- package/dist/commonjs/v3/build/extensions.js +2 -2
- package/dist/commonjs/v3/build/extensions.js.map +1 -1
- package/dist/commonjs/v3/build/runtime.d.ts +5 -0
- package/dist/commonjs/v3/build/runtime.js +19 -0
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +10 -0
- package/dist/commonjs/v3/schemas/api.d.ts +207 -207
- package/dist/commonjs/v3/schemas/build.d.ts +190 -170
- package/dist/commonjs/v3/schemas/build.js +2 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
- package/dist/commonjs/v3/schemas/messages.d.ts +2821 -2816
- package/dist/commonjs/v3/schemas/resources.d.ts +36 -36
- package/dist/commonjs/v3/schemas/schemas.d.ts +395 -395
- package/dist/commonjs/v3/workers/taskExecutor.js +0 -12
- 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 +45 -45
- package/dist/esm/v3/build/extensions.d.ts +1 -1
- package/dist/esm/v3/build/extensions.js +1 -1
- package/dist/esm/v3/build/extensions.js.map +1 -1
- package/dist/esm/v3/build/runtime.d.ts +5 -0
- package/dist/esm/v3/build/runtime.js +18 -0
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/config.d.ts +10 -0
- package/dist/esm/v3/schemas/api.d.ts +207 -207
- package/dist/esm/v3/schemas/build.d.ts +190 -170
- package/dist/esm/v3/schemas/build.js +2 -0
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +2821 -2816
- package/dist/esm/v3/schemas/resources.d.ts +36 -36
- package/dist/esm/v3/schemas/schemas.d.ts +395 -395
- package/dist/esm/v3/workers/taskExecutor.js +0 -12
- 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>>;
|
|
@@ -78,6 +78,7 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
78
78
|
env?: Record<string, string> | undefined;
|
|
79
79
|
commands?: string[] | undefined;
|
|
80
80
|
}>;
|
|
81
|
+
customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
82
|
deploy: z.ZodObject<{
|
|
82
83
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
83
84
|
sync: z.ZodOptional<z.ZodObject<{
|
|
@@ -119,18 +120,6 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
119
120
|
exclude?: string[] | undefined;
|
|
120
121
|
}>>;
|
|
121
122
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
config: {
|
|
123
|
-
project: string;
|
|
124
|
-
dirs: string[];
|
|
125
|
-
};
|
|
126
|
-
sources: Record<string, {
|
|
127
|
-
contentHash: string;
|
|
128
|
-
contents: string;
|
|
129
|
-
}>;
|
|
130
|
-
environment: string;
|
|
131
|
-
contentHash: string;
|
|
132
|
-
packageVersion: string;
|
|
133
|
-
cliPackageVersion: string;
|
|
134
123
|
deploy: {
|
|
135
124
|
env?: Record<string, string> | undefined;
|
|
136
125
|
sync?: {
|
|
@@ -138,11 +127,23 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
138
127
|
} | undefined;
|
|
139
128
|
};
|
|
140
129
|
target: "dev" | "deploy";
|
|
130
|
+
packageVersion: string;
|
|
131
|
+
cliPackageVersion: string;
|
|
132
|
+
contentHash: string;
|
|
141
133
|
runtime: "node" | "bun";
|
|
134
|
+
environment: string;
|
|
135
|
+
config: {
|
|
136
|
+
project: string;
|
|
137
|
+
dirs: string[];
|
|
138
|
+
};
|
|
142
139
|
files: {
|
|
143
140
|
entry: string;
|
|
144
141
|
out: string;
|
|
145
142
|
}[];
|
|
143
|
+
sources: Record<string, {
|
|
144
|
+
contentHash: string;
|
|
145
|
+
contents: string;
|
|
146
|
+
}>;
|
|
146
147
|
outputPath: string;
|
|
147
148
|
runWorkerEntryPoint: string;
|
|
148
149
|
indexWorkerEntryPoint: string;
|
|
@@ -155,9 +156,10 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
155
156
|
indexControllerEntryPoint?: string | undefined;
|
|
156
157
|
loaderEntryPoint?: string | undefined;
|
|
157
158
|
externals?: {
|
|
158
|
-
version: string;
|
|
159
159
|
name: string;
|
|
160
|
+
version: string;
|
|
160
161
|
}[] | undefined;
|
|
162
|
+
customConditions?: string[] | undefined;
|
|
161
163
|
image?: {
|
|
162
164
|
pkgs?: string[] | undefined;
|
|
163
165
|
instructions?: string[] | undefined;
|
|
@@ -167,18 +169,6 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
167
169
|
exclude?: string[] | undefined;
|
|
168
170
|
} | undefined;
|
|
169
171
|
}, {
|
|
170
|
-
config: {
|
|
171
|
-
project: string;
|
|
172
|
-
dirs: string[];
|
|
173
|
-
};
|
|
174
|
-
sources: Record<string, {
|
|
175
|
-
contentHash: string;
|
|
176
|
-
contents: string;
|
|
177
|
-
}>;
|
|
178
|
-
environment: string;
|
|
179
|
-
contentHash: string;
|
|
180
|
-
packageVersion: string;
|
|
181
|
-
cliPackageVersion: string;
|
|
182
172
|
deploy: {
|
|
183
173
|
env?: Record<string, string> | undefined;
|
|
184
174
|
sync?: {
|
|
@@ -186,11 +176,23 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
186
176
|
} | undefined;
|
|
187
177
|
};
|
|
188
178
|
target: "dev" | "deploy";
|
|
179
|
+
packageVersion: string;
|
|
180
|
+
cliPackageVersion: string;
|
|
181
|
+
contentHash: string;
|
|
189
182
|
runtime: "node" | "bun";
|
|
183
|
+
environment: string;
|
|
184
|
+
config: {
|
|
185
|
+
project: string;
|
|
186
|
+
dirs: string[];
|
|
187
|
+
};
|
|
190
188
|
files: {
|
|
191
189
|
entry: string;
|
|
192
190
|
out: string;
|
|
193
191
|
}[];
|
|
192
|
+
sources: Record<string, {
|
|
193
|
+
contentHash: string;
|
|
194
|
+
contents: string;
|
|
195
|
+
}>;
|
|
194
196
|
outputPath: string;
|
|
195
197
|
runWorkerEntryPoint: string;
|
|
196
198
|
indexWorkerEntryPoint: string;
|
|
@@ -203,9 +205,10 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
203
205
|
indexControllerEntryPoint?: string | undefined;
|
|
204
206
|
loaderEntryPoint?: string | undefined;
|
|
205
207
|
externals?: {
|
|
206
|
-
version: string;
|
|
207
208
|
name: string;
|
|
209
|
+
version: string;
|
|
208
210
|
}[] | undefined;
|
|
211
|
+
customConditions?: string[] | undefined;
|
|
209
212
|
image?: {
|
|
210
213
|
pkgs?: string[] | undefined;
|
|
211
214
|
instructions?: string[] | undefined;
|
|
@@ -267,11 +270,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
267
270
|
name: z.ZodString;
|
|
268
271
|
version: z.ZodString;
|
|
269
272
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
version: string;
|
|
271
273
|
name: string;
|
|
272
|
-
}, {
|
|
273
274
|
version: string;
|
|
275
|
+
}, {
|
|
274
276
|
name: string;
|
|
277
|
+
version: string;
|
|
275
278
|
}>, "many">>;
|
|
276
279
|
build: z.ZodObject<{
|
|
277
280
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -283,6 +286,7 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
283
286
|
env?: Record<string, string> | undefined;
|
|
284
287
|
commands?: string[] | undefined;
|
|
285
288
|
}>;
|
|
289
|
+
customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
286
290
|
deploy: z.ZodObject<{
|
|
287
291
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
288
292
|
sync: z.ZodOptional<z.ZodObject<{
|
|
@@ -324,18 +328,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
324
328
|
exclude?: string[] | undefined;
|
|
325
329
|
}>>;
|
|
326
330
|
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
config: {
|
|
328
|
-
project: string;
|
|
329
|
-
dirs: string[];
|
|
330
|
-
};
|
|
331
|
-
sources: Record<string, {
|
|
332
|
-
contentHash: string;
|
|
333
|
-
contents: string;
|
|
334
|
-
}>;
|
|
335
|
-
environment: string;
|
|
336
|
-
contentHash: string;
|
|
337
|
-
packageVersion: string;
|
|
338
|
-
cliPackageVersion: string;
|
|
339
331
|
deploy: {
|
|
340
332
|
env?: Record<string, string> | undefined;
|
|
341
333
|
sync?: {
|
|
@@ -343,11 +335,23 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
343
335
|
} | undefined;
|
|
344
336
|
};
|
|
345
337
|
target: "dev" | "deploy";
|
|
338
|
+
packageVersion: string;
|
|
339
|
+
cliPackageVersion: string;
|
|
340
|
+
contentHash: string;
|
|
346
341
|
runtime: "node" | "bun";
|
|
342
|
+
environment: string;
|
|
343
|
+
config: {
|
|
344
|
+
project: string;
|
|
345
|
+
dirs: string[];
|
|
346
|
+
};
|
|
347
347
|
files: {
|
|
348
348
|
entry: string;
|
|
349
349
|
out: string;
|
|
350
350
|
}[];
|
|
351
|
+
sources: Record<string, {
|
|
352
|
+
contentHash: string;
|
|
353
|
+
contents: string;
|
|
354
|
+
}>;
|
|
351
355
|
outputPath: string;
|
|
352
356
|
runWorkerEntryPoint: string;
|
|
353
357
|
indexWorkerEntryPoint: string;
|
|
@@ -360,9 +364,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
360
364
|
indexControllerEntryPoint?: string | undefined;
|
|
361
365
|
loaderEntryPoint?: string | undefined;
|
|
362
366
|
externals?: {
|
|
363
|
-
version: string;
|
|
364
367
|
name: string;
|
|
368
|
+
version: string;
|
|
365
369
|
}[] | undefined;
|
|
370
|
+
customConditions?: string[] | undefined;
|
|
366
371
|
image?: {
|
|
367
372
|
pkgs?: string[] | undefined;
|
|
368
373
|
instructions?: string[] | undefined;
|
|
@@ -372,18 +377,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
372
377
|
exclude?: string[] | undefined;
|
|
373
378
|
} | undefined;
|
|
374
379
|
}, {
|
|
375
|
-
config: {
|
|
376
|
-
project: string;
|
|
377
|
-
dirs: string[];
|
|
378
|
-
};
|
|
379
|
-
sources: Record<string, {
|
|
380
|
-
contentHash: string;
|
|
381
|
-
contents: string;
|
|
382
|
-
}>;
|
|
383
|
-
environment: string;
|
|
384
|
-
contentHash: string;
|
|
385
|
-
packageVersion: string;
|
|
386
|
-
cliPackageVersion: string;
|
|
387
380
|
deploy: {
|
|
388
381
|
env?: Record<string, string> | undefined;
|
|
389
382
|
sync?: {
|
|
@@ -391,11 +384,23 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
391
384
|
} | undefined;
|
|
392
385
|
};
|
|
393
386
|
target: "dev" | "deploy";
|
|
387
|
+
packageVersion: string;
|
|
388
|
+
cliPackageVersion: string;
|
|
389
|
+
contentHash: string;
|
|
394
390
|
runtime: "node" | "bun";
|
|
391
|
+
environment: string;
|
|
392
|
+
config: {
|
|
393
|
+
project: string;
|
|
394
|
+
dirs: string[];
|
|
395
|
+
};
|
|
395
396
|
files: {
|
|
396
397
|
entry: string;
|
|
397
398
|
out: string;
|
|
398
399
|
}[];
|
|
400
|
+
sources: Record<string, {
|
|
401
|
+
contentHash: string;
|
|
402
|
+
contents: string;
|
|
403
|
+
}>;
|
|
399
404
|
outputPath: string;
|
|
400
405
|
runWorkerEntryPoint: string;
|
|
401
406
|
indexWorkerEntryPoint: string;
|
|
@@ -408,9 +413,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
408
413
|
indexControllerEntryPoint?: string | undefined;
|
|
409
414
|
loaderEntryPoint?: string | undefined;
|
|
410
415
|
externals?: {
|
|
411
|
-
version: string;
|
|
412
416
|
name: string;
|
|
417
|
+
version: string;
|
|
413
418
|
}[] | undefined;
|
|
419
|
+
customConditions?: string[] | undefined;
|
|
414
420
|
image?: {
|
|
415
421
|
pkgs?: string[] | undefined;
|
|
416
422
|
instructions?: string[] | undefined;
|
|
@@ -422,18 +428,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
422
428
|
}>;
|
|
423
429
|
}, "strip", z.ZodTypeAny, {
|
|
424
430
|
build: {
|
|
425
|
-
config: {
|
|
426
|
-
project: string;
|
|
427
|
-
dirs: string[];
|
|
428
|
-
};
|
|
429
|
-
sources: Record<string, {
|
|
430
|
-
contentHash: string;
|
|
431
|
-
contents: string;
|
|
432
|
-
}>;
|
|
433
|
-
environment: string;
|
|
434
|
-
contentHash: string;
|
|
435
|
-
packageVersion: string;
|
|
436
|
-
cliPackageVersion: string;
|
|
437
431
|
deploy: {
|
|
438
432
|
env?: Record<string, string> | undefined;
|
|
439
433
|
sync?: {
|
|
@@ -441,11 +435,23 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
441
435
|
} | undefined;
|
|
442
436
|
};
|
|
443
437
|
target: "dev" | "deploy";
|
|
438
|
+
packageVersion: string;
|
|
439
|
+
cliPackageVersion: string;
|
|
440
|
+
contentHash: string;
|
|
444
441
|
runtime: "node" | "bun";
|
|
442
|
+
environment: string;
|
|
443
|
+
config: {
|
|
444
|
+
project: string;
|
|
445
|
+
dirs: string[];
|
|
446
|
+
};
|
|
445
447
|
files: {
|
|
446
448
|
entry: string;
|
|
447
449
|
out: string;
|
|
448
450
|
}[];
|
|
451
|
+
sources: Record<string, {
|
|
452
|
+
contentHash: string;
|
|
453
|
+
contents: string;
|
|
454
|
+
}>;
|
|
449
455
|
outputPath: string;
|
|
450
456
|
runWorkerEntryPoint: string;
|
|
451
457
|
indexWorkerEntryPoint: string;
|
|
@@ -458,9 +464,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
458
464
|
indexControllerEntryPoint?: string | undefined;
|
|
459
465
|
loaderEntryPoint?: string | undefined;
|
|
460
466
|
externals?: {
|
|
461
|
-
version: string;
|
|
462
467
|
name: string;
|
|
468
|
+
version: string;
|
|
463
469
|
}[] | undefined;
|
|
470
|
+
customConditions?: string[] | undefined;
|
|
464
471
|
image?: {
|
|
465
472
|
pkgs?: string[] | undefined;
|
|
466
473
|
instructions?: string[] | undefined;
|
|
@@ -472,18 +479,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
472
479
|
};
|
|
473
480
|
}, {
|
|
474
481
|
build: {
|
|
475
|
-
config: {
|
|
476
|
-
project: string;
|
|
477
|
-
dirs: string[];
|
|
478
|
-
};
|
|
479
|
-
sources: Record<string, {
|
|
480
|
-
contentHash: string;
|
|
481
|
-
contents: string;
|
|
482
|
-
}>;
|
|
483
|
-
environment: string;
|
|
484
|
-
contentHash: string;
|
|
485
|
-
packageVersion: string;
|
|
486
|
-
cliPackageVersion: string;
|
|
487
482
|
deploy: {
|
|
488
483
|
env?: Record<string, string> | undefined;
|
|
489
484
|
sync?: {
|
|
@@ -491,11 +486,23 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
491
486
|
} | undefined;
|
|
492
487
|
};
|
|
493
488
|
target: "dev" | "deploy";
|
|
489
|
+
packageVersion: string;
|
|
490
|
+
cliPackageVersion: string;
|
|
491
|
+
contentHash: string;
|
|
494
492
|
runtime: "node" | "bun";
|
|
493
|
+
environment: string;
|
|
494
|
+
config: {
|
|
495
|
+
project: string;
|
|
496
|
+
dirs: string[];
|
|
497
|
+
};
|
|
495
498
|
files: {
|
|
496
499
|
entry: string;
|
|
497
500
|
out: string;
|
|
498
501
|
}[];
|
|
502
|
+
sources: Record<string, {
|
|
503
|
+
contentHash: string;
|
|
504
|
+
contents: string;
|
|
505
|
+
}>;
|
|
499
506
|
outputPath: string;
|
|
500
507
|
runWorkerEntryPoint: string;
|
|
501
508
|
indexWorkerEntryPoint: string;
|
|
@@ -508,9 +515,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
508
515
|
indexControllerEntryPoint?: string | undefined;
|
|
509
516
|
loaderEntryPoint?: string | undefined;
|
|
510
517
|
externals?: {
|
|
511
|
-
version: string;
|
|
512
518
|
name: string;
|
|
519
|
+
version: string;
|
|
513
520
|
}[] | undefined;
|
|
521
|
+
customConditions?: string[] | undefined;
|
|
514
522
|
image?: {
|
|
515
523
|
pkgs?: string[] | undefined;
|
|
516
524
|
instructions?: string[] | undefined;
|
|
@@ -525,18 +533,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
525
533
|
type: "index";
|
|
526
534
|
data: {
|
|
527
535
|
build: {
|
|
528
|
-
config: {
|
|
529
|
-
project: string;
|
|
530
|
-
dirs: string[];
|
|
531
|
-
};
|
|
532
|
-
sources: Record<string, {
|
|
533
|
-
contentHash: string;
|
|
534
|
-
contents: string;
|
|
535
|
-
}>;
|
|
536
|
-
environment: string;
|
|
537
|
-
contentHash: string;
|
|
538
|
-
packageVersion: string;
|
|
539
|
-
cliPackageVersion: string;
|
|
540
536
|
deploy: {
|
|
541
537
|
env?: Record<string, string> | undefined;
|
|
542
538
|
sync?: {
|
|
@@ -544,11 +540,23 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
544
540
|
} | undefined;
|
|
545
541
|
};
|
|
546
542
|
target: "dev" | "deploy";
|
|
543
|
+
packageVersion: string;
|
|
544
|
+
cliPackageVersion: string;
|
|
545
|
+
contentHash: string;
|
|
547
546
|
runtime: "node" | "bun";
|
|
547
|
+
environment: string;
|
|
548
|
+
config: {
|
|
549
|
+
project: string;
|
|
550
|
+
dirs: string[];
|
|
551
|
+
};
|
|
548
552
|
files: {
|
|
549
553
|
entry: string;
|
|
550
554
|
out: string;
|
|
551
555
|
}[];
|
|
556
|
+
sources: Record<string, {
|
|
557
|
+
contentHash: string;
|
|
558
|
+
contents: string;
|
|
559
|
+
}>;
|
|
552
560
|
outputPath: string;
|
|
553
561
|
runWorkerEntryPoint: string;
|
|
554
562
|
indexWorkerEntryPoint: string;
|
|
@@ -561,9 +569,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
561
569
|
indexControllerEntryPoint?: string | undefined;
|
|
562
570
|
loaderEntryPoint?: string | undefined;
|
|
563
571
|
externals?: {
|
|
564
|
-
version: string;
|
|
565
572
|
name: string;
|
|
573
|
+
version: string;
|
|
566
574
|
}[] | undefined;
|
|
575
|
+
customConditions?: string[] | undefined;
|
|
567
576
|
image?: {
|
|
568
577
|
pkgs?: string[] | undefined;
|
|
569
578
|
instructions?: string[] | undefined;
|
|
@@ -578,18 +587,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
578
587
|
type: "index";
|
|
579
588
|
data: {
|
|
580
589
|
build: {
|
|
581
|
-
config: {
|
|
582
|
-
project: string;
|
|
583
|
-
dirs: string[];
|
|
584
|
-
};
|
|
585
|
-
sources: Record<string, {
|
|
586
|
-
contentHash: string;
|
|
587
|
-
contents: string;
|
|
588
|
-
}>;
|
|
589
|
-
environment: string;
|
|
590
|
-
contentHash: string;
|
|
591
|
-
packageVersion: string;
|
|
592
|
-
cliPackageVersion: string;
|
|
593
590
|
deploy: {
|
|
594
591
|
env?: Record<string, string> | undefined;
|
|
595
592
|
sync?: {
|
|
@@ -597,11 +594,23 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
597
594
|
} | undefined;
|
|
598
595
|
};
|
|
599
596
|
target: "dev" | "deploy";
|
|
597
|
+
packageVersion: string;
|
|
598
|
+
cliPackageVersion: string;
|
|
599
|
+
contentHash: string;
|
|
600
600
|
runtime: "node" | "bun";
|
|
601
|
+
environment: string;
|
|
602
|
+
config: {
|
|
603
|
+
project: string;
|
|
604
|
+
dirs: string[];
|
|
605
|
+
};
|
|
601
606
|
files: {
|
|
602
607
|
entry: string;
|
|
603
608
|
out: string;
|
|
604
609
|
}[];
|
|
610
|
+
sources: Record<string, {
|
|
611
|
+
contentHash: string;
|
|
612
|
+
contents: string;
|
|
613
|
+
}>;
|
|
605
614
|
outputPath: string;
|
|
606
615
|
runWorkerEntryPoint: string;
|
|
607
616
|
indexWorkerEntryPoint: string;
|
|
@@ -614,9 +623,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
614
623
|
indexControllerEntryPoint?: string | undefined;
|
|
615
624
|
loaderEntryPoint?: string | undefined;
|
|
616
625
|
externals?: {
|
|
617
|
-
version: string;
|
|
618
626
|
name: string;
|
|
627
|
+
version: string;
|
|
619
628
|
}[] | undefined;
|
|
629
|
+
customConditions?: string[] | undefined;
|
|
620
630
|
image?: {
|
|
621
631
|
pkgs?: string[] | undefined;
|
|
622
632
|
instructions?: string[] | undefined;
|
|
@@ -845,12 +855,12 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
845
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>]>>;
|
|
846
856
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
847
857
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
cpu?:
|
|
849
|
-
memory?:
|
|
858
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
859
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
850
860
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
851
861
|
}, {
|
|
852
|
-
cpu?:
|
|
853
|
-
memory?:
|
|
862
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
863
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
854
864
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
855
865
|
}>>;
|
|
856
866
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -865,10 +875,10 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
865
875
|
timezone: string;
|
|
866
876
|
}>>;
|
|
867
877
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
id: string;
|
|
869
878
|
filePath: string;
|
|
870
879
|
exportName: string;
|
|
871
880
|
entryPoint: string;
|
|
881
|
+
id: string;
|
|
872
882
|
queue?: {
|
|
873
883
|
name?: string | undefined;
|
|
874
884
|
concurrencyLimit?: number | undefined;
|
|
@@ -914,8 +924,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
914
924
|
randomize?: boolean | undefined;
|
|
915
925
|
} | undefined;
|
|
916
926
|
machine?: {
|
|
917
|
-
cpu?:
|
|
918
|
-
memory?:
|
|
927
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
928
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
919
929
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
920
930
|
} | undefined;
|
|
921
931
|
triggerSource?: string | undefined;
|
|
@@ -924,10 +934,10 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
924
934
|
timezone: string;
|
|
925
935
|
} | undefined;
|
|
926
936
|
}, {
|
|
927
|
-
id: string;
|
|
928
937
|
filePath: string;
|
|
929
938
|
exportName: string;
|
|
930
939
|
entryPoint: string;
|
|
940
|
+
id: string;
|
|
931
941
|
queue?: {
|
|
932
942
|
name?: string | undefined;
|
|
933
943
|
concurrencyLimit?: number | undefined;
|
|
@@ -973,8 +983,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
973
983
|
randomize?: boolean | undefined;
|
|
974
984
|
} | undefined;
|
|
975
985
|
machine?: {
|
|
976
|
-
cpu?:
|
|
977
|
-
memory?:
|
|
986
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
987
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
978
988
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
979
989
|
} | undefined;
|
|
980
990
|
triggerSource?: string | undefined;
|
|
@@ -987,6 +997,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
987
997
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
988
998
|
loaderEntryPoint: z.ZodOptional<z.ZodString>;
|
|
989
999
|
runtime: z.ZodEnum<["node", "bun"]>;
|
|
1000
|
+
customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
990
1001
|
otelImportHook: z.ZodOptional<z.ZodObject<{
|
|
991
1002
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
992
1003
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -998,11 +1009,13 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
998
1009
|
exclude?: string[] | undefined;
|
|
999
1010
|
}>>;
|
|
1000
1011
|
}, "strip", z.ZodTypeAny, {
|
|
1012
|
+
runtime: "node" | "bun";
|
|
1013
|
+
configPath: string;
|
|
1001
1014
|
tasks: {
|
|
1002
|
-
id: string;
|
|
1003
1015
|
filePath: string;
|
|
1004
1016
|
exportName: string;
|
|
1005
1017
|
entryPoint: string;
|
|
1018
|
+
id: string;
|
|
1006
1019
|
queue?: {
|
|
1007
1020
|
name?: string | undefined;
|
|
1008
1021
|
concurrencyLimit?: number | undefined;
|
|
@@ -1048,8 +1061,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1048
1061
|
randomize?: boolean | undefined;
|
|
1049
1062
|
} | undefined;
|
|
1050
1063
|
machine?: {
|
|
1051
|
-
cpu?:
|
|
1052
|
-
memory?:
|
|
1064
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1065
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1053
1066
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1054
1067
|
} | undefined;
|
|
1055
1068
|
triggerSource?: string | undefined;
|
|
@@ -1058,21 +1071,22 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1058
1071
|
timezone: string;
|
|
1059
1072
|
} | undefined;
|
|
1060
1073
|
}[];
|
|
1061
|
-
runtime: "node" | "bun";
|
|
1062
|
-
configPath: string;
|
|
1063
1074
|
workerEntryPoint: string;
|
|
1064
1075
|
controllerEntryPoint?: string | undefined;
|
|
1065
1076
|
loaderEntryPoint?: string | undefined;
|
|
1077
|
+
customConditions?: string[] | undefined;
|
|
1066
1078
|
otelImportHook?: {
|
|
1067
1079
|
include?: string[] | undefined;
|
|
1068
1080
|
exclude?: string[] | undefined;
|
|
1069
1081
|
} | undefined;
|
|
1070
1082
|
}, {
|
|
1083
|
+
runtime: "node" | "bun";
|
|
1084
|
+
configPath: string;
|
|
1071
1085
|
tasks: {
|
|
1072
|
-
id: string;
|
|
1073
1086
|
filePath: string;
|
|
1074
1087
|
exportName: string;
|
|
1075
1088
|
entryPoint: string;
|
|
1089
|
+
id: string;
|
|
1076
1090
|
queue?: {
|
|
1077
1091
|
name?: string | undefined;
|
|
1078
1092
|
concurrencyLimit?: number | undefined;
|
|
@@ -1118,8 +1132,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1118
1132
|
randomize?: boolean | undefined;
|
|
1119
1133
|
} | undefined;
|
|
1120
1134
|
machine?: {
|
|
1121
|
-
cpu?:
|
|
1122
|
-
memory?:
|
|
1135
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1136
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1123
1137
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1124
1138
|
} | undefined;
|
|
1125
1139
|
triggerSource?: string | undefined;
|
|
@@ -1128,11 +1142,10 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1128
1142
|
timezone: string;
|
|
1129
1143
|
} | undefined;
|
|
1130
1144
|
}[];
|
|
1131
|
-
runtime: "node" | "bun";
|
|
1132
|
-
configPath: string;
|
|
1133
1145
|
workerEntryPoint: string;
|
|
1134
1146
|
controllerEntryPoint?: string | undefined;
|
|
1135
1147
|
loaderEntryPoint?: string | undefined;
|
|
1148
|
+
customConditions?: string[] | undefined;
|
|
1136
1149
|
otelImportHook?: {
|
|
1137
1150
|
include?: string[] | undefined;
|
|
1138
1151
|
exclude?: string[] | undefined;
|
|
@@ -1358,12 +1371,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1358
1371
|
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>]>>;
|
|
1359
1372
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1360
1373
|
}, "strip", z.ZodTypeAny, {
|
|
1361
|
-
cpu?:
|
|
1362
|
-
memory?:
|
|
1374
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1375
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1363
1376
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1364
1377
|
}, {
|
|
1365
|
-
cpu?:
|
|
1366
|
-
memory?:
|
|
1378
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1379
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1367
1380
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1368
1381
|
}>>;
|
|
1369
1382
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1378,10 +1391,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1378
1391
|
timezone: string;
|
|
1379
1392
|
}>>;
|
|
1380
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1381
|
-
id: string;
|
|
1382
1394
|
filePath: string;
|
|
1383
1395
|
exportName: string;
|
|
1384
1396
|
entryPoint: string;
|
|
1397
|
+
id: string;
|
|
1385
1398
|
queue?: {
|
|
1386
1399
|
name?: string | undefined;
|
|
1387
1400
|
concurrencyLimit?: number | undefined;
|
|
@@ -1427,8 +1440,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1427
1440
|
randomize?: boolean | undefined;
|
|
1428
1441
|
} | undefined;
|
|
1429
1442
|
machine?: {
|
|
1430
|
-
cpu?:
|
|
1431
|
-
memory?:
|
|
1443
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1444
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1432
1445
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1433
1446
|
} | undefined;
|
|
1434
1447
|
triggerSource?: string | undefined;
|
|
@@ -1437,10 +1450,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1437
1450
|
timezone: string;
|
|
1438
1451
|
} | undefined;
|
|
1439
1452
|
}, {
|
|
1440
|
-
id: string;
|
|
1441
1453
|
filePath: string;
|
|
1442
1454
|
exportName: string;
|
|
1443
1455
|
entryPoint: string;
|
|
1456
|
+
id: string;
|
|
1444
1457
|
queue?: {
|
|
1445
1458
|
name?: string | undefined;
|
|
1446
1459
|
concurrencyLimit?: number | undefined;
|
|
@@ -1486,8 +1499,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1486
1499
|
randomize?: boolean | undefined;
|
|
1487
1500
|
} | undefined;
|
|
1488
1501
|
machine?: {
|
|
1489
|
-
cpu?:
|
|
1490
|
-
memory?:
|
|
1502
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1503
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1491
1504
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1492
1505
|
} | undefined;
|
|
1493
1506
|
triggerSource?: string | undefined;
|
|
@@ -1500,6 +1513,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1500
1513
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
1501
1514
|
loaderEntryPoint: z.ZodOptional<z.ZodString>;
|
|
1502
1515
|
runtime: z.ZodEnum<["node", "bun"]>;
|
|
1516
|
+
customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1503
1517
|
otelImportHook: z.ZodOptional<z.ZodObject<{
|
|
1504
1518
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1505
1519
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1511,11 +1525,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1511
1525
|
exclude?: string[] | undefined;
|
|
1512
1526
|
}>>;
|
|
1513
1527
|
}, "strip", z.ZodTypeAny, {
|
|
1528
|
+
runtime: "node" | "bun";
|
|
1529
|
+
configPath: string;
|
|
1514
1530
|
tasks: {
|
|
1515
|
-
id: string;
|
|
1516
1531
|
filePath: string;
|
|
1517
1532
|
exportName: string;
|
|
1518
1533
|
entryPoint: string;
|
|
1534
|
+
id: string;
|
|
1519
1535
|
queue?: {
|
|
1520
1536
|
name?: string | undefined;
|
|
1521
1537
|
concurrencyLimit?: number | undefined;
|
|
@@ -1561,8 +1577,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1561
1577
|
randomize?: boolean | undefined;
|
|
1562
1578
|
} | undefined;
|
|
1563
1579
|
machine?: {
|
|
1564
|
-
cpu?:
|
|
1565
|
-
memory?:
|
|
1580
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1581
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1566
1582
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1567
1583
|
} | undefined;
|
|
1568
1584
|
triggerSource?: string | undefined;
|
|
@@ -1571,21 +1587,22 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1571
1587
|
timezone: string;
|
|
1572
1588
|
} | undefined;
|
|
1573
1589
|
}[];
|
|
1574
|
-
runtime: "node" | "bun";
|
|
1575
|
-
configPath: string;
|
|
1576
1590
|
workerEntryPoint: string;
|
|
1577
1591
|
controllerEntryPoint?: string | undefined;
|
|
1578
1592
|
loaderEntryPoint?: string | undefined;
|
|
1593
|
+
customConditions?: string[] | undefined;
|
|
1579
1594
|
otelImportHook?: {
|
|
1580
1595
|
include?: string[] | undefined;
|
|
1581
1596
|
exclude?: string[] | undefined;
|
|
1582
1597
|
} | undefined;
|
|
1583
1598
|
}, {
|
|
1599
|
+
runtime: "node" | "bun";
|
|
1600
|
+
configPath: string;
|
|
1584
1601
|
tasks: {
|
|
1585
|
-
id: string;
|
|
1586
1602
|
filePath: string;
|
|
1587
1603
|
exportName: string;
|
|
1588
1604
|
entryPoint: string;
|
|
1605
|
+
id: string;
|
|
1589
1606
|
queue?: {
|
|
1590
1607
|
name?: string | undefined;
|
|
1591
1608
|
concurrencyLimit?: number | undefined;
|
|
@@ -1631,8 +1648,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1631
1648
|
randomize?: boolean | undefined;
|
|
1632
1649
|
} | undefined;
|
|
1633
1650
|
machine?: {
|
|
1634
|
-
cpu?:
|
|
1635
|
-
memory?:
|
|
1651
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1652
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1636
1653
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1637
1654
|
} | undefined;
|
|
1638
1655
|
triggerSource?: string | undefined;
|
|
@@ -1641,11 +1658,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1641
1658
|
timezone: string;
|
|
1642
1659
|
} | undefined;
|
|
1643
1660
|
}[];
|
|
1644
|
-
runtime: "node" | "bun";
|
|
1645
|
-
configPath: string;
|
|
1646
1661
|
workerEntryPoint: string;
|
|
1647
1662
|
controllerEntryPoint?: string | undefined;
|
|
1648
1663
|
loaderEntryPoint?: string | undefined;
|
|
1664
|
+
customConditions?: string[] | undefined;
|
|
1649
1665
|
otelImportHook?: {
|
|
1650
1666
|
include?: string[] | undefined;
|
|
1651
1667
|
exclude?: string[] | undefined;
|
|
@@ -1653,11 +1669,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1653
1669
|
}>;
|
|
1654
1670
|
}, "strip", z.ZodTypeAny, {
|
|
1655
1671
|
manifest: {
|
|
1672
|
+
runtime: "node" | "bun";
|
|
1673
|
+
configPath: string;
|
|
1656
1674
|
tasks: {
|
|
1657
|
-
id: string;
|
|
1658
1675
|
filePath: string;
|
|
1659
1676
|
exportName: string;
|
|
1660
1677
|
entryPoint: string;
|
|
1678
|
+
id: string;
|
|
1661
1679
|
queue?: {
|
|
1662
1680
|
name?: string | undefined;
|
|
1663
1681
|
concurrencyLimit?: number | undefined;
|
|
@@ -1703,8 +1721,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1703
1721
|
randomize?: boolean | undefined;
|
|
1704
1722
|
} | undefined;
|
|
1705
1723
|
machine?: {
|
|
1706
|
-
cpu?:
|
|
1707
|
-
memory?:
|
|
1724
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1725
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1708
1726
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1709
1727
|
} | undefined;
|
|
1710
1728
|
triggerSource?: string | undefined;
|
|
@@ -1713,11 +1731,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1713
1731
|
timezone: string;
|
|
1714
1732
|
} | undefined;
|
|
1715
1733
|
}[];
|
|
1716
|
-
runtime: "node" | "bun";
|
|
1717
|
-
configPath: string;
|
|
1718
1734
|
workerEntryPoint: string;
|
|
1719
1735
|
controllerEntryPoint?: string | undefined;
|
|
1720
1736
|
loaderEntryPoint?: string | undefined;
|
|
1737
|
+
customConditions?: string[] | undefined;
|
|
1721
1738
|
otelImportHook?: {
|
|
1722
1739
|
include?: string[] | undefined;
|
|
1723
1740
|
exclude?: string[] | undefined;
|
|
@@ -1725,11 +1742,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1725
1742
|
};
|
|
1726
1743
|
}, {
|
|
1727
1744
|
manifest: {
|
|
1745
|
+
runtime: "node" | "bun";
|
|
1746
|
+
configPath: string;
|
|
1728
1747
|
tasks: {
|
|
1729
|
-
id: string;
|
|
1730
1748
|
filePath: string;
|
|
1731
1749
|
exportName: string;
|
|
1732
1750
|
entryPoint: string;
|
|
1751
|
+
id: string;
|
|
1733
1752
|
queue?: {
|
|
1734
1753
|
name?: string | undefined;
|
|
1735
1754
|
concurrencyLimit?: number | undefined;
|
|
@@ -1775,8 +1794,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1775
1794
|
randomize?: boolean | undefined;
|
|
1776
1795
|
} | undefined;
|
|
1777
1796
|
machine?: {
|
|
1778
|
-
cpu?:
|
|
1779
|
-
memory?:
|
|
1797
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1798
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1780
1799
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1781
1800
|
} | undefined;
|
|
1782
1801
|
triggerSource?: string | undefined;
|
|
@@ -1785,11 +1804,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1785
1804
|
timezone: string;
|
|
1786
1805
|
} | undefined;
|
|
1787
1806
|
}[];
|
|
1788
|
-
runtime: "node" | "bun";
|
|
1789
|
-
configPath: string;
|
|
1790
1807
|
workerEntryPoint: string;
|
|
1791
1808
|
controllerEntryPoint?: string | undefined;
|
|
1792
1809
|
loaderEntryPoint?: string | undefined;
|
|
1810
|
+
customConditions?: string[] | undefined;
|
|
1793
1811
|
otelImportHook?: {
|
|
1794
1812
|
include?: string[] | undefined;
|
|
1795
1813
|
exclude?: string[] | undefined;
|
|
@@ -1800,11 +1818,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1800
1818
|
type: "worker-manifest";
|
|
1801
1819
|
data: {
|
|
1802
1820
|
manifest: {
|
|
1821
|
+
runtime: "node" | "bun";
|
|
1822
|
+
configPath: string;
|
|
1803
1823
|
tasks: {
|
|
1804
|
-
id: string;
|
|
1805
1824
|
filePath: string;
|
|
1806
1825
|
exportName: string;
|
|
1807
1826
|
entryPoint: string;
|
|
1827
|
+
id: string;
|
|
1808
1828
|
queue?: {
|
|
1809
1829
|
name?: string | undefined;
|
|
1810
1830
|
concurrencyLimit?: number | undefined;
|
|
@@ -1850,8 +1870,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1850
1870
|
randomize?: boolean | undefined;
|
|
1851
1871
|
} | undefined;
|
|
1852
1872
|
machine?: {
|
|
1853
|
-
cpu?:
|
|
1854
|
-
memory?:
|
|
1873
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1874
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1855
1875
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1856
1876
|
} | undefined;
|
|
1857
1877
|
triggerSource?: string | undefined;
|
|
@@ -1860,11 +1880,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1860
1880
|
timezone: string;
|
|
1861
1881
|
} | undefined;
|
|
1862
1882
|
}[];
|
|
1863
|
-
runtime: "node" | "bun";
|
|
1864
|
-
configPath: string;
|
|
1865
1883
|
workerEntryPoint: string;
|
|
1866
1884
|
controllerEntryPoint?: string | undefined;
|
|
1867
1885
|
loaderEntryPoint?: string | undefined;
|
|
1886
|
+
customConditions?: string[] | undefined;
|
|
1868
1887
|
otelImportHook?: {
|
|
1869
1888
|
include?: string[] | undefined;
|
|
1870
1889
|
exclude?: string[] | undefined;
|
|
@@ -1875,11 +1894,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1875
1894
|
type: "worker-manifest";
|
|
1876
1895
|
data: {
|
|
1877
1896
|
manifest: {
|
|
1897
|
+
runtime: "node" | "bun";
|
|
1898
|
+
configPath: string;
|
|
1878
1899
|
tasks: {
|
|
1879
|
-
id: string;
|
|
1880
1900
|
filePath: string;
|
|
1881
1901
|
exportName: string;
|
|
1882
1902
|
entryPoint: string;
|
|
1903
|
+
id: string;
|
|
1883
1904
|
queue?: {
|
|
1884
1905
|
name?: string | undefined;
|
|
1885
1906
|
concurrencyLimit?: number | undefined;
|
|
@@ -1925,8 +1946,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1925
1946
|
randomize?: boolean | undefined;
|
|
1926
1947
|
} | undefined;
|
|
1927
1948
|
machine?: {
|
|
1928
|
-
cpu?:
|
|
1929
|
-
memory?:
|
|
1949
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1950
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1930
1951
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1931
1952
|
} | undefined;
|
|
1932
1953
|
triggerSource?: string | undefined;
|
|
@@ -1935,11 +1956,10 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1935
1956
|
timezone: string;
|
|
1936
1957
|
} | undefined;
|
|
1937
1958
|
}[];
|
|
1938
|
-
runtime: "node" | "bun";
|
|
1939
|
-
configPath: string;
|
|
1940
1959
|
workerEntryPoint: string;
|
|
1941
1960
|
controllerEntryPoint?: string | undefined;
|
|
1942
1961
|
loaderEntryPoint?: string | undefined;
|
|
1962
|
+
customConditions?: string[] | undefined;
|
|
1943
1963
|
otelImportHook?: {
|
|
1944
1964
|
include?: string[] | undefined;
|
|
1945
1965
|
exclude?: string[] | undefined;
|