@trigger.dev/core 0.0.0-prerelease-20240930020332 → 0.0.0-prerelease-20241003205750
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/schemas/api.d.ts +8 -8
- package/dist/commonjs/v3/apiClient/index.d.ts +78 -78
- package/dist/commonjs/v3/config.d.ts +8 -0
- package/dist/commonjs/v3/errors.js +4 -1
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +55 -36
- package/dist/commonjs/v3/schemas/api.js +3 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +14 -0
- package/dist/commonjs/v3/schemas/common.d.ts +116 -102
- package/dist/commonjs/v3/schemas/common.js +3 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +268 -120
- package/dist/commonjs/v3/schemas/resources.d.ts +8 -0
- package/dist/commonjs/v3/schemas/resources.js +1 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +25 -0
- package/dist/commonjs/v3/schemas/schemas.js +1 -0
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.d.ts +11 -0
- package/dist/commonjs/v3/timeout/api.js +38 -0
- package/dist/commonjs/v3/timeout/api.js.map +1 -0
- package/dist/commonjs/v3/timeout/types.d.ts +9 -0
- package/dist/commonjs/v3/timeout/types.js +15 -0
- package/dist/commonjs/v3/timeout/types.js.map +1 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +32 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/commonjs/v3/timeout-api.d.ts +3 -0
- package/dist/commonjs/v3/timeout-api.js +9 -0
- package/dist/commonjs/v3/timeout-api.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +1 -1
- package/dist/commonjs/v3/tracer.js +28 -14
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/index.d.ts +10 -0
- package/dist/commonjs/v3/utils/globals.d.ts +2 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +41 -35
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +8 -8
- package/dist/esm/v3/apiClient/index.d.ts +78 -78
- package/dist/esm/v3/config.d.ts +8 -0
- package/dist/esm/v3/errors.js +4 -1
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +55 -36
- package/dist/esm/v3/schemas/api.js +3 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +14 -0
- package/dist/esm/v3/schemas/common.d.ts +116 -102
- package/dist/esm/v3/schemas/common.js +3 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +268 -120
- package/dist/esm/v3/schemas/resources.d.ts +8 -0
- package/dist/esm/v3/schemas/resources.js +1 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +25 -0
- package/dist/esm/v3/schemas/schemas.js +1 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/timeout/api.d.ts +11 -0
- package/dist/esm/v3/timeout/api.js +34 -0
- package/dist/esm/v3/timeout/api.js.map +1 -0
- package/dist/esm/v3/timeout/types.d.ts +9 -0
- package/dist/esm/v3/timeout/types.js +11 -0
- package/dist/esm/v3/timeout/types.js.map +1 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js +28 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/esm/v3/timeout-api.d.ts +3 -0
- package/dist/esm/v3/timeout-api.js +6 -0
- package/dist/esm/v3/timeout-api.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +1 -1
- package/dist/esm/v3/tracer.js +28 -14
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/index.d.ts +10 -0
- package/dist/esm/v3/utils/globals.d.ts +2 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +41 -35
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -874,6 +874,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
874
874
|
cron: string;
|
|
875
875
|
timezone: string;
|
|
876
876
|
}>>;
|
|
877
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
877
878
|
}, "strip", z.ZodTypeAny, {
|
|
878
879
|
id: string;
|
|
879
880
|
filePath: string;
|
|
@@ -933,6 +934,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
933
934
|
cron: string;
|
|
934
935
|
timezone: string;
|
|
935
936
|
} | undefined;
|
|
937
|
+
maxDuration?: number | undefined;
|
|
936
938
|
}, {
|
|
937
939
|
id: string;
|
|
938
940
|
filePath: string;
|
|
@@ -992,6 +994,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
992
994
|
cron: string;
|
|
993
995
|
timezone: string;
|
|
994
996
|
} | undefined;
|
|
997
|
+
maxDuration?: number | undefined;
|
|
995
998
|
}>, "many">;
|
|
996
999
|
workerEntryPoint: z.ZodString;
|
|
997
1000
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -1068,6 +1071,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1068
1071
|
cron: string;
|
|
1069
1072
|
timezone: string;
|
|
1070
1073
|
} | undefined;
|
|
1074
|
+
maxDuration?: number | undefined;
|
|
1071
1075
|
}[];
|
|
1072
1076
|
runtime: "node" | "bun";
|
|
1073
1077
|
configPath: string;
|
|
@@ -1139,6 +1143,7 @@ export declare const WorkerManifest: z.ZodObject<{
|
|
|
1139
1143
|
cron: string;
|
|
1140
1144
|
timezone: string;
|
|
1141
1145
|
} | undefined;
|
|
1146
|
+
maxDuration?: number | undefined;
|
|
1142
1147
|
}[];
|
|
1143
1148
|
runtime: "node" | "bun";
|
|
1144
1149
|
configPath: string;
|
|
@@ -1390,6 +1395,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1390
1395
|
cron: string;
|
|
1391
1396
|
timezone: string;
|
|
1392
1397
|
}>>;
|
|
1398
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1393
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1394
1400
|
id: string;
|
|
1395
1401
|
filePath: string;
|
|
@@ -1449,6 +1455,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1449
1455
|
cron: string;
|
|
1450
1456
|
timezone: string;
|
|
1451
1457
|
} | undefined;
|
|
1458
|
+
maxDuration?: number | undefined;
|
|
1452
1459
|
}, {
|
|
1453
1460
|
id: string;
|
|
1454
1461
|
filePath: string;
|
|
@@ -1508,6 +1515,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1508
1515
|
cron: string;
|
|
1509
1516
|
timezone: string;
|
|
1510
1517
|
} | undefined;
|
|
1518
|
+
maxDuration?: number | undefined;
|
|
1511
1519
|
}>, "many">;
|
|
1512
1520
|
workerEntryPoint: z.ZodString;
|
|
1513
1521
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -1584,6 +1592,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1584
1592
|
cron: string;
|
|
1585
1593
|
timezone: string;
|
|
1586
1594
|
} | undefined;
|
|
1595
|
+
maxDuration?: number | undefined;
|
|
1587
1596
|
}[];
|
|
1588
1597
|
runtime: "node" | "bun";
|
|
1589
1598
|
configPath: string;
|
|
@@ -1655,6 +1664,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1655
1664
|
cron: string;
|
|
1656
1665
|
timezone: string;
|
|
1657
1666
|
} | undefined;
|
|
1667
|
+
maxDuration?: number | undefined;
|
|
1658
1668
|
}[];
|
|
1659
1669
|
runtime: "node" | "bun";
|
|
1660
1670
|
configPath: string;
|
|
@@ -1728,6 +1738,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1728
1738
|
cron: string;
|
|
1729
1739
|
timezone: string;
|
|
1730
1740
|
} | undefined;
|
|
1741
|
+
maxDuration?: number | undefined;
|
|
1731
1742
|
}[];
|
|
1732
1743
|
runtime: "node" | "bun";
|
|
1733
1744
|
configPath: string;
|
|
@@ -1801,6 +1812,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1801
1812
|
cron: string;
|
|
1802
1813
|
timezone: string;
|
|
1803
1814
|
} | undefined;
|
|
1815
|
+
maxDuration?: number | undefined;
|
|
1804
1816
|
}[];
|
|
1805
1817
|
runtime: "node" | "bun";
|
|
1806
1818
|
configPath: string;
|
|
@@ -1877,6 +1889,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1877
1889
|
cron: string;
|
|
1878
1890
|
timezone: string;
|
|
1879
1891
|
} | undefined;
|
|
1892
|
+
maxDuration?: number | undefined;
|
|
1880
1893
|
}[];
|
|
1881
1894
|
runtime: "node" | "bun";
|
|
1882
1895
|
configPath: string;
|
|
@@ -1953,6 +1966,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
|
|
|
1953
1966
|
cron: string;
|
|
1954
1967
|
timezone: string;
|
|
1955
1968
|
} | undefined;
|
|
1969
|
+
maxDuration?: number | undefined;
|
|
1956
1970
|
}[];
|
|
1957
1971
|
runtime: "node" | "bun";
|
|
1958
1972
|
configPath: string;
|