@trigger.dev/core 0.0.0-prerelease-20241219214230 → 0.0.0-prerelease-20250110154019
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 +169 -165
- package/dist/commonjs/v3/apiClient/index.js +9 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +2 -17
- package/dist/commonjs/v3/apiClient/runStream.js +68 -47
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
- package/dist/commonjs/v3/config.d.ts +55 -0
- 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/schemas/api.d.ts +820 -820
- package/dist/commonjs/v3/schemas/api.js +15 -7
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +250 -250
- package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
- package/dist/commonjs/v3/schemas/messages.d.ts +3714 -3714
- package/dist/commonjs/v3/schemas/resources.d.ts +82 -82
- package/dist/commonjs/v3/schemas/schemas.d.ts +424 -424
- package/dist/commonjs/v3/types/tasks.d.ts +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 +141 -137
- package/dist/esm/v3/apiClient/index.js +10 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +2 -17
- package/dist/esm/v3/apiClient/runStream.js +67 -44
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +55 -0
- 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/schemas/api.d.ts +712 -712
- package/dist/esm/v3/schemas/api.js +15 -7
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +100 -100
- package/dist/esm/v3/schemas/messages.d.ts +2391 -2391
- package/dist/esm/v3/schemas/resources.d.ts +56 -56
- package/dist/esm/v3/schemas/schemas.d.ts +224 -224
- package/dist/esm/v3/types/tasks.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -26,15 +26,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
26
26
|
status: z.ZodString;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
number: number;
|
|
29
|
-
id: string;
|
|
30
29
|
status: string;
|
|
30
|
+
id: string;
|
|
31
31
|
startedAt: Date;
|
|
32
32
|
backgroundWorkerId: string;
|
|
33
33
|
backgroundWorkerTaskId: string;
|
|
34
34
|
}, {
|
|
35
35
|
number: number;
|
|
36
|
-
id: string;
|
|
37
36
|
status: string;
|
|
37
|
+
id: string;
|
|
38
38
|
startedAt: Date;
|
|
39
39
|
backgroundWorkerId: string;
|
|
40
40
|
backgroundWorkerTaskId: string;
|
|
@@ -57,61 +57,61 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
57
57
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
58
58
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
id: string;
|
|
61
60
|
payload: string;
|
|
61
|
+
id: string;
|
|
62
|
+
startedAt: Date;
|
|
62
63
|
payloadType: string;
|
|
63
|
-
tags: string[];
|
|
64
64
|
isTest: boolean;
|
|
65
65
|
createdAt: Date;
|
|
66
|
-
|
|
66
|
+
tags: string[];
|
|
67
|
+
durationMs: number;
|
|
67
68
|
costInCents: number;
|
|
68
69
|
baseCostInCents: number;
|
|
69
|
-
durationMs: number;
|
|
70
70
|
context?: any;
|
|
71
|
+
version?: string | undefined;
|
|
72
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
71
73
|
idempotencyKey?: string | undefined;
|
|
72
74
|
maxAttempts?: number | undefined;
|
|
73
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
74
75
|
maxDuration?: number | undefined;
|
|
75
|
-
version?: string | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
id: string;
|
|
78
77
|
payload: string;
|
|
78
|
+
id: string;
|
|
79
79
|
payloadType: string;
|
|
80
|
-
tags: string[];
|
|
81
80
|
createdAt: Date;
|
|
81
|
+
tags: string[];
|
|
82
82
|
context?: any;
|
|
83
|
-
idempotencyKey?: string | undefined;
|
|
84
|
-
maxAttempts?: number | undefined;
|
|
85
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
86
|
-
maxDuration?: number | undefined;
|
|
87
83
|
version?: string | undefined;
|
|
88
|
-
|
|
84
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
89
85
|
startedAt?: Date | undefined;
|
|
86
|
+
idempotencyKey?: string | undefined;
|
|
87
|
+
isTest?: boolean | undefined;
|
|
88
|
+
maxAttempts?: number | undefined;
|
|
89
|
+
durationMs?: number | undefined;
|
|
90
90
|
costInCents?: number | undefined;
|
|
91
91
|
baseCostInCents?: number | undefined;
|
|
92
|
-
|
|
92
|
+
maxDuration?: number | undefined;
|
|
93
93
|
}>;
|
|
94
94
|
queue: z.ZodObject<{
|
|
95
95
|
id: z.ZodString;
|
|
96
96
|
name: z.ZodString;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
id: string;
|
|
99
98
|
name: string;
|
|
100
|
-
}, {
|
|
101
99
|
id: string;
|
|
100
|
+
}, {
|
|
102
101
|
name: string;
|
|
102
|
+
id: string;
|
|
103
103
|
}>;
|
|
104
104
|
environment: z.ZodObject<{
|
|
105
105
|
id: z.ZodString;
|
|
106
106
|
slug: z.ZodString;
|
|
107
107
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
id: string;
|
|
110
109
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
110
|
+
id: string;
|
|
111
111
|
slug: string;
|
|
112
112
|
}, {
|
|
113
|
-
id: string;
|
|
114
113
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
114
|
+
id: string;
|
|
115
115
|
slug: string;
|
|
116
116
|
}>;
|
|
117
117
|
organization: z.ZodObject<{
|
|
@@ -119,12 +119,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
119
119
|
slug: z.ZodString;
|
|
120
120
|
name: z.ZodString;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
id: string;
|
|
123
122
|
name: string;
|
|
123
|
+
id: string;
|
|
124
124
|
slug: string;
|
|
125
125
|
}, {
|
|
126
|
-
id: string;
|
|
127
126
|
name: string;
|
|
127
|
+
id: string;
|
|
128
128
|
slug: string;
|
|
129
129
|
}>;
|
|
130
130
|
project: z.ZodObject<{
|
|
@@ -133,13 +133,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
133
133
|
slug: z.ZodString;
|
|
134
134
|
name: z.ZodString;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
id: string;
|
|
137
136
|
name: string;
|
|
137
|
+
id: string;
|
|
138
138
|
slug: string;
|
|
139
139
|
ref: string;
|
|
140
140
|
}, {
|
|
141
|
-
id: string;
|
|
142
141
|
name: string;
|
|
142
|
+
id: string;
|
|
143
143
|
slug: string;
|
|
144
144
|
ref: string;
|
|
145
145
|
}>;
|
|
@@ -167,71 +167,40 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
167
167
|
centsPerMs: number;
|
|
168
168
|
}>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
queue: {
|
|
171
|
-
id: string;
|
|
172
|
-
name: string;
|
|
173
|
-
};
|
|
174
|
-
task: {
|
|
175
|
-
id: string;
|
|
176
|
-
filePath: string;
|
|
177
|
-
exportName: string;
|
|
178
|
-
};
|
|
179
|
-
attempt: {
|
|
180
|
-
number: number;
|
|
181
|
-
id: string;
|
|
182
|
-
status: string;
|
|
183
|
-
startedAt: Date;
|
|
184
|
-
backgroundWorkerId: string;
|
|
185
|
-
backgroundWorkerTaskId: string;
|
|
186
|
-
};
|
|
187
170
|
run: {
|
|
188
|
-
id: string;
|
|
189
171
|
payload: string;
|
|
172
|
+
id: string;
|
|
173
|
+
startedAt: Date;
|
|
190
174
|
payloadType: string;
|
|
191
|
-
tags: string[];
|
|
192
175
|
isTest: boolean;
|
|
193
176
|
createdAt: Date;
|
|
194
|
-
|
|
177
|
+
tags: string[];
|
|
178
|
+
durationMs: number;
|
|
195
179
|
costInCents: number;
|
|
196
180
|
baseCostInCents: number;
|
|
197
|
-
durationMs: number;
|
|
198
181
|
context?: any;
|
|
182
|
+
version?: string | undefined;
|
|
183
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
199
184
|
idempotencyKey?: string | undefined;
|
|
200
185
|
maxAttempts?: number | undefined;
|
|
201
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
202
186
|
maxDuration?: number | undefined;
|
|
203
|
-
version?: string | undefined;
|
|
204
187
|
};
|
|
205
188
|
environment: {
|
|
206
|
-
id: string;
|
|
207
189
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
190
|
+
id: string;
|
|
208
191
|
slug: string;
|
|
209
192
|
};
|
|
210
193
|
organization: {
|
|
211
|
-
id: string;
|
|
212
194
|
name: string;
|
|
195
|
+
id: string;
|
|
213
196
|
slug: string;
|
|
214
197
|
};
|
|
215
198
|
project: {
|
|
216
|
-
id: string;
|
|
217
199
|
name: string;
|
|
200
|
+
id: string;
|
|
218
201
|
slug: string;
|
|
219
202
|
ref: string;
|
|
220
203
|
};
|
|
221
|
-
batch?: {
|
|
222
|
-
id: string;
|
|
223
|
-
} | undefined;
|
|
224
|
-
machine?: {
|
|
225
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
226
|
-
cpu: number;
|
|
227
|
-
memory: number;
|
|
228
|
-
centsPerMs: number;
|
|
229
|
-
} | undefined;
|
|
230
|
-
}, {
|
|
231
|
-
queue: {
|
|
232
|
-
id: string;
|
|
233
|
-
name: string;
|
|
234
|
-
};
|
|
235
204
|
task: {
|
|
236
205
|
id: string;
|
|
237
206
|
filePath: string;
|
|
@@ -239,46 +208,77 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
239
208
|
};
|
|
240
209
|
attempt: {
|
|
241
210
|
number: number;
|
|
242
|
-
id: string;
|
|
243
211
|
status: string;
|
|
212
|
+
id: string;
|
|
244
213
|
startedAt: Date;
|
|
245
214
|
backgroundWorkerId: string;
|
|
246
215
|
backgroundWorkerTaskId: string;
|
|
247
216
|
};
|
|
248
|
-
|
|
217
|
+
queue: {
|
|
218
|
+
name: string;
|
|
219
|
+
id: string;
|
|
220
|
+
};
|
|
221
|
+
batch?: {
|
|
249
222
|
id: string;
|
|
223
|
+
} | undefined;
|
|
224
|
+
machine?: {
|
|
225
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
226
|
+
cpu: number;
|
|
227
|
+
memory: number;
|
|
228
|
+
centsPerMs: number;
|
|
229
|
+
} | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
run: {
|
|
250
232
|
payload: string;
|
|
233
|
+
id: string;
|
|
251
234
|
payloadType: string;
|
|
252
|
-
tags: string[];
|
|
253
235
|
createdAt: Date;
|
|
236
|
+
tags: string[];
|
|
254
237
|
context?: any;
|
|
255
|
-
idempotencyKey?: string | undefined;
|
|
256
|
-
maxAttempts?: number | undefined;
|
|
257
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
258
|
-
maxDuration?: number | undefined;
|
|
259
238
|
version?: string | undefined;
|
|
260
|
-
|
|
239
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
261
240
|
startedAt?: Date | undefined;
|
|
241
|
+
idempotencyKey?: string | undefined;
|
|
242
|
+
isTest?: boolean | undefined;
|
|
243
|
+
maxAttempts?: number | undefined;
|
|
244
|
+
durationMs?: number | undefined;
|
|
262
245
|
costInCents?: number | undefined;
|
|
263
246
|
baseCostInCents?: number | undefined;
|
|
264
|
-
|
|
247
|
+
maxDuration?: number | undefined;
|
|
265
248
|
};
|
|
266
249
|
environment: {
|
|
267
|
-
id: string;
|
|
268
250
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
251
|
+
id: string;
|
|
269
252
|
slug: string;
|
|
270
253
|
};
|
|
271
254
|
organization: {
|
|
272
|
-
id: string;
|
|
273
255
|
name: string;
|
|
256
|
+
id: string;
|
|
274
257
|
slug: string;
|
|
275
258
|
};
|
|
276
259
|
project: {
|
|
277
|
-
id: string;
|
|
278
260
|
name: string;
|
|
261
|
+
id: string;
|
|
279
262
|
slug: string;
|
|
280
263
|
ref: string;
|
|
281
264
|
};
|
|
265
|
+
task: {
|
|
266
|
+
id: string;
|
|
267
|
+
filePath: string;
|
|
268
|
+
exportName: string;
|
|
269
|
+
};
|
|
270
|
+
attempt: {
|
|
271
|
+
number: number;
|
|
272
|
+
status: string;
|
|
273
|
+
id: string;
|
|
274
|
+
startedAt: Date;
|
|
275
|
+
backgroundWorkerId: string;
|
|
276
|
+
backgroundWorkerTaskId: string;
|
|
277
|
+
};
|
|
278
|
+
queue: {
|
|
279
|
+
name: string;
|
|
280
|
+
id: string;
|
|
281
|
+
};
|
|
282
282
|
batch?: {
|
|
283
283
|
id: string;
|
|
284
284
|
} | undefined;
|
|
@@ -293,57 +293,57 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
293
293
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
295
|
execution: {
|
|
296
|
-
queue: {
|
|
297
|
-
id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
};
|
|
300
|
-
task: {
|
|
301
|
-
id: string;
|
|
302
|
-
filePath: string;
|
|
303
|
-
exportName: string;
|
|
304
|
-
};
|
|
305
|
-
attempt: {
|
|
306
|
-
number: number;
|
|
307
|
-
id: string;
|
|
308
|
-
status: string;
|
|
309
|
-
startedAt: Date;
|
|
310
|
-
backgroundWorkerId: string;
|
|
311
|
-
backgroundWorkerTaskId: string;
|
|
312
|
-
};
|
|
313
296
|
run: {
|
|
314
|
-
id: string;
|
|
315
297
|
payload: string;
|
|
298
|
+
id: string;
|
|
299
|
+
startedAt: Date;
|
|
316
300
|
payloadType: string;
|
|
317
|
-
tags: string[];
|
|
318
301
|
isTest: boolean;
|
|
319
302
|
createdAt: Date;
|
|
320
|
-
|
|
303
|
+
tags: string[];
|
|
304
|
+
durationMs: number;
|
|
321
305
|
costInCents: number;
|
|
322
306
|
baseCostInCents: number;
|
|
323
|
-
durationMs: number;
|
|
324
307
|
context?: any;
|
|
308
|
+
version?: string | undefined;
|
|
309
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
325
310
|
idempotencyKey?: string | undefined;
|
|
326
311
|
maxAttempts?: number | undefined;
|
|
327
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
328
312
|
maxDuration?: number | undefined;
|
|
329
|
-
version?: string | undefined;
|
|
330
313
|
};
|
|
331
314
|
environment: {
|
|
332
|
-
id: string;
|
|
333
315
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
316
|
+
id: string;
|
|
334
317
|
slug: string;
|
|
335
318
|
};
|
|
336
319
|
organization: {
|
|
337
|
-
id: string;
|
|
338
320
|
name: string;
|
|
321
|
+
id: string;
|
|
339
322
|
slug: string;
|
|
340
323
|
};
|
|
341
324
|
project: {
|
|
342
|
-
id: string;
|
|
343
325
|
name: string;
|
|
326
|
+
id: string;
|
|
344
327
|
slug: string;
|
|
345
328
|
ref: string;
|
|
346
329
|
};
|
|
330
|
+
task: {
|
|
331
|
+
id: string;
|
|
332
|
+
filePath: string;
|
|
333
|
+
exportName: string;
|
|
334
|
+
};
|
|
335
|
+
attempt: {
|
|
336
|
+
number: number;
|
|
337
|
+
status: string;
|
|
338
|
+
id: string;
|
|
339
|
+
startedAt: Date;
|
|
340
|
+
backgroundWorkerId: string;
|
|
341
|
+
backgroundWorkerTaskId: string;
|
|
342
|
+
};
|
|
343
|
+
queue: {
|
|
344
|
+
name: string;
|
|
345
|
+
id: string;
|
|
346
|
+
};
|
|
347
347
|
batch?: {
|
|
348
348
|
id: string;
|
|
349
349
|
} | undefined;
|
|
@@ -358,57 +358,57 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
358
358
|
environment?: Record<string, string> | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
execution: {
|
|
361
|
-
queue: {
|
|
362
|
-
id: string;
|
|
363
|
-
name: string;
|
|
364
|
-
};
|
|
365
|
-
task: {
|
|
366
|
-
id: string;
|
|
367
|
-
filePath: string;
|
|
368
|
-
exportName: string;
|
|
369
|
-
};
|
|
370
|
-
attempt: {
|
|
371
|
-
number: number;
|
|
372
|
-
id: string;
|
|
373
|
-
status: string;
|
|
374
|
-
startedAt: Date;
|
|
375
|
-
backgroundWorkerId: string;
|
|
376
|
-
backgroundWorkerTaskId: string;
|
|
377
|
-
};
|
|
378
361
|
run: {
|
|
379
|
-
id: string;
|
|
380
362
|
payload: string;
|
|
363
|
+
id: string;
|
|
381
364
|
payloadType: string;
|
|
382
|
-
tags: string[];
|
|
383
365
|
createdAt: Date;
|
|
366
|
+
tags: string[];
|
|
384
367
|
context?: any;
|
|
385
|
-
idempotencyKey?: string | undefined;
|
|
386
|
-
maxAttempts?: number | undefined;
|
|
387
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
388
|
-
maxDuration?: number | undefined;
|
|
389
368
|
version?: string | undefined;
|
|
390
|
-
|
|
369
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
391
370
|
startedAt?: Date | undefined;
|
|
371
|
+
idempotencyKey?: string | undefined;
|
|
372
|
+
isTest?: boolean | undefined;
|
|
373
|
+
maxAttempts?: number | undefined;
|
|
374
|
+
durationMs?: number | undefined;
|
|
392
375
|
costInCents?: number | undefined;
|
|
393
376
|
baseCostInCents?: number | undefined;
|
|
394
|
-
|
|
377
|
+
maxDuration?: number | undefined;
|
|
395
378
|
};
|
|
396
379
|
environment: {
|
|
397
|
-
id: string;
|
|
398
380
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
381
|
+
id: string;
|
|
399
382
|
slug: string;
|
|
400
383
|
};
|
|
401
384
|
organization: {
|
|
402
|
-
id: string;
|
|
403
385
|
name: string;
|
|
386
|
+
id: string;
|
|
404
387
|
slug: string;
|
|
405
388
|
};
|
|
406
389
|
project: {
|
|
407
|
-
id: string;
|
|
408
390
|
name: string;
|
|
391
|
+
id: string;
|
|
409
392
|
slug: string;
|
|
410
393
|
ref: string;
|
|
411
394
|
};
|
|
395
|
+
task: {
|
|
396
|
+
id: string;
|
|
397
|
+
filePath: string;
|
|
398
|
+
exportName: string;
|
|
399
|
+
};
|
|
400
|
+
attempt: {
|
|
401
|
+
number: number;
|
|
402
|
+
status: string;
|
|
403
|
+
id: string;
|
|
404
|
+
startedAt: Date;
|
|
405
|
+
backgroundWorkerId: string;
|
|
406
|
+
backgroundWorkerTaskId: string;
|
|
407
|
+
};
|
|
408
|
+
queue: {
|
|
409
|
+
name: string;
|
|
410
|
+
id: string;
|
|
411
|
+
};
|
|
412
412
|
batch?: {
|
|
413
413
|
id: string;
|
|
414
414
|
} | undefined;
|
|
@@ -446,15 +446,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
446
446
|
status: z.ZodString;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
448
|
number: number;
|
|
449
|
-
id: string;
|
|
450
449
|
status: string;
|
|
450
|
+
id: string;
|
|
451
451
|
startedAt: Date;
|
|
452
452
|
backgroundWorkerId: string;
|
|
453
453
|
backgroundWorkerTaskId: string;
|
|
454
454
|
}, {
|
|
455
455
|
number: number;
|
|
456
|
-
id: string;
|
|
457
456
|
status: string;
|
|
457
|
+
id: string;
|
|
458
458
|
startedAt: Date;
|
|
459
459
|
backgroundWorkerId: string;
|
|
460
460
|
backgroundWorkerTaskId: string;
|
|
@@ -477,61 +477,61 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
477
477
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
478
478
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
|
-
id: string;
|
|
481
480
|
payload: string;
|
|
481
|
+
id: string;
|
|
482
|
+
startedAt: Date;
|
|
482
483
|
payloadType: string;
|
|
483
|
-
tags: string[];
|
|
484
484
|
isTest: boolean;
|
|
485
485
|
createdAt: Date;
|
|
486
|
-
|
|
486
|
+
tags: string[];
|
|
487
|
+
durationMs: number;
|
|
487
488
|
costInCents: number;
|
|
488
489
|
baseCostInCents: number;
|
|
489
|
-
durationMs: number;
|
|
490
490
|
context?: any;
|
|
491
|
+
version?: string | undefined;
|
|
492
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
491
493
|
idempotencyKey?: string | undefined;
|
|
492
494
|
maxAttempts?: number | undefined;
|
|
493
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
494
495
|
maxDuration?: number | undefined;
|
|
495
|
-
version?: string | undefined;
|
|
496
496
|
}, {
|
|
497
|
-
id: string;
|
|
498
497
|
payload: string;
|
|
498
|
+
id: string;
|
|
499
499
|
payloadType: string;
|
|
500
|
-
tags: string[];
|
|
501
500
|
createdAt: Date;
|
|
501
|
+
tags: string[];
|
|
502
502
|
context?: any;
|
|
503
|
-
idempotencyKey?: string | undefined;
|
|
504
|
-
maxAttempts?: number | undefined;
|
|
505
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
506
|
-
maxDuration?: number | undefined;
|
|
507
503
|
version?: string | undefined;
|
|
508
|
-
|
|
504
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
509
505
|
startedAt?: Date | undefined;
|
|
506
|
+
idempotencyKey?: string | undefined;
|
|
507
|
+
isTest?: boolean | undefined;
|
|
508
|
+
maxAttempts?: number | undefined;
|
|
509
|
+
durationMs?: number | undefined;
|
|
510
510
|
costInCents?: number | undefined;
|
|
511
511
|
baseCostInCents?: number | undefined;
|
|
512
|
-
|
|
512
|
+
maxDuration?: number | undefined;
|
|
513
513
|
}>;
|
|
514
514
|
queue: z.ZodObject<{
|
|
515
515
|
id: z.ZodString;
|
|
516
516
|
name: z.ZodString;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
|
-
id: string;
|
|
519
518
|
name: string;
|
|
520
|
-
}, {
|
|
521
519
|
id: string;
|
|
520
|
+
}, {
|
|
522
521
|
name: string;
|
|
522
|
+
id: string;
|
|
523
523
|
}>;
|
|
524
524
|
environment: z.ZodObject<{
|
|
525
525
|
id: z.ZodString;
|
|
526
526
|
slug: z.ZodString;
|
|
527
527
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
528
528
|
}, "strip", z.ZodTypeAny, {
|
|
529
|
-
id: string;
|
|
530
529
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
530
|
+
id: string;
|
|
531
531
|
slug: string;
|
|
532
532
|
}, {
|
|
533
|
-
id: string;
|
|
534
533
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
534
|
+
id: string;
|
|
535
535
|
slug: string;
|
|
536
536
|
}>;
|
|
537
537
|
organization: z.ZodObject<{
|
|
@@ -539,12 +539,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
539
539
|
slug: z.ZodString;
|
|
540
540
|
name: z.ZodString;
|
|
541
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
|
-
id: string;
|
|
543
542
|
name: string;
|
|
543
|
+
id: string;
|
|
544
544
|
slug: string;
|
|
545
545
|
}, {
|
|
546
|
-
id: string;
|
|
547
546
|
name: string;
|
|
547
|
+
id: string;
|
|
548
548
|
slug: string;
|
|
549
549
|
}>;
|
|
550
550
|
project: z.ZodObject<{
|
|
@@ -553,13 +553,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
553
553
|
slug: z.ZodString;
|
|
554
554
|
name: z.ZodString;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
id: string;
|
|
557
556
|
name: string;
|
|
557
|
+
id: string;
|
|
558
558
|
slug: string;
|
|
559
559
|
ref: string;
|
|
560
560
|
}, {
|
|
561
|
-
id: string;
|
|
562
561
|
name: string;
|
|
562
|
+
id: string;
|
|
563
563
|
slug: string;
|
|
564
564
|
ref: string;
|
|
565
565
|
}>;
|
|
@@ -592,12 +592,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
592
592
|
contentHash: z.ZodString;
|
|
593
593
|
version: z.ZodString;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
id: string;
|
|
596
595
|
version: string;
|
|
596
|
+
id: string;
|
|
597
597
|
contentHash: string;
|
|
598
598
|
}, {
|
|
599
|
-
id: string;
|
|
600
599
|
version: string;
|
|
600
|
+
id: string;
|
|
601
601
|
contentHash: string;
|
|
602
602
|
}>;
|
|
603
603
|
machine: z.ZodDefault<z.ZodObject<{
|
|
@@ -617,57 +617,57 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
617
617
|
centsPerMs: number;
|
|
618
618
|
}>>;
|
|
619
619
|
}>, "strip", z.ZodTypeAny, {
|
|
620
|
-
queue: {
|
|
621
|
-
id: string;
|
|
622
|
-
name: string;
|
|
623
|
-
};
|
|
624
|
-
task: {
|
|
625
|
-
id: string;
|
|
626
|
-
filePath: string;
|
|
627
|
-
exportName: string;
|
|
628
|
-
};
|
|
629
|
-
attempt: {
|
|
630
|
-
number: number;
|
|
631
|
-
id: string;
|
|
632
|
-
status: string;
|
|
633
|
-
startedAt: Date;
|
|
634
|
-
backgroundWorkerId: string;
|
|
635
|
-
backgroundWorkerTaskId: string;
|
|
636
|
-
};
|
|
637
620
|
run: {
|
|
638
|
-
id: string;
|
|
639
621
|
payload: string;
|
|
622
|
+
id: string;
|
|
623
|
+
startedAt: Date;
|
|
640
624
|
payloadType: string;
|
|
641
|
-
tags: string[];
|
|
642
625
|
isTest: boolean;
|
|
643
626
|
createdAt: Date;
|
|
644
|
-
|
|
627
|
+
tags: string[];
|
|
628
|
+
durationMs: number;
|
|
645
629
|
costInCents: number;
|
|
646
630
|
baseCostInCents: number;
|
|
647
|
-
durationMs: number;
|
|
648
631
|
context?: any;
|
|
632
|
+
version?: string | undefined;
|
|
633
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
649
634
|
idempotencyKey?: string | undefined;
|
|
650
635
|
maxAttempts?: number | undefined;
|
|
651
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
652
636
|
maxDuration?: number | undefined;
|
|
653
|
-
version?: string | undefined;
|
|
654
637
|
};
|
|
655
638
|
environment: {
|
|
656
|
-
id: string;
|
|
657
639
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
640
|
+
id: string;
|
|
658
641
|
slug: string;
|
|
659
642
|
};
|
|
660
643
|
organization: {
|
|
661
|
-
id: string;
|
|
662
644
|
name: string;
|
|
645
|
+
id: string;
|
|
663
646
|
slug: string;
|
|
664
647
|
};
|
|
665
648
|
project: {
|
|
666
|
-
id: string;
|
|
667
649
|
name: string;
|
|
650
|
+
id: string;
|
|
668
651
|
slug: string;
|
|
669
652
|
ref: string;
|
|
670
653
|
};
|
|
654
|
+
task: {
|
|
655
|
+
id: string;
|
|
656
|
+
filePath: string;
|
|
657
|
+
exportName: string;
|
|
658
|
+
};
|
|
659
|
+
attempt: {
|
|
660
|
+
number: number;
|
|
661
|
+
status: string;
|
|
662
|
+
id: string;
|
|
663
|
+
startedAt: Date;
|
|
664
|
+
backgroundWorkerId: string;
|
|
665
|
+
backgroundWorkerTaskId: string;
|
|
666
|
+
};
|
|
667
|
+
queue: {
|
|
668
|
+
name: string;
|
|
669
|
+
id: string;
|
|
670
|
+
};
|
|
671
671
|
machine: {
|
|
672
672
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
673
673
|
cpu: number;
|
|
@@ -675,68 +675,68 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
675
675
|
centsPerMs: number;
|
|
676
676
|
};
|
|
677
677
|
worker: {
|
|
678
|
-
id: string;
|
|
679
678
|
version: string;
|
|
679
|
+
id: string;
|
|
680
680
|
contentHash: string;
|
|
681
681
|
};
|
|
682
682
|
batch?: {
|
|
683
683
|
id: string;
|
|
684
684
|
} | undefined;
|
|
685
685
|
}, {
|
|
686
|
-
queue: {
|
|
687
|
-
id: string;
|
|
688
|
-
name: string;
|
|
689
|
-
};
|
|
690
|
-
task: {
|
|
691
|
-
id: string;
|
|
692
|
-
filePath: string;
|
|
693
|
-
exportName: string;
|
|
694
|
-
};
|
|
695
|
-
attempt: {
|
|
696
|
-
number: number;
|
|
697
|
-
id: string;
|
|
698
|
-
status: string;
|
|
699
|
-
startedAt: Date;
|
|
700
|
-
backgroundWorkerId: string;
|
|
701
|
-
backgroundWorkerTaskId: string;
|
|
702
|
-
};
|
|
703
686
|
run: {
|
|
704
|
-
id: string;
|
|
705
687
|
payload: string;
|
|
688
|
+
id: string;
|
|
706
689
|
payloadType: string;
|
|
707
|
-
tags: string[];
|
|
708
690
|
createdAt: Date;
|
|
691
|
+
tags: string[];
|
|
709
692
|
context?: any;
|
|
710
|
-
idempotencyKey?: string | undefined;
|
|
711
|
-
maxAttempts?: number | undefined;
|
|
712
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
713
|
-
maxDuration?: number | undefined;
|
|
714
693
|
version?: string | undefined;
|
|
715
|
-
|
|
694
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
716
695
|
startedAt?: Date | undefined;
|
|
696
|
+
idempotencyKey?: string | undefined;
|
|
697
|
+
isTest?: boolean | undefined;
|
|
698
|
+
maxAttempts?: number | undefined;
|
|
699
|
+
durationMs?: number | undefined;
|
|
717
700
|
costInCents?: number | undefined;
|
|
718
701
|
baseCostInCents?: number | undefined;
|
|
719
|
-
|
|
702
|
+
maxDuration?: number | undefined;
|
|
720
703
|
};
|
|
721
704
|
environment: {
|
|
722
|
-
id: string;
|
|
723
705
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
706
|
+
id: string;
|
|
724
707
|
slug: string;
|
|
725
708
|
};
|
|
726
709
|
organization: {
|
|
727
|
-
id: string;
|
|
728
710
|
name: string;
|
|
711
|
+
id: string;
|
|
729
712
|
slug: string;
|
|
730
713
|
};
|
|
731
714
|
project: {
|
|
732
|
-
id: string;
|
|
733
715
|
name: string;
|
|
716
|
+
id: string;
|
|
734
717
|
slug: string;
|
|
735
718
|
ref: string;
|
|
736
719
|
};
|
|
737
|
-
|
|
720
|
+
task: {
|
|
721
|
+
id: string;
|
|
722
|
+
filePath: string;
|
|
723
|
+
exportName: string;
|
|
724
|
+
};
|
|
725
|
+
attempt: {
|
|
726
|
+
number: number;
|
|
727
|
+
status: string;
|
|
728
|
+
id: string;
|
|
729
|
+
startedAt: Date;
|
|
730
|
+
backgroundWorkerId: string;
|
|
731
|
+
backgroundWorkerTaskId: string;
|
|
732
|
+
};
|
|
733
|
+
queue: {
|
|
734
|
+
name: string;
|
|
738
735
|
id: string;
|
|
736
|
+
};
|
|
737
|
+
worker: {
|
|
739
738
|
version: string;
|
|
739
|
+
id: string;
|
|
740
740
|
contentHash: string;
|
|
741
741
|
};
|
|
742
742
|
batch?: {
|
|
@@ -774,15 +774,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
774
774
|
status: z.ZodString;
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
776
|
number: number;
|
|
777
|
-
id: string;
|
|
778
777
|
status: string;
|
|
778
|
+
id: string;
|
|
779
779
|
startedAt: Date;
|
|
780
780
|
backgroundWorkerId: string;
|
|
781
781
|
backgroundWorkerTaskId: string;
|
|
782
782
|
}, {
|
|
783
783
|
number: number;
|
|
784
|
-
id: string;
|
|
785
784
|
status: string;
|
|
785
|
+
id: string;
|
|
786
786
|
startedAt: Date;
|
|
787
787
|
backgroundWorkerId: string;
|
|
788
788
|
backgroundWorkerTaskId: string;
|
|
@@ -805,61 +805,61 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
805
805
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
806
806
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
-
id: string;
|
|
809
808
|
payload: string;
|
|
809
|
+
id: string;
|
|
810
|
+
startedAt: Date;
|
|
810
811
|
payloadType: string;
|
|
811
|
-
tags: string[];
|
|
812
812
|
isTest: boolean;
|
|
813
813
|
createdAt: Date;
|
|
814
|
-
|
|
814
|
+
tags: string[];
|
|
815
|
+
durationMs: number;
|
|
815
816
|
costInCents: number;
|
|
816
817
|
baseCostInCents: number;
|
|
817
|
-
durationMs: number;
|
|
818
818
|
context?: any;
|
|
819
|
+
version?: string | undefined;
|
|
820
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
819
821
|
idempotencyKey?: string | undefined;
|
|
820
822
|
maxAttempts?: number | undefined;
|
|
821
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
822
823
|
maxDuration?: number | undefined;
|
|
823
|
-
version?: string | undefined;
|
|
824
824
|
}, {
|
|
825
|
-
id: string;
|
|
826
825
|
payload: string;
|
|
826
|
+
id: string;
|
|
827
827
|
payloadType: string;
|
|
828
|
-
tags: string[];
|
|
829
828
|
createdAt: Date;
|
|
829
|
+
tags: string[];
|
|
830
830
|
context?: any;
|
|
831
|
-
idempotencyKey?: string | undefined;
|
|
832
|
-
maxAttempts?: number | undefined;
|
|
833
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
834
|
-
maxDuration?: number | undefined;
|
|
835
831
|
version?: string | undefined;
|
|
836
|
-
|
|
832
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
837
833
|
startedAt?: Date | undefined;
|
|
834
|
+
idempotencyKey?: string | undefined;
|
|
835
|
+
isTest?: boolean | undefined;
|
|
836
|
+
maxAttempts?: number | undefined;
|
|
837
|
+
durationMs?: number | undefined;
|
|
838
838
|
costInCents?: number | undefined;
|
|
839
839
|
baseCostInCents?: number | undefined;
|
|
840
|
-
|
|
840
|
+
maxDuration?: number | undefined;
|
|
841
841
|
}>;
|
|
842
842
|
queue: z.ZodObject<{
|
|
843
843
|
id: z.ZodString;
|
|
844
844
|
name: z.ZodString;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
id: string;
|
|
847
846
|
name: string;
|
|
848
|
-
}, {
|
|
849
847
|
id: string;
|
|
848
|
+
}, {
|
|
850
849
|
name: string;
|
|
850
|
+
id: string;
|
|
851
851
|
}>;
|
|
852
852
|
environment: z.ZodObject<{
|
|
853
853
|
id: z.ZodString;
|
|
854
854
|
slug: z.ZodString;
|
|
855
855
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
id: string;
|
|
858
857
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
858
|
+
id: string;
|
|
859
859
|
slug: string;
|
|
860
860
|
}, {
|
|
861
|
-
id: string;
|
|
862
861
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
862
|
+
id: string;
|
|
863
863
|
slug: string;
|
|
864
864
|
}>;
|
|
865
865
|
organization: z.ZodObject<{
|
|
@@ -867,12 +867,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
867
867
|
slug: z.ZodString;
|
|
868
868
|
name: z.ZodString;
|
|
869
869
|
}, "strip", z.ZodTypeAny, {
|
|
870
|
-
id: string;
|
|
871
870
|
name: string;
|
|
871
|
+
id: string;
|
|
872
872
|
slug: string;
|
|
873
873
|
}, {
|
|
874
|
-
id: string;
|
|
875
874
|
name: string;
|
|
875
|
+
id: string;
|
|
876
876
|
slug: string;
|
|
877
877
|
}>;
|
|
878
878
|
project: z.ZodObject<{
|
|
@@ -881,13 +881,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
881
881
|
slug: z.ZodString;
|
|
882
882
|
name: z.ZodString;
|
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
id: string;
|
|
885
884
|
name: string;
|
|
885
|
+
id: string;
|
|
886
886
|
slug: string;
|
|
887
887
|
ref: string;
|
|
888
888
|
}, {
|
|
889
|
-
id: string;
|
|
890
889
|
name: string;
|
|
890
|
+
id: string;
|
|
891
891
|
slug: string;
|
|
892
892
|
ref: string;
|
|
893
893
|
}>;
|
|
@@ -920,12 +920,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
920
920
|
contentHash: z.ZodString;
|
|
921
921
|
version: z.ZodString;
|
|
922
922
|
}, "strip", z.ZodTypeAny, {
|
|
923
|
-
id: string;
|
|
924
923
|
version: string;
|
|
924
|
+
id: string;
|
|
925
925
|
contentHash: string;
|
|
926
926
|
}, {
|
|
927
|
-
id: string;
|
|
928
927
|
version: string;
|
|
928
|
+
id: string;
|
|
929
929
|
contentHash: string;
|
|
930
930
|
}>;
|
|
931
931
|
machine: z.ZodDefault<z.ZodObject<{
|
|
@@ -945,57 +945,57 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
945
945
|
centsPerMs: number;
|
|
946
946
|
}>>;
|
|
947
947
|
}>, "strip", z.ZodTypeAny, {
|
|
948
|
-
queue: {
|
|
949
|
-
id: string;
|
|
950
|
-
name: string;
|
|
951
|
-
};
|
|
952
|
-
task: {
|
|
953
|
-
id: string;
|
|
954
|
-
filePath: string;
|
|
955
|
-
exportName: string;
|
|
956
|
-
};
|
|
957
|
-
attempt: {
|
|
958
|
-
number: number;
|
|
959
|
-
id: string;
|
|
960
|
-
status: string;
|
|
961
|
-
startedAt: Date;
|
|
962
|
-
backgroundWorkerId: string;
|
|
963
|
-
backgroundWorkerTaskId: string;
|
|
964
|
-
};
|
|
965
948
|
run: {
|
|
966
|
-
id: string;
|
|
967
949
|
payload: string;
|
|
950
|
+
id: string;
|
|
951
|
+
startedAt: Date;
|
|
968
952
|
payloadType: string;
|
|
969
|
-
tags: string[];
|
|
970
953
|
isTest: boolean;
|
|
971
954
|
createdAt: Date;
|
|
972
|
-
|
|
955
|
+
tags: string[];
|
|
956
|
+
durationMs: number;
|
|
973
957
|
costInCents: number;
|
|
974
958
|
baseCostInCents: number;
|
|
975
|
-
durationMs: number;
|
|
976
959
|
context?: any;
|
|
960
|
+
version?: string | undefined;
|
|
961
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
977
962
|
idempotencyKey?: string | undefined;
|
|
978
963
|
maxAttempts?: number | undefined;
|
|
979
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
980
964
|
maxDuration?: number | undefined;
|
|
981
|
-
version?: string | undefined;
|
|
982
965
|
};
|
|
983
966
|
environment: {
|
|
984
|
-
id: string;
|
|
985
967
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
968
|
+
id: string;
|
|
986
969
|
slug: string;
|
|
987
970
|
};
|
|
988
971
|
organization: {
|
|
989
|
-
id: string;
|
|
990
972
|
name: string;
|
|
973
|
+
id: string;
|
|
991
974
|
slug: string;
|
|
992
975
|
};
|
|
993
976
|
project: {
|
|
994
|
-
id: string;
|
|
995
977
|
name: string;
|
|
978
|
+
id: string;
|
|
996
979
|
slug: string;
|
|
997
980
|
ref: string;
|
|
998
981
|
};
|
|
982
|
+
task: {
|
|
983
|
+
id: string;
|
|
984
|
+
filePath: string;
|
|
985
|
+
exportName: string;
|
|
986
|
+
};
|
|
987
|
+
attempt: {
|
|
988
|
+
number: number;
|
|
989
|
+
status: string;
|
|
990
|
+
id: string;
|
|
991
|
+
startedAt: Date;
|
|
992
|
+
backgroundWorkerId: string;
|
|
993
|
+
backgroundWorkerTaskId: string;
|
|
994
|
+
};
|
|
995
|
+
queue: {
|
|
996
|
+
name: string;
|
|
997
|
+
id: string;
|
|
998
|
+
};
|
|
999
999
|
machine: {
|
|
1000
1000
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1001
1001
|
cpu: number;
|
|
@@ -1003,68 +1003,68 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1003
1003
|
centsPerMs: number;
|
|
1004
1004
|
};
|
|
1005
1005
|
worker: {
|
|
1006
|
-
id: string;
|
|
1007
1006
|
version: string;
|
|
1007
|
+
id: string;
|
|
1008
1008
|
contentHash: string;
|
|
1009
1009
|
};
|
|
1010
1010
|
batch?: {
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
} | undefined;
|
|
1013
1013
|
}, {
|
|
1014
|
-
queue: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
name: string;
|
|
1017
|
-
};
|
|
1018
|
-
task: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
filePath: string;
|
|
1021
|
-
exportName: string;
|
|
1022
|
-
};
|
|
1023
|
-
attempt: {
|
|
1024
|
-
number: number;
|
|
1025
|
-
id: string;
|
|
1026
|
-
status: string;
|
|
1027
|
-
startedAt: Date;
|
|
1028
|
-
backgroundWorkerId: string;
|
|
1029
|
-
backgroundWorkerTaskId: string;
|
|
1030
|
-
};
|
|
1031
1014
|
run: {
|
|
1032
|
-
id: string;
|
|
1033
1015
|
payload: string;
|
|
1016
|
+
id: string;
|
|
1034
1017
|
payloadType: string;
|
|
1035
|
-
tags: string[];
|
|
1036
1018
|
createdAt: Date;
|
|
1019
|
+
tags: string[];
|
|
1037
1020
|
context?: any;
|
|
1038
|
-
idempotencyKey?: string | undefined;
|
|
1039
|
-
maxAttempts?: number | undefined;
|
|
1040
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1041
|
-
maxDuration?: number | undefined;
|
|
1042
1021
|
version?: string | undefined;
|
|
1043
|
-
|
|
1022
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1044
1023
|
startedAt?: Date | undefined;
|
|
1024
|
+
idempotencyKey?: string | undefined;
|
|
1025
|
+
isTest?: boolean | undefined;
|
|
1026
|
+
maxAttempts?: number | undefined;
|
|
1027
|
+
durationMs?: number | undefined;
|
|
1045
1028
|
costInCents?: number | undefined;
|
|
1046
1029
|
baseCostInCents?: number | undefined;
|
|
1047
|
-
|
|
1030
|
+
maxDuration?: number | undefined;
|
|
1048
1031
|
};
|
|
1049
1032
|
environment: {
|
|
1050
|
-
id: string;
|
|
1051
1033
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1034
|
+
id: string;
|
|
1052
1035
|
slug: string;
|
|
1053
1036
|
};
|
|
1054
1037
|
organization: {
|
|
1055
|
-
id: string;
|
|
1056
1038
|
name: string;
|
|
1039
|
+
id: string;
|
|
1057
1040
|
slug: string;
|
|
1058
1041
|
};
|
|
1059
1042
|
project: {
|
|
1060
|
-
id: string;
|
|
1061
1043
|
name: string;
|
|
1044
|
+
id: string;
|
|
1062
1045
|
slug: string;
|
|
1063
1046
|
ref: string;
|
|
1064
1047
|
};
|
|
1065
|
-
|
|
1048
|
+
task: {
|
|
1049
|
+
id: string;
|
|
1050
|
+
filePath: string;
|
|
1051
|
+
exportName: string;
|
|
1052
|
+
};
|
|
1053
|
+
attempt: {
|
|
1054
|
+
number: number;
|
|
1055
|
+
status: string;
|
|
1056
|
+
id: string;
|
|
1057
|
+
startedAt: Date;
|
|
1058
|
+
backgroundWorkerId: string;
|
|
1059
|
+
backgroundWorkerTaskId: string;
|
|
1060
|
+
};
|
|
1061
|
+
queue: {
|
|
1062
|
+
name: string;
|
|
1066
1063
|
id: string;
|
|
1064
|
+
};
|
|
1065
|
+
worker: {
|
|
1067
1066
|
version: string;
|
|
1067
|
+
id: string;
|
|
1068
1068
|
contentHash: string;
|
|
1069
1069
|
};
|
|
1070
1070
|
batch?: {
|
|
@@ -1081,57 +1081,57 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1081
1081
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1082
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1083
|
execution: {
|
|
1084
|
-
queue: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
name: string;
|
|
1087
|
-
};
|
|
1088
|
-
task: {
|
|
1089
|
-
id: string;
|
|
1090
|
-
filePath: string;
|
|
1091
|
-
exportName: string;
|
|
1092
|
-
};
|
|
1093
|
-
attempt: {
|
|
1094
|
-
number: number;
|
|
1095
|
-
id: string;
|
|
1096
|
-
status: string;
|
|
1097
|
-
startedAt: Date;
|
|
1098
|
-
backgroundWorkerId: string;
|
|
1099
|
-
backgroundWorkerTaskId: string;
|
|
1100
|
-
};
|
|
1101
1084
|
run: {
|
|
1102
|
-
id: string;
|
|
1103
1085
|
payload: string;
|
|
1086
|
+
id: string;
|
|
1087
|
+
startedAt: Date;
|
|
1104
1088
|
payloadType: string;
|
|
1105
|
-
tags: string[];
|
|
1106
1089
|
isTest: boolean;
|
|
1107
1090
|
createdAt: Date;
|
|
1108
|
-
|
|
1091
|
+
tags: string[];
|
|
1092
|
+
durationMs: number;
|
|
1109
1093
|
costInCents: number;
|
|
1110
1094
|
baseCostInCents: number;
|
|
1111
|
-
durationMs: number;
|
|
1112
1095
|
context?: any;
|
|
1096
|
+
version?: string | undefined;
|
|
1097
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1113
1098
|
idempotencyKey?: string | undefined;
|
|
1114
1099
|
maxAttempts?: number | undefined;
|
|
1115
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1116
1100
|
maxDuration?: number | undefined;
|
|
1117
|
-
version?: string | undefined;
|
|
1118
1101
|
};
|
|
1119
1102
|
environment: {
|
|
1120
|
-
id: string;
|
|
1121
1103
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1104
|
+
id: string;
|
|
1122
1105
|
slug: string;
|
|
1123
1106
|
};
|
|
1124
1107
|
organization: {
|
|
1125
|
-
id: string;
|
|
1126
1108
|
name: string;
|
|
1109
|
+
id: string;
|
|
1127
1110
|
slug: string;
|
|
1128
1111
|
};
|
|
1129
1112
|
project: {
|
|
1130
|
-
id: string;
|
|
1131
1113
|
name: string;
|
|
1114
|
+
id: string;
|
|
1132
1115
|
slug: string;
|
|
1133
1116
|
ref: string;
|
|
1134
1117
|
};
|
|
1118
|
+
task: {
|
|
1119
|
+
id: string;
|
|
1120
|
+
filePath: string;
|
|
1121
|
+
exportName: string;
|
|
1122
|
+
};
|
|
1123
|
+
attempt: {
|
|
1124
|
+
number: number;
|
|
1125
|
+
status: string;
|
|
1126
|
+
id: string;
|
|
1127
|
+
startedAt: Date;
|
|
1128
|
+
backgroundWorkerId: string;
|
|
1129
|
+
backgroundWorkerTaskId: string;
|
|
1130
|
+
};
|
|
1131
|
+
queue: {
|
|
1132
|
+
name: string;
|
|
1133
|
+
id: string;
|
|
1134
|
+
};
|
|
1135
1135
|
machine: {
|
|
1136
1136
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1137
1137
|
cpu: number;
|
|
@@ -1139,8 +1139,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1139
1139
|
centsPerMs: number;
|
|
1140
1140
|
};
|
|
1141
1141
|
worker: {
|
|
1142
|
-
id: string;
|
|
1143
1142
|
version: string;
|
|
1143
|
+
id: string;
|
|
1144
1144
|
contentHash: string;
|
|
1145
1145
|
};
|
|
1146
1146
|
batch?: {
|
|
@@ -1151,60 +1151,60 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1151
1151
|
environment?: Record<string, string> | undefined;
|
|
1152
1152
|
}, {
|
|
1153
1153
|
execution: {
|
|
1154
|
-
queue: {
|
|
1155
|
-
id: string;
|
|
1156
|
-
name: string;
|
|
1157
|
-
};
|
|
1158
|
-
task: {
|
|
1159
|
-
id: string;
|
|
1160
|
-
filePath: string;
|
|
1161
|
-
exportName: string;
|
|
1162
|
-
};
|
|
1163
|
-
attempt: {
|
|
1164
|
-
number: number;
|
|
1165
|
-
id: string;
|
|
1166
|
-
status: string;
|
|
1167
|
-
startedAt: Date;
|
|
1168
|
-
backgroundWorkerId: string;
|
|
1169
|
-
backgroundWorkerTaskId: string;
|
|
1170
|
-
};
|
|
1171
1154
|
run: {
|
|
1172
|
-
id: string;
|
|
1173
1155
|
payload: string;
|
|
1156
|
+
id: string;
|
|
1174
1157
|
payloadType: string;
|
|
1175
|
-
tags: string[];
|
|
1176
1158
|
createdAt: Date;
|
|
1159
|
+
tags: string[];
|
|
1177
1160
|
context?: any;
|
|
1178
|
-
idempotencyKey?: string | undefined;
|
|
1179
|
-
maxAttempts?: number | undefined;
|
|
1180
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1181
|
-
maxDuration?: number | undefined;
|
|
1182
1161
|
version?: string | undefined;
|
|
1183
|
-
|
|
1162
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1184
1163
|
startedAt?: Date | undefined;
|
|
1164
|
+
idempotencyKey?: string | undefined;
|
|
1165
|
+
isTest?: boolean | undefined;
|
|
1166
|
+
maxAttempts?: number | undefined;
|
|
1167
|
+
durationMs?: number | undefined;
|
|
1185
1168
|
costInCents?: number | undefined;
|
|
1186
1169
|
baseCostInCents?: number | undefined;
|
|
1187
|
-
|
|
1170
|
+
maxDuration?: number | undefined;
|
|
1188
1171
|
};
|
|
1189
1172
|
environment: {
|
|
1190
|
-
id: string;
|
|
1191
1173
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1174
|
+
id: string;
|
|
1192
1175
|
slug: string;
|
|
1193
1176
|
};
|
|
1194
1177
|
organization: {
|
|
1195
|
-
id: string;
|
|
1196
1178
|
name: string;
|
|
1179
|
+
id: string;
|
|
1197
1180
|
slug: string;
|
|
1198
1181
|
};
|
|
1199
1182
|
project: {
|
|
1200
|
-
id: string;
|
|
1201
1183
|
name: string;
|
|
1184
|
+
id: string;
|
|
1202
1185
|
slug: string;
|
|
1203
1186
|
ref: string;
|
|
1204
1187
|
};
|
|
1205
|
-
|
|
1188
|
+
task: {
|
|
1189
|
+
id: string;
|
|
1190
|
+
filePath: string;
|
|
1191
|
+
exportName: string;
|
|
1192
|
+
};
|
|
1193
|
+
attempt: {
|
|
1194
|
+
number: number;
|
|
1195
|
+
status: string;
|
|
1196
|
+
id: string;
|
|
1197
|
+
startedAt: Date;
|
|
1198
|
+
backgroundWorkerId: string;
|
|
1199
|
+
backgroundWorkerTaskId: string;
|
|
1200
|
+
};
|
|
1201
|
+
queue: {
|
|
1202
|
+
name: string;
|
|
1206
1203
|
id: string;
|
|
1204
|
+
};
|
|
1205
|
+
worker: {
|
|
1207
1206
|
version: string;
|
|
1207
|
+
id: string;
|
|
1208
1208
|
contentHash: string;
|
|
1209
1209
|
};
|
|
1210
1210
|
batch?: {
|
|
@@ -1411,17 +1411,17 @@ export declare const RetryOptions: z.ZodObject<{
|
|
|
1411
1411
|
*/
|
|
1412
1412
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
1413
1413
|
}, "strip", z.ZodTypeAny, {
|
|
1414
|
-
maxAttempts?: number | undefined;
|
|
1415
1414
|
factor?: number | undefined;
|
|
1416
1415
|
minTimeoutInMs?: number | undefined;
|
|
1417
1416
|
maxTimeoutInMs?: number | undefined;
|
|
1418
1417
|
randomize?: boolean | undefined;
|
|
1419
|
-
}, {
|
|
1420
1418
|
maxAttempts?: number | undefined;
|
|
1419
|
+
}, {
|
|
1421
1420
|
factor?: number | undefined;
|
|
1422
1421
|
minTimeoutInMs?: number | undefined;
|
|
1423
1422
|
maxTimeoutInMs?: number | undefined;
|
|
1424
1423
|
randomize?: boolean | undefined;
|
|
1424
|
+
maxAttempts?: number | undefined;
|
|
1425
1425
|
}>;
|
|
1426
1426
|
export type RetryOptions = z.infer<typeof RetryOptions>;
|
|
1427
1427
|
export declare const QueueOptions: z.ZodObject<{
|
|
@@ -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;
|
|
@@ -1544,29 +1544,29 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1544
1544
|
*/
|
|
1545
1545
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
1546
1546
|
}, "strip", z.ZodTypeAny, {
|
|
1547
|
-
maxAttempts?: number | undefined;
|
|
1548
1547
|
factor?: number | undefined;
|
|
1549
1548
|
minTimeoutInMs?: number | undefined;
|
|
1550
1549
|
maxTimeoutInMs?: number | undefined;
|
|
1551
1550
|
randomize?: boolean | undefined;
|
|
1552
|
-
}, {
|
|
1553
1551
|
maxAttempts?: number | undefined;
|
|
1552
|
+
}, {
|
|
1554
1553
|
factor?: number | undefined;
|
|
1555
1554
|
minTimeoutInMs?: number | undefined;
|
|
1556
1555
|
maxTimeoutInMs?: number | undefined;
|
|
1557
1556
|
randomize?: boolean | undefined;
|
|
1557
|
+
maxAttempts?: number | undefined;
|
|
1558
1558
|
}>>;
|
|
1559
1559
|
machine: z.ZodOptional<z.ZodObject<{
|
|
1560
1560
|
cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
|
|
1561
1561
|
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>]>>;
|
|
1562
1562
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1563
1563
|
}, "strip", z.ZodTypeAny, {
|
|
1564
|
-
cpu?:
|
|
1565
|
-
memory?:
|
|
1564
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1565
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1566
1566
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1567
1567
|
}, {
|
|
1568
|
-
cpu?:
|
|
1569
|
-
memory?:
|
|
1568
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1569
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1570
1570
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1571
1571
|
}>>;
|
|
1572
1572
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1574,60 +1574,60 @@ 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
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1586
|
+
description?: string | undefined;
|
|
1587
|
+
schedule?: {
|
|
1588
|
+
cron: string;
|
|
1589
|
+
timezone: string;
|
|
1589
1590
|
} | undefined;
|
|
1590
|
-
maxDuration?: number | undefined;
|
|
1591
1591
|
retry?: {
|
|
1592
|
-
maxAttempts?: number | undefined;
|
|
1593
1592
|
factor?: number | undefined;
|
|
1594
1593
|
minTimeoutInMs?: number | undefined;
|
|
1595
1594
|
maxTimeoutInMs?: number | undefined;
|
|
1596
1595
|
randomize?: boolean | undefined;
|
|
1596
|
+
maxAttempts?: number | undefined;
|
|
1597
1597
|
} | undefined;
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1598
|
+
maxDuration?: number | undefined;
|
|
1599
|
+
queue?: {
|
|
1600
|
+
name?: string | undefined;
|
|
1601
|
+
concurrencyLimit?: number | undefined;
|
|
1602
1602
|
} | undefined;
|
|
1603
1603
|
machine?: {
|
|
1604
|
-
cpu?:
|
|
1605
|
-
memory?:
|
|
1604
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1605
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1606
1606
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1607
1607
|
} | undefined;
|
|
1608
1608
|
triggerSource?: string | undefined;
|
|
1609
1609
|
}, {
|
|
1610
1610
|
id: string;
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1611
|
+
description?: string | undefined;
|
|
1612
|
+
schedule?: {
|
|
1613
|
+
cron: string;
|
|
1614
|
+
timezone: string;
|
|
1614
1615
|
} | undefined;
|
|
1615
|
-
maxDuration?: number | undefined;
|
|
1616
1616
|
retry?: {
|
|
1617
|
-
maxAttempts?: number | undefined;
|
|
1618
1617
|
factor?: number | undefined;
|
|
1619
1618
|
minTimeoutInMs?: number | undefined;
|
|
1620
1619
|
maxTimeoutInMs?: number | undefined;
|
|
1621
1620
|
randomize?: boolean | undefined;
|
|
1621
|
+
maxAttempts?: number | undefined;
|
|
1622
1622
|
} | undefined;
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1623
|
+
maxDuration?: number | undefined;
|
|
1624
|
+
queue?: {
|
|
1625
|
+
name?: string | undefined;
|
|
1626
|
+
concurrencyLimit?: number | undefined;
|
|
1627
1627
|
} | undefined;
|
|
1628
1628
|
machine?: {
|
|
1629
|
-
cpu?:
|
|
1630
|
-
memory?:
|
|
1629
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1630
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1631
1631
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1632
1632
|
} | undefined;
|
|
1633
1633
|
triggerSource?: string | undefined;
|
|
@@ -1637,11 +1637,11 @@ export declare const TaskFile: z.ZodObject<{
|
|
|
1637
1637
|
entry: z.ZodString;
|
|
1638
1638
|
out: z.ZodString;
|
|
1639
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
entry: string;
|
|
1641
1640
|
out: string;
|
|
1642
|
-
}, {
|
|
1643
1641
|
entry: string;
|
|
1642
|
+
}, {
|
|
1644
1643
|
out: string;
|
|
1644
|
+
entry: string;
|
|
1645
1645
|
}>;
|
|
1646
1646
|
export type TaskFile = z.infer<typeof TaskFile>;
|
|
1647
1647
|
export declare const TaskFileMetadata: z.ZodObject<{
|
|
@@ -1726,29 +1726,29 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1726
1726
|
*/
|
|
1727
1727
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
1728
1728
|
}, "strip", z.ZodTypeAny, {
|
|
1729
|
-
maxAttempts?: number | undefined;
|
|
1730
1729
|
factor?: number | undefined;
|
|
1731
1730
|
minTimeoutInMs?: number | undefined;
|
|
1732
1731
|
maxTimeoutInMs?: number | undefined;
|
|
1733
1732
|
randomize?: boolean | undefined;
|
|
1734
|
-
}, {
|
|
1735
1733
|
maxAttempts?: number | undefined;
|
|
1734
|
+
}, {
|
|
1736
1735
|
factor?: number | undefined;
|
|
1737
1736
|
minTimeoutInMs?: number | undefined;
|
|
1738
1737
|
maxTimeoutInMs?: number | undefined;
|
|
1739
1738
|
randomize?: boolean | undefined;
|
|
1739
|
+
maxAttempts?: number | undefined;
|
|
1740
1740
|
}>>;
|
|
1741
1741
|
machine: z.ZodOptional<z.ZodObject<{
|
|
1742
1742
|
cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
|
|
1743
1743
|
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>]>>;
|
|
1744
1744
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1745
1745
|
}, "strip", z.ZodTypeAny, {
|
|
1746
|
-
cpu?:
|
|
1747
|
-
memory?:
|
|
1746
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1747
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1748
1748
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1749
1749
|
}, {
|
|
1750
|
-
cpu?:
|
|
1751
|
-
memory?:
|
|
1750
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1751
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1752
1752
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1753
1753
|
}>>;
|
|
1754
1754
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1756,11 +1756,11 @@ 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, {
|
|
@@ -1768,26 +1768,26 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1768
1768
|
filePath: string;
|
|
1769
1769
|
exportName: string;
|
|
1770
1770
|
entryPoint: string;
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1771
|
+
description?: string | undefined;
|
|
1772
|
+
schedule?: {
|
|
1773
|
+
cron: string;
|
|
1774
|
+
timezone: string;
|
|
1774
1775
|
} | undefined;
|
|
1775
|
-
maxDuration?: number | undefined;
|
|
1776
1776
|
retry?: {
|
|
1777
|
-
maxAttempts?: number | undefined;
|
|
1778
1777
|
factor?: number | undefined;
|
|
1779
1778
|
minTimeoutInMs?: number | undefined;
|
|
1780
1779
|
maxTimeoutInMs?: number | undefined;
|
|
1781
1780
|
randomize?: boolean | undefined;
|
|
1781
|
+
maxAttempts?: number | undefined;
|
|
1782
1782
|
} | undefined;
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1783
|
+
maxDuration?: number | undefined;
|
|
1784
|
+
queue?: {
|
|
1785
|
+
name?: string | undefined;
|
|
1786
|
+
concurrencyLimit?: number | undefined;
|
|
1787
1787
|
} | undefined;
|
|
1788
1788
|
machine?: {
|
|
1789
|
-
cpu?:
|
|
1790
|
-
memory?:
|
|
1789
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1790
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1791
1791
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1792
1792
|
} | undefined;
|
|
1793
1793
|
triggerSource?: string | undefined;
|
|
@@ -1796,26 +1796,26 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1796
1796
|
filePath: string;
|
|
1797
1797
|
exportName: string;
|
|
1798
1798
|
entryPoint: string;
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1799
|
+
description?: string | undefined;
|
|
1800
|
+
schedule?: {
|
|
1801
|
+
cron: string;
|
|
1802
|
+
timezone: string;
|
|
1802
1803
|
} | undefined;
|
|
1803
|
-
maxDuration?: number | undefined;
|
|
1804
1804
|
retry?: {
|
|
1805
|
-
maxAttempts?: number | undefined;
|
|
1806
1805
|
factor?: number | undefined;
|
|
1807
1806
|
minTimeoutInMs?: number | undefined;
|
|
1808
1807
|
maxTimeoutInMs?: number | undefined;
|
|
1809
1808
|
randomize?: boolean | undefined;
|
|
1809
|
+
maxAttempts?: number | undefined;
|
|
1810
1810
|
} | undefined;
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1811
|
+
maxDuration?: number | undefined;
|
|
1812
|
+
queue?: {
|
|
1813
|
+
name?: string | undefined;
|
|
1814
|
+
concurrencyLimit?: number | undefined;
|
|
1815
1815
|
} | undefined;
|
|
1816
1816
|
machine?: {
|
|
1817
|
-
cpu?:
|
|
1818
|
-
memory?:
|
|
1817
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1818
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
1819
1819
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1820
1820
|
} | undefined;
|
|
1821
1821
|
triggerSource?: string | undefined;
|
|
@@ -1851,34 +1851,34 @@ export declare const Config: z.ZodObject<{
|
|
|
1851
1851
|
*/
|
|
1852
1852
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
1853
1853
|
}, "strip", z.ZodTypeAny, {
|
|
1854
|
-
maxAttempts?: number | undefined;
|
|
1855
1854
|
factor?: number | undefined;
|
|
1856
1855
|
minTimeoutInMs?: number | undefined;
|
|
1857
1856
|
maxTimeoutInMs?: number | undefined;
|
|
1858
1857
|
randomize?: boolean | undefined;
|
|
1859
|
-
}, {
|
|
1860
1858
|
maxAttempts?: number | undefined;
|
|
1859
|
+
}, {
|
|
1861
1860
|
factor?: number | undefined;
|
|
1862
1861
|
minTimeoutInMs?: number | undefined;
|
|
1863
1862
|
maxTimeoutInMs?: number | undefined;
|
|
1864
1863
|
randomize?: boolean | undefined;
|
|
1864
|
+
maxAttempts?: number | undefined;
|
|
1865
1865
|
}>>;
|
|
1866
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1867
1867
|
enabledInDev: boolean;
|
|
1868
1868
|
default?: {
|
|
1869
|
-
maxAttempts?: number | undefined;
|
|
1870
1869
|
factor?: number | undefined;
|
|
1871
1870
|
minTimeoutInMs?: number | undefined;
|
|
1872
1871
|
maxTimeoutInMs?: number | undefined;
|
|
1873
1872
|
randomize?: boolean | undefined;
|
|
1873
|
+
maxAttempts?: number | undefined;
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
}, {
|
|
1876
1876
|
default?: {
|
|
1877
|
-
maxAttempts?: number | undefined;
|
|
1878
1877
|
factor?: number | undefined;
|
|
1879
1878
|
minTimeoutInMs?: number | undefined;
|
|
1880
1879
|
maxTimeoutInMs?: number | undefined;
|
|
1881
1880
|
randomize?: boolean | undefined;
|
|
1881
|
+
maxAttempts?: number | undefined;
|
|
1882
1882
|
} | undefined;
|
|
1883
1883
|
enabledInDev?: boolean | undefined;
|
|
1884
1884
|
}>>;
|
|
@@ -1898,11 +1898,11 @@ export declare const Config: z.ZodObject<{
|
|
|
1898
1898
|
retries?: {
|
|
1899
1899
|
enabledInDev: boolean;
|
|
1900
1900
|
default?: {
|
|
1901
|
-
maxAttempts?: number | undefined;
|
|
1902
1901
|
factor?: number | undefined;
|
|
1903
1902
|
minTimeoutInMs?: number | undefined;
|
|
1904
1903
|
maxTimeoutInMs?: number | undefined;
|
|
1905
1904
|
randomize?: boolean | undefined;
|
|
1905
|
+
maxAttempts?: number | undefined;
|
|
1906
1906
|
} | undefined;
|
|
1907
1907
|
} | undefined;
|
|
1908
1908
|
additionalPackages?: string[] | undefined;
|
|
@@ -1920,11 +1920,11 @@ export declare const Config: z.ZodObject<{
|
|
|
1920
1920
|
tsconfigPath?: string | undefined;
|
|
1921
1921
|
retries?: {
|
|
1922
1922
|
default?: {
|
|
1923
|
-
maxAttempts?: number | undefined;
|
|
1924
1923
|
factor?: number | undefined;
|
|
1925
1924
|
minTimeoutInMs?: number | undefined;
|
|
1926
1925
|
maxTimeoutInMs?: number | undefined;
|
|
1927
1926
|
randomize?: boolean | undefined;
|
|
1927
|
+
maxAttempts?: number | undefined;
|
|
1928
1928
|
} | undefined;
|
|
1929
1929
|
enabledInDev?: boolean | undefined;
|
|
1930
1930
|
} | 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>;
|