@trigger.dev/core 0.0.0-prerelease-20240823132052 → 0.0.0-prerelease-20240905123715
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 +45 -45
- package/dist/commonjs/v3/build/extensions.d.ts +1 -1
- package/dist/commonjs/v3/build/extensions.js +2 -2
- package/dist/commonjs/v3/build/extensions.js.map +1 -1
- package/dist/commonjs/v3/build/runtime.d.ts +5 -0
- package/dist/commonjs/v3/build/runtime.js +19 -0
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +10 -0
- package/dist/commonjs/v3/schemas/api.d.ts +207 -207
- package/dist/commonjs/v3/schemas/build.d.ts +190 -170
- package/dist/commonjs/v3/schemas/build.js +2 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
- package/dist/commonjs/v3/schemas/messages.d.ts +2821 -2816
- package/dist/commonjs/v3/schemas/resources.d.ts +36 -36
- package/dist/commonjs/v3/schemas/schemas.d.ts +395 -395
- package/dist/commonjs/v3/workers/taskExecutor.js +0 -12
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +45 -45
- package/dist/esm/v3/build/extensions.d.ts +1 -1
- package/dist/esm/v3/build/extensions.js +1 -1
- package/dist/esm/v3/build/extensions.js.map +1 -1
- package/dist/esm/v3/build/runtime.d.ts +5 -0
- package/dist/esm/v3/build/runtime.js +18 -0
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/config.d.ts +10 -0
- package/dist/esm/v3/schemas/api.d.ts +207 -207
- package/dist/esm/v3/schemas/build.d.ts +190 -170
- package/dist/esm/v3/schemas/build.js +2 -0
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +2821 -2816
- package/dist/esm/v3/schemas/resources.d.ts +36 -36
- package/dist/esm/v3/schemas/schemas.d.ts +395 -395
- package/dist/esm/v3/workers/taskExecutor.js +0 -12
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -9,13 +9,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
9
9
|
filePath: z.ZodString;
|
|
10
10
|
exportName: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
id: string;
|
|
13
12
|
filePath: string;
|
|
14
13
|
exportName: string;
|
|
15
|
-
}, {
|
|
16
14
|
id: string;
|
|
15
|
+
}, {
|
|
17
16
|
filePath: string;
|
|
18
17
|
exportName: string;
|
|
18
|
+
id: string;
|
|
19
19
|
}>;
|
|
20
20
|
attempt: z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
@@ -55,13 +55,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
55
55
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
56
56
|
version: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
payload: string;
|
|
59
58
|
id: string;
|
|
60
59
|
startedAt: Date;
|
|
60
|
+
payload: string;
|
|
61
61
|
payloadType: string;
|
|
62
|
+
tags: string[];
|
|
62
63
|
isTest: boolean;
|
|
63
64
|
createdAt: Date;
|
|
64
|
-
tags: string[];
|
|
65
65
|
durationMs: number;
|
|
66
66
|
costInCents: number;
|
|
67
67
|
baseCostInCents: number;
|
|
@@ -70,11 +70,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
70
70
|
maxAttempts?: number | undefined;
|
|
71
71
|
version?: string | undefined;
|
|
72
72
|
}, {
|
|
73
|
-
payload: string;
|
|
74
73
|
id: string;
|
|
74
|
+
payload: string;
|
|
75
75
|
payloadType: string;
|
|
76
|
-
createdAt: Date;
|
|
77
76
|
tags: string[];
|
|
77
|
+
createdAt: Date;
|
|
78
78
|
context?: any;
|
|
79
79
|
isTest?: boolean | undefined;
|
|
80
80
|
startedAt?: Date | undefined;
|
|
@@ -161,42 +161,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
161
161
|
centsPerMs: number;
|
|
162
162
|
}>>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
run: {
|
|
165
|
-
payload: string;
|
|
166
|
-
id: string;
|
|
167
|
-
startedAt: Date;
|
|
168
|
-
payloadType: string;
|
|
169
|
-
isTest: boolean;
|
|
170
|
-
createdAt: Date;
|
|
171
|
-
tags: string[];
|
|
172
|
-
durationMs: number;
|
|
173
|
-
costInCents: number;
|
|
174
|
-
baseCostInCents: number;
|
|
175
|
-
context?: any;
|
|
176
|
-
idempotencyKey?: string | undefined;
|
|
177
|
-
maxAttempts?: number | undefined;
|
|
178
|
-
version?: string | undefined;
|
|
179
|
-
};
|
|
180
164
|
environment: {
|
|
181
165
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
182
166
|
id: string;
|
|
183
167
|
slug: string;
|
|
184
168
|
};
|
|
185
|
-
|
|
169
|
+
project: {
|
|
186
170
|
name: string;
|
|
187
171
|
id: string;
|
|
188
172
|
slug: string;
|
|
173
|
+
ref: string;
|
|
189
174
|
};
|
|
190
|
-
|
|
175
|
+
queue: {
|
|
191
176
|
name: string;
|
|
192
177
|
id: string;
|
|
193
|
-
slug: string;
|
|
194
|
-
ref: string;
|
|
195
178
|
};
|
|
196
179
|
task: {
|
|
197
|
-
id: string;
|
|
198
180
|
filePath: string;
|
|
199
181
|
exportName: string;
|
|
182
|
+
id: string;
|
|
200
183
|
};
|
|
201
184
|
attempt: {
|
|
202
185
|
number: number;
|
|
@@ -206,9 +189,26 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
206
189
|
backgroundWorkerId: string;
|
|
207
190
|
backgroundWorkerTaskId: string;
|
|
208
191
|
};
|
|
209
|
-
|
|
192
|
+
run: {
|
|
193
|
+
id: string;
|
|
194
|
+
startedAt: Date;
|
|
195
|
+
payload: string;
|
|
196
|
+
payloadType: string;
|
|
197
|
+
tags: string[];
|
|
198
|
+
isTest: boolean;
|
|
199
|
+
createdAt: Date;
|
|
200
|
+
durationMs: number;
|
|
201
|
+
costInCents: number;
|
|
202
|
+
baseCostInCents: number;
|
|
203
|
+
context?: any;
|
|
204
|
+
idempotencyKey?: string | undefined;
|
|
205
|
+
maxAttempts?: number | undefined;
|
|
206
|
+
version?: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
organization: {
|
|
210
209
|
name: string;
|
|
211
210
|
id: string;
|
|
211
|
+
slug: string;
|
|
212
212
|
};
|
|
213
213
|
batch?: {
|
|
214
214
|
id: string;
|
|
@@ -220,42 +220,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
220
220
|
centsPerMs: number;
|
|
221
221
|
} | undefined;
|
|
222
222
|
}, {
|
|
223
|
-
run: {
|
|
224
|
-
payload: string;
|
|
225
|
-
id: string;
|
|
226
|
-
payloadType: string;
|
|
227
|
-
createdAt: Date;
|
|
228
|
-
tags: string[];
|
|
229
|
-
context?: any;
|
|
230
|
-
isTest?: boolean | undefined;
|
|
231
|
-
startedAt?: Date | undefined;
|
|
232
|
-
idempotencyKey?: string | undefined;
|
|
233
|
-
maxAttempts?: number | undefined;
|
|
234
|
-
durationMs?: number | undefined;
|
|
235
|
-
costInCents?: number | undefined;
|
|
236
|
-
baseCostInCents?: number | undefined;
|
|
237
|
-
version?: string | undefined;
|
|
238
|
-
};
|
|
239
223
|
environment: {
|
|
240
224
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
241
225
|
id: string;
|
|
242
226
|
slug: string;
|
|
243
227
|
};
|
|
244
|
-
|
|
228
|
+
project: {
|
|
245
229
|
name: string;
|
|
246
230
|
id: string;
|
|
247
231
|
slug: string;
|
|
232
|
+
ref: string;
|
|
248
233
|
};
|
|
249
|
-
|
|
234
|
+
queue: {
|
|
250
235
|
name: string;
|
|
251
236
|
id: string;
|
|
252
|
-
slug: string;
|
|
253
|
-
ref: string;
|
|
254
237
|
};
|
|
255
238
|
task: {
|
|
256
|
-
id: string;
|
|
257
239
|
filePath: string;
|
|
258
240
|
exportName: string;
|
|
241
|
+
id: string;
|
|
259
242
|
};
|
|
260
243
|
attempt: {
|
|
261
244
|
number: number;
|
|
@@ -265,9 +248,26 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
265
248
|
backgroundWorkerId: string;
|
|
266
249
|
backgroundWorkerTaskId: string;
|
|
267
250
|
};
|
|
268
|
-
|
|
251
|
+
run: {
|
|
252
|
+
id: string;
|
|
253
|
+
payload: string;
|
|
254
|
+
payloadType: string;
|
|
255
|
+
tags: string[];
|
|
256
|
+
createdAt: Date;
|
|
257
|
+
context?: any;
|
|
258
|
+
isTest?: boolean | undefined;
|
|
259
|
+
startedAt?: Date | undefined;
|
|
260
|
+
idempotencyKey?: string | undefined;
|
|
261
|
+
maxAttempts?: number | undefined;
|
|
262
|
+
durationMs?: number | undefined;
|
|
263
|
+
costInCents?: number | undefined;
|
|
264
|
+
baseCostInCents?: number | undefined;
|
|
265
|
+
version?: string | undefined;
|
|
266
|
+
};
|
|
267
|
+
organization: {
|
|
269
268
|
name: string;
|
|
270
269
|
id: string;
|
|
270
|
+
slug: string;
|
|
271
271
|
};
|
|
272
272
|
batch?: {
|
|
273
273
|
id: string;
|
|
@@ -283,42 +283,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
283
283
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
285
|
execution: {
|
|
286
|
-
run: {
|
|
287
|
-
payload: string;
|
|
288
|
-
id: string;
|
|
289
|
-
startedAt: Date;
|
|
290
|
-
payloadType: string;
|
|
291
|
-
isTest: boolean;
|
|
292
|
-
createdAt: Date;
|
|
293
|
-
tags: string[];
|
|
294
|
-
durationMs: number;
|
|
295
|
-
costInCents: number;
|
|
296
|
-
baseCostInCents: number;
|
|
297
|
-
context?: any;
|
|
298
|
-
idempotencyKey?: string | undefined;
|
|
299
|
-
maxAttempts?: number | undefined;
|
|
300
|
-
version?: string | undefined;
|
|
301
|
-
};
|
|
302
286
|
environment: {
|
|
303
287
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
304
288
|
id: string;
|
|
305
289
|
slug: string;
|
|
306
290
|
};
|
|
307
|
-
|
|
291
|
+
project: {
|
|
308
292
|
name: string;
|
|
309
293
|
id: string;
|
|
310
294
|
slug: string;
|
|
295
|
+
ref: string;
|
|
311
296
|
};
|
|
312
|
-
|
|
297
|
+
queue: {
|
|
313
298
|
name: string;
|
|
314
299
|
id: string;
|
|
315
|
-
slug: string;
|
|
316
|
-
ref: string;
|
|
317
300
|
};
|
|
318
301
|
task: {
|
|
319
|
-
id: string;
|
|
320
302
|
filePath: string;
|
|
321
303
|
exportName: string;
|
|
304
|
+
id: string;
|
|
322
305
|
};
|
|
323
306
|
attempt: {
|
|
324
307
|
number: number;
|
|
@@ -328,9 +311,26 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
328
311
|
backgroundWorkerId: string;
|
|
329
312
|
backgroundWorkerTaskId: string;
|
|
330
313
|
};
|
|
331
|
-
|
|
314
|
+
run: {
|
|
315
|
+
id: string;
|
|
316
|
+
startedAt: Date;
|
|
317
|
+
payload: string;
|
|
318
|
+
payloadType: string;
|
|
319
|
+
tags: string[];
|
|
320
|
+
isTest: boolean;
|
|
321
|
+
createdAt: Date;
|
|
322
|
+
durationMs: number;
|
|
323
|
+
costInCents: number;
|
|
324
|
+
baseCostInCents: number;
|
|
325
|
+
context?: any;
|
|
326
|
+
idempotencyKey?: string | undefined;
|
|
327
|
+
maxAttempts?: number | undefined;
|
|
328
|
+
version?: string | undefined;
|
|
329
|
+
};
|
|
330
|
+
organization: {
|
|
332
331
|
name: string;
|
|
333
332
|
id: string;
|
|
333
|
+
slug: string;
|
|
334
334
|
};
|
|
335
335
|
batch?: {
|
|
336
336
|
id: string;
|
|
@@ -346,42 +346,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
346
346
|
environment?: Record<string, string> | undefined;
|
|
347
347
|
}, {
|
|
348
348
|
execution: {
|
|
349
|
-
run: {
|
|
350
|
-
payload: string;
|
|
351
|
-
id: string;
|
|
352
|
-
payloadType: string;
|
|
353
|
-
createdAt: Date;
|
|
354
|
-
tags: string[];
|
|
355
|
-
context?: any;
|
|
356
|
-
isTest?: boolean | undefined;
|
|
357
|
-
startedAt?: Date | undefined;
|
|
358
|
-
idempotencyKey?: string | undefined;
|
|
359
|
-
maxAttempts?: number | undefined;
|
|
360
|
-
durationMs?: number | undefined;
|
|
361
|
-
costInCents?: number | undefined;
|
|
362
|
-
baseCostInCents?: number | undefined;
|
|
363
|
-
version?: string | undefined;
|
|
364
|
-
};
|
|
365
349
|
environment: {
|
|
366
350
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
367
351
|
id: string;
|
|
368
352
|
slug: string;
|
|
369
353
|
};
|
|
370
|
-
|
|
354
|
+
project: {
|
|
371
355
|
name: string;
|
|
372
356
|
id: string;
|
|
373
357
|
slug: string;
|
|
358
|
+
ref: string;
|
|
374
359
|
};
|
|
375
|
-
|
|
360
|
+
queue: {
|
|
376
361
|
name: string;
|
|
377
362
|
id: string;
|
|
378
|
-
slug: string;
|
|
379
|
-
ref: string;
|
|
380
363
|
};
|
|
381
364
|
task: {
|
|
382
|
-
id: string;
|
|
383
365
|
filePath: string;
|
|
384
366
|
exportName: string;
|
|
367
|
+
id: string;
|
|
385
368
|
};
|
|
386
369
|
attempt: {
|
|
387
370
|
number: number;
|
|
@@ -391,9 +374,26 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
391
374
|
backgroundWorkerId: string;
|
|
392
375
|
backgroundWorkerTaskId: string;
|
|
393
376
|
};
|
|
394
|
-
|
|
377
|
+
run: {
|
|
378
|
+
id: string;
|
|
379
|
+
payload: string;
|
|
380
|
+
payloadType: string;
|
|
381
|
+
tags: string[];
|
|
382
|
+
createdAt: Date;
|
|
383
|
+
context?: any;
|
|
384
|
+
isTest?: boolean | undefined;
|
|
385
|
+
startedAt?: Date | undefined;
|
|
386
|
+
idempotencyKey?: string | undefined;
|
|
387
|
+
maxAttempts?: number | undefined;
|
|
388
|
+
durationMs?: number | undefined;
|
|
389
|
+
costInCents?: number | undefined;
|
|
390
|
+
baseCostInCents?: number | undefined;
|
|
391
|
+
version?: string | undefined;
|
|
392
|
+
};
|
|
393
|
+
organization: {
|
|
395
394
|
name: string;
|
|
396
395
|
id: string;
|
|
396
|
+
slug: string;
|
|
397
397
|
};
|
|
398
398
|
batch?: {
|
|
399
399
|
id: string;
|
|
@@ -410,52 +410,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
410
410
|
}>;
|
|
411
411
|
export type TaskRunExecutionPayload = z.infer<typeof TaskRunExecutionPayload>;
|
|
412
412
|
export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
413
|
-
run: z.ZodObject<{
|
|
414
|
-
id: z.ZodString;
|
|
415
|
-
payload: z.ZodString;
|
|
416
|
-
payloadType: z.ZodString;
|
|
417
|
-
context: z.ZodAny;
|
|
418
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
419
|
-
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
420
|
-
createdAt: z.ZodDate;
|
|
421
|
-
startedAt: z.ZodDefault<z.ZodDate>;
|
|
422
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
423
|
-
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
424
|
-
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
425
|
-
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
426
|
-
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
427
|
-
version: z.ZodOptional<z.ZodString>;
|
|
428
|
-
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
payload: string;
|
|
430
|
-
id: string;
|
|
431
|
-
startedAt: Date;
|
|
432
|
-
payloadType: string;
|
|
433
|
-
isTest: boolean;
|
|
434
|
-
createdAt: Date;
|
|
435
|
-
tags: string[];
|
|
436
|
-
durationMs: number;
|
|
437
|
-
costInCents: number;
|
|
438
|
-
baseCostInCents: number;
|
|
439
|
-
context?: any;
|
|
440
|
-
idempotencyKey?: string | undefined;
|
|
441
|
-
maxAttempts?: number | undefined;
|
|
442
|
-
version?: string | undefined;
|
|
443
|
-
}, {
|
|
444
|
-
payload: string;
|
|
445
|
-
id: string;
|
|
446
|
-
payloadType: string;
|
|
447
|
-
createdAt: Date;
|
|
448
|
-
tags: string[];
|
|
449
|
-
context?: any;
|
|
450
|
-
isTest?: boolean | undefined;
|
|
451
|
-
startedAt?: Date | undefined;
|
|
452
|
-
idempotencyKey?: string | undefined;
|
|
453
|
-
maxAttempts?: number | undefined;
|
|
454
|
-
durationMs?: number | undefined;
|
|
455
|
-
costInCents?: number | undefined;
|
|
456
|
-
baseCostInCents?: number | undefined;
|
|
457
|
-
version?: string | undefined;
|
|
458
|
-
}>;
|
|
459
413
|
environment: z.ZodObject<{
|
|
460
414
|
id: z.ZodString;
|
|
461
415
|
slug: z.ZodString;
|
|
@@ -469,47 +423,44 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
469
423
|
id: string;
|
|
470
424
|
slug: string;
|
|
471
425
|
}>;
|
|
472
|
-
|
|
426
|
+
project: z.ZodObject<{
|
|
473
427
|
id: z.ZodString;
|
|
428
|
+
ref: z.ZodString;
|
|
474
429
|
slug: z.ZodString;
|
|
475
430
|
name: z.ZodString;
|
|
476
431
|
}, "strip", z.ZodTypeAny, {
|
|
477
432
|
name: string;
|
|
478
433
|
id: string;
|
|
479
434
|
slug: string;
|
|
435
|
+
ref: string;
|
|
480
436
|
}, {
|
|
481
437
|
name: string;
|
|
482
438
|
id: string;
|
|
483
439
|
slug: string;
|
|
440
|
+
ref: string;
|
|
484
441
|
}>;
|
|
485
|
-
|
|
442
|
+
queue: z.ZodObject<{
|
|
486
443
|
id: z.ZodString;
|
|
487
|
-
ref: z.ZodString;
|
|
488
|
-
slug: z.ZodString;
|
|
489
444
|
name: z.ZodString;
|
|
490
445
|
}, "strip", z.ZodTypeAny, {
|
|
491
446
|
name: string;
|
|
492
447
|
id: string;
|
|
493
|
-
slug: string;
|
|
494
|
-
ref: string;
|
|
495
448
|
}, {
|
|
496
449
|
name: string;
|
|
497
450
|
id: string;
|
|
498
|
-
slug: string;
|
|
499
|
-
ref: string;
|
|
500
451
|
}>;
|
|
501
452
|
task: z.ZodObject<{
|
|
502
453
|
id: z.ZodString;
|
|
503
454
|
filePath: z.ZodString;
|
|
504
455
|
exportName: z.ZodString;
|
|
505
456
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
id: string;
|
|
507
457
|
filePath: string;
|
|
508
458
|
exportName: string;
|
|
509
|
-
}, {
|
|
510
459
|
id: string;
|
|
460
|
+
}, {
|
|
511
461
|
filePath: string;
|
|
512
462
|
exportName: string;
|
|
463
|
+
id: string;
|
|
513
464
|
}>;
|
|
514
465
|
attempt: z.ZodObject<{
|
|
515
466
|
id: z.ZodString;
|
|
@@ -533,15 +484,64 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
533
484
|
backgroundWorkerId: string;
|
|
534
485
|
backgroundWorkerTaskId: string;
|
|
535
486
|
}>;
|
|
536
|
-
|
|
487
|
+
run: z.ZodObject<{
|
|
537
488
|
id: z.ZodString;
|
|
489
|
+
payload: z.ZodString;
|
|
490
|
+
payloadType: z.ZodString;
|
|
491
|
+
context: z.ZodAny;
|
|
492
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
493
|
+
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
494
|
+
createdAt: z.ZodDate;
|
|
495
|
+
startedAt: z.ZodDefault<z.ZodDate>;
|
|
496
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
497
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
499
|
+
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
500
|
+
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
501
|
+
version: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, "strip", z.ZodTypeAny, {
|
|
503
|
+
id: string;
|
|
504
|
+
startedAt: Date;
|
|
505
|
+
payload: string;
|
|
506
|
+
payloadType: string;
|
|
507
|
+
tags: string[];
|
|
508
|
+
isTest: boolean;
|
|
509
|
+
createdAt: Date;
|
|
510
|
+
durationMs: number;
|
|
511
|
+
costInCents: number;
|
|
512
|
+
baseCostInCents: number;
|
|
513
|
+
context?: any;
|
|
514
|
+
idempotencyKey?: string | undefined;
|
|
515
|
+
maxAttempts?: number | undefined;
|
|
516
|
+
version?: string | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
id: string;
|
|
519
|
+
payload: string;
|
|
520
|
+
payloadType: string;
|
|
521
|
+
tags: string[];
|
|
522
|
+
createdAt: Date;
|
|
523
|
+
context?: any;
|
|
524
|
+
isTest?: boolean | undefined;
|
|
525
|
+
startedAt?: Date | undefined;
|
|
526
|
+
idempotencyKey?: string | undefined;
|
|
527
|
+
maxAttempts?: number | undefined;
|
|
528
|
+
durationMs?: number | undefined;
|
|
529
|
+
costInCents?: number | undefined;
|
|
530
|
+
baseCostInCents?: number | undefined;
|
|
531
|
+
version?: string | undefined;
|
|
532
|
+
}>;
|
|
533
|
+
organization: z.ZodObject<{
|
|
534
|
+
id: z.ZodString;
|
|
535
|
+
slug: z.ZodString;
|
|
538
536
|
name: z.ZodString;
|
|
539
537
|
}, "strip", z.ZodTypeAny, {
|
|
540
538
|
name: string;
|
|
541
539
|
id: string;
|
|
540
|
+
slug: string;
|
|
542
541
|
}, {
|
|
543
542
|
name: string;
|
|
544
543
|
id: string;
|
|
544
|
+
slug: string;
|
|
545
545
|
}>;
|
|
546
546
|
batch: z.ZodOptional<z.ZodObject<{
|
|
547
547
|
id: z.ZodString;
|
|
@@ -556,12 +556,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
556
556
|
version: z.ZodString;
|
|
557
557
|
}, "strip", z.ZodTypeAny, {
|
|
558
558
|
version: string;
|
|
559
|
-
id: string;
|
|
560
559
|
contentHash: string;
|
|
560
|
+
id: string;
|
|
561
561
|
}, {
|
|
562
562
|
version: string;
|
|
563
|
-
id: string;
|
|
564
563
|
contentHash: string;
|
|
564
|
+
id: string;
|
|
565
565
|
}>;
|
|
566
566
|
machine: z.ZodDefault<z.ZodObject<{
|
|
567
567
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
@@ -580,42 +580,31 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
580
580
|
centsPerMs: number;
|
|
581
581
|
}>>;
|
|
582
582
|
}, "strip", z.ZodTypeAny, {
|
|
583
|
-
run: {
|
|
584
|
-
payload: string;
|
|
585
|
-
id: string;
|
|
586
|
-
startedAt: Date;
|
|
587
|
-
payloadType: string;
|
|
588
|
-
isTest: boolean;
|
|
589
|
-
createdAt: Date;
|
|
590
|
-
tags: string[];
|
|
591
|
-
durationMs: number;
|
|
592
|
-
costInCents: number;
|
|
593
|
-
baseCostInCents: number;
|
|
594
|
-
context?: any;
|
|
595
|
-
idempotencyKey?: string | undefined;
|
|
596
|
-
maxAttempts?: number | undefined;
|
|
597
|
-
version?: string | undefined;
|
|
598
|
-
};
|
|
599
583
|
environment: {
|
|
600
584
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
601
585
|
id: string;
|
|
602
586
|
slug: string;
|
|
603
587
|
};
|
|
604
|
-
|
|
588
|
+
project: {
|
|
605
589
|
name: string;
|
|
606
590
|
id: string;
|
|
607
591
|
slug: string;
|
|
592
|
+
ref: string;
|
|
608
593
|
};
|
|
609
|
-
|
|
594
|
+
queue: {
|
|
610
595
|
name: string;
|
|
611
596
|
id: string;
|
|
612
|
-
|
|
613
|
-
|
|
597
|
+
};
|
|
598
|
+
machine: {
|
|
599
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
600
|
+
cpu: number;
|
|
601
|
+
memory: number;
|
|
602
|
+
centsPerMs: number;
|
|
614
603
|
};
|
|
615
604
|
task: {
|
|
616
|
-
id: string;
|
|
617
605
|
filePath: string;
|
|
618
606
|
exportName: string;
|
|
607
|
+
id: string;
|
|
619
608
|
};
|
|
620
609
|
attempt: {
|
|
621
610
|
number: number;
|
|
@@ -625,61 +614,55 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
625
614
|
backgroundWorkerId: string;
|
|
626
615
|
backgroundWorkerTaskId: string;
|
|
627
616
|
};
|
|
628
|
-
|
|
629
|
-
name: string;
|
|
617
|
+
run: {
|
|
630
618
|
id: string;
|
|
619
|
+
startedAt: Date;
|
|
620
|
+
payload: string;
|
|
621
|
+
payloadType: string;
|
|
622
|
+
tags: string[];
|
|
623
|
+
isTest: boolean;
|
|
624
|
+
createdAt: Date;
|
|
625
|
+
durationMs: number;
|
|
626
|
+
costInCents: number;
|
|
627
|
+
baseCostInCents: number;
|
|
628
|
+
context?: any;
|
|
629
|
+
idempotencyKey?: string | undefined;
|
|
630
|
+
maxAttempts?: number | undefined;
|
|
631
|
+
version?: string | undefined;
|
|
631
632
|
};
|
|
632
|
-
|
|
633
|
-
name:
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
centsPerMs: number;
|
|
633
|
+
organization: {
|
|
634
|
+
name: string;
|
|
635
|
+
id: string;
|
|
636
|
+
slug: string;
|
|
637
637
|
};
|
|
638
638
|
worker: {
|
|
639
639
|
version: string;
|
|
640
|
-
id: string;
|
|
641
640
|
contentHash: string;
|
|
641
|
+
id: string;
|
|
642
642
|
};
|
|
643
643
|
batch?: {
|
|
644
644
|
id: string;
|
|
645
645
|
} | undefined;
|
|
646
646
|
}, {
|
|
647
|
-
run: {
|
|
648
|
-
payload: string;
|
|
649
|
-
id: string;
|
|
650
|
-
payloadType: string;
|
|
651
|
-
createdAt: Date;
|
|
652
|
-
tags: string[];
|
|
653
|
-
context?: any;
|
|
654
|
-
isTest?: boolean | undefined;
|
|
655
|
-
startedAt?: Date | undefined;
|
|
656
|
-
idempotencyKey?: string | undefined;
|
|
657
|
-
maxAttempts?: number | undefined;
|
|
658
|
-
durationMs?: number | undefined;
|
|
659
|
-
costInCents?: number | undefined;
|
|
660
|
-
baseCostInCents?: number | undefined;
|
|
661
|
-
version?: string | undefined;
|
|
662
|
-
};
|
|
663
647
|
environment: {
|
|
664
648
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
665
649
|
id: string;
|
|
666
650
|
slug: string;
|
|
667
651
|
};
|
|
668
|
-
|
|
652
|
+
project: {
|
|
669
653
|
name: string;
|
|
670
654
|
id: string;
|
|
671
655
|
slug: string;
|
|
656
|
+
ref: string;
|
|
672
657
|
};
|
|
673
|
-
|
|
658
|
+
queue: {
|
|
674
659
|
name: string;
|
|
675
660
|
id: string;
|
|
676
|
-
slug: string;
|
|
677
|
-
ref: string;
|
|
678
661
|
};
|
|
679
662
|
task: {
|
|
680
|
-
id: string;
|
|
681
663
|
filePath: string;
|
|
682
664
|
exportName: string;
|
|
665
|
+
id: string;
|
|
683
666
|
};
|
|
684
667
|
attempt: {
|
|
685
668
|
number: number;
|
|
@@ -689,14 +672,31 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
689
672
|
backgroundWorkerId: string;
|
|
690
673
|
backgroundWorkerTaskId: string;
|
|
691
674
|
};
|
|
692
|
-
|
|
675
|
+
run: {
|
|
676
|
+
id: string;
|
|
677
|
+
payload: string;
|
|
678
|
+
payloadType: string;
|
|
679
|
+
tags: string[];
|
|
680
|
+
createdAt: Date;
|
|
681
|
+
context?: any;
|
|
682
|
+
isTest?: boolean | undefined;
|
|
683
|
+
startedAt?: Date | undefined;
|
|
684
|
+
idempotencyKey?: string | undefined;
|
|
685
|
+
maxAttempts?: number | undefined;
|
|
686
|
+
durationMs?: number | undefined;
|
|
687
|
+
costInCents?: number | undefined;
|
|
688
|
+
baseCostInCents?: number | undefined;
|
|
689
|
+
version?: string | undefined;
|
|
690
|
+
};
|
|
691
|
+
organization: {
|
|
693
692
|
name: string;
|
|
694
693
|
id: string;
|
|
694
|
+
slug: string;
|
|
695
695
|
};
|
|
696
696
|
worker: {
|
|
697
697
|
version: string;
|
|
698
|
-
id: string;
|
|
699
698
|
contentHash: string;
|
|
699
|
+
id: string;
|
|
700
700
|
};
|
|
701
701
|
batch?: {
|
|
702
702
|
id: string;
|
|
@@ -711,52 +711,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
711
711
|
export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
712
712
|
export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
713
713
|
execution: z.ZodObject<{
|
|
714
|
-
run: z.ZodObject<{
|
|
715
|
-
id: z.ZodString;
|
|
716
|
-
payload: z.ZodString;
|
|
717
|
-
payloadType: z.ZodString;
|
|
718
|
-
context: z.ZodAny;
|
|
719
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
720
|
-
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
721
|
-
createdAt: z.ZodDate;
|
|
722
|
-
startedAt: z.ZodDefault<z.ZodDate>;
|
|
723
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
724
|
-
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
725
|
-
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
726
|
-
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
727
|
-
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
728
|
-
version: z.ZodOptional<z.ZodString>;
|
|
729
|
-
}, "strip", z.ZodTypeAny, {
|
|
730
|
-
payload: string;
|
|
731
|
-
id: string;
|
|
732
|
-
startedAt: Date;
|
|
733
|
-
payloadType: string;
|
|
734
|
-
isTest: boolean;
|
|
735
|
-
createdAt: Date;
|
|
736
|
-
tags: string[];
|
|
737
|
-
durationMs: number;
|
|
738
|
-
costInCents: number;
|
|
739
|
-
baseCostInCents: number;
|
|
740
|
-
context?: any;
|
|
741
|
-
idempotencyKey?: string | undefined;
|
|
742
|
-
maxAttempts?: number | undefined;
|
|
743
|
-
version?: string | undefined;
|
|
744
|
-
}, {
|
|
745
|
-
payload: string;
|
|
746
|
-
id: string;
|
|
747
|
-
payloadType: string;
|
|
748
|
-
createdAt: Date;
|
|
749
|
-
tags: string[];
|
|
750
|
-
context?: any;
|
|
751
|
-
isTest?: boolean | undefined;
|
|
752
|
-
startedAt?: Date | undefined;
|
|
753
|
-
idempotencyKey?: string | undefined;
|
|
754
|
-
maxAttempts?: number | undefined;
|
|
755
|
-
durationMs?: number | undefined;
|
|
756
|
-
costInCents?: number | undefined;
|
|
757
|
-
baseCostInCents?: number | undefined;
|
|
758
|
-
version?: string | undefined;
|
|
759
|
-
}>;
|
|
760
714
|
environment: z.ZodObject<{
|
|
761
715
|
id: z.ZodString;
|
|
762
716
|
slug: z.ZodString;
|
|
@@ -770,47 +724,44 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
770
724
|
id: string;
|
|
771
725
|
slug: string;
|
|
772
726
|
}>;
|
|
773
|
-
|
|
727
|
+
project: z.ZodObject<{
|
|
774
728
|
id: z.ZodString;
|
|
729
|
+
ref: z.ZodString;
|
|
775
730
|
slug: z.ZodString;
|
|
776
731
|
name: z.ZodString;
|
|
777
732
|
}, "strip", z.ZodTypeAny, {
|
|
778
733
|
name: string;
|
|
779
734
|
id: string;
|
|
780
735
|
slug: string;
|
|
736
|
+
ref: string;
|
|
781
737
|
}, {
|
|
782
738
|
name: string;
|
|
783
739
|
id: string;
|
|
784
740
|
slug: string;
|
|
741
|
+
ref: string;
|
|
785
742
|
}>;
|
|
786
|
-
|
|
743
|
+
queue: z.ZodObject<{
|
|
787
744
|
id: z.ZodString;
|
|
788
|
-
ref: z.ZodString;
|
|
789
|
-
slug: z.ZodString;
|
|
790
745
|
name: z.ZodString;
|
|
791
746
|
}, "strip", z.ZodTypeAny, {
|
|
792
747
|
name: string;
|
|
793
748
|
id: string;
|
|
794
|
-
slug: string;
|
|
795
|
-
ref: string;
|
|
796
749
|
}, {
|
|
797
750
|
name: string;
|
|
798
751
|
id: string;
|
|
799
|
-
slug: string;
|
|
800
|
-
ref: string;
|
|
801
752
|
}>;
|
|
802
753
|
task: z.ZodObject<{
|
|
803
754
|
id: z.ZodString;
|
|
804
755
|
filePath: z.ZodString;
|
|
805
756
|
exportName: z.ZodString;
|
|
806
757
|
}, "strip", z.ZodTypeAny, {
|
|
807
|
-
id: string;
|
|
808
758
|
filePath: string;
|
|
809
759
|
exportName: string;
|
|
810
|
-
}, {
|
|
811
760
|
id: string;
|
|
761
|
+
}, {
|
|
812
762
|
filePath: string;
|
|
813
763
|
exportName: string;
|
|
764
|
+
id: string;
|
|
814
765
|
}>;
|
|
815
766
|
attempt: z.ZodObject<{
|
|
816
767
|
id: z.ZodString;
|
|
@@ -820,29 +771,78 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
820
771
|
backgroundWorkerTaskId: z.ZodString;
|
|
821
772
|
status: z.ZodString;
|
|
822
773
|
}, "strip", z.ZodTypeAny, {
|
|
823
|
-
number: number;
|
|
824
|
-
status: string;
|
|
774
|
+
number: number;
|
|
775
|
+
status: string;
|
|
776
|
+
id: string;
|
|
777
|
+
startedAt: Date;
|
|
778
|
+
backgroundWorkerId: string;
|
|
779
|
+
backgroundWorkerTaskId: string;
|
|
780
|
+
}, {
|
|
781
|
+
number: number;
|
|
782
|
+
status: string;
|
|
783
|
+
id: string;
|
|
784
|
+
startedAt: Date;
|
|
785
|
+
backgroundWorkerId: string;
|
|
786
|
+
backgroundWorkerTaskId: string;
|
|
787
|
+
}>;
|
|
788
|
+
run: z.ZodObject<{
|
|
789
|
+
id: z.ZodString;
|
|
790
|
+
payload: z.ZodString;
|
|
791
|
+
payloadType: z.ZodString;
|
|
792
|
+
context: z.ZodAny;
|
|
793
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
794
|
+
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
795
|
+
createdAt: z.ZodDate;
|
|
796
|
+
startedAt: z.ZodDefault<z.ZodDate>;
|
|
797
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
798
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
799
|
+
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
800
|
+
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
801
|
+
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
802
|
+
version: z.ZodOptional<z.ZodString>;
|
|
803
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
804
|
id: string;
|
|
826
805
|
startedAt: Date;
|
|
827
|
-
|
|
828
|
-
|
|
806
|
+
payload: string;
|
|
807
|
+
payloadType: string;
|
|
808
|
+
tags: string[];
|
|
809
|
+
isTest: boolean;
|
|
810
|
+
createdAt: Date;
|
|
811
|
+
durationMs: number;
|
|
812
|
+
costInCents: number;
|
|
813
|
+
baseCostInCents: number;
|
|
814
|
+
context?: any;
|
|
815
|
+
idempotencyKey?: string | undefined;
|
|
816
|
+
maxAttempts?: number | undefined;
|
|
817
|
+
version?: string | undefined;
|
|
829
818
|
}, {
|
|
830
|
-
number: number;
|
|
831
|
-
status: string;
|
|
832
819
|
id: string;
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
820
|
+
payload: string;
|
|
821
|
+
payloadType: string;
|
|
822
|
+
tags: string[];
|
|
823
|
+
createdAt: Date;
|
|
824
|
+
context?: any;
|
|
825
|
+
isTest?: boolean | undefined;
|
|
826
|
+
startedAt?: Date | undefined;
|
|
827
|
+
idempotencyKey?: string | undefined;
|
|
828
|
+
maxAttempts?: number | undefined;
|
|
829
|
+
durationMs?: number | undefined;
|
|
830
|
+
costInCents?: number | undefined;
|
|
831
|
+
baseCostInCents?: number | undefined;
|
|
832
|
+
version?: string | undefined;
|
|
836
833
|
}>;
|
|
837
|
-
|
|
834
|
+
organization: z.ZodObject<{
|
|
838
835
|
id: z.ZodString;
|
|
836
|
+
slug: z.ZodString;
|
|
839
837
|
name: z.ZodString;
|
|
840
838
|
}, "strip", z.ZodTypeAny, {
|
|
841
839
|
name: string;
|
|
842
840
|
id: string;
|
|
841
|
+
slug: string;
|
|
843
842
|
}, {
|
|
844
843
|
name: string;
|
|
845
844
|
id: string;
|
|
845
|
+
slug: string;
|
|
846
846
|
}>;
|
|
847
847
|
batch: z.ZodOptional<z.ZodObject<{
|
|
848
848
|
id: z.ZodString;
|
|
@@ -857,12 +857,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
857
857
|
version: z.ZodString;
|
|
858
858
|
}, "strip", z.ZodTypeAny, {
|
|
859
859
|
version: string;
|
|
860
|
-
id: string;
|
|
861
860
|
contentHash: string;
|
|
861
|
+
id: string;
|
|
862
862
|
}, {
|
|
863
863
|
version: string;
|
|
864
|
-
id: string;
|
|
865
864
|
contentHash: string;
|
|
865
|
+
id: string;
|
|
866
866
|
}>;
|
|
867
867
|
machine: z.ZodDefault<z.ZodObject<{
|
|
868
868
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
@@ -881,42 +881,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
881
881
|
centsPerMs: number;
|
|
882
882
|
}>>;
|
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
run: {
|
|
885
|
-
payload: string;
|
|
886
|
-
id: string;
|
|
887
|
-
startedAt: Date;
|
|
888
|
-
payloadType: string;
|
|
889
|
-
isTest: boolean;
|
|
890
|
-
createdAt: Date;
|
|
891
|
-
tags: string[];
|
|
892
|
-
durationMs: number;
|
|
893
|
-
costInCents: number;
|
|
894
|
-
baseCostInCents: number;
|
|
895
|
-
context?: any;
|
|
896
|
-
idempotencyKey?: string | undefined;
|
|
897
|
-
maxAttempts?: number | undefined;
|
|
898
|
-
version?: string | undefined;
|
|
899
|
-
};
|
|
900
884
|
environment: {
|
|
901
885
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
902
886
|
id: string;
|
|
903
887
|
slug: string;
|
|
904
888
|
};
|
|
905
|
-
|
|
889
|
+
project: {
|
|
906
890
|
name: string;
|
|
907
891
|
id: string;
|
|
908
892
|
slug: string;
|
|
893
|
+
ref: string;
|
|
909
894
|
};
|
|
910
|
-
|
|
895
|
+
queue: {
|
|
911
896
|
name: string;
|
|
912
897
|
id: string;
|
|
913
|
-
|
|
914
|
-
|
|
898
|
+
};
|
|
899
|
+
machine: {
|
|
900
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
901
|
+
cpu: number;
|
|
902
|
+
memory: number;
|
|
903
|
+
centsPerMs: number;
|
|
915
904
|
};
|
|
916
905
|
task: {
|
|
917
|
-
id: string;
|
|
918
906
|
filePath: string;
|
|
919
907
|
exportName: string;
|
|
908
|
+
id: string;
|
|
920
909
|
};
|
|
921
910
|
attempt: {
|
|
922
911
|
number: number;
|
|
@@ -926,61 +915,55 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
926
915
|
backgroundWorkerId: string;
|
|
927
916
|
backgroundWorkerTaskId: string;
|
|
928
917
|
};
|
|
929
|
-
|
|
930
|
-
name: string;
|
|
918
|
+
run: {
|
|
931
919
|
id: string;
|
|
920
|
+
startedAt: Date;
|
|
921
|
+
payload: string;
|
|
922
|
+
payloadType: string;
|
|
923
|
+
tags: string[];
|
|
924
|
+
isTest: boolean;
|
|
925
|
+
createdAt: Date;
|
|
926
|
+
durationMs: number;
|
|
927
|
+
costInCents: number;
|
|
928
|
+
baseCostInCents: number;
|
|
929
|
+
context?: any;
|
|
930
|
+
idempotencyKey?: string | undefined;
|
|
931
|
+
maxAttempts?: number | undefined;
|
|
932
|
+
version?: string | undefined;
|
|
932
933
|
};
|
|
933
|
-
|
|
934
|
-
name:
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
centsPerMs: number;
|
|
934
|
+
organization: {
|
|
935
|
+
name: string;
|
|
936
|
+
id: string;
|
|
937
|
+
slug: string;
|
|
938
938
|
};
|
|
939
939
|
worker: {
|
|
940
940
|
version: string;
|
|
941
|
-
id: string;
|
|
942
941
|
contentHash: string;
|
|
942
|
+
id: string;
|
|
943
943
|
};
|
|
944
944
|
batch?: {
|
|
945
945
|
id: string;
|
|
946
946
|
} | undefined;
|
|
947
947
|
}, {
|
|
948
|
-
run: {
|
|
949
|
-
payload: string;
|
|
950
|
-
id: string;
|
|
951
|
-
payloadType: string;
|
|
952
|
-
createdAt: Date;
|
|
953
|
-
tags: string[];
|
|
954
|
-
context?: any;
|
|
955
|
-
isTest?: boolean | undefined;
|
|
956
|
-
startedAt?: Date | undefined;
|
|
957
|
-
idempotencyKey?: string | undefined;
|
|
958
|
-
maxAttempts?: number | undefined;
|
|
959
|
-
durationMs?: number | undefined;
|
|
960
|
-
costInCents?: number | undefined;
|
|
961
|
-
baseCostInCents?: number | undefined;
|
|
962
|
-
version?: string | undefined;
|
|
963
|
-
};
|
|
964
948
|
environment: {
|
|
965
949
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
966
950
|
id: string;
|
|
967
951
|
slug: string;
|
|
968
952
|
};
|
|
969
|
-
|
|
953
|
+
project: {
|
|
970
954
|
name: string;
|
|
971
955
|
id: string;
|
|
972
956
|
slug: string;
|
|
957
|
+
ref: string;
|
|
973
958
|
};
|
|
974
|
-
|
|
959
|
+
queue: {
|
|
975
960
|
name: string;
|
|
976
961
|
id: string;
|
|
977
|
-
slug: string;
|
|
978
|
-
ref: string;
|
|
979
962
|
};
|
|
980
963
|
task: {
|
|
981
|
-
id: string;
|
|
982
964
|
filePath: string;
|
|
983
965
|
exportName: string;
|
|
966
|
+
id: string;
|
|
984
967
|
};
|
|
985
968
|
attempt: {
|
|
986
969
|
number: number;
|
|
@@ -990,14 +973,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
990
973
|
backgroundWorkerId: string;
|
|
991
974
|
backgroundWorkerTaskId: string;
|
|
992
975
|
};
|
|
993
|
-
|
|
976
|
+
run: {
|
|
977
|
+
id: string;
|
|
978
|
+
payload: string;
|
|
979
|
+
payloadType: string;
|
|
980
|
+
tags: string[];
|
|
981
|
+
createdAt: Date;
|
|
982
|
+
context?: any;
|
|
983
|
+
isTest?: boolean | undefined;
|
|
984
|
+
startedAt?: Date | undefined;
|
|
985
|
+
idempotencyKey?: string | undefined;
|
|
986
|
+
maxAttempts?: number | undefined;
|
|
987
|
+
durationMs?: number | undefined;
|
|
988
|
+
costInCents?: number | undefined;
|
|
989
|
+
baseCostInCents?: number | undefined;
|
|
990
|
+
version?: string | undefined;
|
|
991
|
+
};
|
|
992
|
+
organization: {
|
|
994
993
|
name: string;
|
|
995
994
|
id: string;
|
|
995
|
+
slug: string;
|
|
996
996
|
};
|
|
997
997
|
worker: {
|
|
998
998
|
version: string;
|
|
999
|
-
id: string;
|
|
1000
999
|
contentHash: string;
|
|
1000
|
+
id: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
batch?: {
|
|
1003
1003
|
id: string;
|
|
@@ -1013,42 +1013,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1013
1013
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1015
|
execution: {
|
|
1016
|
-
run: {
|
|
1017
|
-
payload: string;
|
|
1018
|
-
id: string;
|
|
1019
|
-
startedAt: Date;
|
|
1020
|
-
payloadType: string;
|
|
1021
|
-
isTest: boolean;
|
|
1022
|
-
createdAt: Date;
|
|
1023
|
-
tags: string[];
|
|
1024
|
-
durationMs: number;
|
|
1025
|
-
costInCents: number;
|
|
1026
|
-
baseCostInCents: number;
|
|
1027
|
-
context?: any;
|
|
1028
|
-
idempotencyKey?: string | undefined;
|
|
1029
|
-
maxAttempts?: number | undefined;
|
|
1030
|
-
version?: string | undefined;
|
|
1031
|
-
};
|
|
1032
1016
|
environment: {
|
|
1033
1017
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1034
1018
|
id: string;
|
|
1035
1019
|
slug: string;
|
|
1036
1020
|
};
|
|
1037
|
-
|
|
1021
|
+
project: {
|
|
1038
1022
|
name: string;
|
|
1039
1023
|
id: string;
|
|
1040
1024
|
slug: string;
|
|
1025
|
+
ref: string;
|
|
1041
1026
|
};
|
|
1042
|
-
|
|
1027
|
+
queue: {
|
|
1043
1028
|
name: string;
|
|
1044
1029
|
id: string;
|
|
1045
|
-
|
|
1046
|
-
|
|
1030
|
+
};
|
|
1031
|
+
machine: {
|
|
1032
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1033
|
+
cpu: number;
|
|
1034
|
+
memory: number;
|
|
1035
|
+
centsPerMs: number;
|
|
1047
1036
|
};
|
|
1048
1037
|
task: {
|
|
1049
|
-
id: string;
|
|
1050
1038
|
filePath: string;
|
|
1051
1039
|
exportName: string;
|
|
1040
|
+
id: string;
|
|
1052
1041
|
};
|
|
1053
1042
|
attempt: {
|
|
1054
1043
|
number: number;
|
|
@@ -1058,20 +1047,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1058
1047
|
backgroundWorkerId: string;
|
|
1059
1048
|
backgroundWorkerTaskId: string;
|
|
1060
1049
|
};
|
|
1061
|
-
|
|
1062
|
-
name: string;
|
|
1050
|
+
run: {
|
|
1063
1051
|
id: string;
|
|
1052
|
+
startedAt: Date;
|
|
1053
|
+
payload: string;
|
|
1054
|
+
payloadType: string;
|
|
1055
|
+
tags: string[];
|
|
1056
|
+
isTest: boolean;
|
|
1057
|
+
createdAt: Date;
|
|
1058
|
+
durationMs: number;
|
|
1059
|
+
costInCents: number;
|
|
1060
|
+
baseCostInCents: number;
|
|
1061
|
+
context?: any;
|
|
1062
|
+
idempotencyKey?: string | undefined;
|
|
1063
|
+
maxAttempts?: number | undefined;
|
|
1064
|
+
version?: string | undefined;
|
|
1064
1065
|
};
|
|
1065
|
-
|
|
1066
|
-
name:
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
centsPerMs: number;
|
|
1066
|
+
organization: {
|
|
1067
|
+
name: string;
|
|
1068
|
+
id: string;
|
|
1069
|
+
slug: string;
|
|
1070
1070
|
};
|
|
1071
1071
|
worker: {
|
|
1072
1072
|
version: string;
|
|
1073
|
-
id: string;
|
|
1074
1073
|
contentHash: string;
|
|
1074
|
+
id: string;
|
|
1075
1075
|
};
|
|
1076
1076
|
batch?: {
|
|
1077
1077
|
id: string;
|
|
@@ -1081,42 +1081,25 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1081
1081
|
environment?: Record<string, string> | undefined;
|
|
1082
1082
|
}, {
|
|
1083
1083
|
execution: {
|
|
1084
|
-
run: {
|
|
1085
|
-
payload: string;
|
|
1086
|
-
id: string;
|
|
1087
|
-
payloadType: string;
|
|
1088
|
-
createdAt: Date;
|
|
1089
|
-
tags: string[];
|
|
1090
|
-
context?: any;
|
|
1091
|
-
isTest?: boolean | undefined;
|
|
1092
|
-
startedAt?: Date | undefined;
|
|
1093
|
-
idempotencyKey?: string | undefined;
|
|
1094
|
-
maxAttempts?: number | undefined;
|
|
1095
|
-
durationMs?: number | undefined;
|
|
1096
|
-
costInCents?: number | undefined;
|
|
1097
|
-
baseCostInCents?: number | undefined;
|
|
1098
|
-
version?: string | undefined;
|
|
1099
|
-
};
|
|
1100
1084
|
environment: {
|
|
1101
1085
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1102
1086
|
id: string;
|
|
1103
1087
|
slug: string;
|
|
1104
1088
|
};
|
|
1105
|
-
|
|
1089
|
+
project: {
|
|
1106
1090
|
name: string;
|
|
1107
1091
|
id: string;
|
|
1108
1092
|
slug: string;
|
|
1093
|
+
ref: string;
|
|
1109
1094
|
};
|
|
1110
|
-
|
|
1095
|
+
queue: {
|
|
1111
1096
|
name: string;
|
|
1112
1097
|
id: string;
|
|
1113
|
-
slug: string;
|
|
1114
|
-
ref: string;
|
|
1115
1098
|
};
|
|
1116
1099
|
task: {
|
|
1117
|
-
id: string;
|
|
1118
1100
|
filePath: string;
|
|
1119
1101
|
exportName: string;
|
|
1102
|
+
id: string;
|
|
1120
1103
|
};
|
|
1121
1104
|
attempt: {
|
|
1122
1105
|
number: number;
|
|
@@ -1126,14 +1109,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1126
1109
|
backgroundWorkerId: string;
|
|
1127
1110
|
backgroundWorkerTaskId: string;
|
|
1128
1111
|
};
|
|
1129
|
-
|
|
1112
|
+
run: {
|
|
1113
|
+
id: string;
|
|
1114
|
+
payload: string;
|
|
1115
|
+
payloadType: string;
|
|
1116
|
+
tags: string[];
|
|
1117
|
+
createdAt: Date;
|
|
1118
|
+
context?: any;
|
|
1119
|
+
isTest?: boolean | undefined;
|
|
1120
|
+
startedAt?: Date | undefined;
|
|
1121
|
+
idempotencyKey?: string | undefined;
|
|
1122
|
+
maxAttempts?: number | undefined;
|
|
1123
|
+
durationMs?: number | undefined;
|
|
1124
|
+
costInCents?: number | undefined;
|
|
1125
|
+
baseCostInCents?: number | undefined;
|
|
1126
|
+
version?: string | undefined;
|
|
1127
|
+
};
|
|
1128
|
+
organization: {
|
|
1130
1129
|
name: string;
|
|
1131
1130
|
id: string;
|
|
1131
|
+
slug: string;
|
|
1132
1132
|
};
|
|
1133
1133
|
worker: {
|
|
1134
1134
|
version: string;
|
|
1135
|
-
id: string;
|
|
1136
1135
|
contentHash: string;
|
|
1136
|
+
id: string;
|
|
1137
1137
|
};
|
|
1138
1138
|
batch?: {
|
|
1139
1139
|
id: string;
|
|
@@ -1888,12 +1888,12 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1888
1888
|
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>]>>;
|
|
1889
1889
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1890
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1891
|
-
cpu?:
|
|
1892
|
-
memory?:
|
|
1891
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1892
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1893
1893
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1894
1894
|
}, {
|
|
1895
|
-
cpu?:
|
|
1896
|
-
memory?:
|
|
1895
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1896
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1897
1897
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1898
1898
|
}>>;
|
|
1899
1899
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -1954,8 +1954,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1954
1954
|
randomize?: boolean | undefined;
|
|
1955
1955
|
} | undefined;
|
|
1956
1956
|
machine?: {
|
|
1957
|
-
cpu?:
|
|
1958
|
-
memory?:
|
|
1957
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1958
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1959
1959
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1960
1960
|
} | undefined;
|
|
1961
1961
|
triggerSource?: string | undefined;
|
|
@@ -2010,8 +2010,8 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
2010
2010
|
randomize?: boolean | undefined;
|
|
2011
2011
|
} | undefined;
|
|
2012
2012
|
machine?: {
|
|
2013
|
-
cpu?:
|
|
2014
|
-
memory?:
|
|
2013
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2014
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2015
2015
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2016
2016
|
} | undefined;
|
|
2017
2017
|
triggerSource?: string | undefined;
|
|
@@ -2306,12 +2306,12 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2306
2306
|
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>]>>;
|
|
2307
2307
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
2308
2308
|
}, "strip", z.ZodTypeAny, {
|
|
2309
|
-
cpu?:
|
|
2310
|
-
memory?:
|
|
2309
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2310
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2311
2311
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2312
2312
|
}, {
|
|
2313
|
-
cpu?:
|
|
2314
|
-
memory?:
|
|
2313
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2314
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2315
2315
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2316
2316
|
}>>;
|
|
2317
2317
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -2326,10 +2326,10 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2326
2326
|
timezone: string;
|
|
2327
2327
|
}>>;
|
|
2328
2328
|
}, "strip", z.ZodTypeAny, {
|
|
2329
|
-
id: string;
|
|
2330
2329
|
filePath: string;
|
|
2331
2330
|
exportName: string;
|
|
2332
2331
|
entryPoint: string;
|
|
2332
|
+
id: string;
|
|
2333
2333
|
queue?: {
|
|
2334
2334
|
name?: string | undefined;
|
|
2335
2335
|
concurrencyLimit?: number | undefined;
|
|
@@ -2375,8 +2375,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2375
2375
|
randomize?: boolean | undefined;
|
|
2376
2376
|
} | undefined;
|
|
2377
2377
|
machine?: {
|
|
2378
|
-
cpu?:
|
|
2379
|
-
memory?:
|
|
2378
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2379
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2380
2380
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2381
2381
|
} | undefined;
|
|
2382
2382
|
triggerSource?: string | undefined;
|
|
@@ -2385,10 +2385,10 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2385
2385
|
timezone: string;
|
|
2386
2386
|
} | undefined;
|
|
2387
2387
|
}, {
|
|
2388
|
-
id: string;
|
|
2389
2388
|
filePath: string;
|
|
2390
2389
|
exportName: string;
|
|
2391
2390
|
entryPoint: string;
|
|
2391
|
+
id: string;
|
|
2392
2392
|
queue?: {
|
|
2393
2393
|
name?: string | undefined;
|
|
2394
2394
|
concurrencyLimit?: number | undefined;
|
|
@@ -2434,8 +2434,8 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
2434
2434
|
randomize?: boolean | undefined;
|
|
2435
2435
|
} | undefined;
|
|
2436
2436
|
machine?: {
|
|
2437
|
-
cpu?:
|
|
2438
|
-
memory?:
|
|
2437
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2438
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2439
2439
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
2440
2440
|
} | undefined;
|
|
2441
2441
|
triggerSource?: string | undefined;
|