@trigger.dev/core 0.0.0-v3-trigger-dirs-20240422221109 → 0.0.0-v3-trigger-dirs-20240423091017
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/{consoleInterceptor-6WZo2qUS.d.ts → consoleInterceptor-pKvaiAI6.d.ts} +380 -380
- package/dist/{consoleInterceptor-hjdjADX8.d.mts → consoleInterceptor-tCKb2R0l.d.mts} +380 -380
- package/dist/v3/dev/index.d.mts +1 -1
- package/dist/v3/dev/index.d.ts +1 -1
- package/dist/v3/index.d.mts +14 -14
- package/dist/v3/index.d.ts +14 -14
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +2 -2
- package/dist/v3/prod/index.d.ts +2 -2
- package/dist/v3/workers/index.d.mts +5 -5
- package/dist/v3/workers/index.d.ts +5 -5
- package/package.json +3 -3
- package/dist/{manager-psJfQhBB.d.mts → manager-KhqZOMNe.d.mts} +80 -80
- package/dist/{manager-psJfQhBB.d.ts → manager-KhqZOMNe.d.ts} +80 -80
- package/dist/{messages-GvjBDSAA.d.mts → messages-oFuHKbi4.d.mts} +465 -465
- package/dist/{messages-GvjBDSAA.d.ts → messages-oFuHKbi4.d.ts} +465 -465
|
@@ -67,18 +67,18 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
67
67
|
createdAt: z.ZodDate;
|
|
68
68
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
id: string;
|
|
70
71
|
payload: string;
|
|
71
72
|
payloadType: string;
|
|
72
|
-
id: string;
|
|
73
73
|
tags: string[];
|
|
74
74
|
isTest: boolean;
|
|
75
75
|
createdAt: Date;
|
|
76
76
|
context?: any;
|
|
77
77
|
idempotencyKey?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
+
id: string;
|
|
79
80
|
payload: string;
|
|
80
81
|
payloadType: string;
|
|
81
|
-
id: string;
|
|
82
82
|
tags: string[];
|
|
83
83
|
createdAt: Date;
|
|
84
84
|
context?: any;
|
|
@@ -145,10 +145,6 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
145
145
|
id: string;
|
|
146
146
|
}>>;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
queue: {
|
|
149
|
-
name: string;
|
|
150
|
-
id: string;
|
|
151
|
-
};
|
|
152
148
|
task: {
|
|
153
149
|
id: string;
|
|
154
150
|
filePath: string;
|
|
@@ -163,15 +159,19 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
163
159
|
backgroundWorkerTaskId: string;
|
|
164
160
|
};
|
|
165
161
|
run: {
|
|
162
|
+
id: string;
|
|
166
163
|
payload: string;
|
|
167
164
|
payloadType: string;
|
|
168
|
-
id: string;
|
|
169
165
|
tags: string[];
|
|
170
166
|
isTest: boolean;
|
|
171
167
|
createdAt: Date;
|
|
172
168
|
context?: any;
|
|
173
169
|
idempotencyKey?: string | undefined;
|
|
174
170
|
};
|
|
171
|
+
queue: {
|
|
172
|
+
name: string;
|
|
173
|
+
id: string;
|
|
174
|
+
};
|
|
175
175
|
environment: {
|
|
176
176
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
177
177
|
id: string;
|
|
@@ -192,10 +192,6 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
192
192
|
id: string;
|
|
193
193
|
} | undefined;
|
|
194
194
|
}, {
|
|
195
|
-
queue: {
|
|
196
|
-
name: string;
|
|
197
|
-
id: string;
|
|
198
|
-
};
|
|
199
195
|
task: {
|
|
200
196
|
id: string;
|
|
201
197
|
filePath: string;
|
|
@@ -210,15 +206,19 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
210
206
|
backgroundWorkerTaskId: string;
|
|
211
207
|
};
|
|
212
208
|
run: {
|
|
209
|
+
id: string;
|
|
213
210
|
payload: string;
|
|
214
211
|
payloadType: string;
|
|
215
|
-
id: string;
|
|
216
212
|
tags: string[];
|
|
217
213
|
createdAt: Date;
|
|
218
214
|
context?: any;
|
|
219
215
|
isTest?: boolean | undefined;
|
|
220
216
|
idempotencyKey?: string | undefined;
|
|
221
217
|
};
|
|
218
|
+
queue: {
|
|
219
|
+
name: string;
|
|
220
|
+
id: string;
|
|
221
|
+
};
|
|
222
222
|
environment: {
|
|
223
223
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
224
224
|
id: string;
|
|
@@ -243,10 +243,6 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
243
243
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
245
|
execution: {
|
|
246
|
-
queue: {
|
|
247
|
-
name: string;
|
|
248
|
-
id: string;
|
|
249
|
-
};
|
|
250
246
|
task: {
|
|
251
247
|
id: string;
|
|
252
248
|
filePath: string;
|
|
@@ -261,15 +257,19 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
261
257
|
backgroundWorkerTaskId: string;
|
|
262
258
|
};
|
|
263
259
|
run: {
|
|
260
|
+
id: string;
|
|
264
261
|
payload: string;
|
|
265
262
|
payloadType: string;
|
|
266
|
-
id: string;
|
|
267
263
|
tags: string[];
|
|
268
264
|
isTest: boolean;
|
|
269
265
|
createdAt: Date;
|
|
270
266
|
context?: any;
|
|
271
267
|
idempotencyKey?: string | undefined;
|
|
272
268
|
};
|
|
269
|
+
queue: {
|
|
270
|
+
name: string;
|
|
271
|
+
id: string;
|
|
272
|
+
};
|
|
273
273
|
environment: {
|
|
274
274
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
275
275
|
id: string;
|
|
@@ -294,10 +294,6 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
294
294
|
environment?: Record<string, string> | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
execution: {
|
|
297
|
-
queue: {
|
|
298
|
-
name: string;
|
|
299
|
-
id: string;
|
|
300
|
-
};
|
|
301
297
|
task: {
|
|
302
298
|
id: string;
|
|
303
299
|
filePath: string;
|
|
@@ -312,15 +308,19 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
312
308
|
backgroundWorkerTaskId: string;
|
|
313
309
|
};
|
|
314
310
|
run: {
|
|
311
|
+
id: string;
|
|
315
312
|
payload: string;
|
|
316
313
|
payloadType: string;
|
|
317
|
-
id: string;
|
|
318
314
|
tags: string[];
|
|
319
315
|
createdAt: Date;
|
|
320
316
|
context?: any;
|
|
321
317
|
isTest?: boolean | undefined;
|
|
322
318
|
idempotencyKey?: string | undefined;
|
|
323
319
|
};
|
|
320
|
+
queue: {
|
|
321
|
+
name: string;
|
|
322
|
+
id: string;
|
|
323
|
+
};
|
|
324
324
|
environment: {
|
|
325
325
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
326
326
|
id: string;
|
|
@@ -346,16 +346,6 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
346
346
|
}>;
|
|
347
347
|
type TaskRunExecutionPayload = z.infer<typeof TaskRunExecutionPayload>;
|
|
348
348
|
declare const ProdTaskRunExecution: z.ZodObject<{
|
|
349
|
-
queue: z.ZodObject<{
|
|
350
|
-
id: z.ZodString;
|
|
351
|
-
name: z.ZodString;
|
|
352
|
-
}, "strip", z.ZodTypeAny, {
|
|
353
|
-
name: string;
|
|
354
|
-
id: string;
|
|
355
|
-
}, {
|
|
356
|
-
name: string;
|
|
357
|
-
id: string;
|
|
358
|
-
}>;
|
|
359
349
|
task: z.ZodObject<{
|
|
360
350
|
id: z.ZodString;
|
|
361
351
|
filePath: z.ZodString;
|
|
@@ -401,24 +391,34 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
401
391
|
createdAt: z.ZodDate;
|
|
402
392
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
403
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
+
id: string;
|
|
404
395
|
payload: string;
|
|
405
396
|
payloadType: string;
|
|
406
|
-
id: string;
|
|
407
397
|
tags: string[];
|
|
408
398
|
isTest: boolean;
|
|
409
399
|
createdAt: Date;
|
|
410
400
|
context?: any;
|
|
411
401
|
idempotencyKey?: string | undefined;
|
|
412
402
|
}, {
|
|
403
|
+
id: string;
|
|
413
404
|
payload: string;
|
|
414
405
|
payloadType: string;
|
|
415
|
-
id: string;
|
|
416
406
|
tags: string[];
|
|
417
407
|
createdAt: Date;
|
|
418
408
|
context?: any;
|
|
419
409
|
isTest?: boolean | undefined;
|
|
420
410
|
idempotencyKey?: string | undefined;
|
|
421
411
|
}>;
|
|
412
|
+
queue: z.ZodObject<{
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
name: z.ZodString;
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
name: string;
|
|
417
|
+
id: string;
|
|
418
|
+
}, {
|
|
419
|
+
name: string;
|
|
420
|
+
id: string;
|
|
421
|
+
}>;
|
|
422
422
|
environment: z.ZodObject<{
|
|
423
423
|
id: z.ZodString;
|
|
424
424
|
slug: z.ZodString;
|
|
@@ -482,10 +482,6 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
482
482
|
contentHash: string;
|
|
483
483
|
}>;
|
|
484
484
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
queue: {
|
|
486
|
-
name: string;
|
|
487
|
-
id: string;
|
|
488
|
-
};
|
|
489
485
|
task: {
|
|
490
486
|
id: string;
|
|
491
487
|
filePath: string;
|
|
@@ -500,15 +496,19 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
500
496
|
backgroundWorkerTaskId: string;
|
|
501
497
|
};
|
|
502
498
|
run: {
|
|
499
|
+
id: string;
|
|
503
500
|
payload: string;
|
|
504
501
|
payloadType: string;
|
|
505
|
-
id: string;
|
|
506
502
|
tags: string[];
|
|
507
503
|
isTest: boolean;
|
|
508
504
|
createdAt: Date;
|
|
509
505
|
context?: any;
|
|
510
506
|
idempotencyKey?: string | undefined;
|
|
511
507
|
};
|
|
508
|
+
queue: {
|
|
509
|
+
name: string;
|
|
510
|
+
id: string;
|
|
511
|
+
};
|
|
512
512
|
environment: {
|
|
513
513
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
514
514
|
id: string;
|
|
@@ -534,10 +534,6 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
534
534
|
id: string;
|
|
535
535
|
} | undefined;
|
|
536
536
|
}, {
|
|
537
|
-
queue: {
|
|
538
|
-
name: string;
|
|
539
|
-
id: string;
|
|
540
|
-
};
|
|
541
537
|
task: {
|
|
542
538
|
id: string;
|
|
543
539
|
filePath: string;
|
|
@@ -552,15 +548,19 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
552
548
|
backgroundWorkerTaskId: string;
|
|
553
549
|
};
|
|
554
550
|
run: {
|
|
551
|
+
id: string;
|
|
555
552
|
payload: string;
|
|
556
553
|
payloadType: string;
|
|
557
|
-
id: string;
|
|
558
554
|
tags: string[];
|
|
559
555
|
createdAt: Date;
|
|
560
556
|
context?: any;
|
|
561
557
|
isTest?: boolean | undefined;
|
|
562
558
|
idempotencyKey?: string | undefined;
|
|
563
559
|
};
|
|
560
|
+
queue: {
|
|
561
|
+
name: string;
|
|
562
|
+
id: string;
|
|
563
|
+
};
|
|
564
564
|
environment: {
|
|
565
565
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
566
566
|
id: string;
|
|
@@ -589,16 +589,6 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
589
589
|
type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
590
590
|
declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
591
591
|
execution: z.ZodObject<{
|
|
592
|
-
queue: z.ZodObject<{
|
|
593
|
-
id: z.ZodString;
|
|
594
|
-
name: z.ZodString;
|
|
595
|
-
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
name: string;
|
|
597
|
-
id: string;
|
|
598
|
-
}, {
|
|
599
|
-
name: string;
|
|
600
|
-
id: string;
|
|
601
|
-
}>;
|
|
602
592
|
task: z.ZodObject<{
|
|
603
593
|
id: z.ZodString;
|
|
604
594
|
filePath: z.ZodString;
|
|
@@ -644,24 +634,34 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
644
634
|
createdAt: z.ZodDate;
|
|
645
635
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
646
636
|
}, "strip", z.ZodTypeAny, {
|
|
637
|
+
id: string;
|
|
647
638
|
payload: string;
|
|
648
639
|
payloadType: string;
|
|
649
|
-
id: string;
|
|
650
640
|
tags: string[];
|
|
651
641
|
isTest: boolean;
|
|
652
642
|
createdAt: Date;
|
|
653
643
|
context?: any;
|
|
654
644
|
idempotencyKey?: string | undefined;
|
|
655
645
|
}, {
|
|
646
|
+
id: string;
|
|
656
647
|
payload: string;
|
|
657
648
|
payloadType: string;
|
|
658
|
-
id: string;
|
|
659
649
|
tags: string[];
|
|
660
650
|
createdAt: Date;
|
|
661
651
|
context?: any;
|
|
662
652
|
isTest?: boolean | undefined;
|
|
663
653
|
idempotencyKey?: string | undefined;
|
|
664
654
|
}>;
|
|
655
|
+
queue: z.ZodObject<{
|
|
656
|
+
id: z.ZodString;
|
|
657
|
+
name: z.ZodString;
|
|
658
|
+
}, "strip", z.ZodTypeAny, {
|
|
659
|
+
name: string;
|
|
660
|
+
id: string;
|
|
661
|
+
}, {
|
|
662
|
+
name: string;
|
|
663
|
+
id: string;
|
|
664
|
+
}>;
|
|
665
665
|
environment: z.ZodObject<{
|
|
666
666
|
id: z.ZodString;
|
|
667
667
|
slug: z.ZodString;
|
|
@@ -725,10 +725,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
725
725
|
contentHash: string;
|
|
726
726
|
}>;
|
|
727
727
|
}, "strip", z.ZodTypeAny, {
|
|
728
|
-
queue: {
|
|
729
|
-
name: string;
|
|
730
|
-
id: string;
|
|
731
|
-
};
|
|
732
728
|
task: {
|
|
733
729
|
id: string;
|
|
734
730
|
filePath: string;
|
|
@@ -743,15 +739,19 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
743
739
|
backgroundWorkerTaskId: string;
|
|
744
740
|
};
|
|
745
741
|
run: {
|
|
742
|
+
id: string;
|
|
746
743
|
payload: string;
|
|
747
744
|
payloadType: string;
|
|
748
|
-
id: string;
|
|
749
745
|
tags: string[];
|
|
750
746
|
isTest: boolean;
|
|
751
747
|
createdAt: Date;
|
|
752
748
|
context?: any;
|
|
753
749
|
idempotencyKey?: string | undefined;
|
|
754
750
|
};
|
|
751
|
+
queue: {
|
|
752
|
+
name: string;
|
|
753
|
+
id: string;
|
|
754
|
+
};
|
|
755
755
|
environment: {
|
|
756
756
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
757
757
|
id: string;
|
|
@@ -777,10 +777,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
777
777
|
id: string;
|
|
778
778
|
} | undefined;
|
|
779
779
|
}, {
|
|
780
|
-
queue: {
|
|
781
|
-
name: string;
|
|
782
|
-
id: string;
|
|
783
|
-
};
|
|
784
780
|
task: {
|
|
785
781
|
id: string;
|
|
786
782
|
filePath: string;
|
|
@@ -795,15 +791,19 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
795
791
|
backgroundWorkerTaskId: string;
|
|
796
792
|
};
|
|
797
793
|
run: {
|
|
794
|
+
id: string;
|
|
798
795
|
payload: string;
|
|
799
796
|
payloadType: string;
|
|
800
|
-
id: string;
|
|
801
797
|
tags: string[];
|
|
802
798
|
createdAt: Date;
|
|
803
799
|
context?: any;
|
|
804
800
|
isTest?: boolean | undefined;
|
|
805
801
|
idempotencyKey?: string | undefined;
|
|
806
802
|
};
|
|
803
|
+
queue: {
|
|
804
|
+
name: string;
|
|
805
|
+
id: string;
|
|
806
|
+
};
|
|
807
807
|
environment: {
|
|
808
808
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
809
809
|
id: string;
|
|
@@ -833,10 +833,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
833
833
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
834
834
|
}, "strip", z.ZodTypeAny, {
|
|
835
835
|
execution: {
|
|
836
|
-
queue: {
|
|
837
|
-
name: string;
|
|
838
|
-
id: string;
|
|
839
|
-
};
|
|
840
836
|
task: {
|
|
841
837
|
id: string;
|
|
842
838
|
filePath: string;
|
|
@@ -851,15 +847,19 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
851
847
|
backgroundWorkerTaskId: string;
|
|
852
848
|
};
|
|
853
849
|
run: {
|
|
850
|
+
id: string;
|
|
854
851
|
payload: string;
|
|
855
852
|
payloadType: string;
|
|
856
|
-
id: string;
|
|
857
853
|
tags: string[];
|
|
858
854
|
isTest: boolean;
|
|
859
855
|
createdAt: Date;
|
|
860
856
|
context?: any;
|
|
861
857
|
idempotencyKey?: string | undefined;
|
|
862
858
|
};
|
|
859
|
+
queue: {
|
|
860
|
+
name: string;
|
|
861
|
+
id: string;
|
|
862
|
+
};
|
|
863
863
|
environment: {
|
|
864
864
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
865
865
|
id: string;
|
|
@@ -889,10 +889,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
889
889
|
environment?: Record<string, string> | undefined;
|
|
890
890
|
}, {
|
|
891
891
|
execution: {
|
|
892
|
-
queue: {
|
|
893
|
-
name: string;
|
|
894
|
-
id: string;
|
|
895
|
-
};
|
|
896
892
|
task: {
|
|
897
893
|
id: string;
|
|
898
894
|
filePath: string;
|
|
@@ -907,15 +903,19 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
907
903
|
backgroundWorkerTaskId: string;
|
|
908
904
|
};
|
|
909
905
|
run: {
|
|
906
|
+
id: string;
|
|
910
907
|
payload: string;
|
|
911
908
|
payloadType: string;
|
|
912
|
-
id: string;
|
|
913
909
|
tags: string[];
|
|
914
910
|
createdAt: Date;
|
|
915
911
|
context?: any;
|
|
916
912
|
isTest?: boolean | undefined;
|
|
917
913
|
idempotencyKey?: string | undefined;
|
|
918
914
|
};
|
|
915
|
+
queue: {
|
|
916
|
+
name: string;
|
|
917
|
+
id: string;
|
|
918
|
+
};
|
|
919
919
|
environment: {
|
|
920
920
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
921
921
|
id: string;
|
|
@@ -994,18 +994,18 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
994
994
|
createdAt: z.ZodDate;
|
|
995
995
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
996
996
|
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
id: string;
|
|
997
998
|
payload: string;
|
|
998
999
|
payloadType: string;
|
|
999
|
-
id: string;
|
|
1000
1000
|
tags: string[];
|
|
1001
1001
|
isTest: boolean;
|
|
1002
1002
|
createdAt: Date;
|
|
1003
1003
|
context?: any;
|
|
1004
1004
|
idempotencyKey?: string | undefined;
|
|
1005
1005
|
}, {
|
|
1006
|
+
id: string;
|
|
1006
1007
|
payload: string;
|
|
1007
1008
|
payloadType: string;
|
|
1008
|
-
id: string;
|
|
1009
1009
|
tags: string[];
|
|
1010
1010
|
createdAt: Date;
|
|
1011
1011
|
context?: any;
|
|
@@ -1072,10 +1072,6 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1072
1072
|
id: string;
|
|
1073
1073
|
}>>;
|
|
1074
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1075
|
-
queue: {
|
|
1076
|
-
name: string;
|
|
1077
|
-
id: string;
|
|
1078
|
-
};
|
|
1079
1075
|
task: {
|
|
1080
1076
|
id: string;
|
|
1081
1077
|
filePath: string;
|
|
@@ -1090,15 +1086,19 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1090
1086
|
backgroundWorkerTaskId: string;
|
|
1091
1087
|
};
|
|
1092
1088
|
run: {
|
|
1089
|
+
id: string;
|
|
1093
1090
|
payload: string;
|
|
1094
1091
|
payloadType: string;
|
|
1095
|
-
id: string;
|
|
1096
1092
|
tags: string[];
|
|
1097
1093
|
isTest: boolean;
|
|
1098
1094
|
createdAt: Date;
|
|
1099
1095
|
context?: any;
|
|
1100
1096
|
idempotencyKey?: string | undefined;
|
|
1101
1097
|
};
|
|
1098
|
+
queue: {
|
|
1099
|
+
name: string;
|
|
1100
|
+
id: string;
|
|
1101
|
+
};
|
|
1102
1102
|
environment: {
|
|
1103
1103
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1104
1104
|
id: string;
|
|
@@ -1119,10 +1119,6 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1119
1119
|
id: string;
|
|
1120
1120
|
} | undefined;
|
|
1121
1121
|
}, {
|
|
1122
|
-
queue: {
|
|
1123
|
-
name: string;
|
|
1124
|
-
id: string;
|
|
1125
|
-
};
|
|
1126
1122
|
task: {
|
|
1127
1123
|
id: string;
|
|
1128
1124
|
filePath: string;
|
|
@@ -1137,15 +1133,19 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1137
1133
|
backgroundWorkerTaskId: string;
|
|
1138
1134
|
};
|
|
1139
1135
|
run: {
|
|
1136
|
+
id: string;
|
|
1140
1137
|
payload: string;
|
|
1141
1138
|
payloadType: string;
|
|
1142
|
-
id: string;
|
|
1143
1139
|
tags: string[];
|
|
1144
1140
|
createdAt: Date;
|
|
1145
1141
|
context?: any;
|
|
1146
1142
|
isTest?: boolean | undefined;
|
|
1147
1143
|
idempotencyKey?: string | undefined;
|
|
1148
1144
|
};
|
|
1145
|
+
queue: {
|
|
1146
|
+
name: string;
|
|
1147
|
+
id: string;
|
|
1148
|
+
};
|
|
1149
1149
|
environment: {
|
|
1150
1150
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1151
1151
|
id: string;
|
|
@@ -1170,10 +1170,6 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1170
1170
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1171
1171
|
}, "strip", z.ZodTypeAny, {
|
|
1172
1172
|
execution: {
|
|
1173
|
-
queue: {
|
|
1174
|
-
name: string;
|
|
1175
|
-
id: string;
|
|
1176
|
-
};
|
|
1177
1173
|
task: {
|
|
1178
1174
|
id: string;
|
|
1179
1175
|
filePath: string;
|
|
@@ -1188,15 +1184,19 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1188
1184
|
backgroundWorkerTaskId: string;
|
|
1189
1185
|
};
|
|
1190
1186
|
run: {
|
|
1187
|
+
id: string;
|
|
1191
1188
|
payload: string;
|
|
1192
1189
|
payloadType: string;
|
|
1193
|
-
id: string;
|
|
1194
1190
|
tags: string[];
|
|
1195
1191
|
isTest: boolean;
|
|
1196
1192
|
createdAt: Date;
|
|
1197
1193
|
context?: any;
|
|
1198
1194
|
idempotencyKey?: string | undefined;
|
|
1199
1195
|
};
|
|
1196
|
+
queue: {
|
|
1197
|
+
name: string;
|
|
1198
|
+
id: string;
|
|
1199
|
+
};
|
|
1200
1200
|
environment: {
|
|
1201
1201
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1202
1202
|
id: string;
|
|
@@ -1221,10 +1221,6 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1221
1221
|
environment?: Record<string, string> | undefined;
|
|
1222
1222
|
}, {
|
|
1223
1223
|
execution: {
|
|
1224
|
-
queue: {
|
|
1225
|
-
name: string;
|
|
1226
|
-
id: string;
|
|
1227
|
-
};
|
|
1228
1224
|
task: {
|
|
1229
1225
|
id: string;
|
|
1230
1226
|
filePath: string;
|
|
@@ -1239,15 +1235,19 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1239
1235
|
backgroundWorkerTaskId: string;
|
|
1240
1236
|
};
|
|
1241
1237
|
run: {
|
|
1238
|
+
id: string;
|
|
1242
1239
|
payload: string;
|
|
1243
1240
|
payloadType: string;
|
|
1244
|
-
id: string;
|
|
1245
1241
|
tags: string[];
|
|
1246
1242
|
createdAt: Date;
|
|
1247
1243
|
context?: any;
|
|
1248
1244
|
isTest?: boolean | undefined;
|
|
1249
1245
|
idempotencyKey?: string | undefined;
|
|
1250
1246
|
};
|
|
1247
|
+
queue: {
|
|
1248
|
+
name: string;
|
|
1249
|
+
id: string;
|
|
1250
|
+
};
|
|
1251
1251
|
environment: {
|
|
1252
1252
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1253
1253
|
id: string;
|
|
@@ -1275,10 +1275,6 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1275
1275
|
type: "EXECUTE_RUNS";
|
|
1276
1276
|
payloads: {
|
|
1277
1277
|
execution: {
|
|
1278
|
-
queue: {
|
|
1279
|
-
name: string;
|
|
1280
|
-
id: string;
|
|
1281
|
-
};
|
|
1282
1278
|
task: {
|
|
1283
1279
|
id: string;
|
|
1284
1280
|
filePath: string;
|
|
@@ -1293,15 +1289,19 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1293
1289
|
backgroundWorkerTaskId: string;
|
|
1294
1290
|
};
|
|
1295
1291
|
run: {
|
|
1292
|
+
id: string;
|
|
1296
1293
|
payload: string;
|
|
1297
1294
|
payloadType: string;
|
|
1298
|
-
id: string;
|
|
1299
1295
|
tags: string[];
|
|
1300
1296
|
isTest: boolean;
|
|
1301
1297
|
createdAt: Date;
|
|
1302
1298
|
context?: any;
|
|
1303
1299
|
idempotencyKey?: string | undefined;
|
|
1304
1300
|
};
|
|
1301
|
+
queue: {
|
|
1302
|
+
name: string;
|
|
1303
|
+
id: string;
|
|
1304
|
+
};
|
|
1305
1305
|
environment: {
|
|
1306
1306
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1307
1307
|
id: string;
|
|
@@ -1329,10 +1329,6 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1329
1329
|
type: "EXECUTE_RUNS";
|
|
1330
1330
|
payloads: {
|
|
1331
1331
|
execution: {
|
|
1332
|
-
queue: {
|
|
1333
|
-
name: string;
|
|
1334
|
-
id: string;
|
|
1335
|
-
};
|
|
1336
1332
|
task: {
|
|
1337
1333
|
id: string;
|
|
1338
1334
|
filePath: string;
|
|
@@ -1347,15 +1343,19 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
1347
1343
|
backgroundWorkerTaskId: string;
|
|
1348
1344
|
};
|
|
1349
1345
|
run: {
|
|
1346
|
+
id: string;
|
|
1350
1347
|
payload: string;
|
|
1351
1348
|
payloadType: string;
|
|
1352
|
-
id: string;
|
|
1353
1349
|
tags: string[];
|
|
1354
1350
|
createdAt: Date;
|
|
1355
1351
|
context?: any;
|
|
1356
1352
|
isTest?: boolean | undefined;
|
|
1357
1353
|
idempotencyKey?: string | undefined;
|
|
1358
1354
|
};
|
|
1355
|
+
queue: {
|
|
1356
|
+
name: string;
|
|
1357
|
+
id: string;
|
|
1358
|
+
};
|
|
1359
1359
|
environment: {
|
|
1360
1360
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1361
1361
|
id: string;
|
|
@@ -1509,18 +1509,18 @@ declare const serverWebsocketMessages: {
|
|
|
1509
1509
|
createdAt: z.ZodDate;
|
|
1510
1510
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1511
1511
|
}, "strip", z.ZodTypeAny, {
|
|
1512
|
+
id: string;
|
|
1512
1513
|
payload: string;
|
|
1513
1514
|
payloadType: string;
|
|
1514
|
-
id: string;
|
|
1515
1515
|
tags: string[];
|
|
1516
1516
|
isTest: boolean;
|
|
1517
1517
|
createdAt: Date;
|
|
1518
1518
|
context?: any;
|
|
1519
1519
|
idempotencyKey?: string | undefined;
|
|
1520
1520
|
}, {
|
|
1521
|
+
id: string;
|
|
1521
1522
|
payload: string;
|
|
1522
1523
|
payloadType: string;
|
|
1523
|
-
id: string;
|
|
1524
1524
|
tags: string[];
|
|
1525
1525
|
createdAt: Date;
|
|
1526
1526
|
context?: any;
|
|
@@ -1587,10 +1587,6 @@ declare const serverWebsocketMessages: {
|
|
|
1587
1587
|
id: string;
|
|
1588
1588
|
}>>;
|
|
1589
1589
|
}, "strip", z.ZodTypeAny, {
|
|
1590
|
-
queue: {
|
|
1591
|
-
name: string;
|
|
1592
|
-
id: string;
|
|
1593
|
-
};
|
|
1594
1590
|
task: {
|
|
1595
1591
|
id: string;
|
|
1596
1592
|
filePath: string;
|
|
@@ -1605,15 +1601,19 @@ declare const serverWebsocketMessages: {
|
|
|
1605
1601
|
backgroundWorkerTaskId: string;
|
|
1606
1602
|
};
|
|
1607
1603
|
run: {
|
|
1604
|
+
id: string;
|
|
1608
1605
|
payload: string;
|
|
1609
1606
|
payloadType: string;
|
|
1610
|
-
id: string;
|
|
1611
1607
|
tags: string[];
|
|
1612
1608
|
isTest: boolean;
|
|
1613
1609
|
createdAt: Date;
|
|
1614
1610
|
context?: any;
|
|
1615
1611
|
idempotencyKey?: string | undefined;
|
|
1616
1612
|
};
|
|
1613
|
+
queue: {
|
|
1614
|
+
name: string;
|
|
1615
|
+
id: string;
|
|
1616
|
+
};
|
|
1617
1617
|
environment: {
|
|
1618
1618
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1619
1619
|
id: string;
|
|
@@ -1634,10 +1634,6 @@ declare const serverWebsocketMessages: {
|
|
|
1634
1634
|
id: string;
|
|
1635
1635
|
} | undefined;
|
|
1636
1636
|
}, {
|
|
1637
|
-
queue: {
|
|
1638
|
-
name: string;
|
|
1639
|
-
id: string;
|
|
1640
|
-
};
|
|
1641
1637
|
task: {
|
|
1642
1638
|
id: string;
|
|
1643
1639
|
filePath: string;
|
|
@@ -1652,15 +1648,19 @@ declare const serverWebsocketMessages: {
|
|
|
1652
1648
|
backgroundWorkerTaskId: string;
|
|
1653
1649
|
};
|
|
1654
1650
|
run: {
|
|
1651
|
+
id: string;
|
|
1655
1652
|
payload: string;
|
|
1656
1653
|
payloadType: string;
|
|
1657
|
-
id: string;
|
|
1658
1654
|
tags: string[];
|
|
1659
1655
|
createdAt: Date;
|
|
1660
1656
|
context?: any;
|
|
1661
1657
|
isTest?: boolean | undefined;
|
|
1662
1658
|
idempotencyKey?: string | undefined;
|
|
1663
1659
|
};
|
|
1660
|
+
queue: {
|
|
1661
|
+
name: string;
|
|
1662
|
+
id: string;
|
|
1663
|
+
};
|
|
1664
1664
|
environment: {
|
|
1665
1665
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1666
1666
|
id: string;
|
|
@@ -1685,10 +1685,6 @@ declare const serverWebsocketMessages: {
|
|
|
1685
1685
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1686
1686
|
}, "strip", z.ZodTypeAny, {
|
|
1687
1687
|
execution: {
|
|
1688
|
-
queue: {
|
|
1689
|
-
name: string;
|
|
1690
|
-
id: string;
|
|
1691
|
-
};
|
|
1692
1688
|
task: {
|
|
1693
1689
|
id: string;
|
|
1694
1690
|
filePath: string;
|
|
@@ -1703,15 +1699,19 @@ declare const serverWebsocketMessages: {
|
|
|
1703
1699
|
backgroundWorkerTaskId: string;
|
|
1704
1700
|
};
|
|
1705
1701
|
run: {
|
|
1702
|
+
id: string;
|
|
1706
1703
|
payload: string;
|
|
1707
1704
|
payloadType: string;
|
|
1708
|
-
id: string;
|
|
1709
1705
|
tags: string[];
|
|
1710
1706
|
isTest: boolean;
|
|
1711
1707
|
createdAt: Date;
|
|
1712
1708
|
context?: any;
|
|
1713
1709
|
idempotencyKey?: string | undefined;
|
|
1714
1710
|
};
|
|
1711
|
+
queue: {
|
|
1712
|
+
name: string;
|
|
1713
|
+
id: string;
|
|
1714
|
+
};
|
|
1715
1715
|
environment: {
|
|
1716
1716
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1717
1717
|
id: string;
|
|
@@ -1736,10 +1736,6 @@ declare const serverWebsocketMessages: {
|
|
|
1736
1736
|
environment?: Record<string, string> | undefined;
|
|
1737
1737
|
}, {
|
|
1738
1738
|
execution: {
|
|
1739
|
-
queue: {
|
|
1740
|
-
name: string;
|
|
1741
|
-
id: string;
|
|
1742
|
-
};
|
|
1743
1739
|
task: {
|
|
1744
1740
|
id: string;
|
|
1745
1741
|
filePath: string;
|
|
@@ -1754,15 +1750,19 @@ declare const serverWebsocketMessages: {
|
|
|
1754
1750
|
backgroundWorkerTaskId: string;
|
|
1755
1751
|
};
|
|
1756
1752
|
run: {
|
|
1753
|
+
id: string;
|
|
1757
1754
|
payload: string;
|
|
1758
1755
|
payloadType: string;
|
|
1759
|
-
id: string;
|
|
1760
1756
|
tags: string[];
|
|
1761
1757
|
createdAt: Date;
|
|
1762
1758
|
context?: any;
|
|
1763
1759
|
isTest?: boolean | undefined;
|
|
1764
1760
|
idempotencyKey?: string | undefined;
|
|
1765
1761
|
};
|
|
1762
|
+
queue: {
|
|
1763
|
+
name: string;
|
|
1764
|
+
id: string;
|
|
1765
|
+
};
|
|
1766
1766
|
environment: {
|
|
1767
1767
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1768
1768
|
id: string;
|
|
@@ -1790,10 +1790,6 @@ declare const serverWebsocketMessages: {
|
|
|
1790
1790
|
type: "EXECUTE_RUNS";
|
|
1791
1791
|
payloads: {
|
|
1792
1792
|
execution: {
|
|
1793
|
-
queue: {
|
|
1794
|
-
name: string;
|
|
1795
|
-
id: string;
|
|
1796
|
-
};
|
|
1797
1793
|
task: {
|
|
1798
1794
|
id: string;
|
|
1799
1795
|
filePath: string;
|
|
@@ -1808,15 +1804,19 @@ declare const serverWebsocketMessages: {
|
|
|
1808
1804
|
backgroundWorkerTaskId: string;
|
|
1809
1805
|
};
|
|
1810
1806
|
run: {
|
|
1807
|
+
id: string;
|
|
1811
1808
|
payload: string;
|
|
1812
1809
|
payloadType: string;
|
|
1813
|
-
id: string;
|
|
1814
1810
|
tags: string[];
|
|
1815
1811
|
isTest: boolean;
|
|
1816
1812
|
createdAt: Date;
|
|
1817
1813
|
context?: any;
|
|
1818
1814
|
idempotencyKey?: string | undefined;
|
|
1819
1815
|
};
|
|
1816
|
+
queue: {
|
|
1817
|
+
name: string;
|
|
1818
|
+
id: string;
|
|
1819
|
+
};
|
|
1820
1820
|
environment: {
|
|
1821
1821
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1822
1822
|
id: string;
|
|
@@ -1844,10 +1844,6 @@ declare const serverWebsocketMessages: {
|
|
|
1844
1844
|
type: "EXECUTE_RUNS";
|
|
1845
1845
|
payloads: {
|
|
1846
1846
|
execution: {
|
|
1847
|
-
queue: {
|
|
1848
|
-
name: string;
|
|
1849
|
-
id: string;
|
|
1850
|
-
};
|
|
1851
1847
|
task: {
|
|
1852
1848
|
id: string;
|
|
1853
1849
|
filePath: string;
|
|
@@ -1862,15 +1858,19 @@ declare const serverWebsocketMessages: {
|
|
|
1862
1858
|
backgroundWorkerTaskId: string;
|
|
1863
1859
|
};
|
|
1864
1860
|
run: {
|
|
1861
|
+
id: string;
|
|
1865
1862
|
payload: string;
|
|
1866
1863
|
payloadType: string;
|
|
1867
|
-
id: string;
|
|
1868
1864
|
tags: string[];
|
|
1869
1865
|
createdAt: Date;
|
|
1870
1866
|
context?: any;
|
|
1871
1867
|
isTest?: boolean | undefined;
|
|
1872
1868
|
idempotencyKey?: string | undefined;
|
|
1873
1869
|
};
|
|
1870
|
+
queue: {
|
|
1871
|
+
name: string;
|
|
1872
|
+
id: string;
|
|
1873
|
+
};
|
|
1874
1874
|
environment: {
|
|
1875
1875
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1876
1876
|
id: string;
|
|
@@ -1965,10 +1965,6 @@ declare const serverWebsocketMessages: {
|
|
|
1965
1965
|
type: "EXECUTE_RUNS";
|
|
1966
1966
|
payloads: {
|
|
1967
1967
|
execution: {
|
|
1968
|
-
queue: {
|
|
1969
|
-
name: string;
|
|
1970
|
-
id: string;
|
|
1971
|
-
};
|
|
1972
1968
|
task: {
|
|
1973
1969
|
id: string;
|
|
1974
1970
|
filePath: string;
|
|
@@ -1983,15 +1979,19 @@ declare const serverWebsocketMessages: {
|
|
|
1983
1979
|
backgroundWorkerTaskId: string;
|
|
1984
1980
|
};
|
|
1985
1981
|
run: {
|
|
1982
|
+
id: string;
|
|
1986
1983
|
payload: string;
|
|
1987
1984
|
payloadType: string;
|
|
1988
|
-
id: string;
|
|
1989
1985
|
tags: string[];
|
|
1990
1986
|
isTest: boolean;
|
|
1991
1987
|
createdAt: Date;
|
|
1992
1988
|
context?: any;
|
|
1993
1989
|
idempotencyKey?: string | undefined;
|
|
1994
1990
|
};
|
|
1991
|
+
queue: {
|
|
1992
|
+
name: string;
|
|
1993
|
+
id: string;
|
|
1994
|
+
};
|
|
1995
1995
|
environment: {
|
|
1996
1996
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1997
1997
|
id: string;
|
|
@@ -2042,10 +2042,6 @@ declare const serverWebsocketMessages: {
|
|
|
2042
2042
|
type: "EXECUTE_RUNS";
|
|
2043
2043
|
payloads: {
|
|
2044
2044
|
execution: {
|
|
2045
|
-
queue: {
|
|
2046
|
-
name: string;
|
|
2047
|
-
id: string;
|
|
2048
|
-
};
|
|
2049
2045
|
task: {
|
|
2050
2046
|
id: string;
|
|
2051
2047
|
filePath: string;
|
|
@@ -2060,15 +2056,19 @@ declare const serverWebsocketMessages: {
|
|
|
2060
2056
|
backgroundWorkerTaskId: string;
|
|
2061
2057
|
};
|
|
2062
2058
|
run: {
|
|
2059
|
+
id: string;
|
|
2063
2060
|
payload: string;
|
|
2064
2061
|
payloadType: string;
|
|
2065
|
-
id: string;
|
|
2066
2062
|
tags: string[];
|
|
2067
2063
|
createdAt: Date;
|
|
2068
2064
|
context?: any;
|
|
2069
2065
|
isTest?: boolean | undefined;
|
|
2070
2066
|
idempotencyKey?: string | undefined;
|
|
2071
2067
|
};
|
|
2068
|
+
queue: {
|
|
2069
|
+
name: string;
|
|
2070
|
+
id: string;
|
|
2071
|
+
};
|
|
2072
2072
|
environment: {
|
|
2073
2073
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2074
2074
|
id: string;
|
|
@@ -2143,14 +2143,14 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2143
2143
|
message: z.ZodString;
|
|
2144
2144
|
stackTrace: z.ZodString;
|
|
2145
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2146
|
-
name: string;
|
|
2147
|
-
type: "BUILT_IN_ERROR";
|
|
2148
2146
|
message: string;
|
|
2147
|
+
type: "BUILT_IN_ERROR";
|
|
2148
|
+
name: string;
|
|
2149
2149
|
stackTrace: string;
|
|
2150
2150
|
}, {
|
|
2151
|
-
name: string;
|
|
2152
|
-
type: "BUILT_IN_ERROR";
|
|
2153
2151
|
message: string;
|
|
2152
|
+
type: "BUILT_IN_ERROR";
|
|
2153
|
+
name: string;
|
|
2154
2154
|
stackTrace: string;
|
|
2155
2155
|
}>, z.ZodObject<{
|
|
2156
2156
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -2175,12 +2175,12 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2175
2175
|
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT"]>;
|
|
2176
2176
|
message: z.ZodOptional<z.ZodString>;
|
|
2177
2177
|
}, "strip", z.ZodTypeAny, {
|
|
2178
|
-
type: "INTERNAL_ERROR";
|
|
2179
2178
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2179
|
+
type: "INTERNAL_ERROR";
|
|
2180
2180
|
message?: string | undefined;
|
|
2181
2181
|
}, {
|
|
2182
|
-
type: "INTERNAL_ERROR";
|
|
2183
2182
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2183
|
+
type: "INTERNAL_ERROR";
|
|
2184
2184
|
message?: string | undefined;
|
|
2185
2185
|
}>]>;
|
|
2186
2186
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -2199,9 +2199,9 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2199
2199
|
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
2200
2200
|
}, "strip", z.ZodTypeAny, {
|
|
2201
2201
|
error: {
|
|
2202
|
-
name: string;
|
|
2203
|
-
type: "BUILT_IN_ERROR";
|
|
2204
2202
|
message: string;
|
|
2203
|
+
type: "BUILT_IN_ERROR";
|
|
2204
|
+
name: string;
|
|
2205
2205
|
stackTrace: string;
|
|
2206
2206
|
} | {
|
|
2207
2207
|
type: "CUSTOM_ERROR";
|
|
@@ -2210,8 +2210,8 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2210
2210
|
type: "STRING_ERROR";
|
|
2211
2211
|
raw: string;
|
|
2212
2212
|
} | {
|
|
2213
|
-
type: "INTERNAL_ERROR";
|
|
2214
2213
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2214
|
+
type: "INTERNAL_ERROR";
|
|
2215
2215
|
message?: string | undefined;
|
|
2216
2216
|
};
|
|
2217
2217
|
id: string;
|
|
@@ -2224,9 +2224,9 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2224
2224
|
skippedRetrying?: boolean | undefined;
|
|
2225
2225
|
}, {
|
|
2226
2226
|
error: {
|
|
2227
|
-
name: string;
|
|
2228
|
-
type: "BUILT_IN_ERROR";
|
|
2229
2227
|
message: string;
|
|
2228
|
+
type: "BUILT_IN_ERROR";
|
|
2229
|
+
name: string;
|
|
2230
2230
|
stackTrace: string;
|
|
2231
2231
|
} | {
|
|
2232
2232
|
type: "CUSTOM_ERROR";
|
|
@@ -2235,8 +2235,8 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2235
2235
|
type: "STRING_ERROR";
|
|
2236
2236
|
raw: string;
|
|
2237
2237
|
} | {
|
|
2238
|
-
type: "INTERNAL_ERROR";
|
|
2239
2238
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2239
|
+
type: "INTERNAL_ERROR";
|
|
2240
2240
|
message?: string | undefined;
|
|
2241
2241
|
};
|
|
2242
2242
|
id: string;
|
|
@@ -2294,18 +2294,18 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2294
2294
|
createdAt: z.ZodDate;
|
|
2295
2295
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2296
2296
|
}, "strip", z.ZodTypeAny, {
|
|
2297
|
+
id: string;
|
|
2297
2298
|
payload: string;
|
|
2298
2299
|
payloadType: string;
|
|
2299
|
-
id: string;
|
|
2300
2300
|
tags: string[];
|
|
2301
2301
|
isTest: boolean;
|
|
2302
2302
|
createdAt: Date;
|
|
2303
2303
|
context?: any;
|
|
2304
2304
|
idempotencyKey?: string | undefined;
|
|
2305
2305
|
}, {
|
|
2306
|
+
id: string;
|
|
2306
2307
|
payload: string;
|
|
2307
2308
|
payloadType: string;
|
|
2308
|
-
id: string;
|
|
2309
2309
|
tags: string[];
|
|
2310
2310
|
createdAt: Date;
|
|
2311
2311
|
context?: any;
|
|
@@ -2372,10 +2372,6 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2372
2372
|
id: string;
|
|
2373
2373
|
}>>;
|
|
2374
2374
|
}, "strip", z.ZodTypeAny, {
|
|
2375
|
-
queue: {
|
|
2376
|
-
name: string;
|
|
2377
|
-
id: string;
|
|
2378
|
-
};
|
|
2379
2375
|
task: {
|
|
2380
2376
|
id: string;
|
|
2381
2377
|
filePath: string;
|
|
@@ -2390,15 +2386,19 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2390
2386
|
backgroundWorkerTaskId: string;
|
|
2391
2387
|
};
|
|
2392
2388
|
run: {
|
|
2389
|
+
id: string;
|
|
2393
2390
|
payload: string;
|
|
2394
2391
|
payloadType: string;
|
|
2395
|
-
id: string;
|
|
2396
2392
|
tags: string[];
|
|
2397
2393
|
isTest: boolean;
|
|
2398
2394
|
createdAt: Date;
|
|
2399
2395
|
context?: any;
|
|
2400
2396
|
idempotencyKey?: string | undefined;
|
|
2401
2397
|
};
|
|
2398
|
+
queue: {
|
|
2399
|
+
name: string;
|
|
2400
|
+
id: string;
|
|
2401
|
+
};
|
|
2402
2402
|
environment: {
|
|
2403
2403
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2404
2404
|
id: string;
|
|
@@ -2419,10 +2419,6 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2419
2419
|
id: string;
|
|
2420
2420
|
} | undefined;
|
|
2421
2421
|
}, {
|
|
2422
|
-
queue: {
|
|
2423
|
-
name: string;
|
|
2424
|
-
id: string;
|
|
2425
|
-
};
|
|
2426
2422
|
task: {
|
|
2427
2423
|
id: string;
|
|
2428
2424
|
filePath: string;
|
|
@@ -2437,15 +2433,19 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2437
2433
|
backgroundWorkerTaskId: string;
|
|
2438
2434
|
};
|
|
2439
2435
|
run: {
|
|
2436
|
+
id: string;
|
|
2440
2437
|
payload: string;
|
|
2441
2438
|
payloadType: string;
|
|
2442
|
-
id: string;
|
|
2443
2439
|
tags: string[];
|
|
2444
2440
|
createdAt: Date;
|
|
2445
2441
|
context?: any;
|
|
2446
2442
|
isTest?: boolean | undefined;
|
|
2447
2443
|
idempotencyKey?: string | undefined;
|
|
2448
2444
|
};
|
|
2445
|
+
queue: {
|
|
2446
|
+
name: string;
|
|
2447
|
+
id: string;
|
|
2448
|
+
};
|
|
2449
2449
|
environment: {
|
|
2450
2450
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2451
2451
|
id: string;
|
|
@@ -2470,10 +2470,6 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2470
2470
|
type: "TASK_RUN_COMPLETED";
|
|
2471
2471
|
version: "v1";
|
|
2472
2472
|
execution: {
|
|
2473
|
-
queue: {
|
|
2474
|
-
name: string;
|
|
2475
|
-
id: string;
|
|
2476
|
-
};
|
|
2477
2473
|
task: {
|
|
2478
2474
|
id: string;
|
|
2479
2475
|
filePath: string;
|
|
@@ -2488,15 +2484,19 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2488
2484
|
backgroundWorkerTaskId: string;
|
|
2489
2485
|
};
|
|
2490
2486
|
run: {
|
|
2487
|
+
id: string;
|
|
2491
2488
|
payload: string;
|
|
2492
2489
|
payloadType: string;
|
|
2493
|
-
id: string;
|
|
2494
2490
|
tags: string[];
|
|
2495
2491
|
isTest: boolean;
|
|
2496
2492
|
createdAt: Date;
|
|
2497
2493
|
context?: any;
|
|
2498
2494
|
idempotencyKey?: string | undefined;
|
|
2499
2495
|
};
|
|
2496
|
+
queue: {
|
|
2497
|
+
name: string;
|
|
2498
|
+
id: string;
|
|
2499
|
+
};
|
|
2500
2500
|
environment: {
|
|
2501
2501
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2502
2502
|
id: string;
|
|
@@ -2519,9 +2519,9 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2519
2519
|
};
|
|
2520
2520
|
completion: {
|
|
2521
2521
|
error: {
|
|
2522
|
-
name: string;
|
|
2523
|
-
type: "BUILT_IN_ERROR";
|
|
2524
2522
|
message: string;
|
|
2523
|
+
type: "BUILT_IN_ERROR";
|
|
2524
|
+
name: string;
|
|
2525
2525
|
stackTrace: string;
|
|
2526
2526
|
} | {
|
|
2527
2527
|
type: "CUSTOM_ERROR";
|
|
@@ -2530,8 +2530,8 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2530
2530
|
type: "STRING_ERROR";
|
|
2531
2531
|
raw: string;
|
|
2532
2532
|
} | {
|
|
2533
|
-
type: "INTERNAL_ERROR";
|
|
2534
2533
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2534
|
+
type: "INTERNAL_ERROR";
|
|
2535
2535
|
message?: string | undefined;
|
|
2536
2536
|
};
|
|
2537
2537
|
id: string;
|
|
@@ -2551,10 +2551,6 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2551
2551
|
}, {
|
|
2552
2552
|
type: "TASK_RUN_COMPLETED";
|
|
2553
2553
|
execution: {
|
|
2554
|
-
queue: {
|
|
2555
|
-
name: string;
|
|
2556
|
-
id: string;
|
|
2557
|
-
};
|
|
2558
2554
|
task: {
|
|
2559
2555
|
id: string;
|
|
2560
2556
|
filePath: string;
|
|
@@ -2569,15 +2565,19 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2569
2565
|
backgroundWorkerTaskId: string;
|
|
2570
2566
|
};
|
|
2571
2567
|
run: {
|
|
2568
|
+
id: string;
|
|
2572
2569
|
payload: string;
|
|
2573
2570
|
payloadType: string;
|
|
2574
|
-
id: string;
|
|
2575
2571
|
tags: string[];
|
|
2576
2572
|
createdAt: Date;
|
|
2577
2573
|
context?: any;
|
|
2578
2574
|
isTest?: boolean | undefined;
|
|
2579
2575
|
idempotencyKey?: string | undefined;
|
|
2580
2576
|
};
|
|
2577
|
+
queue: {
|
|
2578
|
+
name: string;
|
|
2579
|
+
id: string;
|
|
2580
|
+
};
|
|
2581
2581
|
environment: {
|
|
2582
2582
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2583
2583
|
id: string;
|
|
@@ -2600,9 +2600,9 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2600
2600
|
};
|
|
2601
2601
|
completion: {
|
|
2602
2602
|
error: {
|
|
2603
|
-
name: string;
|
|
2604
|
-
type: "BUILT_IN_ERROR";
|
|
2605
2603
|
message: string;
|
|
2604
|
+
type: "BUILT_IN_ERROR";
|
|
2605
|
+
name: string;
|
|
2606
2606
|
stackTrace: string;
|
|
2607
2607
|
} | {
|
|
2608
2608
|
type: "CUSTOM_ERROR";
|
|
@@ -2611,8 +2611,8 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
2611
2611
|
type: "STRING_ERROR";
|
|
2612
2612
|
raw: string;
|
|
2613
2613
|
} | {
|
|
2614
|
-
type: "INTERNAL_ERROR";
|
|
2615
2614
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2615
|
+
type: "INTERNAL_ERROR";
|
|
2616
2616
|
message?: string | undefined;
|
|
2617
2617
|
};
|
|
2618
2618
|
id: string;
|
|
@@ -2709,14 +2709,14 @@ declare const clientWebsocketMessages: {
|
|
|
2709
2709
|
message: z.ZodString;
|
|
2710
2710
|
stackTrace: z.ZodString;
|
|
2711
2711
|
}, "strip", z.ZodTypeAny, {
|
|
2712
|
-
name: string;
|
|
2713
|
-
type: "BUILT_IN_ERROR";
|
|
2714
2712
|
message: string;
|
|
2713
|
+
type: "BUILT_IN_ERROR";
|
|
2714
|
+
name: string;
|
|
2715
2715
|
stackTrace: string;
|
|
2716
2716
|
}, {
|
|
2717
|
-
name: string;
|
|
2718
|
-
type: "BUILT_IN_ERROR";
|
|
2719
2717
|
message: string;
|
|
2718
|
+
type: "BUILT_IN_ERROR";
|
|
2719
|
+
name: string;
|
|
2720
2720
|
stackTrace: string;
|
|
2721
2721
|
}>, z.ZodObject<{
|
|
2722
2722
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -2741,12 +2741,12 @@ declare const clientWebsocketMessages: {
|
|
|
2741
2741
|
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT"]>;
|
|
2742
2742
|
message: z.ZodOptional<z.ZodString>;
|
|
2743
2743
|
}, "strip", z.ZodTypeAny, {
|
|
2744
|
-
type: "INTERNAL_ERROR";
|
|
2745
2744
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2745
|
+
type: "INTERNAL_ERROR";
|
|
2746
2746
|
message?: string | undefined;
|
|
2747
2747
|
}, {
|
|
2748
|
-
type: "INTERNAL_ERROR";
|
|
2749
2748
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2749
|
+
type: "INTERNAL_ERROR";
|
|
2750
2750
|
message?: string | undefined;
|
|
2751
2751
|
}>]>;
|
|
2752
2752
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -2765,9 +2765,9 @@ declare const clientWebsocketMessages: {
|
|
|
2765
2765
|
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
2766
2766
|
}, "strip", z.ZodTypeAny, {
|
|
2767
2767
|
error: {
|
|
2768
|
-
name: string;
|
|
2769
|
-
type: "BUILT_IN_ERROR";
|
|
2770
2768
|
message: string;
|
|
2769
|
+
type: "BUILT_IN_ERROR";
|
|
2770
|
+
name: string;
|
|
2771
2771
|
stackTrace: string;
|
|
2772
2772
|
} | {
|
|
2773
2773
|
type: "CUSTOM_ERROR";
|
|
@@ -2776,8 +2776,8 @@ declare const clientWebsocketMessages: {
|
|
|
2776
2776
|
type: "STRING_ERROR";
|
|
2777
2777
|
raw: string;
|
|
2778
2778
|
} | {
|
|
2779
|
-
type: "INTERNAL_ERROR";
|
|
2780
2779
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2780
|
+
type: "INTERNAL_ERROR";
|
|
2781
2781
|
message?: string | undefined;
|
|
2782
2782
|
};
|
|
2783
2783
|
id: string;
|
|
@@ -2790,9 +2790,9 @@ declare const clientWebsocketMessages: {
|
|
|
2790
2790
|
skippedRetrying?: boolean | undefined;
|
|
2791
2791
|
}, {
|
|
2792
2792
|
error: {
|
|
2793
|
-
name: string;
|
|
2794
|
-
type: "BUILT_IN_ERROR";
|
|
2795
2793
|
message: string;
|
|
2794
|
+
type: "BUILT_IN_ERROR";
|
|
2795
|
+
name: string;
|
|
2796
2796
|
stackTrace: string;
|
|
2797
2797
|
} | {
|
|
2798
2798
|
type: "CUSTOM_ERROR";
|
|
@@ -2801,8 +2801,8 @@ declare const clientWebsocketMessages: {
|
|
|
2801
2801
|
type: "STRING_ERROR";
|
|
2802
2802
|
raw: string;
|
|
2803
2803
|
} | {
|
|
2804
|
-
type: "INTERNAL_ERROR";
|
|
2805
2804
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
2805
|
+
type: "INTERNAL_ERROR";
|
|
2806
2806
|
message?: string | undefined;
|
|
2807
2807
|
};
|
|
2808
2808
|
id: string;
|
|
@@ -2860,18 +2860,18 @@ declare const clientWebsocketMessages: {
|
|
|
2860
2860
|
createdAt: z.ZodDate;
|
|
2861
2861
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2862
2862
|
}, "strip", z.ZodTypeAny, {
|
|
2863
|
+
id: string;
|
|
2863
2864
|
payload: string;
|
|
2864
2865
|
payloadType: string;
|
|
2865
|
-
id: string;
|
|
2866
2866
|
tags: string[];
|
|
2867
2867
|
isTest: boolean;
|
|
2868
2868
|
createdAt: Date;
|
|
2869
2869
|
context?: any;
|
|
2870
2870
|
idempotencyKey?: string | undefined;
|
|
2871
2871
|
}, {
|
|
2872
|
+
id: string;
|
|
2872
2873
|
payload: string;
|
|
2873
2874
|
payloadType: string;
|
|
2874
|
-
id: string;
|
|
2875
2875
|
tags: string[];
|
|
2876
2876
|
createdAt: Date;
|
|
2877
2877
|
context?: any;
|
|
@@ -2938,10 +2938,6 @@ declare const clientWebsocketMessages: {
|
|
|
2938
2938
|
id: string;
|
|
2939
2939
|
}>>;
|
|
2940
2940
|
}, "strip", z.ZodTypeAny, {
|
|
2941
|
-
queue: {
|
|
2942
|
-
name: string;
|
|
2943
|
-
id: string;
|
|
2944
|
-
};
|
|
2945
2941
|
task: {
|
|
2946
2942
|
id: string;
|
|
2947
2943
|
filePath: string;
|
|
@@ -2956,15 +2952,19 @@ declare const clientWebsocketMessages: {
|
|
|
2956
2952
|
backgroundWorkerTaskId: string;
|
|
2957
2953
|
};
|
|
2958
2954
|
run: {
|
|
2955
|
+
id: string;
|
|
2959
2956
|
payload: string;
|
|
2960
2957
|
payloadType: string;
|
|
2961
|
-
id: string;
|
|
2962
2958
|
tags: string[];
|
|
2963
2959
|
isTest: boolean;
|
|
2964
2960
|
createdAt: Date;
|
|
2965
2961
|
context?: any;
|
|
2966
2962
|
idempotencyKey?: string | undefined;
|
|
2967
2963
|
};
|
|
2964
|
+
queue: {
|
|
2965
|
+
name: string;
|
|
2966
|
+
id: string;
|
|
2967
|
+
};
|
|
2968
2968
|
environment: {
|
|
2969
2969
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2970
2970
|
id: string;
|
|
@@ -2985,10 +2985,6 @@ declare const clientWebsocketMessages: {
|
|
|
2985
2985
|
id: string;
|
|
2986
2986
|
} | undefined;
|
|
2987
2987
|
}, {
|
|
2988
|
-
queue: {
|
|
2989
|
-
name: string;
|
|
2990
|
-
id: string;
|
|
2991
|
-
};
|
|
2992
2988
|
task: {
|
|
2993
2989
|
id: string;
|
|
2994
2990
|
filePath: string;
|
|
@@ -3003,15 +2999,19 @@ declare const clientWebsocketMessages: {
|
|
|
3003
2999
|
backgroundWorkerTaskId: string;
|
|
3004
3000
|
};
|
|
3005
3001
|
run: {
|
|
3002
|
+
id: string;
|
|
3006
3003
|
payload: string;
|
|
3007
3004
|
payloadType: string;
|
|
3008
|
-
id: string;
|
|
3009
3005
|
tags: string[];
|
|
3010
3006
|
createdAt: Date;
|
|
3011
3007
|
context?: any;
|
|
3012
3008
|
isTest?: boolean | undefined;
|
|
3013
3009
|
idempotencyKey?: string | undefined;
|
|
3014
3010
|
};
|
|
3011
|
+
queue: {
|
|
3012
|
+
name: string;
|
|
3013
|
+
id: string;
|
|
3014
|
+
};
|
|
3015
3015
|
environment: {
|
|
3016
3016
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3017
3017
|
id: string;
|
|
@@ -3036,10 +3036,6 @@ declare const clientWebsocketMessages: {
|
|
|
3036
3036
|
type: "TASK_RUN_COMPLETED";
|
|
3037
3037
|
version: "v1";
|
|
3038
3038
|
execution: {
|
|
3039
|
-
queue: {
|
|
3040
|
-
name: string;
|
|
3041
|
-
id: string;
|
|
3042
|
-
};
|
|
3043
3039
|
task: {
|
|
3044
3040
|
id: string;
|
|
3045
3041
|
filePath: string;
|
|
@@ -3054,15 +3050,19 @@ declare const clientWebsocketMessages: {
|
|
|
3054
3050
|
backgroundWorkerTaskId: string;
|
|
3055
3051
|
};
|
|
3056
3052
|
run: {
|
|
3053
|
+
id: string;
|
|
3057
3054
|
payload: string;
|
|
3058
3055
|
payloadType: string;
|
|
3059
|
-
id: string;
|
|
3060
3056
|
tags: string[];
|
|
3061
3057
|
isTest: boolean;
|
|
3062
3058
|
createdAt: Date;
|
|
3063
3059
|
context?: any;
|
|
3064
3060
|
idempotencyKey?: string | undefined;
|
|
3065
3061
|
};
|
|
3062
|
+
queue: {
|
|
3063
|
+
name: string;
|
|
3064
|
+
id: string;
|
|
3065
|
+
};
|
|
3066
3066
|
environment: {
|
|
3067
3067
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3068
3068
|
id: string;
|
|
@@ -3085,9 +3085,9 @@ declare const clientWebsocketMessages: {
|
|
|
3085
3085
|
};
|
|
3086
3086
|
completion: {
|
|
3087
3087
|
error: {
|
|
3088
|
-
name: string;
|
|
3089
|
-
type: "BUILT_IN_ERROR";
|
|
3090
3088
|
message: string;
|
|
3089
|
+
type: "BUILT_IN_ERROR";
|
|
3090
|
+
name: string;
|
|
3091
3091
|
stackTrace: string;
|
|
3092
3092
|
} | {
|
|
3093
3093
|
type: "CUSTOM_ERROR";
|
|
@@ -3096,8 +3096,8 @@ declare const clientWebsocketMessages: {
|
|
|
3096
3096
|
type: "STRING_ERROR";
|
|
3097
3097
|
raw: string;
|
|
3098
3098
|
} | {
|
|
3099
|
-
type: "INTERNAL_ERROR";
|
|
3100
3099
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3100
|
+
type: "INTERNAL_ERROR";
|
|
3101
3101
|
message?: string | undefined;
|
|
3102
3102
|
};
|
|
3103
3103
|
id: string;
|
|
@@ -3117,10 +3117,6 @@ declare const clientWebsocketMessages: {
|
|
|
3117
3117
|
}, {
|
|
3118
3118
|
type: "TASK_RUN_COMPLETED";
|
|
3119
3119
|
execution: {
|
|
3120
|
-
queue: {
|
|
3121
|
-
name: string;
|
|
3122
|
-
id: string;
|
|
3123
|
-
};
|
|
3124
3120
|
task: {
|
|
3125
3121
|
id: string;
|
|
3126
3122
|
filePath: string;
|
|
@@ -3135,15 +3131,19 @@ declare const clientWebsocketMessages: {
|
|
|
3135
3131
|
backgroundWorkerTaskId: string;
|
|
3136
3132
|
};
|
|
3137
3133
|
run: {
|
|
3134
|
+
id: string;
|
|
3138
3135
|
payload: string;
|
|
3139
3136
|
payloadType: string;
|
|
3140
|
-
id: string;
|
|
3141
3137
|
tags: string[];
|
|
3142
3138
|
createdAt: Date;
|
|
3143
3139
|
context?: any;
|
|
3144
3140
|
isTest?: boolean | undefined;
|
|
3145
3141
|
idempotencyKey?: string | undefined;
|
|
3146
3142
|
};
|
|
3143
|
+
queue: {
|
|
3144
|
+
name: string;
|
|
3145
|
+
id: string;
|
|
3146
|
+
};
|
|
3147
3147
|
environment: {
|
|
3148
3148
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3149
3149
|
id: string;
|
|
@@ -3166,9 +3166,9 @@ declare const clientWebsocketMessages: {
|
|
|
3166
3166
|
};
|
|
3167
3167
|
completion: {
|
|
3168
3168
|
error: {
|
|
3169
|
-
name: string;
|
|
3170
|
-
type: "BUILT_IN_ERROR";
|
|
3171
3169
|
message: string;
|
|
3170
|
+
type: "BUILT_IN_ERROR";
|
|
3171
|
+
name: string;
|
|
3172
3172
|
stackTrace: string;
|
|
3173
3173
|
} | {
|
|
3174
3174
|
type: "CUSTOM_ERROR";
|
|
@@ -3177,8 +3177,8 @@ declare const clientWebsocketMessages: {
|
|
|
3177
3177
|
type: "STRING_ERROR";
|
|
3178
3178
|
raw: string;
|
|
3179
3179
|
} | {
|
|
3180
|
-
type: "INTERNAL_ERROR";
|
|
3181
3180
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3181
|
+
type: "INTERNAL_ERROR";
|
|
3182
3182
|
message?: string | undefined;
|
|
3183
3183
|
};
|
|
3184
3184
|
id: string;
|
|
@@ -3214,10 +3214,6 @@ declare const clientWebsocketMessages: {
|
|
|
3214
3214
|
type: "TASK_RUN_COMPLETED";
|
|
3215
3215
|
version: "v1";
|
|
3216
3216
|
execution: {
|
|
3217
|
-
queue: {
|
|
3218
|
-
name: string;
|
|
3219
|
-
id: string;
|
|
3220
|
-
};
|
|
3221
3217
|
task: {
|
|
3222
3218
|
id: string;
|
|
3223
3219
|
filePath: string;
|
|
@@ -3232,15 +3228,19 @@ declare const clientWebsocketMessages: {
|
|
|
3232
3228
|
backgroundWorkerTaskId: string;
|
|
3233
3229
|
};
|
|
3234
3230
|
run: {
|
|
3231
|
+
id: string;
|
|
3235
3232
|
payload: string;
|
|
3236
3233
|
payloadType: string;
|
|
3237
|
-
id: string;
|
|
3238
3234
|
tags: string[];
|
|
3239
3235
|
isTest: boolean;
|
|
3240
3236
|
createdAt: Date;
|
|
3241
3237
|
context?: any;
|
|
3242
3238
|
idempotencyKey?: string | undefined;
|
|
3243
3239
|
};
|
|
3240
|
+
queue: {
|
|
3241
|
+
name: string;
|
|
3242
|
+
id: string;
|
|
3243
|
+
};
|
|
3244
3244
|
environment: {
|
|
3245
3245
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3246
3246
|
id: string;
|
|
@@ -3263,9 +3263,9 @@ declare const clientWebsocketMessages: {
|
|
|
3263
3263
|
};
|
|
3264
3264
|
completion: {
|
|
3265
3265
|
error: {
|
|
3266
|
-
name: string;
|
|
3267
|
-
type: "BUILT_IN_ERROR";
|
|
3268
3266
|
message: string;
|
|
3267
|
+
type: "BUILT_IN_ERROR";
|
|
3268
|
+
name: string;
|
|
3269
3269
|
stackTrace: string;
|
|
3270
3270
|
} | {
|
|
3271
3271
|
type: "CUSTOM_ERROR";
|
|
@@ -3274,8 +3274,8 @@ declare const clientWebsocketMessages: {
|
|
|
3274
3274
|
type: "STRING_ERROR";
|
|
3275
3275
|
raw: string;
|
|
3276
3276
|
} | {
|
|
3277
|
-
type: "INTERNAL_ERROR";
|
|
3278
3277
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3278
|
+
type: "INTERNAL_ERROR";
|
|
3279
3279
|
message?: string | undefined;
|
|
3280
3280
|
};
|
|
3281
3281
|
id: string;
|
|
@@ -3303,10 +3303,6 @@ declare const clientWebsocketMessages: {
|
|
|
3303
3303
|
data: {
|
|
3304
3304
|
type: "TASK_RUN_COMPLETED";
|
|
3305
3305
|
execution: {
|
|
3306
|
-
queue: {
|
|
3307
|
-
name: string;
|
|
3308
|
-
id: string;
|
|
3309
|
-
};
|
|
3310
3306
|
task: {
|
|
3311
3307
|
id: string;
|
|
3312
3308
|
filePath: string;
|
|
@@ -3321,15 +3317,19 @@ declare const clientWebsocketMessages: {
|
|
|
3321
3317
|
backgroundWorkerTaskId: string;
|
|
3322
3318
|
};
|
|
3323
3319
|
run: {
|
|
3320
|
+
id: string;
|
|
3324
3321
|
payload: string;
|
|
3325
3322
|
payloadType: string;
|
|
3326
|
-
id: string;
|
|
3327
3323
|
tags: string[];
|
|
3328
3324
|
createdAt: Date;
|
|
3329
3325
|
context?: any;
|
|
3330
3326
|
isTest?: boolean | undefined;
|
|
3331
3327
|
idempotencyKey?: string | undefined;
|
|
3332
3328
|
};
|
|
3329
|
+
queue: {
|
|
3330
|
+
name: string;
|
|
3331
|
+
id: string;
|
|
3332
|
+
};
|
|
3333
3333
|
environment: {
|
|
3334
3334
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3335
3335
|
id: string;
|
|
@@ -3352,9 +3352,9 @@ declare const clientWebsocketMessages: {
|
|
|
3352
3352
|
};
|
|
3353
3353
|
completion: {
|
|
3354
3354
|
error: {
|
|
3355
|
-
name: string;
|
|
3356
|
-
type: "BUILT_IN_ERROR";
|
|
3357
3355
|
message: string;
|
|
3356
|
+
type: "BUILT_IN_ERROR";
|
|
3357
|
+
name: string;
|
|
3358
3358
|
stackTrace: string;
|
|
3359
3359
|
} | {
|
|
3360
3360
|
type: "CUSTOM_ERROR";
|
|
@@ -3363,8 +3363,8 @@ declare const clientWebsocketMessages: {
|
|
|
3363
3363
|
type: "STRING_ERROR";
|
|
3364
3364
|
raw: string;
|
|
3365
3365
|
} | {
|
|
3366
|
-
type: "INTERNAL_ERROR";
|
|
3367
3366
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3367
|
+
type: "INTERNAL_ERROR";
|
|
3368
3368
|
message?: string | undefined;
|
|
3369
3369
|
};
|
|
3370
3370
|
id: string;
|
|
@@ -3440,18 +3440,18 @@ declare const workerToChildMessages: {
|
|
|
3440
3440
|
createdAt: z.ZodDate;
|
|
3441
3441
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3442
3442
|
}, "strip", z.ZodTypeAny, {
|
|
3443
|
+
id: string;
|
|
3443
3444
|
payload: string;
|
|
3444
3445
|
payloadType: string;
|
|
3445
|
-
id: string;
|
|
3446
3446
|
tags: string[];
|
|
3447
3447
|
isTest: boolean;
|
|
3448
3448
|
createdAt: Date;
|
|
3449
3449
|
context?: any;
|
|
3450
3450
|
idempotencyKey?: string | undefined;
|
|
3451
3451
|
}, {
|
|
3452
|
+
id: string;
|
|
3452
3453
|
payload: string;
|
|
3453
3454
|
payloadType: string;
|
|
3454
|
-
id: string;
|
|
3455
3455
|
tags: string[];
|
|
3456
3456
|
createdAt: Date;
|
|
3457
3457
|
context?: any;
|
|
@@ -3518,10 +3518,6 @@ declare const workerToChildMessages: {
|
|
|
3518
3518
|
id: string;
|
|
3519
3519
|
}>>;
|
|
3520
3520
|
}, "strip", z.ZodTypeAny, {
|
|
3521
|
-
queue: {
|
|
3522
|
-
name: string;
|
|
3523
|
-
id: string;
|
|
3524
|
-
};
|
|
3525
3521
|
task: {
|
|
3526
3522
|
id: string;
|
|
3527
3523
|
filePath: string;
|
|
@@ -3536,15 +3532,19 @@ declare const workerToChildMessages: {
|
|
|
3536
3532
|
backgroundWorkerTaskId: string;
|
|
3537
3533
|
};
|
|
3538
3534
|
run: {
|
|
3535
|
+
id: string;
|
|
3539
3536
|
payload: string;
|
|
3540
3537
|
payloadType: string;
|
|
3541
|
-
id: string;
|
|
3542
3538
|
tags: string[];
|
|
3543
3539
|
isTest: boolean;
|
|
3544
3540
|
createdAt: Date;
|
|
3545
3541
|
context?: any;
|
|
3546
3542
|
idempotencyKey?: string | undefined;
|
|
3547
3543
|
};
|
|
3544
|
+
queue: {
|
|
3545
|
+
name: string;
|
|
3546
|
+
id: string;
|
|
3547
|
+
};
|
|
3548
3548
|
environment: {
|
|
3549
3549
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3550
3550
|
id: string;
|
|
@@ -3565,10 +3565,6 @@ declare const workerToChildMessages: {
|
|
|
3565
3565
|
id: string;
|
|
3566
3566
|
} | undefined;
|
|
3567
3567
|
}, {
|
|
3568
|
-
queue: {
|
|
3569
|
-
name: string;
|
|
3570
|
-
id: string;
|
|
3571
|
-
};
|
|
3572
3568
|
task: {
|
|
3573
3569
|
id: string;
|
|
3574
3570
|
filePath: string;
|
|
@@ -3583,15 +3579,19 @@ declare const workerToChildMessages: {
|
|
|
3583
3579
|
backgroundWorkerTaskId: string;
|
|
3584
3580
|
};
|
|
3585
3581
|
run: {
|
|
3582
|
+
id: string;
|
|
3586
3583
|
payload: string;
|
|
3587
3584
|
payloadType: string;
|
|
3588
|
-
id: string;
|
|
3589
3585
|
tags: string[];
|
|
3590
3586
|
createdAt: Date;
|
|
3591
3587
|
context?: any;
|
|
3592
3588
|
isTest?: boolean | undefined;
|
|
3593
3589
|
idempotencyKey?: string | undefined;
|
|
3594
3590
|
};
|
|
3591
|
+
queue: {
|
|
3592
|
+
name: string;
|
|
3593
|
+
id: string;
|
|
3594
|
+
};
|
|
3595
3595
|
environment: {
|
|
3596
3596
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3597
3597
|
id: string;
|
|
@@ -3629,10 +3629,6 @@ declare const workerToChildMessages: {
|
|
|
3629
3629
|
}, "strip", z.ZodTypeAny, {
|
|
3630
3630
|
version: "v1";
|
|
3631
3631
|
execution: {
|
|
3632
|
-
queue: {
|
|
3633
|
-
name: string;
|
|
3634
|
-
id: string;
|
|
3635
|
-
};
|
|
3636
3632
|
task: {
|
|
3637
3633
|
id: string;
|
|
3638
3634
|
filePath: string;
|
|
@@ -3647,15 +3643,19 @@ declare const workerToChildMessages: {
|
|
|
3647
3643
|
backgroundWorkerTaskId: string;
|
|
3648
3644
|
};
|
|
3649
3645
|
run: {
|
|
3646
|
+
id: string;
|
|
3650
3647
|
payload: string;
|
|
3651
3648
|
payloadType: string;
|
|
3652
|
-
id: string;
|
|
3653
3649
|
tags: string[];
|
|
3654
3650
|
isTest: boolean;
|
|
3655
3651
|
createdAt: Date;
|
|
3656
3652
|
context?: any;
|
|
3657
3653
|
idempotencyKey?: string | undefined;
|
|
3658
3654
|
};
|
|
3655
|
+
queue: {
|
|
3656
|
+
name: string;
|
|
3657
|
+
id: string;
|
|
3658
|
+
};
|
|
3659
3659
|
environment: {
|
|
3660
3660
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3661
3661
|
id: string;
|
|
@@ -3684,10 +3684,6 @@ declare const workerToChildMessages: {
|
|
|
3684
3684
|
};
|
|
3685
3685
|
}, {
|
|
3686
3686
|
execution: {
|
|
3687
|
-
queue: {
|
|
3688
|
-
name: string;
|
|
3689
|
-
id: string;
|
|
3690
|
-
};
|
|
3691
3687
|
task: {
|
|
3692
3688
|
id: string;
|
|
3693
3689
|
filePath: string;
|
|
@@ -3702,15 +3698,19 @@ declare const workerToChildMessages: {
|
|
|
3702
3698
|
backgroundWorkerTaskId: string;
|
|
3703
3699
|
};
|
|
3704
3700
|
run: {
|
|
3701
|
+
id: string;
|
|
3705
3702
|
payload: string;
|
|
3706
3703
|
payloadType: string;
|
|
3707
|
-
id: string;
|
|
3708
3704
|
tags: string[];
|
|
3709
3705
|
createdAt: Date;
|
|
3710
3706
|
context?: any;
|
|
3711
3707
|
isTest?: boolean | undefined;
|
|
3712
3708
|
idempotencyKey?: string | undefined;
|
|
3713
3709
|
};
|
|
3710
|
+
queue: {
|
|
3711
|
+
name: string;
|
|
3712
|
+
id: string;
|
|
3713
|
+
};
|
|
3714
3714
|
environment: {
|
|
3715
3715
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3716
3716
|
id: string;
|
|
@@ -3765,14 +3765,14 @@ declare const workerToChildMessages: {
|
|
|
3765
3765
|
message: z.ZodString;
|
|
3766
3766
|
stackTrace: z.ZodString;
|
|
3767
3767
|
}, "strip", z.ZodTypeAny, {
|
|
3768
|
-
name: string;
|
|
3769
|
-
type: "BUILT_IN_ERROR";
|
|
3770
3768
|
message: string;
|
|
3769
|
+
type: "BUILT_IN_ERROR";
|
|
3770
|
+
name: string;
|
|
3771
3771
|
stackTrace: string;
|
|
3772
3772
|
}, {
|
|
3773
|
-
name: string;
|
|
3774
|
-
type: "BUILT_IN_ERROR";
|
|
3775
3773
|
message: string;
|
|
3774
|
+
type: "BUILT_IN_ERROR";
|
|
3775
|
+
name: string;
|
|
3776
3776
|
stackTrace: string;
|
|
3777
3777
|
}>, z.ZodObject<{
|
|
3778
3778
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -3797,12 +3797,12 @@ declare const workerToChildMessages: {
|
|
|
3797
3797
|
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT"]>;
|
|
3798
3798
|
message: z.ZodOptional<z.ZodString>;
|
|
3799
3799
|
}, "strip", z.ZodTypeAny, {
|
|
3800
|
-
type: "INTERNAL_ERROR";
|
|
3801
3800
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3801
|
+
type: "INTERNAL_ERROR";
|
|
3802
3802
|
message?: string | undefined;
|
|
3803
3803
|
}, {
|
|
3804
|
-
type: "INTERNAL_ERROR";
|
|
3805
3804
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3805
|
+
type: "INTERNAL_ERROR";
|
|
3806
3806
|
message?: string | undefined;
|
|
3807
3807
|
}>]>;
|
|
3808
3808
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -3821,9 +3821,9 @@ declare const workerToChildMessages: {
|
|
|
3821
3821
|
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
3822
3822
|
}, "strip", z.ZodTypeAny, {
|
|
3823
3823
|
error: {
|
|
3824
|
-
name: string;
|
|
3825
|
-
type: "BUILT_IN_ERROR";
|
|
3826
3824
|
message: string;
|
|
3825
|
+
type: "BUILT_IN_ERROR";
|
|
3826
|
+
name: string;
|
|
3827
3827
|
stackTrace: string;
|
|
3828
3828
|
} | {
|
|
3829
3829
|
type: "CUSTOM_ERROR";
|
|
@@ -3832,8 +3832,8 @@ declare const workerToChildMessages: {
|
|
|
3832
3832
|
type: "STRING_ERROR";
|
|
3833
3833
|
raw: string;
|
|
3834
3834
|
} | {
|
|
3835
|
-
type: "INTERNAL_ERROR";
|
|
3836
3835
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3836
|
+
type: "INTERNAL_ERROR";
|
|
3837
3837
|
message?: string | undefined;
|
|
3838
3838
|
};
|
|
3839
3839
|
id: string;
|
|
@@ -3846,9 +3846,9 @@ declare const workerToChildMessages: {
|
|
|
3846
3846
|
skippedRetrying?: boolean | undefined;
|
|
3847
3847
|
}, {
|
|
3848
3848
|
error: {
|
|
3849
|
-
name: string;
|
|
3850
|
-
type: "BUILT_IN_ERROR";
|
|
3851
3849
|
message: string;
|
|
3850
|
+
type: "BUILT_IN_ERROR";
|
|
3851
|
+
name: string;
|
|
3852
3852
|
stackTrace: string;
|
|
3853
3853
|
} | {
|
|
3854
3854
|
type: "CUSTOM_ERROR";
|
|
@@ -3857,8 +3857,8 @@ declare const workerToChildMessages: {
|
|
|
3857
3857
|
type: "STRING_ERROR";
|
|
3858
3858
|
raw: string;
|
|
3859
3859
|
} | {
|
|
3860
|
-
type: "INTERNAL_ERROR";
|
|
3861
3860
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
3861
|
+
type: "INTERNAL_ERROR";
|
|
3862
3862
|
message?: string | undefined;
|
|
3863
3863
|
};
|
|
3864
3864
|
id: string;
|
|
@@ -3916,18 +3916,18 @@ declare const workerToChildMessages: {
|
|
|
3916
3916
|
createdAt: z.ZodDate;
|
|
3917
3917
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3918
3918
|
}, "strip", z.ZodTypeAny, {
|
|
3919
|
+
id: string;
|
|
3919
3920
|
payload: string;
|
|
3920
3921
|
payloadType: string;
|
|
3921
|
-
id: string;
|
|
3922
3922
|
tags: string[];
|
|
3923
3923
|
isTest: boolean;
|
|
3924
3924
|
createdAt: Date;
|
|
3925
3925
|
context?: any;
|
|
3926
3926
|
idempotencyKey?: string | undefined;
|
|
3927
3927
|
}, {
|
|
3928
|
+
id: string;
|
|
3928
3929
|
payload: string;
|
|
3929
3930
|
payloadType: string;
|
|
3930
|
-
id: string;
|
|
3931
3931
|
tags: string[];
|
|
3932
3932
|
createdAt: Date;
|
|
3933
3933
|
context?: any;
|
|
@@ -3994,10 +3994,6 @@ declare const workerToChildMessages: {
|
|
|
3994
3994
|
id: string;
|
|
3995
3995
|
}>>;
|
|
3996
3996
|
}, "strip", z.ZodTypeAny, {
|
|
3997
|
-
queue: {
|
|
3998
|
-
name: string;
|
|
3999
|
-
id: string;
|
|
4000
|
-
};
|
|
4001
3997
|
task: {
|
|
4002
3998
|
id: string;
|
|
4003
3999
|
filePath: string;
|
|
@@ -4012,15 +4008,19 @@ declare const workerToChildMessages: {
|
|
|
4012
4008
|
backgroundWorkerTaskId: string;
|
|
4013
4009
|
};
|
|
4014
4010
|
run: {
|
|
4011
|
+
id: string;
|
|
4015
4012
|
payload: string;
|
|
4016
4013
|
payloadType: string;
|
|
4017
|
-
id: string;
|
|
4018
4014
|
tags: string[];
|
|
4019
4015
|
isTest: boolean;
|
|
4020
4016
|
createdAt: Date;
|
|
4021
4017
|
context?: any;
|
|
4022
4018
|
idempotencyKey?: string | undefined;
|
|
4023
4019
|
};
|
|
4020
|
+
queue: {
|
|
4021
|
+
name: string;
|
|
4022
|
+
id: string;
|
|
4023
|
+
};
|
|
4024
4024
|
environment: {
|
|
4025
4025
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
4026
4026
|
id: string;
|
|
@@ -4041,10 +4041,6 @@ declare const workerToChildMessages: {
|
|
|
4041
4041
|
id: string;
|
|
4042
4042
|
} | undefined;
|
|
4043
4043
|
}, {
|
|
4044
|
-
queue: {
|
|
4045
|
-
name: string;
|
|
4046
|
-
id: string;
|
|
4047
|
-
};
|
|
4048
4044
|
task: {
|
|
4049
4045
|
id: string;
|
|
4050
4046
|
filePath: string;
|
|
@@ -4059,15 +4055,19 @@ declare const workerToChildMessages: {
|
|
|
4059
4055
|
backgroundWorkerTaskId: string;
|
|
4060
4056
|
};
|
|
4061
4057
|
run: {
|
|
4058
|
+
id: string;
|
|
4062
4059
|
payload: string;
|
|
4063
4060
|
payloadType: string;
|
|
4064
|
-
id: string;
|
|
4065
4061
|
tags: string[];
|
|
4066
4062
|
createdAt: Date;
|
|
4067
4063
|
context?: any;
|
|
4068
4064
|
isTest?: boolean | undefined;
|
|
4069
4065
|
idempotencyKey?: string | undefined;
|
|
4070
4066
|
};
|
|
4067
|
+
queue: {
|
|
4068
|
+
name: string;
|
|
4069
|
+
id: string;
|
|
4070
|
+
};
|
|
4071
4071
|
environment: {
|
|
4072
4072
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
4073
4073
|
id: string;
|
|
@@ -4091,10 +4091,6 @@ declare const workerToChildMessages: {
|
|
|
4091
4091
|
}, "strip", z.ZodTypeAny, {
|
|
4092
4092
|
version: "v1";
|
|
4093
4093
|
execution: {
|
|
4094
|
-
queue: {
|
|
4095
|
-
name: string;
|
|
4096
|
-
id: string;
|
|
4097
|
-
};
|
|
4098
4094
|
task: {
|
|
4099
4095
|
id: string;
|
|
4100
4096
|
filePath: string;
|
|
@@ -4109,15 +4105,19 @@ declare const workerToChildMessages: {
|
|
|
4109
4105
|
backgroundWorkerTaskId: string;
|
|
4110
4106
|
};
|
|
4111
4107
|
run: {
|
|
4108
|
+
id: string;
|
|
4112
4109
|
payload: string;
|
|
4113
4110
|
payloadType: string;
|
|
4114
|
-
id: string;
|
|
4115
4111
|
tags: string[];
|
|
4116
4112
|
isTest: boolean;
|
|
4117
4113
|
createdAt: Date;
|
|
4118
4114
|
context?: any;
|
|
4119
4115
|
idempotencyKey?: string | undefined;
|
|
4120
4116
|
};
|
|
4117
|
+
queue: {
|
|
4118
|
+
name: string;
|
|
4119
|
+
id: string;
|
|
4120
|
+
};
|
|
4121
4121
|
environment: {
|
|
4122
4122
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
4123
4123
|
id: string;
|
|
@@ -4140,9 +4140,9 @@ declare const workerToChildMessages: {
|
|
|
4140
4140
|
};
|
|
4141
4141
|
completion: {
|
|
4142
4142
|
error: {
|
|
4143
|
-
name: string;
|
|
4144
|
-
type: "BUILT_IN_ERROR";
|
|
4145
4143
|
message: string;
|
|
4144
|
+
type: "BUILT_IN_ERROR";
|
|
4145
|
+
name: string;
|
|
4146
4146
|
stackTrace: string;
|
|
4147
4147
|
} | {
|
|
4148
4148
|
type: "CUSTOM_ERROR";
|
|
@@ -4151,8 +4151,8 @@ declare const workerToChildMessages: {
|
|
|
4151
4151
|
type: "STRING_ERROR";
|
|
4152
4152
|
raw: string;
|
|
4153
4153
|
} | {
|
|
4154
|
-
type: "INTERNAL_ERROR";
|
|
4155
4154
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
4155
|
+
type: "INTERNAL_ERROR";
|
|
4156
4156
|
message?: string | undefined;
|
|
4157
4157
|
};
|
|
4158
4158
|
id: string;
|
|
@@ -4171,10 +4171,6 @@ declare const workerToChildMessages: {
|
|
|
4171
4171
|
};
|
|
4172
4172
|
}, {
|
|
4173
4173
|
execution: {
|
|
4174
|
-
queue: {
|
|
4175
|
-
name: string;
|
|
4176
|
-
id: string;
|
|
4177
|
-
};
|
|
4178
4174
|
task: {
|
|
4179
4175
|
id: string;
|
|
4180
4176
|
filePath: string;
|
|
@@ -4189,15 +4185,19 @@ declare const workerToChildMessages: {
|
|
|
4189
4185
|
backgroundWorkerTaskId: string;
|
|
4190
4186
|
};
|
|
4191
4187
|
run: {
|
|
4188
|
+
id: string;
|
|
4192
4189
|
payload: string;
|
|
4193
4190
|
payloadType: string;
|
|
4194
|
-
id: string;
|
|
4195
4191
|
tags: string[];
|
|
4196
4192
|
createdAt: Date;
|
|
4197
4193
|
context?: any;
|
|
4198
4194
|
isTest?: boolean | undefined;
|
|
4199
4195
|
idempotencyKey?: string | undefined;
|
|
4200
4196
|
};
|
|
4197
|
+
queue: {
|
|
4198
|
+
name: string;
|
|
4199
|
+
id: string;
|
|
4200
|
+
};
|
|
4201
4201
|
environment: {
|
|
4202
4202
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
4203
4203
|
id: string;
|
|
@@ -4220,9 +4220,9 @@ declare const workerToChildMessages: {
|
|
|
4220
4220
|
};
|
|
4221
4221
|
completion: {
|
|
4222
4222
|
error: {
|
|
4223
|
-
name: string;
|
|
4224
|
-
type: "BUILT_IN_ERROR";
|
|
4225
4223
|
message: string;
|
|
4224
|
+
type: "BUILT_IN_ERROR";
|
|
4225
|
+
name: string;
|
|
4226
4226
|
stackTrace: string;
|
|
4227
4227
|
} | {
|
|
4228
4228
|
type: "CUSTOM_ERROR";
|
|
@@ -4231,8 +4231,8 @@ declare const workerToChildMessages: {
|
|
|
4231
4231
|
type: "STRING_ERROR";
|
|
4232
4232
|
raw: string;
|
|
4233
4233
|
} | {
|
|
4234
|
-
type: "INTERNAL_ERROR";
|
|
4235
4234
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
4235
|
+
type: "INTERNAL_ERROR";
|
|
4236
4236
|
message?: string | undefined;
|
|
4237
4237
|
};
|
|
4238
4238
|
id: string;
|
|
@@ -5124,6 +5124,7 @@ declare const TaskFileMetadata: z.ZodObject<{
|
|
|
5124
5124
|
}>;
|
|
5125
5125
|
type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
|
|
5126
5126
|
declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
5127
|
+
id: z.ZodString;
|
|
5127
5128
|
queue: z.ZodOptional<z.ZodObject<{
|
|
5128
5129
|
/** You can define a shared queue and then pass the name in to your task.
|
|
5129
5130
|
*
|
|
@@ -5344,7 +5345,6 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
|
5344
5345
|
} | undefined);
|
|
5345
5346
|
} | undefined;
|
|
5346
5347
|
}>>;
|
|
5347
|
-
id: z.ZodString;
|
|
5348
5348
|
retry: z.ZodOptional<z.ZodObject<{
|
|
5349
5349
|
/** The number of attempts before giving up */
|
|
5350
5350
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5511,27 +5511,27 @@ declare const UncaughtExceptionMessage: z.ZodObject<{
|
|
|
5511
5511
|
message: z.ZodString;
|
|
5512
5512
|
stack: z.ZodOptional<z.ZodString>;
|
|
5513
5513
|
}, "strip", z.ZodTypeAny, {
|
|
5514
|
-
name: string;
|
|
5515
5514
|
message: string;
|
|
5515
|
+
name: string;
|
|
5516
5516
|
stack?: string | undefined;
|
|
5517
5517
|
}, {
|
|
5518
|
-
name: string;
|
|
5519
5518
|
message: string;
|
|
5519
|
+
name: string;
|
|
5520
5520
|
stack?: string | undefined;
|
|
5521
5521
|
}>;
|
|
5522
5522
|
origin: z.ZodEnum<["uncaughtException", "unhandledRejection"]>;
|
|
5523
5523
|
}, "strip", z.ZodTypeAny, {
|
|
5524
5524
|
error: {
|
|
5525
|
-
name: string;
|
|
5526
5525
|
message: string;
|
|
5526
|
+
name: string;
|
|
5527
5527
|
stack?: string | undefined;
|
|
5528
5528
|
};
|
|
5529
5529
|
version: "v1";
|
|
5530
5530
|
origin: "uncaughtException" | "unhandledRejection";
|
|
5531
5531
|
}, {
|
|
5532
5532
|
error: {
|
|
5533
|
-
name: string;
|
|
5534
5533
|
message: string;
|
|
5534
|
+
name: string;
|
|
5535
5535
|
stack?: string | undefined;
|
|
5536
5536
|
};
|
|
5537
5537
|
origin: "uncaughtException" | "unhandledRejection";
|
|
@@ -5599,18 +5599,18 @@ declare const childToWorkerMessages: {
|
|
|
5599
5599
|
createdAt: z.ZodDate;
|
|
5600
5600
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
5601
5601
|
}, "strip", z.ZodTypeAny, {
|
|
5602
|
+
id: string;
|
|
5602
5603
|
payload: string;
|
|
5603
5604
|
payloadType: string;
|
|
5604
|
-
id: string;
|
|
5605
5605
|
tags: string[];
|
|
5606
5606
|
isTest: boolean;
|
|
5607
5607
|
createdAt: Date;
|
|
5608
5608
|
context?: any;
|
|
5609
5609
|
idempotencyKey?: string | undefined;
|
|
5610
5610
|
}, {
|
|
5611
|
+
id: string;
|
|
5611
5612
|
payload: string;
|
|
5612
5613
|
payloadType: string;
|
|
5613
|
-
id: string;
|
|
5614
5614
|
tags: string[];
|
|
5615
5615
|
createdAt: Date;
|
|
5616
5616
|
context?: any;
|
|
@@ -5677,10 +5677,6 @@ declare const childToWorkerMessages: {
|
|
|
5677
5677
|
id: string;
|
|
5678
5678
|
}>>;
|
|
5679
5679
|
}, "strip", z.ZodTypeAny, {
|
|
5680
|
-
queue: {
|
|
5681
|
-
name: string;
|
|
5682
|
-
id: string;
|
|
5683
|
-
};
|
|
5684
5680
|
task: {
|
|
5685
5681
|
id: string;
|
|
5686
5682
|
filePath: string;
|
|
@@ -5695,15 +5691,19 @@ declare const childToWorkerMessages: {
|
|
|
5695
5691
|
backgroundWorkerTaskId: string;
|
|
5696
5692
|
};
|
|
5697
5693
|
run: {
|
|
5694
|
+
id: string;
|
|
5698
5695
|
payload: string;
|
|
5699
5696
|
payloadType: string;
|
|
5700
|
-
id: string;
|
|
5701
5697
|
tags: string[];
|
|
5702
5698
|
isTest: boolean;
|
|
5703
5699
|
createdAt: Date;
|
|
5704
5700
|
context?: any;
|
|
5705
5701
|
idempotencyKey?: string | undefined;
|
|
5706
5702
|
};
|
|
5703
|
+
queue: {
|
|
5704
|
+
name: string;
|
|
5705
|
+
id: string;
|
|
5706
|
+
};
|
|
5707
5707
|
environment: {
|
|
5708
5708
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5709
5709
|
id: string;
|
|
@@ -5724,10 +5724,6 @@ declare const childToWorkerMessages: {
|
|
|
5724
5724
|
id: string;
|
|
5725
5725
|
} | undefined;
|
|
5726
5726
|
}, {
|
|
5727
|
-
queue: {
|
|
5728
|
-
name: string;
|
|
5729
|
-
id: string;
|
|
5730
|
-
};
|
|
5731
5727
|
task: {
|
|
5732
5728
|
id: string;
|
|
5733
5729
|
filePath: string;
|
|
@@ -5742,15 +5738,19 @@ declare const childToWorkerMessages: {
|
|
|
5742
5738
|
backgroundWorkerTaskId: string;
|
|
5743
5739
|
};
|
|
5744
5740
|
run: {
|
|
5741
|
+
id: string;
|
|
5745
5742
|
payload: string;
|
|
5746
5743
|
payloadType: string;
|
|
5747
|
-
id: string;
|
|
5748
5744
|
tags: string[];
|
|
5749
5745
|
createdAt: Date;
|
|
5750
5746
|
context?: any;
|
|
5751
5747
|
isTest?: boolean | undefined;
|
|
5752
5748
|
idempotencyKey?: string | undefined;
|
|
5753
5749
|
};
|
|
5750
|
+
queue: {
|
|
5751
|
+
name: string;
|
|
5752
|
+
id: string;
|
|
5753
|
+
};
|
|
5754
5754
|
environment: {
|
|
5755
5755
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5756
5756
|
id: string;
|
|
@@ -5795,14 +5795,14 @@ declare const childToWorkerMessages: {
|
|
|
5795
5795
|
message: z.ZodString;
|
|
5796
5796
|
stackTrace: z.ZodString;
|
|
5797
5797
|
}, "strip", z.ZodTypeAny, {
|
|
5798
|
-
name: string;
|
|
5799
|
-
type: "BUILT_IN_ERROR";
|
|
5800
5798
|
message: string;
|
|
5799
|
+
type: "BUILT_IN_ERROR";
|
|
5800
|
+
name: string;
|
|
5801
5801
|
stackTrace: string;
|
|
5802
5802
|
}, {
|
|
5803
|
-
name: string;
|
|
5804
|
-
type: "BUILT_IN_ERROR";
|
|
5805
5803
|
message: string;
|
|
5804
|
+
type: "BUILT_IN_ERROR";
|
|
5805
|
+
name: string;
|
|
5806
5806
|
stackTrace: string;
|
|
5807
5807
|
}>, z.ZodObject<{
|
|
5808
5808
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -5827,12 +5827,12 @@ declare const childToWorkerMessages: {
|
|
|
5827
5827
|
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT"]>;
|
|
5828
5828
|
message: z.ZodOptional<z.ZodString>;
|
|
5829
5829
|
}, "strip", z.ZodTypeAny, {
|
|
5830
|
-
type: "INTERNAL_ERROR";
|
|
5831
5830
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
5831
|
+
type: "INTERNAL_ERROR";
|
|
5832
5832
|
message?: string | undefined;
|
|
5833
5833
|
}, {
|
|
5834
|
-
type: "INTERNAL_ERROR";
|
|
5835
5834
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
5835
|
+
type: "INTERNAL_ERROR";
|
|
5836
5836
|
message?: string | undefined;
|
|
5837
5837
|
}>]>;
|
|
5838
5838
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -5851,9 +5851,9 @@ declare const childToWorkerMessages: {
|
|
|
5851
5851
|
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
5852
5852
|
}, "strip", z.ZodTypeAny, {
|
|
5853
5853
|
error: {
|
|
5854
|
-
name: string;
|
|
5855
|
-
type: "BUILT_IN_ERROR";
|
|
5856
5854
|
message: string;
|
|
5855
|
+
type: "BUILT_IN_ERROR";
|
|
5856
|
+
name: string;
|
|
5857
5857
|
stackTrace: string;
|
|
5858
5858
|
} | {
|
|
5859
5859
|
type: "CUSTOM_ERROR";
|
|
@@ -5862,8 +5862,8 @@ declare const childToWorkerMessages: {
|
|
|
5862
5862
|
type: "STRING_ERROR";
|
|
5863
5863
|
raw: string;
|
|
5864
5864
|
} | {
|
|
5865
|
-
type: "INTERNAL_ERROR";
|
|
5866
5865
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
5866
|
+
type: "INTERNAL_ERROR";
|
|
5867
5867
|
message?: string | undefined;
|
|
5868
5868
|
};
|
|
5869
5869
|
id: string;
|
|
@@ -5876,9 +5876,9 @@ declare const childToWorkerMessages: {
|
|
|
5876
5876
|
skippedRetrying?: boolean | undefined;
|
|
5877
5877
|
}, {
|
|
5878
5878
|
error: {
|
|
5879
|
-
name: string;
|
|
5880
|
-
type: "BUILT_IN_ERROR";
|
|
5881
5879
|
message: string;
|
|
5880
|
+
type: "BUILT_IN_ERROR";
|
|
5881
|
+
name: string;
|
|
5882
5882
|
stackTrace: string;
|
|
5883
5883
|
} | {
|
|
5884
5884
|
type: "CUSTOM_ERROR";
|
|
@@ -5887,8 +5887,8 @@ declare const childToWorkerMessages: {
|
|
|
5887
5887
|
type: "STRING_ERROR";
|
|
5888
5888
|
raw: string;
|
|
5889
5889
|
} | {
|
|
5890
|
-
type: "INTERNAL_ERROR";
|
|
5891
5890
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
5891
|
+
type: "INTERNAL_ERROR";
|
|
5892
5892
|
message?: string | undefined;
|
|
5893
5893
|
};
|
|
5894
5894
|
id: string;
|
|
@@ -5903,10 +5903,6 @@ declare const childToWorkerMessages: {
|
|
|
5903
5903
|
}, "strip", z.ZodTypeAny, {
|
|
5904
5904
|
version: "v1";
|
|
5905
5905
|
execution: {
|
|
5906
|
-
queue: {
|
|
5907
|
-
name: string;
|
|
5908
|
-
id: string;
|
|
5909
|
-
};
|
|
5910
5906
|
task: {
|
|
5911
5907
|
id: string;
|
|
5912
5908
|
filePath: string;
|
|
@@ -5921,15 +5917,19 @@ declare const childToWorkerMessages: {
|
|
|
5921
5917
|
backgroundWorkerTaskId: string;
|
|
5922
5918
|
};
|
|
5923
5919
|
run: {
|
|
5920
|
+
id: string;
|
|
5924
5921
|
payload: string;
|
|
5925
5922
|
payloadType: string;
|
|
5926
|
-
id: string;
|
|
5927
5923
|
tags: string[];
|
|
5928
5924
|
isTest: boolean;
|
|
5929
5925
|
createdAt: Date;
|
|
5930
5926
|
context?: any;
|
|
5931
5927
|
idempotencyKey?: string | undefined;
|
|
5932
5928
|
};
|
|
5929
|
+
queue: {
|
|
5930
|
+
name: string;
|
|
5931
|
+
id: string;
|
|
5932
|
+
};
|
|
5933
5933
|
environment: {
|
|
5934
5934
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5935
5935
|
id: string;
|
|
@@ -5952,9 +5952,9 @@ declare const childToWorkerMessages: {
|
|
|
5952
5952
|
};
|
|
5953
5953
|
result: {
|
|
5954
5954
|
error: {
|
|
5955
|
-
name: string;
|
|
5956
|
-
type: "BUILT_IN_ERROR";
|
|
5957
5955
|
message: string;
|
|
5956
|
+
type: "BUILT_IN_ERROR";
|
|
5957
|
+
name: string;
|
|
5958
5958
|
stackTrace: string;
|
|
5959
5959
|
} | {
|
|
5960
5960
|
type: "CUSTOM_ERROR";
|
|
@@ -5963,8 +5963,8 @@ declare const childToWorkerMessages: {
|
|
|
5963
5963
|
type: "STRING_ERROR";
|
|
5964
5964
|
raw: string;
|
|
5965
5965
|
} | {
|
|
5966
|
-
type: "INTERNAL_ERROR";
|
|
5967
5966
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
5967
|
+
type: "INTERNAL_ERROR";
|
|
5968
5968
|
message?: string | undefined;
|
|
5969
5969
|
};
|
|
5970
5970
|
id: string;
|
|
@@ -5983,10 +5983,6 @@ declare const childToWorkerMessages: {
|
|
|
5983
5983
|
};
|
|
5984
5984
|
}, {
|
|
5985
5985
|
execution: {
|
|
5986
|
-
queue: {
|
|
5987
|
-
name: string;
|
|
5988
|
-
id: string;
|
|
5989
|
-
};
|
|
5990
5986
|
task: {
|
|
5991
5987
|
id: string;
|
|
5992
5988
|
filePath: string;
|
|
@@ -6001,15 +5997,19 @@ declare const childToWorkerMessages: {
|
|
|
6001
5997
|
backgroundWorkerTaskId: string;
|
|
6002
5998
|
};
|
|
6003
5999
|
run: {
|
|
6000
|
+
id: string;
|
|
6004
6001
|
payload: string;
|
|
6005
6002
|
payloadType: string;
|
|
6006
|
-
id: string;
|
|
6007
6003
|
tags: string[];
|
|
6008
6004
|
createdAt: Date;
|
|
6009
6005
|
context?: any;
|
|
6010
6006
|
isTest?: boolean | undefined;
|
|
6011
6007
|
idempotencyKey?: string | undefined;
|
|
6012
6008
|
};
|
|
6009
|
+
queue: {
|
|
6010
|
+
name: string;
|
|
6011
|
+
id: string;
|
|
6012
|
+
};
|
|
6013
6013
|
environment: {
|
|
6014
6014
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
6015
6015
|
id: string;
|
|
@@ -6032,9 +6032,9 @@ declare const childToWorkerMessages: {
|
|
|
6032
6032
|
};
|
|
6033
6033
|
result: {
|
|
6034
6034
|
error: {
|
|
6035
|
-
name: string;
|
|
6036
|
-
type: "BUILT_IN_ERROR";
|
|
6037
6035
|
message: string;
|
|
6036
|
+
type: "BUILT_IN_ERROR";
|
|
6037
|
+
name: string;
|
|
6038
6038
|
stackTrace: string;
|
|
6039
6039
|
} | {
|
|
6040
6040
|
type: "CUSTOM_ERROR";
|
|
@@ -6043,8 +6043,8 @@ declare const childToWorkerMessages: {
|
|
|
6043
6043
|
type: "STRING_ERROR";
|
|
6044
6044
|
raw: string;
|
|
6045
6045
|
} | {
|
|
6046
|
-
type: "INTERNAL_ERROR";
|
|
6047
6046
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
6047
|
+
type: "INTERNAL_ERROR";
|
|
6048
6048
|
message?: string | undefined;
|
|
6049
6049
|
};
|
|
6050
6050
|
id: string;
|
|
@@ -6066,6 +6066,7 @@ declare const childToWorkerMessages: {
|
|
|
6066
6066
|
TASKS_READY: z.ZodObject<{
|
|
6067
6067
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
6068
6068
|
tasks: z.ZodArray<z.ZodObject<{
|
|
6069
|
+
id: z.ZodString;
|
|
6069
6070
|
queue: z.ZodOptional<z.ZodObject<{
|
|
6070
6071
|
/** You can define a shared queue and then pass the name in to your task.
|
|
6071
6072
|
*
|
|
@@ -6286,7 +6287,6 @@ declare const childToWorkerMessages: {
|
|
|
6286
6287
|
} | undefined);
|
|
6287
6288
|
} | undefined;
|
|
6288
6289
|
}>>;
|
|
6289
|
-
id: z.ZodString;
|
|
6290
6290
|
retry: z.ZodOptional<z.ZodObject<{
|
|
6291
6291
|
/** The number of attempts before giving up */
|
|
6292
6292
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6626,27 +6626,27 @@ declare const childToWorkerMessages: {
|
|
|
6626
6626
|
message: z.ZodString;
|
|
6627
6627
|
stack: z.ZodOptional<z.ZodString>;
|
|
6628
6628
|
}, "strip", z.ZodTypeAny, {
|
|
6629
|
-
name: string;
|
|
6630
6629
|
message: string;
|
|
6630
|
+
name: string;
|
|
6631
6631
|
stack?: string | undefined;
|
|
6632
6632
|
}, {
|
|
6633
|
-
name: string;
|
|
6634
6633
|
message: string;
|
|
6634
|
+
name: string;
|
|
6635
6635
|
stack?: string | undefined;
|
|
6636
6636
|
}>;
|
|
6637
6637
|
origin: z.ZodEnum<["uncaughtException", "unhandledRejection"]>;
|
|
6638
6638
|
}, "strip", z.ZodTypeAny, {
|
|
6639
6639
|
error: {
|
|
6640
|
-
name: string;
|
|
6641
6640
|
message: string;
|
|
6641
|
+
name: string;
|
|
6642
6642
|
stack?: string | undefined;
|
|
6643
6643
|
};
|
|
6644
6644
|
version: "v1";
|
|
6645
6645
|
origin: "uncaughtException" | "unhandledRejection";
|
|
6646
6646
|
}, {
|
|
6647
6647
|
error: {
|
|
6648
|
-
name: string;
|
|
6649
6648
|
message: string;
|
|
6649
|
+
name: string;
|
|
6650
6650
|
stack?: string | undefined;
|
|
6651
6651
|
};
|
|
6652
6652
|
origin: "uncaughtException" | "unhandledRejection";
|
|
@@ -6703,18 +6703,18 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6703
6703
|
createdAt: z.ZodDate;
|
|
6704
6704
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
6705
6705
|
}, "strip", z.ZodTypeAny, {
|
|
6706
|
+
id: string;
|
|
6706
6707
|
payload: string;
|
|
6707
6708
|
payloadType: string;
|
|
6708
|
-
id: string;
|
|
6709
6709
|
tags: string[];
|
|
6710
6710
|
isTest: boolean;
|
|
6711
6711
|
createdAt: Date;
|
|
6712
6712
|
context?: any;
|
|
6713
6713
|
idempotencyKey?: string | undefined;
|
|
6714
6714
|
}, {
|
|
6715
|
+
id: string;
|
|
6715
6716
|
payload: string;
|
|
6716
6717
|
payloadType: string;
|
|
6717
|
-
id: string;
|
|
6718
6718
|
tags: string[];
|
|
6719
6719
|
createdAt: Date;
|
|
6720
6720
|
context?: any;
|
|
@@ -6781,10 +6781,6 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6781
6781
|
id: string;
|
|
6782
6782
|
}>>;
|
|
6783
6783
|
}, "strip", z.ZodTypeAny, {
|
|
6784
|
-
queue: {
|
|
6785
|
-
name: string;
|
|
6786
|
-
id: string;
|
|
6787
|
-
};
|
|
6788
6784
|
task: {
|
|
6789
6785
|
id: string;
|
|
6790
6786
|
filePath: string;
|
|
@@ -6799,15 +6795,19 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6799
6795
|
backgroundWorkerTaskId: string;
|
|
6800
6796
|
};
|
|
6801
6797
|
run: {
|
|
6798
|
+
id: string;
|
|
6802
6799
|
payload: string;
|
|
6803
6800
|
payloadType: string;
|
|
6804
|
-
id: string;
|
|
6805
6801
|
tags: string[];
|
|
6806
6802
|
isTest: boolean;
|
|
6807
6803
|
createdAt: Date;
|
|
6808
6804
|
context?: any;
|
|
6809
6805
|
idempotencyKey?: string | undefined;
|
|
6810
6806
|
};
|
|
6807
|
+
queue: {
|
|
6808
|
+
name: string;
|
|
6809
|
+
id: string;
|
|
6810
|
+
};
|
|
6811
6811
|
environment: {
|
|
6812
6812
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
6813
6813
|
id: string;
|
|
@@ -6828,10 +6828,6 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6828
6828
|
id: string;
|
|
6829
6829
|
} | undefined;
|
|
6830
6830
|
}, {
|
|
6831
|
-
queue: {
|
|
6832
|
-
name: string;
|
|
6833
|
-
id: string;
|
|
6834
|
-
};
|
|
6835
6831
|
task: {
|
|
6836
6832
|
id: string;
|
|
6837
6833
|
filePath: string;
|
|
@@ -6846,15 +6842,19 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6846
6842
|
backgroundWorkerTaskId: string;
|
|
6847
6843
|
};
|
|
6848
6844
|
run: {
|
|
6845
|
+
id: string;
|
|
6849
6846
|
payload: string;
|
|
6850
6847
|
payloadType: string;
|
|
6851
|
-
id: string;
|
|
6852
6848
|
tags: string[];
|
|
6853
6849
|
createdAt: Date;
|
|
6854
6850
|
context?: any;
|
|
6855
6851
|
isTest?: boolean | undefined;
|
|
6856
6852
|
idempotencyKey?: string | undefined;
|
|
6857
6853
|
};
|
|
6854
|
+
queue: {
|
|
6855
|
+
name: string;
|
|
6856
|
+
id: string;
|
|
6857
|
+
};
|
|
6858
6858
|
environment: {
|
|
6859
6859
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
6860
6860
|
id: string;
|
|
@@ -6899,14 +6899,14 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6899
6899
|
message: z.ZodString;
|
|
6900
6900
|
stackTrace: z.ZodString;
|
|
6901
6901
|
}, "strip", z.ZodTypeAny, {
|
|
6902
|
-
name: string;
|
|
6903
|
-
type: "BUILT_IN_ERROR";
|
|
6904
6902
|
message: string;
|
|
6903
|
+
type: "BUILT_IN_ERROR";
|
|
6904
|
+
name: string;
|
|
6905
6905
|
stackTrace: string;
|
|
6906
6906
|
}, {
|
|
6907
|
-
name: string;
|
|
6908
|
-
type: "BUILT_IN_ERROR";
|
|
6909
6907
|
message: string;
|
|
6908
|
+
type: "BUILT_IN_ERROR";
|
|
6909
|
+
name: string;
|
|
6910
6910
|
stackTrace: string;
|
|
6911
6911
|
}>, z.ZodObject<{
|
|
6912
6912
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -6931,12 +6931,12 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6931
6931
|
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT"]>;
|
|
6932
6932
|
message: z.ZodOptional<z.ZodString>;
|
|
6933
6933
|
}, "strip", z.ZodTypeAny, {
|
|
6934
|
-
type: "INTERNAL_ERROR";
|
|
6935
6934
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
6935
|
+
type: "INTERNAL_ERROR";
|
|
6936
6936
|
message?: string | undefined;
|
|
6937
6937
|
}, {
|
|
6938
|
-
type: "INTERNAL_ERROR";
|
|
6939
6938
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
6939
|
+
type: "INTERNAL_ERROR";
|
|
6940
6940
|
message?: string | undefined;
|
|
6941
6941
|
}>]>;
|
|
6942
6942
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -6955,9 +6955,9 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6955
6955
|
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
6956
6956
|
}, "strip", z.ZodTypeAny, {
|
|
6957
6957
|
error: {
|
|
6958
|
-
name: string;
|
|
6959
|
-
type: "BUILT_IN_ERROR";
|
|
6960
6958
|
message: string;
|
|
6959
|
+
type: "BUILT_IN_ERROR";
|
|
6960
|
+
name: string;
|
|
6961
6961
|
stackTrace: string;
|
|
6962
6962
|
} | {
|
|
6963
6963
|
type: "CUSTOM_ERROR";
|
|
@@ -6966,8 +6966,8 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6966
6966
|
type: "STRING_ERROR";
|
|
6967
6967
|
raw: string;
|
|
6968
6968
|
} | {
|
|
6969
|
-
type: "INTERNAL_ERROR";
|
|
6970
6969
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
6970
|
+
type: "INTERNAL_ERROR";
|
|
6971
6971
|
message?: string | undefined;
|
|
6972
6972
|
};
|
|
6973
6973
|
id: string;
|
|
@@ -6980,9 +6980,9 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6980
6980
|
skippedRetrying?: boolean | undefined;
|
|
6981
6981
|
}, {
|
|
6982
6982
|
error: {
|
|
6983
|
-
name: string;
|
|
6984
|
-
type: "BUILT_IN_ERROR";
|
|
6985
6983
|
message: string;
|
|
6984
|
+
type: "BUILT_IN_ERROR";
|
|
6985
|
+
name: string;
|
|
6986
6986
|
stackTrace: string;
|
|
6987
6987
|
} | {
|
|
6988
6988
|
type: "CUSTOM_ERROR";
|
|
@@ -6991,8 +6991,8 @@ declare const ProdChildToWorkerMessages: {
|
|
|
6991
6991
|
type: "STRING_ERROR";
|
|
6992
6992
|
raw: string;
|
|
6993
6993
|
} | {
|
|
6994
|
-
type: "INTERNAL_ERROR";
|
|
6995
6994
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
6995
|
+
type: "INTERNAL_ERROR";
|
|
6996
6996
|
message?: string | undefined;
|
|
6997
6997
|
};
|
|
6998
6998
|
id: string;
|
|
@@ -7007,10 +7007,6 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7007
7007
|
}, "strip", z.ZodTypeAny, {
|
|
7008
7008
|
version: "v1";
|
|
7009
7009
|
execution: {
|
|
7010
|
-
queue: {
|
|
7011
|
-
name: string;
|
|
7012
|
-
id: string;
|
|
7013
|
-
};
|
|
7014
7010
|
task: {
|
|
7015
7011
|
id: string;
|
|
7016
7012
|
filePath: string;
|
|
@@ -7025,15 +7021,19 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7025
7021
|
backgroundWorkerTaskId: string;
|
|
7026
7022
|
};
|
|
7027
7023
|
run: {
|
|
7024
|
+
id: string;
|
|
7028
7025
|
payload: string;
|
|
7029
7026
|
payloadType: string;
|
|
7030
|
-
id: string;
|
|
7031
7027
|
tags: string[];
|
|
7032
7028
|
isTest: boolean;
|
|
7033
7029
|
createdAt: Date;
|
|
7034
7030
|
context?: any;
|
|
7035
7031
|
idempotencyKey?: string | undefined;
|
|
7036
7032
|
};
|
|
7033
|
+
queue: {
|
|
7034
|
+
name: string;
|
|
7035
|
+
id: string;
|
|
7036
|
+
};
|
|
7037
7037
|
environment: {
|
|
7038
7038
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
7039
7039
|
id: string;
|
|
@@ -7056,9 +7056,9 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7056
7056
|
};
|
|
7057
7057
|
result: {
|
|
7058
7058
|
error: {
|
|
7059
|
-
name: string;
|
|
7060
|
-
type: "BUILT_IN_ERROR";
|
|
7061
7059
|
message: string;
|
|
7060
|
+
type: "BUILT_IN_ERROR";
|
|
7061
|
+
name: string;
|
|
7062
7062
|
stackTrace: string;
|
|
7063
7063
|
} | {
|
|
7064
7064
|
type: "CUSTOM_ERROR";
|
|
@@ -7067,8 +7067,8 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7067
7067
|
type: "STRING_ERROR";
|
|
7068
7068
|
raw: string;
|
|
7069
7069
|
} | {
|
|
7070
|
-
type: "INTERNAL_ERROR";
|
|
7071
7070
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
7071
|
+
type: "INTERNAL_ERROR";
|
|
7072
7072
|
message?: string | undefined;
|
|
7073
7073
|
};
|
|
7074
7074
|
id: string;
|
|
@@ -7087,10 +7087,6 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7087
7087
|
};
|
|
7088
7088
|
}, {
|
|
7089
7089
|
execution: {
|
|
7090
|
-
queue: {
|
|
7091
|
-
name: string;
|
|
7092
|
-
id: string;
|
|
7093
|
-
};
|
|
7094
7090
|
task: {
|
|
7095
7091
|
id: string;
|
|
7096
7092
|
filePath: string;
|
|
@@ -7105,15 +7101,19 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7105
7101
|
backgroundWorkerTaskId: string;
|
|
7106
7102
|
};
|
|
7107
7103
|
run: {
|
|
7104
|
+
id: string;
|
|
7108
7105
|
payload: string;
|
|
7109
7106
|
payloadType: string;
|
|
7110
|
-
id: string;
|
|
7111
7107
|
tags: string[];
|
|
7112
7108
|
createdAt: Date;
|
|
7113
7109
|
context?: any;
|
|
7114
7110
|
isTest?: boolean | undefined;
|
|
7115
7111
|
idempotencyKey?: string | undefined;
|
|
7116
7112
|
};
|
|
7113
|
+
queue: {
|
|
7114
|
+
name: string;
|
|
7115
|
+
id: string;
|
|
7116
|
+
};
|
|
7117
7117
|
environment: {
|
|
7118
7118
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
7119
7119
|
id: string;
|
|
@@ -7136,9 +7136,9 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7136
7136
|
};
|
|
7137
7137
|
result: {
|
|
7138
7138
|
error: {
|
|
7139
|
-
name: string;
|
|
7140
|
-
type: "BUILT_IN_ERROR";
|
|
7141
7139
|
message: string;
|
|
7140
|
+
type: "BUILT_IN_ERROR";
|
|
7141
|
+
name: string;
|
|
7142
7142
|
stackTrace: string;
|
|
7143
7143
|
} | {
|
|
7144
7144
|
type: "CUSTOM_ERROR";
|
|
@@ -7147,8 +7147,8 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7147
7147
|
type: "STRING_ERROR";
|
|
7148
7148
|
raw: string;
|
|
7149
7149
|
} | {
|
|
7150
|
-
type: "INTERNAL_ERROR";
|
|
7151
7150
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
7151
|
+
type: "INTERNAL_ERROR";
|
|
7152
7152
|
message?: string | undefined;
|
|
7153
7153
|
};
|
|
7154
7154
|
id: string;
|
|
@@ -7172,6 +7172,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7172
7172
|
message: z.ZodObject<{
|
|
7173
7173
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
7174
7174
|
tasks: z.ZodArray<z.ZodObject<{
|
|
7175
|
+
id: z.ZodString;
|
|
7175
7176
|
queue: z.ZodOptional<z.ZodObject<{
|
|
7176
7177
|
/** You can define a shared queue and then pass the name in to your task.
|
|
7177
7178
|
*
|
|
@@ -7392,7 +7393,6 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7392
7393
|
} | undefined);
|
|
7393
7394
|
} | undefined;
|
|
7394
7395
|
}>>;
|
|
7395
|
-
id: z.ZodString;
|
|
7396
7396
|
retry: z.ZodOptional<z.ZodObject<{
|
|
7397
7397
|
/** The number of attempts before giving up */
|
|
7398
7398
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7774,27 +7774,27 @@ declare const ProdChildToWorkerMessages: {
|
|
|
7774
7774
|
message: z.ZodString;
|
|
7775
7775
|
stack: z.ZodOptional<z.ZodString>;
|
|
7776
7776
|
}, "strip", z.ZodTypeAny, {
|
|
7777
|
-
name: string;
|
|
7778
7777
|
message: string;
|
|
7778
|
+
name: string;
|
|
7779
7779
|
stack?: string | undefined;
|
|
7780
7780
|
}, {
|
|
7781
|
-
name: string;
|
|
7782
7781
|
message: string;
|
|
7782
|
+
name: string;
|
|
7783
7783
|
stack?: string | undefined;
|
|
7784
7784
|
}>;
|
|
7785
7785
|
origin: z.ZodEnum<["uncaughtException", "unhandledRejection"]>;
|
|
7786
7786
|
}, "strip", z.ZodTypeAny, {
|
|
7787
7787
|
error: {
|
|
7788
|
-
name: string;
|
|
7789
7788
|
message: string;
|
|
7789
|
+
name: string;
|
|
7790
7790
|
stack?: string | undefined;
|
|
7791
7791
|
};
|
|
7792
7792
|
version: "v1";
|
|
7793
7793
|
origin: "uncaughtException" | "unhandledRejection";
|
|
7794
7794
|
}, {
|
|
7795
7795
|
error: {
|
|
7796
|
-
name: string;
|
|
7797
7796
|
message: string;
|
|
7797
|
+
name: string;
|
|
7798
7798
|
stack?: string | undefined;
|
|
7799
7799
|
};
|
|
7800
7800
|
origin: "uncaughtException" | "unhandledRejection";
|
|
@@ -7852,18 +7852,18 @@ declare const ProdWorkerToChildMessages: {
|
|
|
7852
7852
|
createdAt: z.ZodDate;
|
|
7853
7853
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
7854
7854
|
}, "strip", z.ZodTypeAny, {
|
|
7855
|
+
id: string;
|
|
7855
7856
|
payload: string;
|
|
7856
7857
|
payloadType: string;
|
|
7857
|
-
id: string;
|
|
7858
7858
|
tags: string[];
|
|
7859
7859
|
isTest: boolean;
|
|
7860
7860
|
createdAt: Date;
|
|
7861
7861
|
context?: any;
|
|
7862
7862
|
idempotencyKey?: string | undefined;
|
|
7863
7863
|
}, {
|
|
7864
|
+
id: string;
|
|
7864
7865
|
payload: string;
|
|
7865
7866
|
payloadType: string;
|
|
7866
|
-
id: string;
|
|
7867
7867
|
tags: string[];
|
|
7868
7868
|
createdAt: Date;
|
|
7869
7869
|
context?: any;
|
|
@@ -7930,10 +7930,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
7930
7930
|
id: string;
|
|
7931
7931
|
}>>;
|
|
7932
7932
|
}, "strip", z.ZodTypeAny, {
|
|
7933
|
-
queue: {
|
|
7934
|
-
name: string;
|
|
7935
|
-
id: string;
|
|
7936
|
-
};
|
|
7937
7933
|
task: {
|
|
7938
7934
|
id: string;
|
|
7939
7935
|
filePath: string;
|
|
@@ -7948,15 +7944,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
7948
7944
|
backgroundWorkerTaskId: string;
|
|
7949
7945
|
};
|
|
7950
7946
|
run: {
|
|
7947
|
+
id: string;
|
|
7951
7948
|
payload: string;
|
|
7952
7949
|
payloadType: string;
|
|
7953
|
-
id: string;
|
|
7954
7950
|
tags: string[];
|
|
7955
7951
|
isTest: boolean;
|
|
7956
7952
|
createdAt: Date;
|
|
7957
7953
|
context?: any;
|
|
7958
7954
|
idempotencyKey?: string | undefined;
|
|
7959
7955
|
};
|
|
7956
|
+
queue: {
|
|
7957
|
+
name: string;
|
|
7958
|
+
id: string;
|
|
7959
|
+
};
|
|
7960
7960
|
environment: {
|
|
7961
7961
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
7962
7962
|
id: string;
|
|
@@ -7977,10 +7977,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
7977
7977
|
id: string;
|
|
7978
7978
|
} | undefined;
|
|
7979
7979
|
}, {
|
|
7980
|
-
queue: {
|
|
7981
|
-
name: string;
|
|
7982
|
-
id: string;
|
|
7983
|
-
};
|
|
7984
7980
|
task: {
|
|
7985
7981
|
id: string;
|
|
7986
7982
|
filePath: string;
|
|
@@ -7995,15 +7991,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
7995
7991
|
backgroundWorkerTaskId: string;
|
|
7996
7992
|
};
|
|
7997
7993
|
run: {
|
|
7994
|
+
id: string;
|
|
7998
7995
|
payload: string;
|
|
7999
7996
|
payloadType: string;
|
|
8000
|
-
id: string;
|
|
8001
7997
|
tags: string[];
|
|
8002
7998
|
createdAt: Date;
|
|
8003
7999
|
context?: any;
|
|
8004
8000
|
isTest?: boolean | undefined;
|
|
8005
8001
|
idempotencyKey?: string | undefined;
|
|
8006
8002
|
};
|
|
8003
|
+
queue: {
|
|
8004
|
+
name: string;
|
|
8005
|
+
id: string;
|
|
8006
|
+
};
|
|
8007
8007
|
environment: {
|
|
8008
8008
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8009
8009
|
id: string;
|
|
@@ -8041,10 +8041,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8041
8041
|
}, "strip", z.ZodTypeAny, {
|
|
8042
8042
|
version: "v1";
|
|
8043
8043
|
execution: {
|
|
8044
|
-
queue: {
|
|
8045
|
-
name: string;
|
|
8046
|
-
id: string;
|
|
8047
|
-
};
|
|
8048
8044
|
task: {
|
|
8049
8045
|
id: string;
|
|
8050
8046
|
filePath: string;
|
|
@@ -8059,15 +8055,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8059
8055
|
backgroundWorkerTaskId: string;
|
|
8060
8056
|
};
|
|
8061
8057
|
run: {
|
|
8058
|
+
id: string;
|
|
8062
8059
|
payload: string;
|
|
8063
8060
|
payloadType: string;
|
|
8064
|
-
id: string;
|
|
8065
8061
|
tags: string[];
|
|
8066
8062
|
isTest: boolean;
|
|
8067
8063
|
createdAt: Date;
|
|
8068
8064
|
context?: any;
|
|
8069
8065
|
idempotencyKey?: string | undefined;
|
|
8070
8066
|
};
|
|
8067
|
+
queue: {
|
|
8068
|
+
name: string;
|
|
8069
|
+
id: string;
|
|
8070
|
+
};
|
|
8071
8071
|
environment: {
|
|
8072
8072
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8073
8073
|
id: string;
|
|
@@ -8096,10 +8096,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8096
8096
|
};
|
|
8097
8097
|
}, {
|
|
8098
8098
|
execution: {
|
|
8099
|
-
queue: {
|
|
8100
|
-
name: string;
|
|
8101
|
-
id: string;
|
|
8102
|
-
};
|
|
8103
8099
|
task: {
|
|
8104
8100
|
id: string;
|
|
8105
8101
|
filePath: string;
|
|
@@ -8114,15 +8110,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8114
8110
|
backgroundWorkerTaskId: string;
|
|
8115
8111
|
};
|
|
8116
8112
|
run: {
|
|
8113
|
+
id: string;
|
|
8117
8114
|
payload: string;
|
|
8118
8115
|
payloadType: string;
|
|
8119
|
-
id: string;
|
|
8120
8116
|
tags: string[];
|
|
8121
8117
|
createdAt: Date;
|
|
8122
8118
|
context?: any;
|
|
8123
8119
|
isTest?: boolean | undefined;
|
|
8124
8120
|
idempotencyKey?: string | undefined;
|
|
8125
8121
|
};
|
|
8122
|
+
queue: {
|
|
8123
|
+
name: string;
|
|
8124
|
+
id: string;
|
|
8125
|
+
};
|
|
8126
8126
|
environment: {
|
|
8127
8127
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8128
8128
|
id: string;
|
|
@@ -8179,14 +8179,14 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8179
8179
|
message: z.ZodString;
|
|
8180
8180
|
stackTrace: z.ZodString;
|
|
8181
8181
|
}, "strip", z.ZodTypeAny, {
|
|
8182
|
-
name: string;
|
|
8183
|
-
type: "BUILT_IN_ERROR";
|
|
8184
8182
|
message: string;
|
|
8183
|
+
type: "BUILT_IN_ERROR";
|
|
8184
|
+
name: string;
|
|
8185
8185
|
stackTrace: string;
|
|
8186
8186
|
}, {
|
|
8187
|
-
name: string;
|
|
8188
|
-
type: "BUILT_IN_ERROR";
|
|
8189
8187
|
message: string;
|
|
8188
|
+
type: "BUILT_IN_ERROR";
|
|
8189
|
+
name: string;
|
|
8190
8190
|
stackTrace: string;
|
|
8191
8191
|
}>, z.ZodObject<{
|
|
8192
8192
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -8211,12 +8211,12 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8211
8211
|
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT"]>;
|
|
8212
8212
|
message: z.ZodOptional<z.ZodString>;
|
|
8213
8213
|
}, "strip", z.ZodTypeAny, {
|
|
8214
|
-
type: "INTERNAL_ERROR";
|
|
8215
8214
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
8215
|
+
type: "INTERNAL_ERROR";
|
|
8216
8216
|
message?: string | undefined;
|
|
8217
8217
|
}, {
|
|
8218
|
-
type: "INTERNAL_ERROR";
|
|
8219
8218
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
8219
|
+
type: "INTERNAL_ERROR";
|
|
8220
8220
|
message?: string | undefined;
|
|
8221
8221
|
}>]>;
|
|
8222
8222
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -8235,9 +8235,9 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8235
8235
|
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
8236
8236
|
}, "strip", z.ZodTypeAny, {
|
|
8237
8237
|
error: {
|
|
8238
|
-
name: string;
|
|
8239
|
-
type: "BUILT_IN_ERROR";
|
|
8240
8238
|
message: string;
|
|
8239
|
+
type: "BUILT_IN_ERROR";
|
|
8240
|
+
name: string;
|
|
8241
8241
|
stackTrace: string;
|
|
8242
8242
|
} | {
|
|
8243
8243
|
type: "CUSTOM_ERROR";
|
|
@@ -8246,8 +8246,8 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8246
8246
|
type: "STRING_ERROR";
|
|
8247
8247
|
raw: string;
|
|
8248
8248
|
} | {
|
|
8249
|
-
type: "INTERNAL_ERROR";
|
|
8250
8249
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
8250
|
+
type: "INTERNAL_ERROR";
|
|
8251
8251
|
message?: string | undefined;
|
|
8252
8252
|
};
|
|
8253
8253
|
id: string;
|
|
@@ -8260,9 +8260,9 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8260
8260
|
skippedRetrying?: boolean | undefined;
|
|
8261
8261
|
}, {
|
|
8262
8262
|
error: {
|
|
8263
|
-
name: string;
|
|
8264
|
-
type: "BUILT_IN_ERROR";
|
|
8265
8263
|
message: string;
|
|
8264
|
+
type: "BUILT_IN_ERROR";
|
|
8265
|
+
name: string;
|
|
8266
8266
|
stackTrace: string;
|
|
8267
8267
|
} | {
|
|
8268
8268
|
type: "CUSTOM_ERROR";
|
|
@@ -8271,8 +8271,8 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8271
8271
|
type: "STRING_ERROR";
|
|
8272
8272
|
raw: string;
|
|
8273
8273
|
} | {
|
|
8274
|
-
type: "INTERNAL_ERROR";
|
|
8275
8274
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
8275
|
+
type: "INTERNAL_ERROR";
|
|
8276
8276
|
message?: string | undefined;
|
|
8277
8277
|
};
|
|
8278
8278
|
id: string;
|
|
@@ -8330,18 +8330,18 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8330
8330
|
createdAt: z.ZodDate;
|
|
8331
8331
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
8332
8332
|
}, "strip", z.ZodTypeAny, {
|
|
8333
|
+
id: string;
|
|
8333
8334
|
payload: string;
|
|
8334
8335
|
payloadType: string;
|
|
8335
|
-
id: string;
|
|
8336
8336
|
tags: string[];
|
|
8337
8337
|
isTest: boolean;
|
|
8338
8338
|
createdAt: Date;
|
|
8339
8339
|
context?: any;
|
|
8340
8340
|
idempotencyKey?: string | undefined;
|
|
8341
8341
|
}, {
|
|
8342
|
+
id: string;
|
|
8342
8343
|
payload: string;
|
|
8343
8344
|
payloadType: string;
|
|
8344
|
-
id: string;
|
|
8345
8345
|
tags: string[];
|
|
8346
8346
|
createdAt: Date;
|
|
8347
8347
|
context?: any;
|
|
@@ -8408,10 +8408,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8408
8408
|
id: string;
|
|
8409
8409
|
}>>;
|
|
8410
8410
|
}, "strip", z.ZodTypeAny, {
|
|
8411
|
-
queue: {
|
|
8412
|
-
name: string;
|
|
8413
|
-
id: string;
|
|
8414
|
-
};
|
|
8415
8411
|
task: {
|
|
8416
8412
|
id: string;
|
|
8417
8413
|
filePath: string;
|
|
@@ -8426,15 +8422,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8426
8422
|
backgroundWorkerTaskId: string;
|
|
8427
8423
|
};
|
|
8428
8424
|
run: {
|
|
8425
|
+
id: string;
|
|
8429
8426
|
payload: string;
|
|
8430
8427
|
payloadType: string;
|
|
8431
|
-
id: string;
|
|
8432
8428
|
tags: string[];
|
|
8433
8429
|
isTest: boolean;
|
|
8434
8430
|
createdAt: Date;
|
|
8435
8431
|
context?: any;
|
|
8436
8432
|
idempotencyKey?: string | undefined;
|
|
8437
8433
|
};
|
|
8434
|
+
queue: {
|
|
8435
|
+
name: string;
|
|
8436
|
+
id: string;
|
|
8437
|
+
};
|
|
8438
8438
|
environment: {
|
|
8439
8439
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8440
8440
|
id: string;
|
|
@@ -8455,10 +8455,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8455
8455
|
id: string;
|
|
8456
8456
|
} | undefined;
|
|
8457
8457
|
}, {
|
|
8458
|
-
queue: {
|
|
8459
|
-
name: string;
|
|
8460
|
-
id: string;
|
|
8461
|
-
};
|
|
8462
8458
|
task: {
|
|
8463
8459
|
id: string;
|
|
8464
8460
|
filePath: string;
|
|
@@ -8473,15 +8469,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8473
8469
|
backgroundWorkerTaskId: string;
|
|
8474
8470
|
};
|
|
8475
8471
|
run: {
|
|
8472
|
+
id: string;
|
|
8476
8473
|
payload: string;
|
|
8477
8474
|
payloadType: string;
|
|
8478
|
-
id: string;
|
|
8479
8475
|
tags: string[];
|
|
8480
8476
|
createdAt: Date;
|
|
8481
8477
|
context?: any;
|
|
8482
8478
|
isTest?: boolean | undefined;
|
|
8483
8479
|
idempotencyKey?: string | undefined;
|
|
8484
8480
|
};
|
|
8481
|
+
queue: {
|
|
8482
|
+
name: string;
|
|
8483
|
+
id: string;
|
|
8484
|
+
};
|
|
8485
8485
|
environment: {
|
|
8486
8486
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8487
8487
|
id: string;
|
|
@@ -8505,10 +8505,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8505
8505
|
}, "strip", z.ZodTypeAny, {
|
|
8506
8506
|
version: "v1";
|
|
8507
8507
|
execution: {
|
|
8508
|
-
queue: {
|
|
8509
|
-
name: string;
|
|
8510
|
-
id: string;
|
|
8511
|
-
};
|
|
8512
8508
|
task: {
|
|
8513
8509
|
id: string;
|
|
8514
8510
|
filePath: string;
|
|
@@ -8523,15 +8519,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8523
8519
|
backgroundWorkerTaskId: string;
|
|
8524
8520
|
};
|
|
8525
8521
|
run: {
|
|
8522
|
+
id: string;
|
|
8526
8523
|
payload: string;
|
|
8527
8524
|
payloadType: string;
|
|
8528
|
-
id: string;
|
|
8529
8525
|
tags: string[];
|
|
8530
8526
|
isTest: boolean;
|
|
8531
8527
|
createdAt: Date;
|
|
8532
8528
|
context?: any;
|
|
8533
8529
|
idempotencyKey?: string | undefined;
|
|
8534
8530
|
};
|
|
8531
|
+
queue: {
|
|
8532
|
+
name: string;
|
|
8533
|
+
id: string;
|
|
8534
|
+
};
|
|
8535
8535
|
environment: {
|
|
8536
8536
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8537
8537
|
id: string;
|
|
@@ -8554,9 +8554,9 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8554
8554
|
};
|
|
8555
8555
|
completion: {
|
|
8556
8556
|
error: {
|
|
8557
|
-
name: string;
|
|
8558
|
-
type: "BUILT_IN_ERROR";
|
|
8559
8557
|
message: string;
|
|
8558
|
+
type: "BUILT_IN_ERROR";
|
|
8559
|
+
name: string;
|
|
8560
8560
|
stackTrace: string;
|
|
8561
8561
|
} | {
|
|
8562
8562
|
type: "CUSTOM_ERROR";
|
|
@@ -8565,8 +8565,8 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8565
8565
|
type: "STRING_ERROR";
|
|
8566
8566
|
raw: string;
|
|
8567
8567
|
} | {
|
|
8568
|
-
type: "INTERNAL_ERROR";
|
|
8569
8568
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
8569
|
+
type: "INTERNAL_ERROR";
|
|
8570
8570
|
message?: string | undefined;
|
|
8571
8571
|
};
|
|
8572
8572
|
id: string;
|
|
@@ -8585,10 +8585,6 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8585
8585
|
};
|
|
8586
8586
|
}, {
|
|
8587
8587
|
execution: {
|
|
8588
|
-
queue: {
|
|
8589
|
-
name: string;
|
|
8590
|
-
id: string;
|
|
8591
|
-
};
|
|
8592
8588
|
task: {
|
|
8593
8589
|
id: string;
|
|
8594
8590
|
filePath: string;
|
|
@@ -8603,15 +8599,19 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8603
8599
|
backgroundWorkerTaskId: string;
|
|
8604
8600
|
};
|
|
8605
8601
|
run: {
|
|
8602
|
+
id: string;
|
|
8606
8603
|
payload: string;
|
|
8607
8604
|
payloadType: string;
|
|
8608
|
-
id: string;
|
|
8609
8605
|
tags: string[];
|
|
8610
8606
|
createdAt: Date;
|
|
8611
8607
|
context?: any;
|
|
8612
8608
|
isTest?: boolean | undefined;
|
|
8613
8609
|
idempotencyKey?: string | undefined;
|
|
8614
8610
|
};
|
|
8611
|
+
queue: {
|
|
8612
|
+
name: string;
|
|
8613
|
+
id: string;
|
|
8614
|
+
};
|
|
8615
8615
|
environment: {
|
|
8616
8616
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
8617
8617
|
id: string;
|
|
@@ -8634,9 +8634,9 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8634
8634
|
};
|
|
8635
8635
|
completion: {
|
|
8636
8636
|
error: {
|
|
8637
|
-
name: string;
|
|
8638
|
-
type: "BUILT_IN_ERROR";
|
|
8639
8637
|
message: string;
|
|
8638
|
+
type: "BUILT_IN_ERROR";
|
|
8639
|
+
name: string;
|
|
8640
8640
|
stackTrace: string;
|
|
8641
8641
|
} | {
|
|
8642
8642
|
type: "CUSTOM_ERROR";
|
|
@@ -8645,8 +8645,8 @@ declare const ProdWorkerToChildMessages: {
|
|
|
8645
8645
|
type: "STRING_ERROR";
|
|
8646
8646
|
raw: string;
|
|
8647
8647
|
} | {
|
|
8648
|
-
type: "INTERNAL_ERROR";
|
|
8649
8648
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT";
|
|
8649
|
+
type: "INTERNAL_ERROR";
|
|
8650
8650
|
message?: string | undefined;
|
|
8651
8651
|
};
|
|
8652
8652
|
id: string;
|