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