@trigger.dev/core 0.0.0-prerelease-20241219214230 → 0.0.0-prerelease-20250116155306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/schemas/api.d.ts +2137 -2137
- package/dist/commonjs/schemas/events.d.ts +8 -8
- package/dist/commonjs/schemas/fetch.d.ts +54 -54
- package/dist/commonjs/schemas/integrations.d.ts +4 -4
- package/dist/commonjs/schemas/notifications.d.ts +80 -80
- package/dist/commonjs/schemas/properties.d.ts +4 -4
- package/dist/commonjs/schemas/request.d.ts +4 -4
- package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
- package/dist/commonjs/schemas/runs.d.ts +39 -39
- package/dist/commonjs/schemas/schedules.d.ts +12 -12
- package/dist/commonjs/schemas/statuses.d.ts +24 -24
- package/dist/commonjs/schemas/tasks.d.ts +54 -54
- package/dist/commonjs/schemas/triggers.d.ts +36 -36
- package/dist/commonjs/v3/apiClient/index.d.ts +122 -115
- package/dist/commonjs/v3/apiClient/index.js +12 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +3 -17
- package/dist/commonjs/v3/apiClient/runStream.js +71 -47
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
- package/dist/commonjs/v3/apiClient/stream.js +3 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +72 -0
- package/dist/commonjs/v3/errors.d.ts +14 -1
- package/dist/commonjs/v3/errors.js +35 -1
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/manager.d.ts +3 -3
- package/dist/commonjs/v3/runMetadata/manager.js +1 -7
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/index.d.ts +4 -0
- package/dist/commonjs/v3/runtime/index.js +4 -0
- package/dist/commonjs/v3/runtime/index.js.map +1 -1
- package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +656 -632
- package/dist/commonjs/v3/schemas/api.js +17 -7
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +176 -176
- package/dist/commonjs/v3/schemas/common.d.ts +166 -165
- package/dist/commonjs/v3/schemas/common.js +1 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2228 -2228
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/commonjs/v3/schemas/resources.d.ts +46 -46
- package/dist/commonjs/v3/schemas/schemas.d.ts +173 -173
- package/dist/commonjs/v3/schemas/style.d.ts +10 -10
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +8 -4
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +2137 -2137
- package/dist/esm/schemas/events.d.ts +8 -8
- package/dist/esm/schemas/fetch.d.ts +54 -54
- package/dist/esm/schemas/integrations.d.ts +4 -4
- package/dist/esm/schemas/notifications.d.ts +80 -80
- package/dist/esm/schemas/properties.d.ts +4 -4
- package/dist/esm/schemas/request.d.ts +4 -4
- package/dist/esm/schemas/requestFilter.d.ts +2 -2
- package/dist/esm/schemas/runs.d.ts +39 -39
- package/dist/esm/schemas/schedules.d.ts +12 -12
- package/dist/esm/schemas/statuses.d.ts +24 -24
- package/dist/esm/schemas/tasks.d.ts +54 -54
- package/dist/esm/schemas/triggers.d.ts +36 -36
- package/dist/esm/v3/apiClient/index.d.ts +135 -128
- package/dist/esm/v3/apiClient/index.js +13 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +3 -17
- package/dist/esm/v3/apiClient/runStream.js +70 -44
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.d.ts +1 -0
- package/dist/esm/v3/apiClient/stream.js +3 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +72 -0
- package/dist/esm/v3/errors.d.ts +14 -1
- package/dist/esm/v3/errors.js +33 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/esm/v3/otel/tracingSDK.js +51 -0
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/runMetadata/manager.d.ts +3 -3
- package/dist/esm/v3/runMetadata/manager.js +1 -7
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/esm/v3/runtime/index.d.ts +4 -0
- package/dist/esm/v3/runtime/index.js +4 -0
- package/dist/esm/v3/runtime/index.js.map +1 -1
- package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js +25 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +731 -707
- package/dist/esm/v3/schemas/api.js +18 -8
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +188 -188
- package/dist/esm/v3/schemas/common.d.ts +166 -165
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +10 -10
- package/dist/esm/v3/schemas/messages.d.ts +2770 -2770
- package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/esm/v3/schemas/resources.d.ts +52 -52
- package/dist/esm/v3/schemas/schemas.d.ts +244 -244
- package/dist/esm/v3/schemas/style.d.ts +10 -10
- package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +8 -4
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +6 -3
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -10,12 +10,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
10
10
|
exportName: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
|
-
filePath: string;
|
|
14
13
|
exportName: string;
|
|
14
|
+
filePath: string;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
|
-
filePath: string;
|
|
18
17
|
exportName: string;
|
|
18
|
+
filePath: string;
|
|
19
19
|
}>;
|
|
20
20
|
attempt: z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
@@ -58,38 +58,38 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
58
58
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
id: string;
|
|
61
|
+
startedAt: Date;
|
|
61
62
|
payload: string;
|
|
62
63
|
payloadType: string;
|
|
63
64
|
tags: string[];
|
|
64
65
|
isTest: boolean;
|
|
65
66
|
createdAt: Date;
|
|
66
|
-
|
|
67
|
+
durationMs: number;
|
|
67
68
|
costInCents: number;
|
|
68
69
|
baseCostInCents: number;
|
|
69
|
-
durationMs: number;
|
|
70
|
-
context?: any;
|
|
71
|
-
idempotencyKey?: string | undefined;
|
|
72
70
|
maxAttempts?: number | undefined;
|
|
73
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
74
71
|
maxDuration?: number | undefined;
|
|
75
72
|
version?: string | undefined;
|
|
73
|
+
context?: any;
|
|
74
|
+
idempotencyKey?: string | undefined;
|
|
75
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
78
|
payload: string;
|
|
79
79
|
payloadType: string;
|
|
80
80
|
tags: string[];
|
|
81
81
|
createdAt: Date;
|
|
82
|
-
context?: any;
|
|
83
|
-
idempotencyKey?: string | undefined;
|
|
84
82
|
maxAttempts?: number | undefined;
|
|
85
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
86
83
|
maxDuration?: number | undefined;
|
|
87
84
|
version?: string | undefined;
|
|
88
|
-
isTest?: boolean | undefined;
|
|
89
85
|
startedAt?: Date | undefined;
|
|
86
|
+
context?: any;
|
|
87
|
+
isTest?: boolean | undefined;
|
|
88
|
+
idempotencyKey?: string | undefined;
|
|
89
|
+
durationMs?: number | undefined;
|
|
90
90
|
costInCents?: number | undefined;
|
|
91
91
|
baseCostInCents?: number | undefined;
|
|
92
|
-
|
|
92
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
93
93
|
}>;
|
|
94
94
|
queue: z.ZodObject<{
|
|
95
95
|
id: z.ZodString;
|
|
@@ -173,8 +173,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
173
173
|
};
|
|
174
174
|
task: {
|
|
175
175
|
id: string;
|
|
176
|
-
filePath: string;
|
|
177
176
|
exportName: string;
|
|
177
|
+
filePath: string;
|
|
178
178
|
};
|
|
179
179
|
attempt: {
|
|
180
180
|
number: number;
|
|
@@ -186,21 +186,21 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
186
186
|
};
|
|
187
187
|
run: {
|
|
188
188
|
id: string;
|
|
189
|
+
startedAt: Date;
|
|
189
190
|
payload: string;
|
|
190
191
|
payloadType: string;
|
|
191
192
|
tags: string[];
|
|
192
193
|
isTest: boolean;
|
|
193
194
|
createdAt: Date;
|
|
194
|
-
|
|
195
|
+
durationMs: number;
|
|
195
196
|
costInCents: number;
|
|
196
197
|
baseCostInCents: number;
|
|
197
|
-
durationMs: number;
|
|
198
|
-
context?: any;
|
|
199
|
-
idempotencyKey?: string | undefined;
|
|
200
198
|
maxAttempts?: number | undefined;
|
|
201
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
202
199
|
maxDuration?: number | undefined;
|
|
203
200
|
version?: string | undefined;
|
|
201
|
+
context?: any;
|
|
202
|
+
idempotencyKey?: string | undefined;
|
|
203
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
204
204
|
};
|
|
205
205
|
environment: {
|
|
206
206
|
id: string;
|
|
@@ -218,15 +218,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
218
218
|
slug: string;
|
|
219
219
|
ref: string;
|
|
220
220
|
};
|
|
221
|
-
batch?: {
|
|
222
|
-
id: string;
|
|
223
|
-
} | undefined;
|
|
224
221
|
machine?: {
|
|
225
222
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
226
223
|
cpu: number;
|
|
227
224
|
memory: number;
|
|
228
225
|
centsPerMs: number;
|
|
229
226
|
} | undefined;
|
|
227
|
+
batch?: {
|
|
228
|
+
id: string;
|
|
229
|
+
} | undefined;
|
|
230
230
|
}, {
|
|
231
231
|
queue: {
|
|
232
232
|
id: string;
|
|
@@ -234,8 +234,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
234
234
|
};
|
|
235
235
|
task: {
|
|
236
236
|
id: string;
|
|
237
|
-
filePath: string;
|
|
238
237
|
exportName: string;
|
|
238
|
+
filePath: string;
|
|
239
239
|
};
|
|
240
240
|
attempt: {
|
|
241
241
|
number: number;
|
|
@@ -251,17 +251,17 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
251
251
|
payloadType: string;
|
|
252
252
|
tags: string[];
|
|
253
253
|
createdAt: Date;
|
|
254
|
-
context?: any;
|
|
255
|
-
idempotencyKey?: string | undefined;
|
|
256
254
|
maxAttempts?: number | undefined;
|
|
257
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
258
255
|
maxDuration?: number | undefined;
|
|
259
256
|
version?: string | undefined;
|
|
260
|
-
isTest?: boolean | undefined;
|
|
261
257
|
startedAt?: Date | undefined;
|
|
258
|
+
context?: any;
|
|
259
|
+
isTest?: boolean | undefined;
|
|
260
|
+
idempotencyKey?: string | undefined;
|
|
261
|
+
durationMs?: number | undefined;
|
|
262
262
|
costInCents?: number | undefined;
|
|
263
263
|
baseCostInCents?: number | undefined;
|
|
264
|
-
|
|
264
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
265
265
|
};
|
|
266
266
|
environment: {
|
|
267
267
|
id: string;
|
|
@@ -279,15 +279,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
279
279
|
slug: string;
|
|
280
280
|
ref: string;
|
|
281
281
|
};
|
|
282
|
-
batch?: {
|
|
283
|
-
id: string;
|
|
284
|
-
} | undefined;
|
|
285
282
|
machine?: {
|
|
286
283
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
287
284
|
cpu: number;
|
|
288
285
|
memory: number;
|
|
289
286
|
centsPerMs: number;
|
|
290
287
|
} | undefined;
|
|
288
|
+
batch?: {
|
|
289
|
+
id: string;
|
|
290
|
+
} | undefined;
|
|
291
291
|
}>;
|
|
292
292
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
293
293
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -299,8 +299,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
299
299
|
};
|
|
300
300
|
task: {
|
|
301
301
|
id: string;
|
|
302
|
-
filePath: string;
|
|
303
302
|
exportName: string;
|
|
303
|
+
filePath: string;
|
|
304
304
|
};
|
|
305
305
|
attempt: {
|
|
306
306
|
number: number;
|
|
@@ -312,21 +312,21 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
312
312
|
};
|
|
313
313
|
run: {
|
|
314
314
|
id: string;
|
|
315
|
+
startedAt: Date;
|
|
315
316
|
payload: string;
|
|
316
317
|
payloadType: string;
|
|
317
318
|
tags: string[];
|
|
318
319
|
isTest: boolean;
|
|
319
320
|
createdAt: Date;
|
|
320
|
-
|
|
321
|
+
durationMs: number;
|
|
321
322
|
costInCents: number;
|
|
322
323
|
baseCostInCents: number;
|
|
323
|
-
durationMs: number;
|
|
324
|
-
context?: any;
|
|
325
|
-
idempotencyKey?: string | undefined;
|
|
326
324
|
maxAttempts?: number | undefined;
|
|
327
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
328
325
|
maxDuration?: number | undefined;
|
|
329
326
|
version?: string | undefined;
|
|
327
|
+
context?: any;
|
|
328
|
+
idempotencyKey?: string | undefined;
|
|
329
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
330
330
|
};
|
|
331
331
|
environment: {
|
|
332
332
|
id: string;
|
|
@@ -344,15 +344,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
344
344
|
slug: string;
|
|
345
345
|
ref: string;
|
|
346
346
|
};
|
|
347
|
-
batch?: {
|
|
348
|
-
id: string;
|
|
349
|
-
} | undefined;
|
|
350
347
|
machine?: {
|
|
351
348
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
352
349
|
cpu: number;
|
|
353
350
|
memory: number;
|
|
354
351
|
centsPerMs: number;
|
|
355
352
|
} | undefined;
|
|
353
|
+
batch?: {
|
|
354
|
+
id: string;
|
|
355
|
+
} | undefined;
|
|
356
356
|
};
|
|
357
357
|
traceContext: Record<string, unknown>;
|
|
358
358
|
environment?: Record<string, string> | undefined;
|
|
@@ -364,8 +364,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
364
364
|
};
|
|
365
365
|
task: {
|
|
366
366
|
id: string;
|
|
367
|
-
filePath: string;
|
|
368
367
|
exportName: string;
|
|
368
|
+
filePath: string;
|
|
369
369
|
};
|
|
370
370
|
attempt: {
|
|
371
371
|
number: number;
|
|
@@ -381,17 +381,17 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
381
381
|
payloadType: string;
|
|
382
382
|
tags: string[];
|
|
383
383
|
createdAt: Date;
|
|
384
|
-
context?: any;
|
|
385
|
-
idempotencyKey?: string | undefined;
|
|
386
384
|
maxAttempts?: number | undefined;
|
|
387
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
388
385
|
maxDuration?: number | undefined;
|
|
389
386
|
version?: string | undefined;
|
|
390
|
-
isTest?: boolean | undefined;
|
|
391
387
|
startedAt?: Date | undefined;
|
|
388
|
+
context?: any;
|
|
389
|
+
isTest?: boolean | undefined;
|
|
390
|
+
idempotencyKey?: string | undefined;
|
|
391
|
+
durationMs?: number | undefined;
|
|
392
392
|
costInCents?: number | undefined;
|
|
393
393
|
baseCostInCents?: number | undefined;
|
|
394
|
-
|
|
394
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
395
395
|
};
|
|
396
396
|
environment: {
|
|
397
397
|
id: string;
|
|
@@ -409,15 +409,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
409
409
|
slug: string;
|
|
410
410
|
ref: string;
|
|
411
411
|
};
|
|
412
|
-
batch?: {
|
|
413
|
-
id: string;
|
|
414
|
-
} | undefined;
|
|
415
412
|
machine?: {
|
|
416
413
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
417
414
|
cpu: number;
|
|
418
415
|
memory: number;
|
|
419
416
|
centsPerMs: number;
|
|
420
417
|
} | undefined;
|
|
418
|
+
batch?: {
|
|
419
|
+
id: string;
|
|
420
|
+
} | undefined;
|
|
421
421
|
};
|
|
422
422
|
traceContext: Record<string, unknown>;
|
|
423
423
|
environment?: Record<string, string> | undefined;
|
|
@@ -430,12 +430,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
430
430
|
exportName: z.ZodString;
|
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
|
432
432
|
id: string;
|
|
433
|
-
filePath: string;
|
|
434
433
|
exportName: string;
|
|
434
|
+
filePath: string;
|
|
435
435
|
}, {
|
|
436
436
|
id: string;
|
|
437
|
-
filePath: string;
|
|
438
437
|
exportName: string;
|
|
438
|
+
filePath: string;
|
|
439
439
|
}>;
|
|
440
440
|
attempt: z.ZodObject<{
|
|
441
441
|
id: z.ZodString;
|
|
@@ -478,38 +478,38 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
478
478
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
480
|
id: string;
|
|
481
|
+
startedAt: Date;
|
|
481
482
|
payload: string;
|
|
482
483
|
payloadType: string;
|
|
483
484
|
tags: string[];
|
|
484
485
|
isTest: boolean;
|
|
485
486
|
createdAt: Date;
|
|
486
|
-
|
|
487
|
+
durationMs: number;
|
|
487
488
|
costInCents: number;
|
|
488
489
|
baseCostInCents: number;
|
|
489
|
-
durationMs: number;
|
|
490
|
-
context?: any;
|
|
491
|
-
idempotencyKey?: string | undefined;
|
|
492
490
|
maxAttempts?: number | undefined;
|
|
493
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
494
491
|
maxDuration?: number | undefined;
|
|
495
492
|
version?: string | undefined;
|
|
493
|
+
context?: any;
|
|
494
|
+
idempotencyKey?: string | undefined;
|
|
495
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
496
496
|
}, {
|
|
497
497
|
id: string;
|
|
498
498
|
payload: string;
|
|
499
499
|
payloadType: string;
|
|
500
500
|
tags: string[];
|
|
501
501
|
createdAt: Date;
|
|
502
|
-
context?: any;
|
|
503
|
-
idempotencyKey?: string | undefined;
|
|
504
502
|
maxAttempts?: number | undefined;
|
|
505
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
506
503
|
maxDuration?: number | undefined;
|
|
507
504
|
version?: string | undefined;
|
|
508
|
-
isTest?: boolean | undefined;
|
|
509
505
|
startedAt?: Date | undefined;
|
|
506
|
+
context?: any;
|
|
507
|
+
isTest?: boolean | undefined;
|
|
508
|
+
idempotencyKey?: string | undefined;
|
|
509
|
+
durationMs?: number | undefined;
|
|
510
510
|
costInCents?: number | undefined;
|
|
511
511
|
baseCostInCents?: number | undefined;
|
|
512
|
-
|
|
512
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
513
513
|
}>;
|
|
514
514
|
queue: z.ZodObject<{
|
|
515
515
|
id: z.ZodString;
|
|
@@ -621,10 +621,16 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
621
621
|
id: string;
|
|
622
622
|
name: string;
|
|
623
623
|
};
|
|
624
|
+
machine: {
|
|
625
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
626
|
+
cpu: number;
|
|
627
|
+
memory: number;
|
|
628
|
+
centsPerMs: number;
|
|
629
|
+
};
|
|
624
630
|
task: {
|
|
625
631
|
id: string;
|
|
626
|
-
filePath: string;
|
|
627
632
|
exportName: string;
|
|
633
|
+
filePath: string;
|
|
628
634
|
};
|
|
629
635
|
attempt: {
|
|
630
636
|
number: number;
|
|
@@ -636,21 +642,21 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
636
642
|
};
|
|
637
643
|
run: {
|
|
638
644
|
id: string;
|
|
645
|
+
startedAt: Date;
|
|
639
646
|
payload: string;
|
|
640
647
|
payloadType: string;
|
|
641
648
|
tags: string[];
|
|
642
649
|
isTest: boolean;
|
|
643
650
|
createdAt: Date;
|
|
644
|
-
|
|
651
|
+
durationMs: number;
|
|
645
652
|
costInCents: number;
|
|
646
653
|
baseCostInCents: number;
|
|
647
|
-
durationMs: number;
|
|
648
|
-
context?: any;
|
|
649
|
-
idempotencyKey?: string | undefined;
|
|
650
654
|
maxAttempts?: number | undefined;
|
|
651
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
652
655
|
maxDuration?: number | undefined;
|
|
653
656
|
version?: string | undefined;
|
|
657
|
+
context?: any;
|
|
658
|
+
idempotencyKey?: string | undefined;
|
|
659
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
654
660
|
};
|
|
655
661
|
environment: {
|
|
656
662
|
id: string;
|
|
@@ -668,12 +674,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
668
674
|
slug: string;
|
|
669
675
|
ref: string;
|
|
670
676
|
};
|
|
671
|
-
machine: {
|
|
672
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
673
|
-
cpu: number;
|
|
674
|
-
memory: number;
|
|
675
|
-
centsPerMs: number;
|
|
676
|
-
};
|
|
677
677
|
worker: {
|
|
678
678
|
id: string;
|
|
679
679
|
version: string;
|
|
@@ -689,8 +689,8 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
689
689
|
};
|
|
690
690
|
task: {
|
|
691
691
|
id: string;
|
|
692
|
-
filePath: string;
|
|
693
692
|
exportName: string;
|
|
693
|
+
filePath: string;
|
|
694
694
|
};
|
|
695
695
|
attempt: {
|
|
696
696
|
number: number;
|
|
@@ -706,17 +706,17 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
706
706
|
payloadType: string;
|
|
707
707
|
tags: string[];
|
|
708
708
|
createdAt: Date;
|
|
709
|
-
context?: any;
|
|
710
|
-
idempotencyKey?: string | undefined;
|
|
711
709
|
maxAttempts?: number | undefined;
|
|
712
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
713
710
|
maxDuration?: number | undefined;
|
|
714
711
|
version?: string | undefined;
|
|
715
|
-
isTest?: boolean | undefined;
|
|
716
712
|
startedAt?: Date | undefined;
|
|
713
|
+
context?: any;
|
|
714
|
+
isTest?: boolean | undefined;
|
|
715
|
+
idempotencyKey?: string | undefined;
|
|
716
|
+
durationMs?: number | undefined;
|
|
717
717
|
costInCents?: number | undefined;
|
|
718
718
|
baseCostInCents?: number | undefined;
|
|
719
|
-
|
|
719
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
720
720
|
};
|
|
721
721
|
environment: {
|
|
722
722
|
id: string;
|
|
@@ -739,15 +739,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
739
739
|
version: string;
|
|
740
740
|
contentHash: string;
|
|
741
741
|
};
|
|
742
|
-
batch?: {
|
|
743
|
-
id: string;
|
|
744
|
-
} | undefined;
|
|
745
742
|
machine?: {
|
|
746
743
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
747
744
|
cpu: number;
|
|
748
745
|
memory: number;
|
|
749
746
|
centsPerMs: number;
|
|
750
747
|
} | undefined;
|
|
748
|
+
batch?: {
|
|
749
|
+
id: string;
|
|
750
|
+
} | undefined;
|
|
751
751
|
}>;
|
|
752
752
|
export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
753
753
|
export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
@@ -758,12 +758,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
758
758
|
exportName: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
760
|
id: string;
|
|
761
|
-
filePath: string;
|
|
762
761
|
exportName: string;
|
|
762
|
+
filePath: string;
|
|
763
763
|
}, {
|
|
764
764
|
id: string;
|
|
765
|
-
filePath: string;
|
|
766
765
|
exportName: string;
|
|
766
|
+
filePath: string;
|
|
767
767
|
}>;
|
|
768
768
|
attempt: z.ZodObject<{
|
|
769
769
|
id: z.ZodString;
|
|
@@ -806,38 +806,38 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
806
806
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
808
|
id: string;
|
|
809
|
+
startedAt: Date;
|
|
809
810
|
payload: string;
|
|
810
811
|
payloadType: string;
|
|
811
812
|
tags: string[];
|
|
812
813
|
isTest: boolean;
|
|
813
814
|
createdAt: Date;
|
|
814
|
-
|
|
815
|
+
durationMs: number;
|
|
815
816
|
costInCents: number;
|
|
816
817
|
baseCostInCents: number;
|
|
817
|
-
durationMs: number;
|
|
818
|
-
context?: any;
|
|
819
|
-
idempotencyKey?: string | undefined;
|
|
820
818
|
maxAttempts?: number | undefined;
|
|
821
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
822
819
|
maxDuration?: number | undefined;
|
|
823
820
|
version?: string | undefined;
|
|
821
|
+
context?: any;
|
|
822
|
+
idempotencyKey?: string | undefined;
|
|
823
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
824
824
|
}, {
|
|
825
825
|
id: string;
|
|
826
826
|
payload: string;
|
|
827
827
|
payloadType: string;
|
|
828
828
|
tags: string[];
|
|
829
829
|
createdAt: Date;
|
|
830
|
-
context?: any;
|
|
831
|
-
idempotencyKey?: string | undefined;
|
|
832
830
|
maxAttempts?: number | undefined;
|
|
833
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
834
831
|
maxDuration?: number | undefined;
|
|
835
832
|
version?: string | undefined;
|
|
836
|
-
isTest?: boolean | undefined;
|
|
837
833
|
startedAt?: Date | undefined;
|
|
834
|
+
context?: any;
|
|
835
|
+
isTest?: boolean | undefined;
|
|
836
|
+
idempotencyKey?: string | undefined;
|
|
837
|
+
durationMs?: number | undefined;
|
|
838
838
|
costInCents?: number | undefined;
|
|
839
839
|
baseCostInCents?: number | undefined;
|
|
840
|
-
|
|
840
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
841
841
|
}>;
|
|
842
842
|
queue: z.ZodObject<{
|
|
843
843
|
id: z.ZodString;
|
|
@@ -949,10 +949,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
949
949
|
id: string;
|
|
950
950
|
name: string;
|
|
951
951
|
};
|
|
952
|
+
machine: {
|
|
953
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
954
|
+
cpu: number;
|
|
955
|
+
memory: number;
|
|
956
|
+
centsPerMs: number;
|
|
957
|
+
};
|
|
952
958
|
task: {
|
|
953
959
|
id: string;
|
|
954
|
-
filePath: string;
|
|
955
960
|
exportName: string;
|
|
961
|
+
filePath: string;
|
|
956
962
|
};
|
|
957
963
|
attempt: {
|
|
958
964
|
number: number;
|
|
@@ -964,21 +970,21 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
964
970
|
};
|
|
965
971
|
run: {
|
|
966
972
|
id: string;
|
|
973
|
+
startedAt: Date;
|
|
967
974
|
payload: string;
|
|
968
975
|
payloadType: string;
|
|
969
976
|
tags: string[];
|
|
970
977
|
isTest: boolean;
|
|
971
978
|
createdAt: Date;
|
|
972
|
-
|
|
979
|
+
durationMs: number;
|
|
973
980
|
costInCents: number;
|
|
974
981
|
baseCostInCents: number;
|
|
975
|
-
durationMs: number;
|
|
976
|
-
context?: any;
|
|
977
|
-
idempotencyKey?: string | undefined;
|
|
978
982
|
maxAttempts?: number | undefined;
|
|
979
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
980
983
|
maxDuration?: number | undefined;
|
|
981
984
|
version?: string | undefined;
|
|
985
|
+
context?: any;
|
|
986
|
+
idempotencyKey?: string | undefined;
|
|
987
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
982
988
|
};
|
|
983
989
|
environment: {
|
|
984
990
|
id: string;
|
|
@@ -996,12 +1002,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
996
1002
|
slug: string;
|
|
997
1003
|
ref: string;
|
|
998
1004
|
};
|
|
999
|
-
machine: {
|
|
1000
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1001
|
-
cpu: number;
|
|
1002
|
-
memory: number;
|
|
1003
|
-
centsPerMs: number;
|
|
1004
|
-
};
|
|
1005
1005
|
worker: {
|
|
1006
1006
|
id: string;
|
|
1007
1007
|
version: string;
|
|
@@ -1017,8 +1017,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1017
1017
|
};
|
|
1018
1018
|
task: {
|
|
1019
1019
|
id: string;
|
|
1020
|
-
filePath: string;
|
|
1021
1020
|
exportName: string;
|
|
1021
|
+
filePath: string;
|
|
1022
1022
|
};
|
|
1023
1023
|
attempt: {
|
|
1024
1024
|
number: number;
|
|
@@ -1034,17 +1034,17 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1034
1034
|
payloadType: string;
|
|
1035
1035
|
tags: string[];
|
|
1036
1036
|
createdAt: Date;
|
|
1037
|
-
context?: any;
|
|
1038
|
-
idempotencyKey?: string | undefined;
|
|
1039
1037
|
maxAttempts?: number | undefined;
|
|
1040
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1041
1038
|
maxDuration?: number | undefined;
|
|
1042
1039
|
version?: string | undefined;
|
|
1043
|
-
isTest?: boolean | undefined;
|
|
1044
1040
|
startedAt?: Date | undefined;
|
|
1041
|
+
context?: any;
|
|
1042
|
+
isTest?: boolean | undefined;
|
|
1043
|
+
idempotencyKey?: string | undefined;
|
|
1044
|
+
durationMs?: number | undefined;
|
|
1045
1045
|
costInCents?: number | undefined;
|
|
1046
1046
|
baseCostInCents?: number | undefined;
|
|
1047
|
-
|
|
1047
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1048
1048
|
};
|
|
1049
1049
|
environment: {
|
|
1050
1050
|
id: string;
|
|
@@ -1067,15 +1067,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1067
1067
|
version: string;
|
|
1068
1068
|
contentHash: string;
|
|
1069
1069
|
};
|
|
1070
|
-
batch?: {
|
|
1071
|
-
id: string;
|
|
1072
|
-
} | undefined;
|
|
1073
1070
|
machine?: {
|
|
1074
1071
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1075
1072
|
cpu: number;
|
|
1076
1073
|
memory: number;
|
|
1077
1074
|
centsPerMs: number;
|
|
1078
1075
|
} | undefined;
|
|
1076
|
+
batch?: {
|
|
1077
|
+
id: string;
|
|
1078
|
+
} | undefined;
|
|
1079
1079
|
}>;
|
|
1080
1080
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1081
1081
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1085,10 +1085,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1085
1085
|
id: string;
|
|
1086
1086
|
name: string;
|
|
1087
1087
|
};
|
|
1088
|
+
machine: {
|
|
1089
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1090
|
+
cpu: number;
|
|
1091
|
+
memory: number;
|
|
1092
|
+
centsPerMs: number;
|
|
1093
|
+
};
|
|
1088
1094
|
task: {
|
|
1089
1095
|
id: string;
|
|
1090
|
-
filePath: string;
|
|
1091
1096
|
exportName: string;
|
|
1097
|
+
filePath: string;
|
|
1092
1098
|
};
|
|
1093
1099
|
attempt: {
|
|
1094
1100
|
number: number;
|
|
@@ -1100,21 +1106,21 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1100
1106
|
};
|
|
1101
1107
|
run: {
|
|
1102
1108
|
id: string;
|
|
1109
|
+
startedAt: Date;
|
|
1103
1110
|
payload: string;
|
|
1104
1111
|
payloadType: string;
|
|
1105
1112
|
tags: string[];
|
|
1106
1113
|
isTest: boolean;
|
|
1107
1114
|
createdAt: Date;
|
|
1108
|
-
|
|
1115
|
+
durationMs: number;
|
|
1109
1116
|
costInCents: number;
|
|
1110
1117
|
baseCostInCents: number;
|
|
1111
|
-
durationMs: number;
|
|
1112
|
-
context?: any;
|
|
1113
|
-
idempotencyKey?: string | undefined;
|
|
1114
1118
|
maxAttempts?: number | undefined;
|
|
1115
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1116
1119
|
maxDuration?: number | undefined;
|
|
1117
1120
|
version?: string | undefined;
|
|
1121
|
+
context?: any;
|
|
1122
|
+
idempotencyKey?: string | undefined;
|
|
1123
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1118
1124
|
};
|
|
1119
1125
|
environment: {
|
|
1120
1126
|
id: string;
|
|
@@ -1132,12 +1138,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1132
1138
|
slug: string;
|
|
1133
1139
|
ref: string;
|
|
1134
1140
|
};
|
|
1135
|
-
machine: {
|
|
1136
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1137
|
-
cpu: number;
|
|
1138
|
-
memory: number;
|
|
1139
|
-
centsPerMs: number;
|
|
1140
|
-
};
|
|
1141
1141
|
worker: {
|
|
1142
1142
|
id: string;
|
|
1143
1143
|
version: string;
|
|
@@ -1157,8 +1157,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1157
1157
|
};
|
|
1158
1158
|
task: {
|
|
1159
1159
|
id: string;
|
|
1160
|
-
filePath: string;
|
|
1161
1160
|
exportName: string;
|
|
1161
|
+
filePath: string;
|
|
1162
1162
|
};
|
|
1163
1163
|
attempt: {
|
|
1164
1164
|
number: number;
|
|
@@ -1174,17 +1174,17 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1174
1174
|
payloadType: string;
|
|
1175
1175
|
tags: string[];
|
|
1176
1176
|
createdAt: Date;
|
|
1177
|
-
context?: any;
|
|
1178
|
-
idempotencyKey?: string | undefined;
|
|
1179
1177
|
maxAttempts?: number | undefined;
|
|
1180
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1181
1178
|
maxDuration?: number | undefined;
|
|
1182
1179
|
version?: string | undefined;
|
|
1183
|
-
isTest?: boolean | undefined;
|
|
1184
1180
|
startedAt?: Date | undefined;
|
|
1181
|
+
context?: any;
|
|
1182
|
+
isTest?: boolean | undefined;
|
|
1183
|
+
idempotencyKey?: string | undefined;
|
|
1184
|
+
durationMs?: number | undefined;
|
|
1185
1185
|
costInCents?: number | undefined;
|
|
1186
1186
|
baseCostInCents?: number | undefined;
|
|
1187
|
-
|
|
1187
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1188
1188
|
};
|
|
1189
1189
|
environment: {
|
|
1190
1190
|
id: string;
|
|
@@ -1207,15 +1207,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1207
1207
|
version: string;
|
|
1208
1208
|
contentHash: string;
|
|
1209
1209
|
};
|
|
1210
|
-
batch?: {
|
|
1211
|
-
id: string;
|
|
1212
|
-
} | undefined;
|
|
1213
1210
|
machine?: {
|
|
1214
1211
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1215
1212
|
cpu: number;
|
|
1216
1213
|
memory: number;
|
|
1217
1214
|
centsPerMs: number;
|
|
1218
1215
|
} | undefined;
|
|
1216
|
+
batch?: {
|
|
1217
|
+
id: string;
|
|
1218
|
+
} | undefined;
|
|
1219
1219
|
};
|
|
1220
1220
|
traceContext: Record<string, unknown>;
|
|
1221
1221
|
environment?: Record<string, string> | undefined;
|
|
@@ -1473,11 +1473,11 @@ export declare const ScheduleMetadata: z.ZodObject<{
|
|
|
1473
1473
|
cron: z.ZodString;
|
|
1474
1474
|
timezone: z.ZodString;
|
|
1475
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1476
|
-
timezone: string;
|
|
1477
1476
|
cron: string;
|
|
1478
|
-
}, {
|
|
1479
1477
|
timezone: string;
|
|
1478
|
+
}, {
|
|
1480
1479
|
cron: string;
|
|
1480
|
+
timezone: string;
|
|
1481
1481
|
}>;
|
|
1482
1482
|
export declare const TaskMetadata: z.ZodObject<{
|
|
1483
1483
|
id: z.ZodString;
|
|
@@ -1574,20 +1574,20 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1574
1574
|
cron: z.ZodString;
|
|
1575
1575
|
timezone: z.ZodString;
|
|
1576
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1577
|
-
timezone: string;
|
|
1578
1577
|
cron: string;
|
|
1579
|
-
}, {
|
|
1580
1578
|
timezone: string;
|
|
1579
|
+
}, {
|
|
1581
1580
|
cron: string;
|
|
1581
|
+
timezone: string;
|
|
1582
1582
|
}>>;
|
|
1583
1583
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1584
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1585
1585
|
id: string;
|
|
1586
|
+
description?: string | undefined;
|
|
1586
1587
|
queue?: {
|
|
1587
1588
|
name?: string | undefined;
|
|
1588
1589
|
concurrencyLimit?: number | undefined;
|
|
1589
1590
|
} | undefined;
|
|
1590
|
-
maxDuration?: number | undefined;
|
|
1591
1591
|
retry?: {
|
|
1592
1592
|
maxAttempts?: number | undefined;
|
|
1593
1593
|
factor?: number | undefined;
|
|
@@ -1595,24 +1595,24 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1595
1595
|
maxTimeoutInMs?: number | undefined;
|
|
1596
1596
|
randomize?: boolean | undefined;
|
|
1597
1597
|
} | undefined;
|
|
1598
|
-
description?: string | undefined;
|
|
1599
|
-
schedule?: {
|
|
1600
|
-
timezone: string;
|
|
1601
|
-
cron: string;
|
|
1602
|
-
} | undefined;
|
|
1603
1598
|
machine?: {
|
|
1604
1599
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1605
1600
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1606
1601
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1607
1602
|
} | undefined;
|
|
1608
1603
|
triggerSource?: string | undefined;
|
|
1604
|
+
schedule?: {
|
|
1605
|
+
cron: string;
|
|
1606
|
+
timezone: string;
|
|
1607
|
+
} | undefined;
|
|
1608
|
+
maxDuration?: number | undefined;
|
|
1609
1609
|
}, {
|
|
1610
1610
|
id: string;
|
|
1611
|
+
description?: string | undefined;
|
|
1611
1612
|
queue?: {
|
|
1612
1613
|
name?: string | undefined;
|
|
1613
1614
|
concurrencyLimit?: number | undefined;
|
|
1614
1615
|
} | undefined;
|
|
1615
|
-
maxDuration?: number | undefined;
|
|
1616
1616
|
retry?: {
|
|
1617
1617
|
maxAttempts?: number | undefined;
|
|
1618
1618
|
factor?: number | undefined;
|
|
@@ -1620,17 +1620,17 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1620
1620
|
maxTimeoutInMs?: number | undefined;
|
|
1621
1621
|
randomize?: boolean | undefined;
|
|
1622
1622
|
} | undefined;
|
|
1623
|
-
description?: string | undefined;
|
|
1624
|
-
schedule?: {
|
|
1625
|
-
timezone: string;
|
|
1626
|
-
cron: string;
|
|
1627
|
-
} | undefined;
|
|
1628
1623
|
machine?: {
|
|
1629
1624
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1630
1625
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1631
1626
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1632
1627
|
} | undefined;
|
|
1633
1628
|
triggerSource?: string | undefined;
|
|
1629
|
+
schedule?: {
|
|
1630
|
+
cron: string;
|
|
1631
|
+
timezone: string;
|
|
1632
|
+
} | undefined;
|
|
1633
|
+
maxDuration?: number | undefined;
|
|
1634
1634
|
}>;
|
|
1635
1635
|
export type TaskMetadata = z.infer<typeof TaskMetadata>;
|
|
1636
1636
|
export declare const TaskFile: z.ZodObject<{
|
|
@@ -1649,12 +1649,12 @@ export declare const TaskFileMetadata: z.ZodObject<{
|
|
|
1649
1649
|
exportName: z.ZodString;
|
|
1650
1650
|
entryPoint: z.ZodString;
|
|
1651
1651
|
}, "strip", z.ZodTypeAny, {
|
|
1652
|
-
filePath: string;
|
|
1653
1652
|
exportName: string;
|
|
1653
|
+
filePath: string;
|
|
1654
1654
|
entryPoint: string;
|
|
1655
1655
|
}, {
|
|
1656
|
-
filePath: string;
|
|
1657
1656
|
exportName: string;
|
|
1657
|
+
filePath: string;
|
|
1658
1658
|
entryPoint: string;
|
|
1659
1659
|
}>;
|
|
1660
1660
|
export type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
|
|
@@ -1756,23 +1756,23 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1756
1756
|
cron: z.ZodString;
|
|
1757
1757
|
timezone: z.ZodString;
|
|
1758
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1759
|
-
timezone: string;
|
|
1760
1759
|
cron: string;
|
|
1761
|
-
}, {
|
|
1762
1760
|
timezone: string;
|
|
1761
|
+
}, {
|
|
1763
1762
|
cron: string;
|
|
1763
|
+
timezone: string;
|
|
1764
1764
|
}>>;
|
|
1765
1765
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1766
1766
|
}, "strip", z.ZodTypeAny, {
|
|
1767
1767
|
id: string;
|
|
1768
|
-
filePath: string;
|
|
1769
1768
|
exportName: string;
|
|
1769
|
+
filePath: string;
|
|
1770
1770
|
entryPoint: string;
|
|
1771
|
+
description?: string | undefined;
|
|
1771
1772
|
queue?: {
|
|
1772
1773
|
name?: string | undefined;
|
|
1773
1774
|
concurrencyLimit?: number | undefined;
|
|
1774
1775
|
} | undefined;
|
|
1775
|
-
maxDuration?: number | undefined;
|
|
1776
1776
|
retry?: {
|
|
1777
1777
|
maxAttempts?: number | undefined;
|
|
1778
1778
|
factor?: number | undefined;
|
|
@@ -1780,27 +1780,27 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1780
1780
|
maxTimeoutInMs?: number | undefined;
|
|
1781
1781
|
randomize?: boolean | undefined;
|
|
1782
1782
|
} | undefined;
|
|
1783
|
-
description?: string | undefined;
|
|
1784
|
-
schedule?: {
|
|
1785
|
-
timezone: string;
|
|
1786
|
-
cron: string;
|
|
1787
|
-
} | undefined;
|
|
1788
1783
|
machine?: {
|
|
1789
1784
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1790
1785
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1791
1786
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1792
1787
|
} | undefined;
|
|
1793
1788
|
triggerSource?: string | undefined;
|
|
1789
|
+
schedule?: {
|
|
1790
|
+
cron: string;
|
|
1791
|
+
timezone: string;
|
|
1792
|
+
} | undefined;
|
|
1793
|
+
maxDuration?: number | undefined;
|
|
1794
1794
|
}, {
|
|
1795
1795
|
id: string;
|
|
1796
|
-
filePath: string;
|
|
1797
1796
|
exportName: string;
|
|
1797
|
+
filePath: string;
|
|
1798
1798
|
entryPoint: string;
|
|
1799
|
+
description?: string | undefined;
|
|
1799
1800
|
queue?: {
|
|
1800
1801
|
name?: string | undefined;
|
|
1801
1802
|
concurrencyLimit?: number | undefined;
|
|
1802
1803
|
} | undefined;
|
|
1803
|
-
maxDuration?: number | undefined;
|
|
1804
1804
|
retry?: {
|
|
1805
1805
|
maxAttempts?: number | undefined;
|
|
1806
1806
|
factor?: number | undefined;
|
|
@@ -1808,17 +1808,17 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1808
1808
|
maxTimeoutInMs?: number | undefined;
|
|
1809
1809
|
randomize?: boolean | undefined;
|
|
1810
1810
|
} | undefined;
|
|
1811
|
-
description?: string | undefined;
|
|
1812
|
-
schedule?: {
|
|
1813
|
-
timezone: string;
|
|
1814
|
-
cron: string;
|
|
1815
|
-
} | undefined;
|
|
1816
1811
|
machine?: {
|
|
1817
1812
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1818
1813
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1819
1814
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1820
1815
|
} | undefined;
|
|
1821
1816
|
triggerSource?: string | undefined;
|
|
1817
|
+
schedule?: {
|
|
1818
|
+
cron: string;
|
|
1819
|
+
timezone: string;
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
maxDuration?: number | undefined;
|
|
1822
1822
|
}>;
|
|
1823
1823
|
export type TaskManifest = z.infer<typeof TaskManifest>;
|
|
1824
1824
|
export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
|
|
@@ -1873,6 +1873,7 @@ export declare const Config: z.ZodObject<{
|
|
|
1873
1873
|
randomize?: boolean | undefined;
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
}, {
|
|
1876
|
+
enabledInDev?: boolean | undefined;
|
|
1876
1877
|
default?: {
|
|
1877
1878
|
maxAttempts?: number | undefined;
|
|
1878
1879
|
factor?: number | undefined;
|
|
@@ -1880,7 +1881,6 @@ export declare const Config: z.ZodObject<{
|
|
|
1880
1881
|
maxTimeoutInMs?: number | undefined;
|
|
1881
1882
|
randomize?: boolean | undefined;
|
|
1882
1883
|
} | undefined;
|
|
1883
|
-
enabledInDev?: boolean | undefined;
|
|
1884
1884
|
}>>;
|
|
1885
1885
|
additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1886
1886
|
additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1919,6 +1919,7 @@ export declare const Config: z.ZodObject<{
|
|
|
1919
1919
|
projectDir?: string | undefined;
|
|
1920
1920
|
tsconfigPath?: string | undefined;
|
|
1921
1921
|
retries?: {
|
|
1922
|
+
enabledInDev?: boolean | undefined;
|
|
1922
1923
|
default?: {
|
|
1923
1924
|
maxAttempts?: number | undefined;
|
|
1924
1925
|
factor?: number | undefined;
|
|
@@ -1926,7 +1927,6 @@ export declare const Config: z.ZodObject<{
|
|
|
1926
1927
|
maxTimeoutInMs?: number | undefined;
|
|
1927
1928
|
randomize?: boolean | undefined;
|
|
1928
1929
|
} | undefined;
|
|
1929
|
-
enabledInDev?: boolean | undefined;
|
|
1930
1930
|
} | undefined;
|
|
1931
1931
|
additionalPackages?: string[] | undefined;
|
|
1932
1932
|
additionalFiles?: string[] | undefined;
|
|
@@ -1952,14 +1952,14 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
|
|
|
1952
1952
|
traceContext: Record<string, unknown>;
|
|
1953
1953
|
runId: string;
|
|
1954
1954
|
messageId: string;
|
|
1955
|
-
attemptCount?: number | undefined;
|
|
1956
1955
|
environment?: Record<string, string> | undefined;
|
|
1956
|
+
attemptCount?: number | undefined;
|
|
1957
1957
|
}, {
|
|
1958
1958
|
isTest: boolean;
|
|
1959
1959
|
traceContext: Record<string, unknown>;
|
|
1960
1960
|
runId: string;
|
|
1961
1961
|
messageId: string;
|
|
1962
|
-
attemptCount?: number | undefined;
|
|
1963
1962
|
environment?: Record<string, string> | undefined;
|
|
1963
|
+
attemptCount?: number | undefined;
|
|
1964
1964
|
}>;
|
|
1965
1965
|
export type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
|