@trigger.dev/core 0.0.0-prerelease-20241219214230 → 0.0.0-prerelease-20250110154019
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 +169 -165
- package/dist/commonjs/v3/apiClient/index.js +9 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +2 -17
- package/dist/commonjs/v3/apiClient/runStream.js +68 -47
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
- package/dist/commonjs/v3/config.d.ts +55 -0
- package/dist/commonjs/v3/runMetadata/manager.d.ts +3 -3
- package/dist/commonjs/v3/runMetadata/manager.js +1 -7
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +820 -820
- package/dist/commonjs/v3/schemas/api.js +15 -7
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +250 -250
- package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
- package/dist/commonjs/v3/schemas/messages.d.ts +3714 -3714
- package/dist/commonjs/v3/schemas/resources.d.ts +82 -82
- package/dist/commonjs/v3/schemas/schemas.d.ts +424 -424
- package/dist/commonjs/v3/types/tasks.d.ts +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +8 -8
- package/dist/esm/v3/apiClient/index.d.ts +141 -137
- package/dist/esm/v3/apiClient/index.js +10 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +2 -17
- package/dist/esm/v3/apiClient/runStream.js +67 -44
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +55 -0
- package/dist/esm/v3/runMetadata/manager.d.ts +3 -3
- package/dist/esm/v3/runMetadata/manager.js +1 -7
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +712 -712
- package/dist/esm/v3/schemas/api.js +15 -7
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +100 -100
- package/dist/esm/v3/schemas/messages.d.ts +2391 -2391
- package/dist/esm/v3/schemas/resources.d.ts +56 -56
- package/dist/esm/v3/schemas/schemas.d.ts +224 -224
- package/dist/esm/v3/types/tasks.d.ts +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
|
-
name: string;
|
|
7
6
|
version: string;
|
|
8
|
-
}, {
|
|
9
7
|
name: string;
|
|
8
|
+
}, {
|
|
10
9
|
version: string;
|
|
10
|
+
name: string;
|
|
11
11
|
}>;
|
|
12
12
|
export type BuildExternal = z.infer<typeof BuildExternal>;
|
|
13
13
|
export declare const BuildTarget: z.ZodEnum<["dev", "deploy"]>;
|
|
@@ -35,11 +35,11 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
35
35
|
entry: z.ZodString;
|
|
36
36
|
out: z.ZodString;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
entry: string;
|
|
39
38
|
out: string;
|
|
40
|
-
}, {
|
|
41
39
|
entry: string;
|
|
40
|
+
}, {
|
|
42
41
|
out: string;
|
|
42
|
+
entry: string;
|
|
43
43
|
}>, "many">;
|
|
44
44
|
sources: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45
45
|
contents: z.ZodString;
|
|
@@ -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
|
-
name: string;
|
|
66
65
|
version: string;
|
|
67
|
-
}, {
|
|
68
66
|
name: string;
|
|
67
|
+
}, {
|
|
69
68
|
version: string;
|
|
69
|
+
name: string;
|
|
70
70
|
}>, "many">>;
|
|
71
71
|
build: z.ZodObject<{
|
|
72
72
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -103,11 +103,11 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
103
103
|
pkgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
104
104
|
instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
pkgs?: string[] | undefined;
|
|
107
106
|
instructions?: string[] | undefined;
|
|
108
|
-
}, {
|
|
109
107
|
pkgs?: string[] | undefined;
|
|
108
|
+
}, {
|
|
110
109
|
instructions?: string[] | undefined;
|
|
110
|
+
pkgs?: string[] | undefined;
|
|
111
111
|
}>>;
|
|
112
112
|
otelImportHook: z.ZodOptional<z.ZodObject<{
|
|
113
113
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -120,6 +120,14 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
120
120
|
exclude?: string[] | undefined;
|
|
121
121
|
}>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
config: {
|
|
124
|
+
project: string;
|
|
125
|
+
dirs: string[];
|
|
126
|
+
};
|
|
127
|
+
sources: Record<string, {
|
|
128
|
+
contentHash: string;
|
|
129
|
+
contents: string;
|
|
130
|
+
}>;
|
|
123
131
|
environment: string;
|
|
124
132
|
contentHash: string;
|
|
125
133
|
packageVersion: string;
|
|
@@ -132,18 +140,10 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
132
140
|
};
|
|
133
141
|
target: "dev" | "deploy";
|
|
134
142
|
runtime: "node" | "bun";
|
|
135
|
-
config: {
|
|
136
|
-
project: string;
|
|
137
|
-
dirs: string[];
|
|
138
|
-
};
|
|
139
143
|
files: {
|
|
140
|
-
entry: string;
|
|
141
144
|
out: string;
|
|
145
|
+
entry: string;
|
|
142
146
|
}[];
|
|
143
|
-
sources: Record<string, {
|
|
144
|
-
contentHash: string;
|
|
145
|
-
contents: string;
|
|
146
|
-
}>;
|
|
147
147
|
outputPath: string;
|
|
148
148
|
runWorkerEntryPoint: string;
|
|
149
149
|
indexWorkerEntryPoint: string;
|
|
@@ -156,19 +156,27 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
156
156
|
indexControllerEntryPoint?: string | undefined;
|
|
157
157
|
loaderEntryPoint?: string | undefined;
|
|
158
158
|
externals?: {
|
|
159
|
-
name: string;
|
|
160
159
|
version: string;
|
|
160
|
+
name: string;
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
customConditions?: string[] | undefined;
|
|
163
163
|
image?: {
|
|
164
|
-
pkgs?: string[] | undefined;
|
|
165
164
|
instructions?: string[] | undefined;
|
|
165
|
+
pkgs?: string[] | undefined;
|
|
166
166
|
} | undefined;
|
|
167
167
|
otelImportHook?: {
|
|
168
168
|
include?: string[] | undefined;
|
|
169
169
|
exclude?: string[] | undefined;
|
|
170
170
|
} | undefined;
|
|
171
171
|
}, {
|
|
172
|
+
config: {
|
|
173
|
+
project: string;
|
|
174
|
+
dirs: string[];
|
|
175
|
+
};
|
|
176
|
+
sources: Record<string, {
|
|
177
|
+
contentHash: string;
|
|
178
|
+
contents: string;
|
|
179
|
+
}>;
|
|
172
180
|
environment: string;
|
|
173
181
|
contentHash: string;
|
|
174
182
|
packageVersion: string;
|
|
@@ -181,18 +189,10 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
181
189
|
};
|
|
182
190
|
target: "dev" | "deploy";
|
|
183
191
|
runtime: "node" | "bun";
|
|
184
|
-
config: {
|
|
185
|
-
project: string;
|
|
186
|
-
dirs: string[];
|
|
187
|
-
};
|
|
188
192
|
files: {
|
|
189
|
-
entry: string;
|
|
190
193
|
out: string;
|
|
194
|
+
entry: string;
|
|
191
195
|
}[];
|
|
192
|
-
sources: Record<string, {
|
|
193
|
-
contentHash: string;
|
|
194
|
-
contents: string;
|
|
195
|
-
}>;
|
|
196
196
|
outputPath: string;
|
|
197
197
|
runWorkerEntryPoint: string;
|
|
198
198
|
indexWorkerEntryPoint: string;
|
|
@@ -205,13 +205,13 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
205
205
|
indexControllerEntryPoint?: string | undefined;
|
|
206
206
|
loaderEntryPoint?: string | undefined;
|
|
207
207
|
externals?: {
|
|
208
|
-
name: string;
|
|
209
208
|
version: string;
|
|
209
|
+
name: string;
|
|
210
210
|
}[] | undefined;
|
|
211
211
|
customConditions?: string[] | undefined;
|
|
212
212
|
image?: {
|
|
213
|
-
pkgs?: string[] | undefined;
|
|
214
213
|
instructions?: string[] | undefined;
|
|
214
|
+
pkgs?: string[] | undefined;
|
|
215
215
|
} | undefined;
|
|
216
216
|
otelImportHook?: {
|
|
217
217
|
include?: string[] | undefined;
|
|
@@ -243,11 +243,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
243
243
|
entry: z.ZodString;
|
|
244
244
|
out: z.ZodString;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
|
-
entry: string;
|
|
247
246
|
out: string;
|
|
248
|
-
}, {
|
|
249
247
|
entry: string;
|
|
248
|
+
}, {
|
|
250
249
|
out: string;
|
|
250
|
+
entry: string;
|
|
251
251
|
}>, "many">;
|
|
252
252
|
sources: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
253
253
|
contents: z.ZodString;
|
|
@@ -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
|
-
name: string;
|
|
274
273
|
version: string;
|
|
275
|
-
}, {
|
|
276
274
|
name: string;
|
|
275
|
+
}, {
|
|
277
276
|
version: string;
|
|
277
|
+
name: string;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
build: z.ZodObject<{
|
|
280
280
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -311,11 +311,11 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
311
311
|
pkgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
312
312
|
instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
pkgs?: string[] | undefined;
|
|
315
314
|
instructions?: string[] | undefined;
|
|
316
|
-
}, {
|
|
317
315
|
pkgs?: string[] | undefined;
|
|
316
|
+
}, {
|
|
318
317
|
instructions?: string[] | undefined;
|
|
318
|
+
pkgs?: string[] | undefined;
|
|
319
319
|
}>>;
|
|
320
320
|
otelImportHook: z.ZodOptional<z.ZodObject<{
|
|
321
321
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -328,6 +328,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
328
328
|
exclude?: string[] | undefined;
|
|
329
329
|
}>>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
+
config: {
|
|
332
|
+
project: string;
|
|
333
|
+
dirs: string[];
|
|
334
|
+
};
|
|
335
|
+
sources: Record<string, {
|
|
336
|
+
contentHash: string;
|
|
337
|
+
contents: string;
|
|
338
|
+
}>;
|
|
331
339
|
environment: string;
|
|
332
340
|
contentHash: string;
|
|
333
341
|
packageVersion: string;
|
|
@@ -340,18 +348,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
340
348
|
};
|
|
341
349
|
target: "dev" | "deploy";
|
|
342
350
|
runtime: "node" | "bun";
|
|
343
|
-
config: {
|
|
344
|
-
project: string;
|
|
345
|
-
dirs: string[];
|
|
346
|
-
};
|
|
347
351
|
files: {
|
|
348
|
-
entry: string;
|
|
349
352
|
out: string;
|
|
353
|
+
entry: string;
|
|
350
354
|
}[];
|
|
351
|
-
sources: Record<string, {
|
|
352
|
-
contentHash: string;
|
|
353
|
-
contents: string;
|
|
354
|
-
}>;
|
|
355
355
|
outputPath: string;
|
|
356
356
|
runWorkerEntryPoint: string;
|
|
357
357
|
indexWorkerEntryPoint: string;
|
|
@@ -364,19 +364,27 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
364
364
|
indexControllerEntryPoint?: string | undefined;
|
|
365
365
|
loaderEntryPoint?: string | undefined;
|
|
366
366
|
externals?: {
|
|
367
|
-
name: string;
|
|
368
367
|
version: string;
|
|
368
|
+
name: string;
|
|
369
369
|
}[] | undefined;
|
|
370
370
|
customConditions?: string[] | undefined;
|
|
371
371
|
image?: {
|
|
372
|
-
pkgs?: string[] | undefined;
|
|
373
372
|
instructions?: string[] | undefined;
|
|
373
|
+
pkgs?: string[] | undefined;
|
|
374
374
|
} | undefined;
|
|
375
375
|
otelImportHook?: {
|
|
376
376
|
include?: string[] | undefined;
|
|
377
377
|
exclude?: string[] | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
|
+
config: {
|
|
381
|
+
project: string;
|
|
382
|
+
dirs: string[];
|
|
383
|
+
};
|
|
384
|
+
sources: Record<string, {
|
|
385
|
+
contentHash: string;
|
|
386
|
+
contents: string;
|
|
387
|
+
}>;
|
|
380
388
|
environment: string;
|
|
381
389
|
contentHash: string;
|
|
382
390
|
packageVersion: string;
|
|
@@ -389,18 +397,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
389
397
|
};
|
|
390
398
|
target: "dev" | "deploy";
|
|
391
399
|
runtime: "node" | "bun";
|
|
392
|
-
config: {
|
|
393
|
-
project: string;
|
|
394
|
-
dirs: string[];
|
|
395
|
-
};
|
|
396
400
|
files: {
|
|
397
|
-
entry: string;
|
|
398
401
|
out: string;
|
|
402
|
+
entry: string;
|
|
399
403
|
}[];
|
|
400
|
-
sources: Record<string, {
|
|
401
|
-
contentHash: string;
|
|
402
|
-
contents: string;
|
|
403
|
-
}>;
|
|
404
404
|
outputPath: string;
|
|
405
405
|
runWorkerEntryPoint: string;
|
|
406
406
|
indexWorkerEntryPoint: string;
|
|
@@ -413,13 +413,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
413
413
|
indexControllerEntryPoint?: string | undefined;
|
|
414
414
|
loaderEntryPoint?: string | undefined;
|
|
415
415
|
externals?: {
|
|
416
|
-
name: string;
|
|
417
416
|
version: string;
|
|
417
|
+
name: string;
|
|
418
418
|
}[] | undefined;
|
|
419
419
|
customConditions?: string[] | undefined;
|
|
420
420
|
image?: {
|
|
421
|
-
pkgs?: string[] | undefined;
|
|
422
421
|
instructions?: string[] | undefined;
|
|
422
|
+
pkgs?: string[] | undefined;
|
|
423
423
|
} | undefined;
|
|
424
424
|
otelImportHook?: {
|
|
425
425
|
include?: string[] | undefined;
|
|
@@ -428,6 +428,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
428
428
|
}>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
build: {
|
|
431
|
+
config: {
|
|
432
|
+
project: string;
|
|
433
|
+
dirs: string[];
|
|
434
|
+
};
|
|
435
|
+
sources: Record<string, {
|
|
436
|
+
contentHash: string;
|
|
437
|
+
contents: string;
|
|
438
|
+
}>;
|
|
431
439
|
environment: string;
|
|
432
440
|
contentHash: string;
|
|
433
441
|
packageVersion: string;
|
|
@@ -440,18 +448,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
440
448
|
};
|
|
441
449
|
target: "dev" | "deploy";
|
|
442
450
|
runtime: "node" | "bun";
|
|
443
|
-
config: {
|
|
444
|
-
project: string;
|
|
445
|
-
dirs: string[];
|
|
446
|
-
};
|
|
447
451
|
files: {
|
|
448
|
-
entry: string;
|
|
449
452
|
out: string;
|
|
453
|
+
entry: string;
|
|
450
454
|
}[];
|
|
451
|
-
sources: Record<string, {
|
|
452
|
-
contentHash: string;
|
|
453
|
-
contents: string;
|
|
454
|
-
}>;
|
|
455
455
|
outputPath: string;
|
|
456
456
|
runWorkerEntryPoint: string;
|
|
457
457
|
indexWorkerEntryPoint: string;
|
|
@@ -464,13 +464,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
464
464
|
indexControllerEntryPoint?: string | undefined;
|
|
465
465
|
loaderEntryPoint?: string | undefined;
|
|
466
466
|
externals?: {
|
|
467
|
-
name: string;
|
|
468
467
|
version: string;
|
|
468
|
+
name: string;
|
|
469
469
|
}[] | undefined;
|
|
470
470
|
customConditions?: string[] | undefined;
|
|
471
471
|
image?: {
|
|
472
|
-
pkgs?: string[] | undefined;
|
|
473
472
|
instructions?: string[] | undefined;
|
|
473
|
+
pkgs?: string[] | undefined;
|
|
474
474
|
} | undefined;
|
|
475
475
|
otelImportHook?: {
|
|
476
476
|
include?: string[] | undefined;
|
|
@@ -479,6 +479,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
479
479
|
};
|
|
480
480
|
}, {
|
|
481
481
|
build: {
|
|
482
|
+
config: {
|
|
483
|
+
project: string;
|
|
484
|
+
dirs: string[];
|
|
485
|
+
};
|
|
486
|
+
sources: Record<string, {
|
|
487
|
+
contentHash: string;
|
|
488
|
+
contents: string;
|
|
489
|
+
}>;
|
|
482
490
|
environment: string;
|
|
483
491
|
contentHash: string;
|
|
484
492
|
packageVersion: string;
|
|
@@ -491,18 +499,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
491
499
|
};
|
|
492
500
|
target: "dev" | "deploy";
|
|
493
501
|
runtime: "node" | "bun";
|
|
494
|
-
config: {
|
|
495
|
-
project: string;
|
|
496
|
-
dirs: string[];
|
|
497
|
-
};
|
|
498
502
|
files: {
|
|
499
|
-
entry: string;
|
|
500
503
|
out: string;
|
|
504
|
+
entry: string;
|
|
501
505
|
}[];
|
|
502
|
-
sources: Record<string, {
|
|
503
|
-
contentHash: string;
|
|
504
|
-
contents: string;
|
|
505
|
-
}>;
|
|
506
506
|
outputPath: string;
|
|
507
507
|
runWorkerEntryPoint: string;
|
|
508
508
|
indexWorkerEntryPoint: string;
|
|
@@ -515,13 +515,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
515
515
|
indexControllerEntryPoint?: string | undefined;
|
|
516
516
|
loaderEntryPoint?: string | undefined;
|
|
517
517
|
externals?: {
|
|
518
|
-
name: string;
|
|
519
518
|
version: string;
|
|
519
|
+
name: string;
|
|
520
520
|
}[] | undefined;
|
|
521
521
|
customConditions?: string[] | undefined;
|
|
522
522
|
image?: {
|
|
523
|
-
pkgs?: string[] | undefined;
|
|
524
523
|
instructions?: string[] | undefined;
|
|
524
|
+
pkgs?: string[] | undefined;
|
|
525
525
|
} | undefined;
|
|
526
526
|
otelImportHook?: {
|
|
527
527
|
include?: string[] | undefined;
|
|
@@ -533,6 +533,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
533
533
|
type: "index";
|
|
534
534
|
data: {
|
|
535
535
|
build: {
|
|
536
|
+
config: {
|
|
537
|
+
project: string;
|
|
538
|
+
dirs: string[];
|
|
539
|
+
};
|
|
540
|
+
sources: Record<string, {
|
|
541
|
+
contentHash: string;
|
|
542
|
+
contents: string;
|
|
543
|
+
}>;
|
|
536
544
|
environment: string;
|
|
537
545
|
contentHash: string;
|
|
538
546
|
packageVersion: string;
|
|
@@ -545,18 +553,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
545
553
|
};
|
|
546
554
|
target: "dev" | "deploy";
|
|
547
555
|
runtime: "node" | "bun";
|
|
548
|
-
config: {
|
|
549
|
-
project: string;
|
|
550
|
-
dirs: string[];
|
|
551
|
-
};
|
|
552
556
|
files: {
|
|
553
|
-
entry: string;
|
|
554
557
|
out: string;
|
|
558
|
+
entry: string;
|
|
555
559
|
}[];
|
|
556
|
-
sources: Record<string, {
|
|
557
|
-
contentHash: string;
|
|
558
|
-
contents: string;
|
|
559
|
-
}>;
|
|
560
560
|
outputPath: string;
|
|
561
561
|
runWorkerEntryPoint: string;
|
|
562
562
|
indexWorkerEntryPoint: string;
|
|
@@ -569,13 +569,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
569
569
|
indexControllerEntryPoint?: string | undefined;
|
|
570
570
|
loaderEntryPoint?: string | undefined;
|
|
571
571
|
externals?: {
|
|
572
|
-
name: string;
|
|
573
572
|
version: string;
|
|
573
|
+
name: string;
|
|
574
574
|
}[] | undefined;
|
|
575
575
|
customConditions?: string[] | undefined;
|
|
576
576
|
image?: {
|
|
577
|
-
pkgs?: string[] | undefined;
|
|
578
577
|
instructions?: string[] | undefined;
|
|
578
|
+
pkgs?: string[] | undefined;
|
|
579
579
|
} | undefined;
|
|
580
580
|
otelImportHook?: {
|
|
581
581
|
include?: string[] | undefined;
|
|
@@ -587,6 +587,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
587
587
|
type: "index";
|
|
588
588
|
data: {
|
|
589
589
|
build: {
|
|
590
|
+
config: {
|
|
591
|
+
project: string;
|
|
592
|
+
dirs: string[];
|
|
593
|
+
};
|
|
594
|
+
sources: Record<string, {
|
|
595
|
+
contentHash: string;
|
|
596
|
+
contents: string;
|
|
597
|
+
}>;
|
|
590
598
|
environment: string;
|
|
591
599
|
contentHash: string;
|
|
592
600
|
packageVersion: string;
|
|
@@ -599,18 +607,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
599
607
|
};
|
|
600
608
|
target: "dev" | "deploy";
|
|
601
609
|
runtime: "node" | "bun";
|
|
602
|
-
config: {
|
|
603
|
-
project: string;
|
|
604
|
-
dirs: string[];
|
|
605
|
-
};
|
|
606
610
|
files: {
|
|
607
|
-
entry: string;
|
|
608
611
|
out: string;
|
|
612
|
+
entry: string;
|
|
609
613
|
}[];
|
|
610
|
-
sources: Record<string, {
|
|
611
|
-
contentHash: string;
|
|
612
|
-
contents: string;
|
|
613
|
-
}>;
|
|
614
614
|
outputPath: string;
|
|
615
615
|
runWorkerEntryPoint: string;
|
|
616
616
|
indexWorkerEntryPoint: string;
|
|
@@ -623,13 +623,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
623
623
|
indexControllerEntryPoint?: string | undefined;
|
|
624
624
|
loaderEntryPoint?: string | undefined;
|
|
625
625
|
externals?: {
|
|
626
|
-
name: string;
|
|
627
626
|
version: string;
|
|
627
|
+
name: string;
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
customConditions?: string[] | undefined;
|
|
630
630
|
image?: {
|
|
631
|
-
pkgs?: string[] | undefined;
|
|
632
631
|
instructions?: string[] | undefined;
|
|
632
|
+
pkgs?: string[] | undefined;
|
|
633
633
|
} | undefined;
|
|
634
634
|
otelImportHook?: {
|
|
635
635
|
include?: string[] | undefined;
|
|
@@ -664,29 +664,29 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
664
664
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
665
665
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
|
667
|
-
maxAttempts?: number | undefined;
|
|
668
667
|
factor?: number | undefined;
|
|
669
668
|
minTimeoutInMs?: number | undefined;
|
|
670
669
|
maxTimeoutInMs?: number | undefined;
|
|
671
670
|
randomize?: boolean | undefined;
|
|
672
|
-
}, {
|
|
673
671
|
maxAttempts?: number | undefined;
|
|
672
|
+
}, {
|
|
674
673
|
factor?: number | undefined;
|
|
675
674
|
minTimeoutInMs?: number | undefined;
|
|
676
675
|
maxTimeoutInMs?: number | undefined;
|
|
677
676
|
randomize?: boolean | undefined;
|
|
677
|
+
maxAttempts?: number | undefined;
|
|
678
678
|
}>>;
|
|
679
679
|
machine: z.ZodOptional<z.ZodObject<{
|
|
680
680
|
cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
|
|
681
681
|
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>]>>;
|
|
682
682
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
|
-
cpu?:
|
|
685
|
-
memory?:
|
|
684
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
685
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
686
686
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
687
687
|
}, {
|
|
688
|
-
cpu?:
|
|
689
|
-
memory?:
|
|
688
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
689
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
690
690
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
691
691
|
}>>;
|
|
692
692
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -694,11 +694,11 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
694
694
|
cron: z.ZodString;
|
|
695
695
|
timezone: z.ZodString;
|
|
696
696
|
}, "strip", z.ZodTypeAny, {
|
|
697
|
-
timezone: string;
|
|
698
697
|
cron: string;
|
|
699
|
-
}, {
|
|
700
698
|
timezone: string;
|
|
699
|
+
}, {
|
|
701
700
|
cron: string;
|
|
701
|
+
timezone: string;
|
|
702
702
|
}>>;
|
|
703
703
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
704
704
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -706,26 +706,26 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
706
706
|
filePath: string;
|
|
707
707
|
exportName: string;
|
|
708
708
|
entryPoint: string;
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
709
|
+
description?: string | undefined;
|
|
710
|
+
schedule?: {
|
|
711
|
+
cron: string;
|
|
712
|
+
timezone: string;
|
|
712
713
|
} | undefined;
|
|
713
|
-
maxDuration?: number | undefined;
|
|
714
714
|
retry?: {
|
|
715
|
-
maxAttempts?: number | undefined;
|
|
716
715
|
factor?: number | undefined;
|
|
717
716
|
minTimeoutInMs?: number | undefined;
|
|
718
717
|
maxTimeoutInMs?: number | undefined;
|
|
719
718
|
randomize?: boolean | undefined;
|
|
719
|
+
maxAttempts?: number | undefined;
|
|
720
720
|
} | undefined;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
721
|
+
maxDuration?: number | undefined;
|
|
722
|
+
queue?: {
|
|
723
|
+
name?: string | undefined;
|
|
724
|
+
concurrencyLimit?: number | undefined;
|
|
725
725
|
} | undefined;
|
|
726
726
|
machine?: {
|
|
727
|
-
cpu?:
|
|
728
|
-
memory?:
|
|
727
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
728
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
729
729
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
730
730
|
} | undefined;
|
|
731
731
|
triggerSource?: string | undefined;
|
|
@@ -734,26 +734,26 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
734
734
|
filePath: string;
|
|
735
735
|
exportName: string;
|
|
736
736
|
entryPoint: string;
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
737
|
+
description?: string | undefined;
|
|
738
|
+
schedule?: {
|
|
739
|
+
cron: string;
|
|
740
|
+
timezone: string;
|
|
740
741
|
} | undefined;
|
|
741
|
-
maxDuration?: number | undefined;
|
|
742
742
|
retry?: {
|
|
743
|
-
maxAttempts?: number | undefined;
|
|
744
743
|
factor?: number | undefined;
|
|
745
744
|
minTimeoutInMs?: number | undefined;
|
|
746
745
|
maxTimeoutInMs?: number | undefined;
|
|
747
746
|
randomize?: boolean | undefined;
|
|
747
|
+
maxAttempts?: number | undefined;
|
|
748
748
|
} | undefined;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
749
|
+
maxDuration?: number | undefined;
|
|
750
|
+
queue?: {
|
|
751
|
+
name?: string | undefined;
|
|
752
|
+
concurrencyLimit?: number | undefined;
|
|
753
753
|
} | undefined;
|
|
754
754
|
machine?: {
|
|
755
|
-
cpu?:
|
|
756
|
-
memory?:
|
|
755
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
756
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
757
757
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
758
758
|
} | undefined;
|
|
759
759
|
triggerSource?: string | undefined;
|
|
@@ -779,26 +779,26 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
779
779
|
filePath: string;
|
|
780
780
|
exportName: string;
|
|
781
781
|
entryPoint: string;
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
782
|
+
description?: string | undefined;
|
|
783
|
+
schedule?: {
|
|
784
|
+
cron: string;
|
|
785
|
+
timezone: string;
|
|
785
786
|
} | undefined;
|
|
786
|
-
maxDuration?: number | undefined;
|
|
787
787
|
retry?: {
|
|
788
|
-
maxAttempts?: number | undefined;
|
|
789
788
|
factor?: number | undefined;
|
|
790
789
|
minTimeoutInMs?: number | undefined;
|
|
791
790
|
maxTimeoutInMs?: number | undefined;
|
|
792
791
|
randomize?: boolean | undefined;
|
|
792
|
+
maxAttempts?: number | undefined;
|
|
793
793
|
} | undefined;
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
794
|
+
maxDuration?: number | undefined;
|
|
795
|
+
queue?: {
|
|
796
|
+
name?: string | undefined;
|
|
797
|
+
concurrencyLimit?: number | undefined;
|
|
798
798
|
} | undefined;
|
|
799
799
|
machine?: {
|
|
800
|
-
cpu?:
|
|
801
|
-
memory?:
|
|
800
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
801
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
802
802
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
803
803
|
} | undefined;
|
|
804
804
|
triggerSource?: string | undefined;
|
|
@@ -819,26 +819,26 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
819
819
|
filePath: string;
|
|
820
820
|
exportName: string;
|
|
821
821
|
entryPoint: string;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
822
|
+
description?: string | undefined;
|
|
823
|
+
schedule?: {
|
|
824
|
+
cron: string;
|
|
825
|
+
timezone: string;
|
|
825
826
|
} | undefined;
|
|
826
|
-
maxDuration?: number | undefined;
|
|
827
827
|
retry?: {
|
|
828
|
-
maxAttempts?: number | undefined;
|
|
829
828
|
factor?: number | undefined;
|
|
830
829
|
minTimeoutInMs?: number | undefined;
|
|
831
830
|
maxTimeoutInMs?: number | undefined;
|
|
832
831
|
randomize?: boolean | undefined;
|
|
832
|
+
maxAttempts?: number | undefined;
|
|
833
833
|
} | undefined;
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
834
|
+
maxDuration?: number | undefined;
|
|
835
|
+
queue?: {
|
|
836
|
+
name?: string | undefined;
|
|
837
|
+
concurrencyLimit?: number | undefined;
|
|
838
838
|
} | undefined;
|
|
839
839
|
machine?: {
|
|
840
|
-
cpu?:
|
|
841
|
-
memory?:
|
|
840
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
841
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
842
842
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
843
843
|
} | undefined;
|
|
844
844
|
triggerSource?: string | undefined;
|
|
@@ -883,29 +883,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
883
883
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
884
884
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
885
885
|
}, "strip", z.ZodTypeAny, {
|
|
886
|
-
maxAttempts?: number | undefined;
|
|
887
886
|
factor?: number | undefined;
|
|
888
887
|
minTimeoutInMs?: number | undefined;
|
|
889
888
|
maxTimeoutInMs?: number | undefined;
|
|
890
889
|
randomize?: boolean | undefined;
|
|
891
|
-
}, {
|
|
892
890
|
maxAttempts?: number | undefined;
|
|
891
|
+
}, {
|
|
893
892
|
factor?: number | undefined;
|
|
894
893
|
minTimeoutInMs?: number | undefined;
|
|
895
894
|
maxTimeoutInMs?: number | undefined;
|
|
896
895
|
randomize?: boolean | undefined;
|
|
896
|
+
maxAttempts?: number | undefined;
|
|
897
897
|
}>>;
|
|
898
898
|
machine: z.ZodOptional<z.ZodObject<{
|
|
899
899
|
cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
|
|
900
900
|
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>]>>;
|
|
901
901
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
cpu?:
|
|
904
|
-
memory?:
|
|
903
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
904
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
905
905
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
906
906
|
}, {
|
|
907
|
-
cpu?:
|
|
908
|
-
memory?:
|
|
907
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
908
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
909
909
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
910
910
|
}>>;
|
|
911
911
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -913,11 +913,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
913
913
|
cron: z.ZodString;
|
|
914
914
|
timezone: z.ZodString;
|
|
915
915
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
timezone: string;
|
|
917
916
|
cron: string;
|
|
918
|
-
}, {
|
|
919
917
|
timezone: string;
|
|
918
|
+
}, {
|
|
920
919
|
cron: string;
|
|
920
|
+
timezone: string;
|
|
921
921
|
}>>;
|
|
922
922
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
923
923
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -925,26 +925,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
925
925
|
filePath: string;
|
|
926
926
|
exportName: string;
|
|
927
927
|
entryPoint: string;
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
928
|
+
description?: string | undefined;
|
|
929
|
+
schedule?: {
|
|
930
|
+
cron: string;
|
|
931
|
+
timezone: string;
|
|
931
932
|
} | undefined;
|
|
932
|
-
maxDuration?: number | undefined;
|
|
933
933
|
retry?: {
|
|
934
|
-
maxAttempts?: number | undefined;
|
|
935
934
|
factor?: number | undefined;
|
|
936
935
|
minTimeoutInMs?: number | undefined;
|
|
937
936
|
maxTimeoutInMs?: number | undefined;
|
|
938
937
|
randomize?: boolean | undefined;
|
|
938
|
+
maxAttempts?: number | undefined;
|
|
939
939
|
} | undefined;
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
940
|
+
maxDuration?: number | undefined;
|
|
941
|
+
queue?: {
|
|
942
|
+
name?: string | undefined;
|
|
943
|
+
concurrencyLimit?: number | undefined;
|
|
944
944
|
} | undefined;
|
|
945
945
|
machine?: {
|
|
946
|
-
cpu?:
|
|
947
|
-
memory?:
|
|
946
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
947
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
948
948
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
949
949
|
} | undefined;
|
|
950
950
|
triggerSource?: string | undefined;
|
|
@@ -953,26 +953,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
953
953
|
filePath: string;
|
|
954
954
|
exportName: string;
|
|
955
955
|
entryPoint: string;
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
956
|
+
description?: string | undefined;
|
|
957
|
+
schedule?: {
|
|
958
|
+
cron: string;
|
|
959
|
+
timezone: string;
|
|
959
960
|
} | undefined;
|
|
960
|
-
maxDuration?: number | undefined;
|
|
961
961
|
retry?: {
|
|
962
|
-
maxAttempts?: number | undefined;
|
|
963
962
|
factor?: number | undefined;
|
|
964
963
|
minTimeoutInMs?: number | undefined;
|
|
965
964
|
maxTimeoutInMs?: number | undefined;
|
|
966
965
|
randomize?: boolean | undefined;
|
|
966
|
+
maxAttempts?: number | undefined;
|
|
967
967
|
} | undefined;
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
968
|
+
maxDuration?: number | undefined;
|
|
969
|
+
queue?: {
|
|
970
|
+
name?: string | undefined;
|
|
971
|
+
concurrencyLimit?: number | undefined;
|
|
972
972
|
} | undefined;
|
|
973
973
|
machine?: {
|
|
974
|
-
cpu?:
|
|
975
|
-
memory?:
|
|
974
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
975
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
976
976
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
977
977
|
} | undefined;
|
|
978
978
|
triggerSource?: string | undefined;
|
|
@@ -998,26 +998,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
998
998
|
filePath: string;
|
|
999
999
|
exportName: string;
|
|
1000
1000
|
entryPoint: string;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1001
|
+
description?: string | undefined;
|
|
1002
|
+
schedule?: {
|
|
1003
|
+
cron: string;
|
|
1004
|
+
timezone: string;
|
|
1004
1005
|
} | undefined;
|
|
1005
|
-
maxDuration?: number | undefined;
|
|
1006
1006
|
retry?: {
|
|
1007
|
-
maxAttempts?: number | undefined;
|
|
1008
1007
|
factor?: number | undefined;
|
|
1009
1008
|
minTimeoutInMs?: number | undefined;
|
|
1010
1009
|
maxTimeoutInMs?: number | undefined;
|
|
1011
1010
|
randomize?: boolean | undefined;
|
|
1011
|
+
maxAttempts?: number | undefined;
|
|
1012
1012
|
} | undefined;
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1013
|
+
maxDuration?: number | undefined;
|
|
1014
|
+
queue?: {
|
|
1015
|
+
name?: string | undefined;
|
|
1016
|
+
concurrencyLimit?: number | undefined;
|
|
1017
1017
|
} | undefined;
|
|
1018
1018
|
machine?: {
|
|
1019
|
-
cpu?:
|
|
1020
|
-
memory?:
|
|
1019
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1020
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1021
1021
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1022
1022
|
} | undefined;
|
|
1023
1023
|
triggerSource?: string | undefined;
|
|
@@ -1038,26 +1038,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1038
1038
|
filePath: string;
|
|
1039
1039
|
exportName: string;
|
|
1040
1040
|
entryPoint: string;
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1041
|
+
description?: string | undefined;
|
|
1042
|
+
schedule?: {
|
|
1043
|
+
cron: string;
|
|
1044
|
+
timezone: string;
|
|
1044
1045
|
} | undefined;
|
|
1045
|
-
maxDuration?: number | undefined;
|
|
1046
1046
|
retry?: {
|
|
1047
|
-
maxAttempts?: number | undefined;
|
|
1048
1047
|
factor?: number | undefined;
|
|
1049
1048
|
minTimeoutInMs?: number | undefined;
|
|
1050
1049
|
maxTimeoutInMs?: number | undefined;
|
|
1051
1050
|
randomize?: boolean | undefined;
|
|
1051
|
+
maxAttempts?: number | undefined;
|
|
1052
1052
|
} | undefined;
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1053
|
+
maxDuration?: number | undefined;
|
|
1054
|
+
queue?: {
|
|
1055
|
+
name?: string | undefined;
|
|
1056
|
+
concurrencyLimit?: number | undefined;
|
|
1057
1057
|
} | undefined;
|
|
1058
1058
|
machine?: {
|
|
1059
|
-
cpu?:
|
|
1060
|
-
memory?:
|
|
1059
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1060
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1061
1061
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1062
1062
|
} | undefined;
|
|
1063
1063
|
triggerSource?: string | undefined;
|
|
@@ -1080,26 +1080,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1080
1080
|
filePath: string;
|
|
1081
1081
|
exportName: string;
|
|
1082
1082
|
entryPoint: string;
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1083
|
+
description?: string | undefined;
|
|
1084
|
+
schedule?: {
|
|
1085
|
+
cron: string;
|
|
1086
|
+
timezone: string;
|
|
1086
1087
|
} | undefined;
|
|
1087
|
-
maxDuration?: number | undefined;
|
|
1088
1088
|
retry?: {
|
|
1089
|
-
maxAttempts?: number | undefined;
|
|
1090
1089
|
factor?: number | undefined;
|
|
1091
1090
|
minTimeoutInMs?: number | undefined;
|
|
1092
1091
|
maxTimeoutInMs?: number | undefined;
|
|
1093
1092
|
randomize?: boolean | undefined;
|
|
1093
|
+
maxAttempts?: number | undefined;
|
|
1094
1094
|
} | undefined;
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1095
|
+
maxDuration?: number | undefined;
|
|
1096
|
+
queue?: {
|
|
1097
|
+
name?: string | undefined;
|
|
1098
|
+
concurrencyLimit?: number | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
machine?: {
|
|
1101
|
-
cpu?:
|
|
1102
|
-
memory?:
|
|
1101
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1102
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1103
1103
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1104
1104
|
} | undefined;
|
|
1105
1105
|
triggerSource?: string | undefined;
|
|
@@ -1122,26 +1122,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1122
1122
|
filePath: string;
|
|
1123
1123
|
exportName: string;
|
|
1124
1124
|
entryPoint: string;
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1125
|
+
description?: string | undefined;
|
|
1126
|
+
schedule?: {
|
|
1127
|
+
cron: string;
|
|
1128
|
+
timezone: string;
|
|
1128
1129
|
} | undefined;
|
|
1129
|
-
maxDuration?: number | undefined;
|
|
1130
1130
|
retry?: {
|
|
1131
|
-
maxAttempts?: number | undefined;
|
|
1132
1131
|
factor?: number | undefined;
|
|
1133
1132
|
minTimeoutInMs?: number | undefined;
|
|
1134
1133
|
maxTimeoutInMs?: number | undefined;
|
|
1135
1134
|
randomize?: boolean | undefined;
|
|
1135
|
+
maxAttempts?: number | undefined;
|
|
1136
1136
|
} | undefined;
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1137
|
+
maxDuration?: number | undefined;
|
|
1138
|
+
queue?: {
|
|
1139
|
+
name?: string | undefined;
|
|
1140
|
+
concurrencyLimit?: number | undefined;
|
|
1141
1141
|
} | undefined;
|
|
1142
1142
|
machine?: {
|
|
1143
|
-
cpu?:
|
|
1144
|
-
memory?:
|
|
1143
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1144
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1145
1145
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1146
1146
|
} | undefined;
|
|
1147
1147
|
triggerSource?: string | undefined;
|
|
@@ -1167,26 +1167,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1167
1167
|
filePath: string;
|
|
1168
1168
|
exportName: string;
|
|
1169
1169
|
entryPoint: string;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1170
|
+
description?: string | undefined;
|
|
1171
|
+
schedule?: {
|
|
1172
|
+
cron: string;
|
|
1173
|
+
timezone: string;
|
|
1173
1174
|
} | undefined;
|
|
1174
|
-
maxDuration?: number | undefined;
|
|
1175
1175
|
retry?: {
|
|
1176
|
-
maxAttempts?: number | undefined;
|
|
1177
1176
|
factor?: number | undefined;
|
|
1178
1177
|
minTimeoutInMs?: number | undefined;
|
|
1179
1178
|
maxTimeoutInMs?: number | undefined;
|
|
1180
1179
|
randomize?: boolean | undefined;
|
|
1180
|
+
maxAttempts?: number | undefined;
|
|
1181
1181
|
} | undefined;
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1182
|
+
maxDuration?: number | undefined;
|
|
1183
|
+
queue?: {
|
|
1184
|
+
name?: string | undefined;
|
|
1185
|
+
concurrencyLimit?: number | undefined;
|
|
1186
1186
|
} | undefined;
|
|
1187
1187
|
machine?: {
|
|
1188
|
-
cpu?:
|
|
1189
|
-
memory?:
|
|
1188
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1189
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1190
1190
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1191
1191
|
} | undefined;
|
|
1192
1192
|
triggerSource?: string | undefined;
|
|
@@ -1212,26 +1212,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1212
1212
|
filePath: string;
|
|
1213
1213
|
exportName: string;
|
|
1214
1214
|
entryPoint: string;
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1215
|
+
description?: string | undefined;
|
|
1216
|
+
schedule?: {
|
|
1217
|
+
cron: string;
|
|
1218
|
+
timezone: string;
|
|
1218
1219
|
} | undefined;
|
|
1219
|
-
maxDuration?: number | undefined;
|
|
1220
1220
|
retry?: {
|
|
1221
|
-
maxAttempts?: number | undefined;
|
|
1222
1221
|
factor?: number | undefined;
|
|
1223
1222
|
minTimeoutInMs?: number | undefined;
|
|
1224
1223
|
maxTimeoutInMs?: number | undefined;
|
|
1225
1224
|
randomize?: boolean | undefined;
|
|
1225
|
+
maxAttempts?: number | undefined;
|
|
1226
1226
|
} | undefined;
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1227
|
+
maxDuration?: number | undefined;
|
|
1228
|
+
queue?: {
|
|
1229
|
+
name?: string | undefined;
|
|
1230
|
+
concurrencyLimit?: number | undefined;
|
|
1231
1231
|
} | undefined;
|
|
1232
1232
|
machine?: {
|
|
1233
|
-
cpu?:
|
|
1234
|
-
memory?:
|
|
1233
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1234
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1235
1235
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1236
1236
|
} | undefined;
|
|
1237
1237
|
triggerSource?: string | undefined;
|