@trigger.dev/core 0.0.0-prerelease-20240926084729 → 0.0.0-prerelease-20240930020332
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/v3/apiClient/index.d.ts +44 -44
- package/dist/commonjs/v3/runMetadata/index.d.ts +2 -1
- package/dist/commonjs/v3/runMetadata/index.js +9 -2
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +230 -230
- package/dist/commonjs/v3/schemas/build.d.ts +52 -52
- package/dist/commonjs/v3/schemas/messages.d.ts +2103 -2103
- package/dist/commonjs/v3/schemas/resources.d.ts +28 -28
- package/dist/commonjs/v3/schemas/schemas.d.ts +257 -257
- package/dist/commonjs/v3/utils/globals.d.ts +2 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +44 -44
- package/dist/esm/v3/runMetadata/index.d.ts +2 -1
- package/dist/esm/v3/runMetadata/index.js +9 -2
- package/dist/esm/v3/runMetadata/index.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +230 -230
- package/dist/esm/v3/schemas/build.d.ts +52 -52
- package/dist/esm/v3/schemas/messages.d.ts +2067 -2067
- package/dist/esm/v3/schemas/resources.d.ts +28 -28
- package/dist/esm/v3/schemas/schemas.d.ts +257 -257
- package/dist/esm/v3/utils/globals.d.ts +2 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -120,10 +120,10 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
120
120
|
exclude?: string[] | undefined;
|
|
121
121
|
}>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
environment: string;
|
|
124
|
-
contentHash: string;
|
|
125
123
|
packageVersion: string;
|
|
124
|
+
contentHash: string;
|
|
126
125
|
cliPackageVersion: string;
|
|
126
|
+
environment: string;
|
|
127
127
|
deploy: {
|
|
128
128
|
env?: Record<string, string> | undefined;
|
|
129
129
|
sync?: {
|
|
@@ -169,10 +169,10 @@ export declare const BuildManifest: z.ZodObject<{
|
|
|
169
169
|
exclude?: string[] | undefined;
|
|
170
170
|
} | undefined;
|
|
171
171
|
}, {
|
|
172
|
-
environment: string;
|
|
173
|
-
contentHash: string;
|
|
174
172
|
packageVersion: string;
|
|
173
|
+
contentHash: string;
|
|
175
174
|
cliPackageVersion: string;
|
|
175
|
+
environment: string;
|
|
176
176
|
deploy: {
|
|
177
177
|
env?: Record<string, string> | undefined;
|
|
178
178
|
sync?: {
|
|
@@ -328,10 +328,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
328
328
|
exclude?: string[] | undefined;
|
|
329
329
|
}>>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
environment: string;
|
|
332
|
-
contentHash: string;
|
|
333
331
|
packageVersion: string;
|
|
332
|
+
contentHash: string;
|
|
334
333
|
cliPackageVersion: string;
|
|
334
|
+
environment: string;
|
|
335
335
|
deploy: {
|
|
336
336
|
env?: Record<string, string> | undefined;
|
|
337
337
|
sync?: {
|
|
@@ -377,10 +377,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
377
377
|
exclude?: string[] | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
|
-
environment: string;
|
|
381
|
-
contentHash: string;
|
|
382
380
|
packageVersion: string;
|
|
381
|
+
contentHash: string;
|
|
383
382
|
cliPackageVersion: string;
|
|
383
|
+
environment: string;
|
|
384
384
|
deploy: {
|
|
385
385
|
env?: Record<string, string> | undefined;
|
|
386
386
|
sync?: {
|
|
@@ -428,10 +428,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
428
428
|
}>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
build: {
|
|
431
|
-
environment: string;
|
|
432
|
-
contentHash: string;
|
|
433
431
|
packageVersion: string;
|
|
432
|
+
contentHash: string;
|
|
434
433
|
cliPackageVersion: string;
|
|
434
|
+
environment: string;
|
|
435
435
|
deploy: {
|
|
436
436
|
env?: Record<string, string> | undefined;
|
|
437
437
|
sync?: {
|
|
@@ -479,10 +479,10 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
479
479
|
};
|
|
480
480
|
}, {
|
|
481
481
|
build: {
|
|
482
|
-
environment: string;
|
|
483
|
-
contentHash: string;
|
|
484
482
|
packageVersion: string;
|
|
483
|
+
contentHash: string;
|
|
485
484
|
cliPackageVersion: string;
|
|
485
|
+
environment: string;
|
|
486
486
|
deploy: {
|
|
487
487
|
env?: Record<string, string> | undefined;
|
|
488
488
|
sync?: {
|
|
@@ -530,12 +530,13 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
530
530
|
};
|
|
531
531
|
}>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
+
type: "index";
|
|
533
534
|
data: {
|
|
534
535
|
build: {
|
|
535
|
-
environment: string;
|
|
536
|
-
contentHash: string;
|
|
537
536
|
packageVersion: string;
|
|
537
|
+
contentHash: string;
|
|
538
538
|
cliPackageVersion: string;
|
|
539
|
+
environment: string;
|
|
539
540
|
deploy: {
|
|
540
541
|
env?: Record<string, string> | undefined;
|
|
541
542
|
sync?: {
|
|
@@ -582,14 +583,14 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
582
583
|
} | undefined;
|
|
583
584
|
};
|
|
584
585
|
};
|
|
585
|
-
type: "index";
|
|
586
586
|
}, {
|
|
587
|
+
type: "index";
|
|
587
588
|
data: {
|
|
588
589
|
build: {
|
|
589
|
-
environment: string;
|
|
590
|
-
contentHash: string;
|
|
591
590
|
packageVersion: string;
|
|
591
|
+
contentHash: string;
|
|
592
592
|
cliPackageVersion: string;
|
|
593
|
+
environment: string;
|
|
593
594
|
deploy: {
|
|
594
595
|
env?: Record<string, string> | undefined;
|
|
595
596
|
sync?: {
|
|
@@ -636,7 +637,6 @@ export declare const IndexMessage: z.ZodObject<{
|
|
|
636
637
|
} | undefined;
|
|
637
638
|
};
|
|
638
639
|
};
|
|
639
|
-
type: "index";
|
|
640
640
|
}>;
|
|
641
641
|
export type IndexMessage = z.infer<typeof IndexMessage>;
|
|
642
642
|
export declare const WorkerManifest: z.ZodObject<{
|
|
@@ -855,12 +855,12 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
855
855
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
856
856
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
|
858
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
859
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
858
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
859
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
860
860
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
861
861
|
}, {
|
|
862
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
863
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
862
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
863
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
864
864
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
865
865
|
}>>;
|
|
866
866
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -924,8 +924,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
924
924
|
randomize?: boolean | undefined;
|
|
925
925
|
} | undefined;
|
|
926
926
|
machine?: {
|
|
927
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
928
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
927
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
928
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
929
929
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
930
930
|
} | undefined;
|
|
931
931
|
triggerSource?: string | undefined;
|
|
@@ -983,8 +983,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
983
983
|
randomize?: boolean | undefined;
|
|
984
984
|
} | undefined;
|
|
985
985
|
machine?: {
|
|
986
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
987
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
986
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
987
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
988
988
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
989
989
|
} | undefined;
|
|
990
990
|
triggerSource?: string | undefined;
|
|
@@ -1059,8 +1059,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1059
1059
|
randomize?: boolean | undefined;
|
|
1060
1060
|
} | undefined;
|
|
1061
1061
|
machine?: {
|
|
1062
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1063
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1062
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1063
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1064
1064
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1065
1065
|
} | undefined;
|
|
1066
1066
|
triggerSource?: string | undefined;
|
|
@@ -1130,8 +1130,8 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1130
1130
|
randomize?: boolean | undefined;
|
|
1131
1131
|
} | undefined;
|
|
1132
1132
|
machine?: {
|
|
1133
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1134
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1133
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1134
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1135
1135
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1136
1136
|
} | undefined;
|
|
1137
1137
|
triggerSource?: string | undefined;
|
|
@@ -1371,12 +1371,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1371
1371
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
1372
1372
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1373
1373
|
}, "strip", z.ZodTypeAny, {
|
|
1374
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1375
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1374
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1375
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1376
1376
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1377
1377
|
}, {
|
|
1378
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1379
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1378
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1379
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1380
1380
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1381
1381
|
}>>;
|
|
1382
1382
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1440,8 +1440,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1440
1440
|
randomize?: boolean | undefined;
|
|
1441
1441
|
} | undefined;
|
|
1442
1442
|
machine?: {
|
|
1443
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1444
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1443
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1444
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1445
1445
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1446
1446
|
} | undefined;
|
|
1447
1447
|
triggerSource?: string | undefined;
|
|
@@ -1499,8 +1499,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1499
1499
|
randomize?: boolean | undefined;
|
|
1500
1500
|
} | undefined;
|
|
1501
1501
|
machine?: {
|
|
1502
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1503
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1502
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1503
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1504
1504
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1505
1505
|
} | undefined;
|
|
1506
1506
|
triggerSource?: string | undefined;
|
|
@@ -1575,8 +1575,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1575
1575
|
randomize?: boolean | undefined;
|
|
1576
1576
|
} | undefined;
|
|
1577
1577
|
machine?: {
|
|
1578
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1579
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1578
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1579
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1580
1580
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1581
1581
|
} | undefined;
|
|
1582
1582
|
triggerSource?: string | undefined;
|
|
@@ -1646,8 +1646,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1646
1646
|
randomize?: boolean | undefined;
|
|
1647
1647
|
} | undefined;
|
|
1648
1648
|
machine?: {
|
|
1649
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1650
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1649
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1650
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1651
1651
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1652
1652
|
} | undefined;
|
|
1653
1653
|
triggerSource?: string | undefined;
|
|
@@ -1719,8 +1719,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1719
1719
|
randomize?: boolean | undefined;
|
|
1720
1720
|
} | undefined;
|
|
1721
1721
|
machine?: {
|
|
1722
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1723
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1722
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1723
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1724
1724
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1725
1725
|
} | undefined;
|
|
1726
1726
|
triggerSource?: string | undefined;
|
|
@@ -1792,8 +1792,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1792
1792
|
randomize?: boolean | undefined;
|
|
1793
1793
|
} | undefined;
|
|
1794
1794
|
machine?: {
|
|
1795
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1796
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1795
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1796
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1797
1797
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1798
1798
|
} | undefined;
|
|
1799
1799
|
triggerSource?: string | undefined;
|
|
@@ -1815,6 +1815,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1815
1815
|
};
|
|
1816
1816
|
}>;
|
|
1817
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
+
type: "worker-manifest";
|
|
1818
1819
|
data: {
|
|
1819
1820
|
manifest: {
|
|
1820
1821
|
tasks: {
|
|
@@ -1867,8 +1868,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1867
1868
|
randomize?: boolean | undefined;
|
|
1868
1869
|
} | undefined;
|
|
1869
1870
|
machine?: {
|
|
1870
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1871
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1871
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1872
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1872
1873
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1873
1874
|
} | undefined;
|
|
1874
1875
|
triggerSource?: string | undefined;
|
|
@@ -1889,8 +1890,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1889
1890
|
} | undefined;
|
|
1890
1891
|
};
|
|
1891
1892
|
};
|
|
1892
|
-
type: "worker-manifest";
|
|
1893
1893
|
}, {
|
|
1894
|
+
type: "worker-manifest";
|
|
1894
1895
|
data: {
|
|
1895
1896
|
manifest: {
|
|
1896
1897
|
tasks: {
|
|
@@ -1943,8 +1944,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1943
1944
|
randomize?: boolean | undefined;
|
|
1944
1945
|
} | undefined;
|
|
1945
1946
|
machine?: {
|
|
1946
|
-
cpu?: 2 | 1 | 0.25 | 0.5 |
|
|
1947
|
-
memory?: 2 | 1 | 0.25 | 0.5 |
|
|
1947
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1948
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1948
1949
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1949
1950
|
} | undefined;
|
|
1950
1951
|
triggerSource?: string | undefined;
|
|
@@ -1965,7 +1966,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1965
1966
|
} | undefined;
|
|
1966
1967
|
};
|
|
1967
1968
|
};
|
|
1968
|
-
type: "worker-manifest";
|
|
1969
1969
|
}>;
|
|
1970
1970
|
export type WorkerManifestMessage = z.infer<typeof WorkerManifestMessage>;
|
|
1971
1971
|
export declare const ImportError: z.ZodObject<{
|