@trigger.dev/core 0.0.0-prerelease-20241219214230 → 0.0.0-prerelease-20250116155306
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/schemas/api.d.ts +2137 -2137
- package/dist/commonjs/schemas/events.d.ts +8 -8
- package/dist/commonjs/schemas/fetch.d.ts +54 -54
- package/dist/commonjs/schemas/integrations.d.ts +4 -4
- package/dist/commonjs/schemas/notifications.d.ts +80 -80
- package/dist/commonjs/schemas/properties.d.ts +4 -4
- package/dist/commonjs/schemas/request.d.ts +4 -4
- package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
- package/dist/commonjs/schemas/runs.d.ts +39 -39
- package/dist/commonjs/schemas/schedules.d.ts +12 -12
- package/dist/commonjs/schemas/statuses.d.ts +24 -24
- package/dist/commonjs/schemas/tasks.d.ts +54 -54
- package/dist/commonjs/schemas/triggers.d.ts +36 -36
- package/dist/commonjs/v3/apiClient/index.d.ts +122 -115
- package/dist/commonjs/v3/apiClient/index.js +12 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +3 -17
- package/dist/commonjs/v3/apiClient/runStream.js +71 -47
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
- package/dist/commonjs/v3/apiClient/stream.js +3 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +72 -0
- package/dist/commonjs/v3/errors.d.ts +14 -1
- package/dist/commonjs/v3/errors.js +35 -1
- 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/otel/tracingSDK.d.ts +2 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- 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/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/index.d.ts +4 -0
- package/dist/commonjs/v3/runtime/index.js +4 -0
- package/dist/commonjs/v3/runtime/index.js.map +1 -1
- package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +656 -632
- package/dist/commonjs/v3/schemas/api.js +17 -7
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +176 -176
- package/dist/commonjs/v3/schemas/common.d.ts +166 -165
- 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 +2228 -2228
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/commonjs/v3/schemas/resources.d.ts +46 -46
- package/dist/commonjs/v3/schemas/schemas.d.ts +173 -173
- package/dist/commonjs/v3/schemas/style.d.ts +10 -10
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +8 -4
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +2137 -2137
- package/dist/esm/schemas/events.d.ts +8 -8
- package/dist/esm/schemas/fetch.d.ts +54 -54
- package/dist/esm/schemas/integrations.d.ts +4 -4
- package/dist/esm/schemas/notifications.d.ts +80 -80
- package/dist/esm/schemas/properties.d.ts +4 -4
- package/dist/esm/schemas/request.d.ts +4 -4
- package/dist/esm/schemas/requestFilter.d.ts +2 -2
- package/dist/esm/schemas/runs.d.ts +39 -39
- package/dist/esm/schemas/schedules.d.ts +12 -12
- package/dist/esm/schemas/statuses.d.ts +24 -24
- package/dist/esm/schemas/tasks.d.ts +54 -54
- package/dist/esm/schemas/triggers.d.ts +36 -36
- package/dist/esm/v3/apiClient/index.d.ts +135 -128
- package/dist/esm/v3/apiClient/index.js +13 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +3 -17
- package/dist/esm/v3/apiClient/runStream.js +70 -44
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.d.ts +1 -0
- package/dist/esm/v3/apiClient/stream.js +3 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +72 -0
- package/dist/esm/v3/errors.d.ts +14 -1
- package/dist/esm/v3/errors.js +33 -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/otel/tracingSDK.d.ts +2 -0
- package/dist/esm/v3/otel/tracingSDK.js +51 -0
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- 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/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/esm/v3/runtime/index.d.ts +4 -0
- package/dist/esm/v3/runtime/index.js +4 -0
- package/dist/esm/v3/runtime/index.js.map +1 -1
- package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js +25 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +731 -707
- package/dist/esm/v3/schemas/api.js +18 -8
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +188 -188
- package/dist/esm/v3/schemas/common.d.ts +166 -165
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +10 -10
- package/dist/esm/v3/schemas/messages.d.ts +2770 -2770
- package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/esm/v3/schemas/resources.d.ts +52 -52
- package/dist/esm/v3/schemas/schemas.d.ts +244 -244
- package/dist/esm/v3/schemas/style.d.ts +10 -10
- package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +8 -4
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +6 -3
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -121,6 +121,8 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
121
121
|
}>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
environment: string;
|
|
124
|
+
configPath: string;
|
|
125
|
+
runtime: "node" | "bun";
|
|
124
126
|
contentHash: string;
|
|
125
127
|
packageVersion: string;
|
|
126
128
|
cliPackageVersion: string;
|
|
@@ -131,7 +133,6 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
131
133
|
} | undefined;
|
|
132
134
|
};
|
|
133
135
|
target: "dev" | "deploy";
|
|
134
|
-
runtime: "node" | "bun";
|
|
135
136
|
config: {
|
|
136
137
|
project: string;
|
|
137
138
|
dirs: string[];
|
|
@@ -147,29 +148,30 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
147
148
|
outputPath: string;
|
|
148
149
|
runWorkerEntryPoint: string;
|
|
149
150
|
indexWorkerEntryPoint: string;
|
|
150
|
-
configPath: string;
|
|
151
151
|
build: {
|
|
152
152
|
env?: Record<string, string> | undefined;
|
|
153
153
|
commands?: string[] | undefined;
|
|
154
154
|
};
|
|
155
|
+
loaderEntryPoint?: string | undefined;
|
|
156
|
+
customConditions?: string[] | undefined;
|
|
157
|
+
otelImportHook?: {
|
|
158
|
+
include?: string[] | undefined;
|
|
159
|
+
exclude?: string[] | undefined;
|
|
160
|
+
} | undefined;
|
|
155
161
|
runControllerEntryPoint?: string | undefined;
|
|
156
162
|
indexControllerEntryPoint?: string | undefined;
|
|
157
|
-
loaderEntryPoint?: string | undefined;
|
|
158
163
|
externals?: {
|
|
159
164
|
name: string;
|
|
160
165
|
version: string;
|
|
161
166
|
}[] | undefined;
|
|
162
|
-
customConditions?: string[] | undefined;
|
|
163
167
|
image?: {
|
|
164
168
|
pkgs?: string[] | undefined;
|
|
165
169
|
instructions?: string[] | undefined;
|
|
166
170
|
} | undefined;
|
|
167
|
-
otelImportHook?: {
|
|
168
|
-
include?: string[] | undefined;
|
|
169
|
-
exclude?: string[] | undefined;
|
|
170
|
-
} | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
environment: string;
|
|
173
|
+
configPath: string;
|
|
174
|
+
runtime: "node" | "bun";
|
|
173
175
|
contentHash: string;
|
|
174
176
|
packageVersion: string;
|
|
175
177
|
cliPackageVersion: string;
|
|
@@ -180,7 +182,6 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
180
182
|
} | undefined;
|
|
181
183
|
};
|
|
182
184
|
target: "dev" | "deploy";
|
|
183
|
-
runtime: "node" | "bun";
|
|
184
185
|
config: {
|
|
185
186
|
project: string;
|
|
186
187
|
dirs: string[];
|
|
@@ -196,27 +197,26 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
196
197
|
outputPath: string;
|
|
197
198
|
runWorkerEntryPoint: string;
|
|
198
199
|
indexWorkerEntryPoint: string;
|
|
199
|
-
configPath: string;
|
|
200
200
|
build: {
|
|
201
201
|
env?: Record<string, string> | undefined;
|
|
202
202
|
commands?: string[] | undefined;
|
|
203
203
|
};
|
|
204
|
+
loaderEntryPoint?: string | undefined;
|
|
205
|
+
customConditions?: string[] | undefined;
|
|
206
|
+
otelImportHook?: {
|
|
207
|
+
include?: string[] | undefined;
|
|
208
|
+
exclude?: string[] | undefined;
|
|
209
|
+
} | undefined;
|
|
204
210
|
runControllerEntryPoint?: string | undefined;
|
|
205
211
|
indexControllerEntryPoint?: string | undefined;
|
|
206
|
-
loaderEntryPoint?: string | undefined;
|
|
207
212
|
externals?: {
|
|
208
213
|
name: string;
|
|
209
214
|
version: string;
|
|
210
215
|
}[] | undefined;
|
|
211
|
-
customConditions?: string[] | undefined;
|
|
212
216
|
image?: {
|
|
213
217
|
pkgs?: string[] | undefined;
|
|
214
218
|
instructions?: string[] | undefined;
|
|
215
219
|
} | undefined;
|
|
216
|
-
otelImportHook?: {
|
|
217
|
-
include?: string[] | undefined;
|
|
218
|
-
exclude?: string[] | undefined;
|
|
219
|
-
} | undefined;
|
|
220
220
|
}>;
|
|
221
221
|
export type BuildManifest = z.infer<typeof BuildManifest>;
|
|
222
222
|
export declare const IndexMessage: z.ZodObject<{
|
|
@@ -329,6 +329,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
329
329
|
}>>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
331
|
environment: string;
|
|
332
|
+
configPath: string;
|
|
333
|
+
runtime: "node" | "bun";
|
|
332
334
|
contentHash: string;
|
|
333
335
|
packageVersion: string;
|
|
334
336
|
cliPackageVersion: string;
|
|
@@ -339,7 +341,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
339
341
|
} | undefined;
|
|
340
342
|
};
|
|
341
343
|
target: "dev" | "deploy";
|
|
342
|
-
runtime: "node" | "bun";
|
|
343
344
|
config: {
|
|
344
345
|
project: string;
|
|
345
346
|
dirs: string[];
|
|
@@ -355,29 +356,30 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
355
356
|
outputPath: string;
|
|
356
357
|
runWorkerEntryPoint: string;
|
|
357
358
|
indexWorkerEntryPoint: string;
|
|
358
|
-
configPath: string;
|
|
359
359
|
build: {
|
|
360
360
|
env?: Record<string, string> | undefined;
|
|
361
361
|
commands?: string[] | undefined;
|
|
362
362
|
};
|
|
363
|
+
loaderEntryPoint?: string | undefined;
|
|
364
|
+
customConditions?: string[] | undefined;
|
|
365
|
+
otelImportHook?: {
|
|
366
|
+
include?: string[] | undefined;
|
|
367
|
+
exclude?: string[] | undefined;
|
|
368
|
+
} | undefined;
|
|
363
369
|
runControllerEntryPoint?: string | undefined;
|
|
364
370
|
indexControllerEntryPoint?: string | undefined;
|
|
365
|
-
loaderEntryPoint?: string | undefined;
|
|
366
371
|
externals?: {
|
|
367
372
|
name: string;
|
|
368
373
|
version: string;
|
|
369
374
|
}[] | undefined;
|
|
370
|
-
customConditions?: string[] | undefined;
|
|
371
375
|
image?: {
|
|
372
376
|
pkgs?: string[] | undefined;
|
|
373
377
|
instructions?: string[] | undefined;
|
|
374
378
|
} | undefined;
|
|
375
|
-
otelImportHook?: {
|
|
376
|
-
include?: string[] | undefined;
|
|
377
|
-
exclude?: string[] | undefined;
|
|
378
|
-
} | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
environment: string;
|
|
381
|
+
configPath: string;
|
|
382
|
+
runtime: "node" | "bun";
|
|
381
383
|
contentHash: string;
|
|
382
384
|
packageVersion: string;
|
|
383
385
|
cliPackageVersion: string;
|
|
@@ -388,7 +390,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
388
390
|
} | undefined;
|
|
389
391
|
};
|
|
390
392
|
target: "dev" | "deploy";
|
|
391
|
-
runtime: "node" | "bun";
|
|
392
393
|
config: {
|
|
393
394
|
project: string;
|
|
394
395
|
dirs: string[];
|
|
@@ -404,31 +405,32 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
404
405
|
outputPath: string;
|
|
405
406
|
runWorkerEntryPoint: string;
|
|
406
407
|
indexWorkerEntryPoint: string;
|
|
407
|
-
configPath: string;
|
|
408
408
|
build: {
|
|
409
409
|
env?: Record<string, string> | undefined;
|
|
410
410
|
commands?: string[] | undefined;
|
|
411
411
|
};
|
|
412
|
+
loaderEntryPoint?: string | undefined;
|
|
413
|
+
customConditions?: string[] | undefined;
|
|
414
|
+
otelImportHook?: {
|
|
415
|
+
include?: string[] | undefined;
|
|
416
|
+
exclude?: string[] | undefined;
|
|
417
|
+
} | undefined;
|
|
412
418
|
runControllerEntryPoint?: string | undefined;
|
|
413
419
|
indexControllerEntryPoint?: string | undefined;
|
|
414
|
-
loaderEntryPoint?: string | undefined;
|
|
415
420
|
externals?: {
|
|
416
421
|
name: string;
|
|
417
422
|
version: string;
|
|
418
423
|
}[] | undefined;
|
|
419
|
-
customConditions?: string[] | undefined;
|
|
420
424
|
image?: {
|
|
421
425
|
pkgs?: string[] | undefined;
|
|
422
426
|
instructions?: string[] | undefined;
|
|
423
427
|
} | undefined;
|
|
424
|
-
otelImportHook?: {
|
|
425
|
-
include?: string[] | undefined;
|
|
426
|
-
exclude?: string[] | undefined;
|
|
427
|
-
} | undefined;
|
|
428
428
|
}>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
build: {
|
|
431
431
|
environment: string;
|
|
432
|
+
configPath: string;
|
|
433
|
+
runtime: "node" | "bun";
|
|
432
434
|
contentHash: string;
|
|
433
435
|
packageVersion: string;
|
|
434
436
|
cliPackageVersion: string;
|
|
@@ -439,7 +441,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
439
441
|
} | undefined;
|
|
440
442
|
};
|
|
441
443
|
target: "dev" | "deploy";
|
|
442
|
-
runtime: "node" | "bun";
|
|
443
444
|
config: {
|
|
444
445
|
project: string;
|
|
445
446
|
dirs: string[];
|
|
@@ -455,31 +456,32 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
455
456
|
outputPath: string;
|
|
456
457
|
runWorkerEntryPoint: string;
|
|
457
458
|
indexWorkerEntryPoint: string;
|
|
458
|
-
configPath: string;
|
|
459
459
|
build: {
|
|
460
460
|
env?: Record<string, string> | undefined;
|
|
461
461
|
commands?: string[] | undefined;
|
|
462
462
|
};
|
|
463
|
+
loaderEntryPoint?: string | undefined;
|
|
464
|
+
customConditions?: string[] | undefined;
|
|
465
|
+
otelImportHook?: {
|
|
466
|
+
include?: string[] | undefined;
|
|
467
|
+
exclude?: string[] | undefined;
|
|
468
|
+
} | undefined;
|
|
463
469
|
runControllerEntryPoint?: string | undefined;
|
|
464
470
|
indexControllerEntryPoint?: string | undefined;
|
|
465
|
-
loaderEntryPoint?: string | undefined;
|
|
466
471
|
externals?: {
|
|
467
472
|
name: string;
|
|
468
473
|
version: string;
|
|
469
474
|
}[] | undefined;
|
|
470
|
-
customConditions?: string[] | undefined;
|
|
471
475
|
image?: {
|
|
472
476
|
pkgs?: string[] | undefined;
|
|
473
477
|
instructions?: string[] | undefined;
|
|
474
478
|
} | undefined;
|
|
475
|
-
otelImportHook?: {
|
|
476
|
-
include?: string[] | undefined;
|
|
477
|
-
exclude?: string[] | undefined;
|
|
478
|
-
} | undefined;
|
|
479
479
|
};
|
|
480
480
|
}, {
|
|
481
481
|
build: {
|
|
482
482
|
environment: string;
|
|
483
|
+
configPath: string;
|
|
484
|
+
runtime: "node" | "bun";
|
|
483
485
|
contentHash: string;
|
|
484
486
|
packageVersion: string;
|
|
485
487
|
cliPackageVersion: string;
|
|
@@ -490,7 +492,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
490
492
|
} | undefined;
|
|
491
493
|
};
|
|
492
494
|
target: "dev" | "deploy";
|
|
493
|
-
runtime: "node" | "bun";
|
|
494
495
|
config: {
|
|
495
496
|
project: string;
|
|
496
497
|
dirs: string[];
|
|
@@ -506,27 +507,26 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
506
507
|
outputPath: string;
|
|
507
508
|
runWorkerEntryPoint: string;
|
|
508
509
|
indexWorkerEntryPoint: string;
|
|
509
|
-
configPath: string;
|
|
510
510
|
build: {
|
|
511
511
|
env?: Record<string, string> | undefined;
|
|
512
512
|
commands?: string[] | undefined;
|
|
513
513
|
};
|
|
514
|
+
loaderEntryPoint?: string | undefined;
|
|
515
|
+
customConditions?: string[] | undefined;
|
|
516
|
+
otelImportHook?: {
|
|
517
|
+
include?: string[] | undefined;
|
|
518
|
+
exclude?: string[] | undefined;
|
|
519
|
+
} | undefined;
|
|
514
520
|
runControllerEntryPoint?: string | undefined;
|
|
515
521
|
indexControllerEntryPoint?: string | undefined;
|
|
516
|
-
loaderEntryPoint?: string | undefined;
|
|
517
522
|
externals?: {
|
|
518
523
|
name: string;
|
|
519
524
|
version: string;
|
|
520
525
|
}[] | undefined;
|
|
521
|
-
customConditions?: string[] | undefined;
|
|
522
526
|
image?: {
|
|
523
527
|
pkgs?: string[] | undefined;
|
|
524
528
|
instructions?: string[] | undefined;
|
|
525
529
|
} | undefined;
|
|
526
|
-
otelImportHook?: {
|
|
527
|
-
include?: string[] | undefined;
|
|
528
|
-
exclude?: string[] | undefined;
|
|
529
|
-
} | undefined;
|
|
530
530
|
};
|
|
531
531
|
}>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -534,6 +534,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
534
534
|
data: {
|
|
535
535
|
build: {
|
|
536
536
|
environment: string;
|
|
537
|
+
configPath: string;
|
|
538
|
+
runtime: "node" | "bun";
|
|
537
539
|
contentHash: string;
|
|
538
540
|
packageVersion: string;
|
|
539
541
|
cliPackageVersion: string;
|
|
@@ -544,7 +546,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
544
546
|
} | undefined;
|
|
545
547
|
};
|
|
546
548
|
target: "dev" | "deploy";
|
|
547
|
-
runtime: "node" | "bun";
|
|
548
549
|
config: {
|
|
549
550
|
project: string;
|
|
550
551
|
dirs: string[];
|
|
@@ -560,27 +561,26 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
560
561
|
outputPath: string;
|
|
561
562
|
runWorkerEntryPoint: string;
|
|
562
563
|
indexWorkerEntryPoint: string;
|
|
563
|
-
configPath: string;
|
|
564
564
|
build: {
|
|
565
565
|
env?: Record<string, string> | undefined;
|
|
566
566
|
commands?: string[] | undefined;
|
|
567
567
|
};
|
|
568
|
+
loaderEntryPoint?: string | undefined;
|
|
569
|
+
customConditions?: string[] | undefined;
|
|
570
|
+
otelImportHook?: {
|
|
571
|
+
include?: string[] | undefined;
|
|
572
|
+
exclude?: string[] | undefined;
|
|
573
|
+
} | undefined;
|
|
568
574
|
runControllerEntryPoint?: string | undefined;
|
|
569
575
|
indexControllerEntryPoint?: string | undefined;
|
|
570
|
-
loaderEntryPoint?: string | undefined;
|
|
571
576
|
externals?: {
|
|
572
577
|
name: string;
|
|
573
578
|
version: string;
|
|
574
579
|
}[] | undefined;
|
|
575
|
-
customConditions?: string[] | undefined;
|
|
576
580
|
image?: {
|
|
577
581
|
pkgs?: string[] | undefined;
|
|
578
582
|
instructions?: string[] | undefined;
|
|
579
583
|
} | undefined;
|
|
580
|
-
otelImportHook?: {
|
|
581
|
-
include?: string[] | undefined;
|
|
582
|
-
exclude?: string[] | undefined;
|
|
583
|
-
} | undefined;
|
|
584
584
|
};
|
|
585
585
|
};
|
|
586
586
|
}, {
|
|
@@ -588,6 +588,8 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
588
588
|
data: {
|
|
589
589
|
build: {
|
|
590
590
|
environment: string;
|
|
591
|
+
configPath: string;
|
|
592
|
+
runtime: "node" | "bun";
|
|
591
593
|
contentHash: string;
|
|
592
594
|
packageVersion: string;
|
|
593
595
|
cliPackageVersion: string;
|
|
@@ -598,7 +600,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
598
600
|
} | undefined;
|
|
599
601
|
};
|
|
600
602
|
target: "dev" | "deploy";
|
|
601
|
-
runtime: "node" | "bun";
|
|
602
603
|
config: {
|
|
603
604
|
project: string;
|
|
604
605
|
dirs: string[];
|
|
@@ -614,27 +615,26 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
614
615
|
outputPath: string;
|
|
615
616
|
runWorkerEntryPoint: string;
|
|
616
617
|
indexWorkerEntryPoint: string;
|
|
617
|
-
configPath: string;
|
|
618
618
|
build: {
|
|
619
619
|
env?: Record<string, string> | undefined;
|
|
620
620
|
commands?: string[] | undefined;
|
|
621
621
|
};
|
|
622
|
+
loaderEntryPoint?: string | undefined;
|
|
623
|
+
customConditions?: string[] | undefined;
|
|
624
|
+
otelImportHook?: {
|
|
625
|
+
include?: string[] | undefined;
|
|
626
|
+
exclude?: string[] | undefined;
|
|
627
|
+
} | undefined;
|
|
622
628
|
runControllerEntryPoint?: string | undefined;
|
|
623
629
|
indexControllerEntryPoint?: string | undefined;
|
|
624
|
-
loaderEntryPoint?: string | undefined;
|
|
625
630
|
externals?: {
|
|
626
631
|
name: string;
|
|
627
632
|
version: string;
|
|
628
633
|
}[] | undefined;
|
|
629
|
-
customConditions?: string[] | undefined;
|
|
630
634
|
image?: {
|
|
631
635
|
pkgs?: string[] | undefined;
|
|
632
636
|
instructions?: string[] | undefined;
|
|
633
637
|
} | undefined;
|
|
634
|
-
otelImportHook?: {
|
|
635
|
-
include?: string[] | undefined;
|
|
636
|
-
exclude?: string[] | undefined;
|
|
637
|
-
} | undefined;
|
|
638
638
|
};
|
|
639
639
|
};
|
|
640
640
|
}>;
|
|
@@ -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,11 +706,16 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
706
706
|
filePath: string;
|
|
707
707
|
exportName: string;
|
|
708
708
|
entryPoint: string;
|
|
709
|
+
maxDuration?: number | undefined;
|
|
709
710
|
queue?: {
|
|
710
711
|
name?: string | undefined;
|
|
711
712
|
concurrencyLimit?: number | undefined;
|
|
712
713
|
} | undefined;
|
|
713
|
-
|
|
714
|
+
machine?: {
|
|
715
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
716
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
717
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
718
|
+
} | undefined;
|
|
714
719
|
retry?: {
|
|
715
720
|
maxAttempts?: number | undefined;
|
|
716
721
|
factor?: number | undefined;
|
|
@@ -719,26 +724,26 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
719
724
|
randomize?: boolean | undefined;
|
|
720
725
|
} | undefined;
|
|
721
726
|
description?: string | undefined;
|
|
727
|
+
triggerSource?: string | undefined;
|
|
722
728
|
schedule?: {
|
|
723
|
-
timezone: string;
|
|
724
729
|
cron: string;
|
|
730
|
+
timezone: string;
|
|
725
731
|
} | undefined;
|
|
726
|
-
machine?: {
|
|
727
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
728
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
729
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
730
|
-
} | undefined;
|
|
731
|
-
triggerSource?: string | undefined;
|
|
732
732
|
}, {
|
|
733
733
|
id: string;
|
|
734
734
|
filePath: string;
|
|
735
735
|
exportName: string;
|
|
736
736
|
entryPoint: string;
|
|
737
|
+
maxDuration?: number | undefined;
|
|
737
738
|
queue?: {
|
|
738
739
|
name?: string | undefined;
|
|
739
740
|
concurrencyLimit?: number | undefined;
|
|
740
741
|
} | undefined;
|
|
741
|
-
|
|
742
|
+
machine?: {
|
|
743
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
744
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
745
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
746
|
+
} | undefined;
|
|
742
747
|
retry?: {
|
|
743
748
|
maxAttempts?: number | undefined;
|
|
744
749
|
factor?: number | undefined;
|
|
@@ -747,16 +752,11 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
747
752
|
randomize?: boolean | undefined;
|
|
748
753
|
} | undefined;
|
|
749
754
|
description?: string | undefined;
|
|
755
|
+
triggerSource?: string | undefined;
|
|
750
756
|
schedule?: {
|
|
751
|
-
timezone: string;
|
|
752
757
|
cron: string;
|
|
758
|
+
timezone: string;
|
|
753
759
|
} | undefined;
|
|
754
|
-
machine?: {
|
|
755
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
756
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
757
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
758
|
-
} | undefined;
|
|
759
|
-
triggerSource?: string | undefined;
|
|
760
760
|
}>, "many">;
|
|
761
761
|
workerEntryPoint: z.ZodString;
|
|
762
762
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -774,16 +774,22 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
774
774
|
exclude?: string[] | undefined;
|
|
775
775
|
}>>;
|
|
776
776
|
}, "strip", z.ZodTypeAny, {
|
|
777
|
+
configPath: string;
|
|
777
778
|
tasks: {
|
|
778
779
|
id: string;
|
|
779
780
|
filePath: string;
|
|
780
781
|
exportName: string;
|
|
781
782
|
entryPoint: string;
|
|
783
|
+
maxDuration?: number | undefined;
|
|
782
784
|
queue?: {
|
|
783
785
|
name?: string | undefined;
|
|
784
786
|
concurrencyLimit?: number | undefined;
|
|
785
787
|
} | undefined;
|
|
786
|
-
|
|
788
|
+
machine?: {
|
|
789
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
790
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
791
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
792
|
+
} | undefined;
|
|
787
793
|
retry?: {
|
|
788
794
|
maxAttempts?: number | undefined;
|
|
789
795
|
factor?: number | undefined;
|
|
@@ -792,38 +798,38 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
792
798
|
randomize?: boolean | undefined;
|
|
793
799
|
} | undefined;
|
|
794
800
|
description?: string | undefined;
|
|
801
|
+
triggerSource?: string | undefined;
|
|
795
802
|
schedule?: {
|
|
796
|
-
timezone: string;
|
|
797
803
|
cron: string;
|
|
804
|
+
timezone: string;
|
|
798
805
|
} | undefined;
|
|
799
|
-
machine?: {
|
|
800
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
801
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
802
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
803
|
-
} | undefined;
|
|
804
|
-
triggerSource?: string | undefined;
|
|
805
806
|
}[];
|
|
806
|
-
runtime: "node" | "bun";
|
|
807
|
-
configPath: string;
|
|
808
807
|
workerEntryPoint: string;
|
|
808
|
+
runtime: "node" | "bun";
|
|
809
|
+
controllerEntryPoint?: string | undefined;
|
|
809
810
|
loaderEntryPoint?: string | undefined;
|
|
810
811
|
customConditions?: string[] | undefined;
|
|
811
812
|
otelImportHook?: {
|
|
812
813
|
include?: string[] | undefined;
|
|
813
814
|
exclude?: string[] | undefined;
|
|
814
815
|
} | undefined;
|
|
815
|
-
controllerEntryPoint?: string | undefined;
|
|
816
816
|
}, {
|
|
817
|
+
configPath: string;
|
|
817
818
|
tasks: {
|
|
818
819
|
id: string;
|
|
819
820
|
filePath: string;
|
|
820
821
|
exportName: string;
|
|
821
822
|
entryPoint: string;
|
|
823
|
+
maxDuration?: number | undefined;
|
|
822
824
|
queue?: {
|
|
823
825
|
name?: string | undefined;
|
|
824
826
|
concurrencyLimit?: number | undefined;
|
|
825
827
|
} | undefined;
|
|
826
|
-
|
|
828
|
+
machine?: {
|
|
829
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
830
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
831
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
832
|
+
} | undefined;
|
|
827
833
|
retry?: {
|
|
828
834
|
maxAttempts?: number | undefined;
|
|
829
835
|
factor?: number | undefined;
|
|
@@ -832,27 +838,21 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
832
838
|
randomize?: boolean | undefined;
|
|
833
839
|
} | undefined;
|
|
834
840
|
description?: string | undefined;
|
|
841
|
+
triggerSource?: string | undefined;
|
|
835
842
|
schedule?: {
|
|
836
|
-
timezone: string;
|
|
837
843
|
cron: string;
|
|
844
|
+
timezone: string;
|
|
838
845
|
} | undefined;
|
|
839
|
-
machine?: {
|
|
840
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
841
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
842
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
843
|
-
} | undefined;
|
|
844
|
-
triggerSource?: string | undefined;
|
|
845
846
|
}[];
|
|
846
|
-
runtime: "node" | "bun";
|
|
847
|
-
configPath: string;
|
|
848
847
|
workerEntryPoint: string;
|
|
848
|
+
runtime: "node" | "bun";
|
|
849
|
+
controllerEntryPoint?: string | undefined;
|
|
849
850
|
loaderEntryPoint?: string | undefined;
|
|
850
851
|
customConditions?: string[] | undefined;
|
|
851
852
|
otelImportHook?: {
|
|
852
853
|
include?: string[] | undefined;
|
|
853
854
|
exclude?: string[] | undefined;
|
|
854
855
|
} | undefined;
|
|
855
|
-
controllerEntryPoint?: string | undefined;
|
|
856
856
|
}>;
|
|
857
857
|
export type WorkerManifest = z.infer<typeof WorkerManifest>;
|
|
858
858
|
export declare const WorkerManifestMessage: z.ZodObject<{
|
|
@@ -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,11 +925,16 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
925
925
|
filePath: string;
|
|
926
926
|
exportName: string;
|
|
927
927
|
entryPoint: string;
|
|
928
|
+
maxDuration?: number | undefined;
|
|
928
929
|
queue?: {
|
|
929
930
|
name?: string | undefined;
|
|
930
931
|
concurrencyLimit?: number | undefined;
|
|
931
932
|
} | undefined;
|
|
932
|
-
|
|
933
|
+
machine?: {
|
|
934
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
935
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
936
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
937
|
+
} | undefined;
|
|
933
938
|
retry?: {
|
|
934
939
|
maxAttempts?: number | undefined;
|
|
935
940
|
factor?: number | undefined;
|
|
@@ -938,26 +943,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
938
943
|
randomize?: boolean | undefined;
|
|
939
944
|
} | undefined;
|
|
940
945
|
description?: string | undefined;
|
|
946
|
+
triggerSource?: string | undefined;
|
|
941
947
|
schedule?: {
|
|
942
|
-
timezone: string;
|
|
943
948
|
cron: string;
|
|
949
|
+
timezone: string;
|
|
944
950
|
} | undefined;
|
|
945
|
-
machine?: {
|
|
946
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
947
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
948
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
949
|
-
} | undefined;
|
|
950
|
-
triggerSource?: string | undefined;
|
|
951
951
|
}, {
|
|
952
952
|
id: string;
|
|
953
953
|
filePath: string;
|
|
954
954
|
exportName: string;
|
|
955
955
|
entryPoint: string;
|
|
956
|
+
maxDuration?: number | undefined;
|
|
956
957
|
queue?: {
|
|
957
958
|
name?: string | undefined;
|
|
958
959
|
concurrencyLimit?: number | undefined;
|
|
959
960
|
} | undefined;
|
|
960
|
-
|
|
961
|
+
machine?: {
|
|
962
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
963
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
964
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
965
|
+
} | undefined;
|
|
961
966
|
retry?: {
|
|
962
967
|
maxAttempts?: number | undefined;
|
|
963
968
|
factor?: number | undefined;
|
|
@@ -966,16 +971,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
966
971
|
randomize?: boolean | undefined;
|
|
967
972
|
} | undefined;
|
|
968
973
|
description?: string | undefined;
|
|
974
|
+
triggerSource?: string | undefined;
|
|
969
975
|
schedule?: {
|
|
970
|
-
timezone: string;
|
|
971
976
|
cron: string;
|
|
977
|
+
timezone: string;
|
|
972
978
|
} | undefined;
|
|
973
|
-
machine?: {
|
|
974
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
975
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
976
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
977
|
-
} | undefined;
|
|
978
|
-
triggerSource?: string | undefined;
|
|
979
979
|
}>, "many">;
|
|
980
980
|
workerEntryPoint: z.ZodString;
|
|
981
981
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -993,16 +993,22 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
993
993
|
exclude?: string[] | undefined;
|
|
994
994
|
}>>;
|
|
995
995
|
}, "strip", z.ZodTypeAny, {
|
|
996
|
+
configPath: string;
|
|
996
997
|
tasks: {
|
|
997
998
|
id: string;
|
|
998
999
|
filePath: string;
|
|
999
1000
|
exportName: string;
|
|
1000
1001
|
entryPoint: string;
|
|
1002
|
+
maxDuration?: number | undefined;
|
|
1001
1003
|
queue?: {
|
|
1002
1004
|
name?: string | undefined;
|
|
1003
1005
|
concurrencyLimit?: number | undefined;
|
|
1004
1006
|
} | undefined;
|
|
1005
|
-
|
|
1007
|
+
machine?: {
|
|
1008
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1009
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1010
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1011
|
+
} | undefined;
|
|
1006
1012
|
retry?: {
|
|
1007
1013
|
maxAttempts?: number | undefined;
|
|
1008
1014
|
factor?: number | undefined;
|
|
@@ -1011,38 +1017,38 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1011
1017
|
randomize?: boolean | undefined;
|
|
1012
1018
|
} | undefined;
|
|
1013
1019
|
description?: string | undefined;
|
|
1020
|
+
triggerSource?: string | undefined;
|
|
1014
1021
|
schedule?: {
|
|
1015
|
-
timezone: string;
|
|
1016
1022
|
cron: string;
|
|
1023
|
+
timezone: string;
|
|
1017
1024
|
} | undefined;
|
|
1018
|
-
machine?: {
|
|
1019
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1020
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1021
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1022
|
-
} | undefined;
|
|
1023
|
-
triggerSource?: string | undefined;
|
|
1024
1025
|
}[];
|
|
1025
|
-
runtime: "node" | "bun";
|
|
1026
|
-
configPath: string;
|
|
1027
1026
|
workerEntryPoint: string;
|
|
1027
|
+
runtime: "node" | "bun";
|
|
1028
|
+
controllerEntryPoint?: string | undefined;
|
|
1028
1029
|
loaderEntryPoint?: string | undefined;
|
|
1029
1030
|
customConditions?: string[] | undefined;
|
|
1030
1031
|
otelImportHook?: {
|
|
1031
1032
|
include?: string[] | undefined;
|
|
1032
1033
|
exclude?: string[] | undefined;
|
|
1033
1034
|
} | undefined;
|
|
1034
|
-
controllerEntryPoint?: string | undefined;
|
|
1035
1035
|
}, {
|
|
1036
|
+
configPath: string;
|
|
1036
1037
|
tasks: {
|
|
1037
1038
|
id: string;
|
|
1038
1039
|
filePath: string;
|
|
1039
1040
|
exportName: string;
|
|
1040
1041
|
entryPoint: string;
|
|
1042
|
+
maxDuration?: number | undefined;
|
|
1041
1043
|
queue?: {
|
|
1042
1044
|
name?: string | undefined;
|
|
1043
1045
|
concurrencyLimit?: number | undefined;
|
|
1044
1046
|
} | undefined;
|
|
1045
|
-
|
|
1047
|
+
machine?: {
|
|
1048
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1049
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1050
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1051
|
+
} | undefined;
|
|
1046
1052
|
retry?: {
|
|
1047
1053
|
maxAttempts?: number | undefined;
|
|
1048
1054
|
factor?: number | undefined;
|
|
@@ -1051,40 +1057,40 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1051
1057
|
randomize?: boolean | undefined;
|
|
1052
1058
|
} | undefined;
|
|
1053
1059
|
description?: string | undefined;
|
|
1060
|
+
triggerSource?: string | undefined;
|
|
1054
1061
|
schedule?: {
|
|
1055
|
-
timezone: string;
|
|
1056
1062
|
cron: string;
|
|
1063
|
+
timezone: string;
|
|
1057
1064
|
} | undefined;
|
|
1058
|
-
machine?: {
|
|
1059
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1060
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1061
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1062
|
-
} | undefined;
|
|
1063
|
-
triggerSource?: string | undefined;
|
|
1064
1065
|
}[];
|
|
1065
|
-
runtime: "node" | "bun";
|
|
1066
|
-
configPath: string;
|
|
1067
1066
|
workerEntryPoint: string;
|
|
1067
|
+
runtime: "node" | "bun";
|
|
1068
|
+
controllerEntryPoint?: string | undefined;
|
|
1068
1069
|
loaderEntryPoint?: string | undefined;
|
|
1069
1070
|
customConditions?: string[] | undefined;
|
|
1070
1071
|
otelImportHook?: {
|
|
1071
1072
|
include?: string[] | undefined;
|
|
1072
1073
|
exclude?: string[] | undefined;
|
|
1073
1074
|
} | undefined;
|
|
1074
|
-
controllerEntryPoint?: string | undefined;
|
|
1075
1075
|
}>;
|
|
1076
1076
|
}, "strip", z.ZodTypeAny, {
|
|
1077
1077
|
manifest: {
|
|
1078
|
+
configPath: string;
|
|
1078
1079
|
tasks: {
|
|
1079
1080
|
id: string;
|
|
1080
1081
|
filePath: string;
|
|
1081
1082
|
exportName: string;
|
|
1082
1083
|
entryPoint: string;
|
|
1084
|
+
maxDuration?: number | undefined;
|
|
1083
1085
|
queue?: {
|
|
1084
1086
|
name?: string | undefined;
|
|
1085
1087
|
concurrencyLimit?: number | undefined;
|
|
1086
1088
|
} | undefined;
|
|
1087
|
-
|
|
1089
|
+
machine?: {
|
|
1090
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1091
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1092
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1093
|
+
} | undefined;
|
|
1088
1094
|
retry?: {
|
|
1089
1095
|
maxAttempts?: number | undefined;
|
|
1090
1096
|
factor?: number | undefined;
|
|
@@ -1093,40 +1099,40 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1093
1099
|
randomize?: boolean | undefined;
|
|
1094
1100
|
} | undefined;
|
|
1095
1101
|
description?: string | undefined;
|
|
1102
|
+
triggerSource?: string | undefined;
|
|
1096
1103
|
schedule?: {
|
|
1097
|
-
timezone: string;
|
|
1098
1104
|
cron: string;
|
|
1105
|
+
timezone: string;
|
|
1099
1106
|
} | undefined;
|
|
1100
|
-
machine?: {
|
|
1101
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1102
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1103
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1104
|
-
} | undefined;
|
|
1105
|
-
triggerSource?: string | undefined;
|
|
1106
1107
|
}[];
|
|
1107
|
-
runtime: "node" | "bun";
|
|
1108
|
-
configPath: string;
|
|
1109
1108
|
workerEntryPoint: string;
|
|
1109
|
+
runtime: "node" | "bun";
|
|
1110
|
+
controllerEntryPoint?: string | undefined;
|
|
1110
1111
|
loaderEntryPoint?: string | undefined;
|
|
1111
1112
|
customConditions?: string[] | undefined;
|
|
1112
1113
|
otelImportHook?: {
|
|
1113
1114
|
include?: string[] | undefined;
|
|
1114
1115
|
exclude?: string[] | undefined;
|
|
1115
1116
|
} | undefined;
|
|
1116
|
-
controllerEntryPoint?: string | undefined;
|
|
1117
1117
|
};
|
|
1118
1118
|
}, {
|
|
1119
1119
|
manifest: {
|
|
1120
|
+
configPath: string;
|
|
1120
1121
|
tasks: {
|
|
1121
1122
|
id: string;
|
|
1122
1123
|
filePath: string;
|
|
1123
1124
|
exportName: string;
|
|
1124
1125
|
entryPoint: string;
|
|
1126
|
+
maxDuration?: number | undefined;
|
|
1125
1127
|
queue?: {
|
|
1126
1128
|
name?: string | undefined;
|
|
1127
1129
|
concurrencyLimit?: number | undefined;
|
|
1128
1130
|
} | undefined;
|
|
1129
|
-
|
|
1131
|
+
machine?: {
|
|
1132
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1133
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1134
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1135
|
+
} | undefined;
|
|
1130
1136
|
retry?: {
|
|
1131
1137
|
maxAttempts?: number | undefined;
|
|
1132
1138
|
factor?: number | undefined;
|
|
@@ -1135,43 +1141,43 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1135
1141
|
randomize?: boolean | undefined;
|
|
1136
1142
|
} | undefined;
|
|
1137
1143
|
description?: string | undefined;
|
|
1144
|
+
triggerSource?: string | undefined;
|
|
1138
1145
|
schedule?: {
|
|
1139
|
-
timezone: string;
|
|
1140
1146
|
cron: string;
|
|
1147
|
+
timezone: string;
|
|
1141
1148
|
} | undefined;
|
|
1142
|
-
machine?: {
|
|
1143
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1144
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1145
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1146
|
-
} | undefined;
|
|
1147
|
-
triggerSource?: string | undefined;
|
|
1148
1149
|
}[];
|
|
1149
|
-
runtime: "node" | "bun";
|
|
1150
|
-
configPath: string;
|
|
1151
1150
|
workerEntryPoint: string;
|
|
1151
|
+
runtime: "node" | "bun";
|
|
1152
|
+
controllerEntryPoint?: string | undefined;
|
|
1152
1153
|
loaderEntryPoint?: string | undefined;
|
|
1153
1154
|
customConditions?: string[] | undefined;
|
|
1154
1155
|
otelImportHook?: {
|
|
1155
1156
|
include?: string[] | undefined;
|
|
1156
1157
|
exclude?: string[] | undefined;
|
|
1157
1158
|
} | undefined;
|
|
1158
|
-
controllerEntryPoint?: string | undefined;
|
|
1159
1159
|
};
|
|
1160
1160
|
}>;
|
|
1161
1161
|
}, "strip", z.ZodTypeAny, {
|
|
1162
1162
|
type: "worker-manifest";
|
|
1163
1163
|
data: {
|
|
1164
1164
|
manifest: {
|
|
1165
|
+
configPath: string;
|
|
1165
1166
|
tasks: {
|
|
1166
1167
|
id: string;
|
|
1167
1168
|
filePath: string;
|
|
1168
1169
|
exportName: string;
|
|
1169
1170
|
entryPoint: string;
|
|
1171
|
+
maxDuration?: number | undefined;
|
|
1170
1172
|
queue?: {
|
|
1171
1173
|
name?: string | undefined;
|
|
1172
1174
|
concurrencyLimit?: number | undefined;
|
|
1173
1175
|
} | undefined;
|
|
1174
|
-
|
|
1176
|
+
machine?: {
|
|
1177
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1178
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1179
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1180
|
+
} | undefined;
|
|
1175
1181
|
retry?: {
|
|
1176
1182
|
maxAttempts?: number | undefined;
|
|
1177
1183
|
factor?: number | undefined;
|
|
@@ -1180,43 +1186,43 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1180
1186
|
randomize?: boolean | undefined;
|
|
1181
1187
|
} | undefined;
|
|
1182
1188
|
description?: string | undefined;
|
|
1189
|
+
triggerSource?: string | undefined;
|
|
1183
1190
|
schedule?: {
|
|
1184
|
-
timezone: string;
|
|
1185
1191
|
cron: string;
|
|
1192
|
+
timezone: string;
|
|
1186
1193
|
} | undefined;
|
|
1187
|
-
machine?: {
|
|
1188
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1189
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1190
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1191
|
-
} | undefined;
|
|
1192
|
-
triggerSource?: string | undefined;
|
|
1193
1194
|
}[];
|
|
1194
|
-
runtime: "node" | "bun";
|
|
1195
|
-
configPath: string;
|
|
1196
1195
|
workerEntryPoint: string;
|
|
1196
|
+
runtime: "node" | "bun";
|
|
1197
|
+
controllerEntryPoint?: string | undefined;
|
|
1197
1198
|
loaderEntryPoint?: string | undefined;
|
|
1198
1199
|
customConditions?: string[] | undefined;
|
|
1199
1200
|
otelImportHook?: {
|
|
1200
1201
|
include?: string[] | undefined;
|
|
1201
1202
|
exclude?: string[] | undefined;
|
|
1202
1203
|
} | undefined;
|
|
1203
|
-
controllerEntryPoint?: string | undefined;
|
|
1204
1204
|
};
|
|
1205
1205
|
};
|
|
1206
1206
|
}, {
|
|
1207
1207
|
type: "worker-manifest";
|
|
1208
1208
|
data: {
|
|
1209
1209
|
manifest: {
|
|
1210
|
+
configPath: string;
|
|
1210
1211
|
tasks: {
|
|
1211
1212
|
id: string;
|
|
1212
1213
|
filePath: string;
|
|
1213
1214
|
exportName: string;
|
|
1214
1215
|
entryPoint: string;
|
|
1216
|
+
maxDuration?: number | undefined;
|
|
1215
1217
|
queue?: {
|
|
1216
1218
|
name?: string | undefined;
|
|
1217
1219
|
concurrencyLimit?: number | undefined;
|
|
1218
1220
|
} | undefined;
|
|
1219
|
-
|
|
1221
|
+
machine?: {
|
|
1222
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1223
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1224
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1225
|
+
} | undefined;
|
|
1220
1226
|
retry?: {
|
|
1221
1227
|
maxAttempts?: number | undefined;
|
|
1222
1228
|
factor?: number | undefined;
|
|
@@ -1225,27 +1231,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1225
1231
|
randomize?: boolean | undefined;
|
|
1226
1232
|
} | undefined;
|
|
1227
1233
|
description?: string | undefined;
|
|
1234
|
+
triggerSource?: string | undefined;
|
|
1228
1235
|
schedule?: {
|
|
1229
|
-
timezone: string;
|
|
1230
1236
|
cron: string;
|
|
1237
|
+
timezone: string;
|
|
1231
1238
|
} | undefined;
|
|
1232
|
-
machine?: {
|
|
1233
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1234
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1235
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1236
|
-
} | undefined;
|
|
1237
|
-
triggerSource?: string | undefined;
|
|
1238
1239
|
}[];
|
|
1239
|
-
runtime: "node" | "bun";
|
|
1240
|
-
configPath: string;
|
|
1241
1240
|
workerEntryPoint: string;
|
|
1241
|
+
runtime: "node" | "bun";
|
|
1242
|
+
controllerEntryPoint?: string | undefined;
|
|
1242
1243
|
loaderEntryPoint?: string | undefined;
|
|
1243
1244
|
customConditions?: string[] | undefined;
|
|
1244
1245
|
otelImportHook?: {
|
|
1245
1246
|
include?: string[] | undefined;
|
|
1246
1247
|
exclude?: string[] | undefined;
|
|
1247
1248
|
} | undefined;
|
|
1248
|
-
controllerEntryPoint?: string | undefined;
|
|
1249
1249
|
};
|
|
1250
1250
|
};
|
|
1251
1251
|
}>;
|