@trigger.dev/core 0.0.0-prerelease-20241219214230 → 0.0.0-prerelease-20250116155306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/schemas/api.d.ts +2137 -2137
- package/dist/commonjs/schemas/events.d.ts +8 -8
- package/dist/commonjs/schemas/fetch.d.ts +54 -54
- package/dist/commonjs/schemas/integrations.d.ts +4 -4
- package/dist/commonjs/schemas/notifications.d.ts +80 -80
- package/dist/commonjs/schemas/properties.d.ts +4 -4
- package/dist/commonjs/schemas/request.d.ts +4 -4
- package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
- package/dist/commonjs/schemas/runs.d.ts +39 -39
- package/dist/commonjs/schemas/schedules.d.ts +12 -12
- package/dist/commonjs/schemas/statuses.d.ts +24 -24
- package/dist/commonjs/schemas/tasks.d.ts +54 -54
- package/dist/commonjs/schemas/triggers.d.ts +36 -36
- package/dist/commonjs/v3/apiClient/index.d.ts +122 -115
- package/dist/commonjs/v3/apiClient/index.js +12 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +3 -17
- package/dist/commonjs/v3/apiClient/runStream.js +71 -47
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
- package/dist/commonjs/v3/apiClient/stream.js +3 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +72 -0
- package/dist/commonjs/v3/errors.d.ts +14 -1
- package/dist/commonjs/v3/errors.js +35 -1
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/manager.d.ts +3 -3
- package/dist/commonjs/v3/runMetadata/manager.js +1 -7
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/index.d.ts +4 -0
- package/dist/commonjs/v3/runtime/index.js +4 -0
- package/dist/commonjs/v3/runtime/index.js.map +1 -1
- package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +656 -632
- package/dist/commonjs/v3/schemas/api.js +17 -7
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +176 -176
- package/dist/commonjs/v3/schemas/common.d.ts +166 -165
- package/dist/commonjs/v3/schemas/common.js +1 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2228 -2228
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/commonjs/v3/schemas/resources.d.ts +46 -46
- package/dist/commonjs/v3/schemas/schemas.d.ts +173 -173
- package/dist/commonjs/v3/schemas/style.d.ts +10 -10
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +8 -4
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +2137 -2137
- package/dist/esm/schemas/events.d.ts +8 -8
- package/dist/esm/schemas/fetch.d.ts +54 -54
- package/dist/esm/schemas/integrations.d.ts +4 -4
- package/dist/esm/schemas/notifications.d.ts +80 -80
- package/dist/esm/schemas/properties.d.ts +4 -4
- package/dist/esm/schemas/request.d.ts +4 -4
- package/dist/esm/schemas/requestFilter.d.ts +2 -2
- package/dist/esm/schemas/runs.d.ts +39 -39
- package/dist/esm/schemas/schedules.d.ts +12 -12
- package/dist/esm/schemas/statuses.d.ts +24 -24
- package/dist/esm/schemas/tasks.d.ts +54 -54
- package/dist/esm/schemas/triggers.d.ts +36 -36
- package/dist/esm/v3/apiClient/index.d.ts +135 -128
- package/dist/esm/v3/apiClient/index.js +13 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +3 -17
- package/dist/esm/v3/apiClient/runStream.js +70 -44
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.d.ts +1 -0
- package/dist/esm/v3/apiClient/stream.js +3 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +72 -0
- package/dist/esm/v3/errors.d.ts +14 -1
- package/dist/esm/v3/errors.js +33 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/esm/v3/otel/tracingSDK.js +51 -0
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/runMetadata/manager.d.ts +3 -3
- package/dist/esm/v3/runMetadata/manager.js +1 -7
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/esm/v3/runtime/index.d.ts +4 -0
- package/dist/esm/v3/runtime/index.js +4 -0
- package/dist/esm/v3/runtime/index.js.map +1 -1
- package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js +25 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +731 -707
- package/dist/esm/v3/schemas/api.js +18 -8
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +188 -188
- package/dist/esm/v3/schemas/common.d.ts +166 -165
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +10 -10
- package/dist/esm/v3/schemas/messages.d.ts +2770 -2770
- package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/esm/v3/schemas/resources.d.ts +52 -52
- package/dist/esm/v3/schemas/schemas.d.ts +244 -244
- package/dist/esm/v3/schemas/style.d.ts +10 -10
- package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +8 -4
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +6 -3
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -64,54 +64,54 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
64
64
|
isTest: boolean;
|
|
65
65
|
createdAt: Date;
|
|
66
66
|
startedAt: Date;
|
|
67
|
+
durationMs: number;
|
|
67
68
|
costInCents: number;
|
|
68
69
|
baseCostInCents: number;
|
|
69
|
-
|
|
70
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
70
71
|
context?: any;
|
|
71
72
|
idempotencyKey?: string | undefined;
|
|
72
73
|
maxAttempts?: number | undefined;
|
|
73
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
74
|
-
maxDuration?: number | undefined;
|
|
75
74
|
version?: string | undefined;
|
|
75
|
+
maxDuration?: number | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
78
|
payload: string;
|
|
79
79
|
payloadType: string;
|
|
80
80
|
tags: string[];
|
|
81
81
|
createdAt: Date;
|
|
82
|
-
context?: any;
|
|
83
|
-
idempotencyKey?: string | undefined;
|
|
84
|
-
maxAttempts?: number | undefined;
|
|
85
82
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
86
|
-
|
|
87
|
-
version?: string | undefined;
|
|
83
|
+
context?: any;
|
|
88
84
|
isTest?: boolean | undefined;
|
|
89
85
|
startedAt?: Date | undefined;
|
|
86
|
+
idempotencyKey?: string | undefined;
|
|
87
|
+
maxAttempts?: number | undefined;
|
|
88
|
+
durationMs?: number | undefined;
|
|
90
89
|
costInCents?: number | undefined;
|
|
91
90
|
baseCostInCents?: number | undefined;
|
|
92
|
-
|
|
91
|
+
version?: string | undefined;
|
|
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
|
}>;
|
|
@@ -156,21 +156,17 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
156
156
|
memory: z.ZodNumber;
|
|
157
157
|
centsPerMs: z.ZodNumber;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
160
159
|
cpu: number;
|
|
161
160
|
memory: number;
|
|
161
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
162
162
|
centsPerMs: number;
|
|
163
163
|
}, {
|
|
164
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
165
164
|
cpu: number;
|
|
166
165
|
memory: number;
|
|
166
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
167
167
|
centsPerMs: number;
|
|
168
168
|
}>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
queue: {
|
|
171
|
-
id: string;
|
|
172
|
-
name: string;
|
|
173
|
-
};
|
|
174
170
|
task: {
|
|
175
171
|
id: string;
|
|
176
172
|
filePath: string;
|
|
@@ -178,8 +174,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
178
174
|
};
|
|
179
175
|
attempt: {
|
|
180
176
|
number: number;
|
|
181
|
-
id: string;
|
|
182
177
|
status: string;
|
|
178
|
+
id: string;
|
|
183
179
|
startedAt: Date;
|
|
184
180
|
backgroundWorkerId: string;
|
|
185
181
|
backgroundWorkerTaskId: string;
|
|
@@ -192,29 +188,33 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
192
188
|
isTest: boolean;
|
|
193
189
|
createdAt: Date;
|
|
194
190
|
startedAt: Date;
|
|
191
|
+
durationMs: number;
|
|
195
192
|
costInCents: number;
|
|
196
193
|
baseCostInCents: number;
|
|
197
|
-
|
|
194
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
198
195
|
context?: any;
|
|
199
196
|
idempotencyKey?: string | undefined;
|
|
200
197
|
maxAttempts?: number | undefined;
|
|
201
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
202
|
-
maxDuration?: number | undefined;
|
|
203
198
|
version?: string | undefined;
|
|
199
|
+
maxDuration?: number | undefined;
|
|
204
200
|
};
|
|
205
|
-
|
|
201
|
+
queue: {
|
|
202
|
+
name: string;
|
|
206
203
|
id: string;
|
|
204
|
+
};
|
|
205
|
+
environment: {
|
|
207
206
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
207
|
+
id: string;
|
|
208
208
|
slug: string;
|
|
209
209
|
};
|
|
210
210
|
organization: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string;
|
|
212
|
+
id: string;
|
|
213
213
|
slug: string;
|
|
214
214
|
};
|
|
215
215
|
project: {
|
|
216
|
-
id: string;
|
|
217
216
|
name: string;
|
|
217
|
+
id: string;
|
|
218
218
|
slug: string;
|
|
219
219
|
ref: string;
|
|
220
220
|
};
|
|
@@ -222,16 +222,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
222
222
|
id: string;
|
|
223
223
|
} | undefined;
|
|
224
224
|
machine?: {
|
|
225
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
226
225
|
cpu: number;
|
|
227
226
|
memory: number;
|
|
227
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
228
228
|
centsPerMs: number;
|
|
229
229
|
} | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
queue: {
|
|
232
|
-
id: string;
|
|
233
|
-
name: string;
|
|
234
|
-
};
|
|
235
231
|
task: {
|
|
236
232
|
id: string;
|
|
237
233
|
filePath: string;
|
|
@@ -239,8 +235,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
239
235
|
};
|
|
240
236
|
attempt: {
|
|
241
237
|
number: number;
|
|
242
|
-
id: string;
|
|
243
238
|
status: string;
|
|
239
|
+
id: string;
|
|
244
240
|
startedAt: Date;
|
|
245
241
|
backgroundWorkerId: string;
|
|
246
242
|
backgroundWorkerTaskId: string;
|
|
@@ -251,31 +247,35 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
251
247
|
payloadType: string;
|
|
252
248
|
tags: string[];
|
|
253
249
|
createdAt: Date;
|
|
254
|
-
context?: any;
|
|
255
|
-
idempotencyKey?: string | undefined;
|
|
256
|
-
maxAttempts?: number | undefined;
|
|
257
250
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
258
|
-
|
|
259
|
-
version?: string | undefined;
|
|
251
|
+
context?: any;
|
|
260
252
|
isTest?: boolean | undefined;
|
|
261
253
|
startedAt?: Date | undefined;
|
|
254
|
+
idempotencyKey?: string | undefined;
|
|
255
|
+
maxAttempts?: number | undefined;
|
|
256
|
+
durationMs?: number | undefined;
|
|
262
257
|
costInCents?: number | undefined;
|
|
263
258
|
baseCostInCents?: number | undefined;
|
|
264
|
-
|
|
259
|
+
version?: string | undefined;
|
|
260
|
+
maxDuration?: number | undefined;
|
|
265
261
|
};
|
|
266
|
-
|
|
262
|
+
queue: {
|
|
263
|
+
name: string;
|
|
267
264
|
id: string;
|
|
265
|
+
};
|
|
266
|
+
environment: {
|
|
268
267
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
268
|
+
id: string;
|
|
269
269
|
slug: string;
|
|
270
270
|
};
|
|
271
271
|
organization: {
|
|
272
|
-
id: string;
|
|
273
272
|
name: string;
|
|
273
|
+
id: string;
|
|
274
274
|
slug: string;
|
|
275
275
|
};
|
|
276
276
|
project: {
|
|
277
|
-
id: string;
|
|
278
277
|
name: string;
|
|
278
|
+
id: string;
|
|
279
279
|
slug: string;
|
|
280
280
|
ref: string;
|
|
281
281
|
};
|
|
@@ -283,9 +283,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
283
283
|
id: string;
|
|
284
284
|
} | undefined;
|
|
285
285
|
machine?: {
|
|
286
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
287
286
|
cpu: number;
|
|
288
287
|
memory: number;
|
|
288
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
289
289
|
centsPerMs: number;
|
|
290
290
|
} | undefined;
|
|
291
291
|
}>;
|
|
@@ -293,10 +293,6 @@ 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
296
|
task: {
|
|
301
297
|
id: string;
|
|
302
298
|
filePath: string;
|
|
@@ -304,8 +300,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
304
300
|
};
|
|
305
301
|
attempt: {
|
|
306
302
|
number: number;
|
|
307
|
-
id: string;
|
|
308
303
|
status: string;
|
|
304
|
+
id: string;
|
|
309
305
|
startedAt: Date;
|
|
310
306
|
backgroundWorkerId: string;
|
|
311
307
|
backgroundWorkerTaskId: string;
|
|
@@ -318,29 +314,33 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
318
314
|
isTest: boolean;
|
|
319
315
|
createdAt: Date;
|
|
320
316
|
startedAt: Date;
|
|
317
|
+
durationMs: number;
|
|
321
318
|
costInCents: number;
|
|
322
319
|
baseCostInCents: number;
|
|
323
|
-
|
|
320
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
324
321
|
context?: any;
|
|
325
322
|
idempotencyKey?: string | undefined;
|
|
326
323
|
maxAttempts?: number | undefined;
|
|
327
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
328
|
-
maxDuration?: number | undefined;
|
|
329
324
|
version?: string | undefined;
|
|
325
|
+
maxDuration?: number | undefined;
|
|
330
326
|
};
|
|
331
|
-
|
|
327
|
+
queue: {
|
|
328
|
+
name: string;
|
|
332
329
|
id: string;
|
|
330
|
+
};
|
|
331
|
+
environment: {
|
|
333
332
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
333
|
+
id: string;
|
|
334
334
|
slug: string;
|
|
335
335
|
};
|
|
336
336
|
organization: {
|
|
337
|
-
id: string;
|
|
338
337
|
name: string;
|
|
338
|
+
id: string;
|
|
339
339
|
slug: string;
|
|
340
340
|
};
|
|
341
341
|
project: {
|
|
342
|
-
id: string;
|
|
343
342
|
name: string;
|
|
343
|
+
id: string;
|
|
344
344
|
slug: string;
|
|
345
345
|
ref: string;
|
|
346
346
|
};
|
|
@@ -348,9 +348,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
348
348
|
id: string;
|
|
349
349
|
} | undefined;
|
|
350
350
|
machine?: {
|
|
351
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
352
351
|
cpu: number;
|
|
353
352
|
memory: number;
|
|
353
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
354
354
|
centsPerMs: number;
|
|
355
355
|
} | undefined;
|
|
356
356
|
};
|
|
@@ -358,10 +358,6 @@ 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
361
|
task: {
|
|
366
362
|
id: string;
|
|
367
363
|
filePath: string;
|
|
@@ -369,8 +365,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
369
365
|
};
|
|
370
366
|
attempt: {
|
|
371
367
|
number: number;
|
|
372
|
-
id: string;
|
|
373
368
|
status: string;
|
|
369
|
+
id: string;
|
|
374
370
|
startedAt: Date;
|
|
375
371
|
backgroundWorkerId: string;
|
|
376
372
|
backgroundWorkerTaskId: string;
|
|
@@ -381,31 +377,35 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
381
377
|
payloadType: string;
|
|
382
378
|
tags: string[];
|
|
383
379
|
createdAt: Date;
|
|
384
|
-
context?: any;
|
|
385
|
-
idempotencyKey?: string | undefined;
|
|
386
|
-
maxAttempts?: number | undefined;
|
|
387
380
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
388
|
-
|
|
389
|
-
version?: string | undefined;
|
|
381
|
+
context?: any;
|
|
390
382
|
isTest?: boolean | undefined;
|
|
391
383
|
startedAt?: Date | undefined;
|
|
384
|
+
idempotencyKey?: string | undefined;
|
|
385
|
+
maxAttempts?: number | undefined;
|
|
386
|
+
durationMs?: number | undefined;
|
|
392
387
|
costInCents?: number | undefined;
|
|
393
388
|
baseCostInCents?: number | undefined;
|
|
394
|
-
|
|
389
|
+
version?: string | undefined;
|
|
390
|
+
maxDuration?: number | undefined;
|
|
395
391
|
};
|
|
396
|
-
|
|
392
|
+
queue: {
|
|
393
|
+
name: string;
|
|
397
394
|
id: string;
|
|
395
|
+
};
|
|
396
|
+
environment: {
|
|
398
397
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
398
|
+
id: string;
|
|
399
399
|
slug: string;
|
|
400
400
|
};
|
|
401
401
|
organization: {
|
|
402
|
-
id: string;
|
|
403
402
|
name: string;
|
|
403
|
+
id: string;
|
|
404
404
|
slug: string;
|
|
405
405
|
};
|
|
406
406
|
project: {
|
|
407
|
-
id: string;
|
|
408
407
|
name: string;
|
|
408
|
+
id: string;
|
|
409
409
|
slug: string;
|
|
410
410
|
ref: string;
|
|
411
411
|
};
|
|
@@ -413,9 +413,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
413
413
|
id: string;
|
|
414
414
|
} | undefined;
|
|
415
415
|
machine?: {
|
|
416
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
417
416
|
cpu: number;
|
|
418
417
|
memory: number;
|
|
418
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
419
419
|
centsPerMs: number;
|
|
420
420
|
} | undefined;
|
|
421
421
|
};
|
|
@@ -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;
|
|
@@ -484,54 +484,54 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
484
484
|
isTest: boolean;
|
|
485
485
|
createdAt: Date;
|
|
486
486
|
startedAt: Date;
|
|
487
|
+
durationMs: number;
|
|
487
488
|
costInCents: number;
|
|
488
489
|
baseCostInCents: number;
|
|
489
|
-
|
|
490
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
490
491
|
context?: any;
|
|
491
492
|
idempotencyKey?: string | undefined;
|
|
492
493
|
maxAttempts?: number | undefined;
|
|
493
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
494
|
-
maxDuration?: number | undefined;
|
|
495
494
|
version?: string | undefined;
|
|
495
|
+
maxDuration?: number | undefined;
|
|
496
496
|
}, {
|
|
497
497
|
id: string;
|
|
498
498
|
payload: string;
|
|
499
499
|
payloadType: string;
|
|
500
500
|
tags: string[];
|
|
501
501
|
createdAt: Date;
|
|
502
|
-
context?: any;
|
|
503
|
-
idempotencyKey?: string | undefined;
|
|
504
|
-
maxAttempts?: number | undefined;
|
|
505
502
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
506
|
-
|
|
507
|
-
version?: string | undefined;
|
|
503
|
+
context?: any;
|
|
508
504
|
isTest?: boolean | undefined;
|
|
509
505
|
startedAt?: Date | undefined;
|
|
506
|
+
idempotencyKey?: string | undefined;
|
|
507
|
+
maxAttempts?: number | undefined;
|
|
508
|
+
durationMs?: number | undefined;
|
|
510
509
|
costInCents?: number | undefined;
|
|
511
510
|
baseCostInCents?: number | undefined;
|
|
512
|
-
|
|
511
|
+
version?: string | undefined;
|
|
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
|
}>;
|
|
@@ -576,14 +576,14 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
576
576
|
memory: z.ZodNumber;
|
|
577
577
|
centsPerMs: z.ZodNumber;
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
580
579
|
cpu: number;
|
|
581
580
|
memory: number;
|
|
581
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
582
582
|
centsPerMs: number;
|
|
583
583
|
}, {
|
|
584
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
585
584
|
cpu: number;
|
|
586
585
|
memory: number;
|
|
586
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
587
587
|
centsPerMs: number;
|
|
588
588
|
}>>;
|
|
589
589
|
}, {
|
|
@@ -606,21 +606,17 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
606
606
|
memory: z.ZodNumber;
|
|
607
607
|
centsPerMs: z.ZodNumber;
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
610
609
|
cpu: number;
|
|
611
610
|
memory: number;
|
|
611
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
612
612
|
centsPerMs: number;
|
|
613
613
|
}, {
|
|
614
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
615
614
|
cpu: number;
|
|
616
615
|
memory: number;
|
|
616
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
617
617
|
centsPerMs: number;
|
|
618
618
|
}>>;
|
|
619
619
|
}>, "strip", z.ZodTypeAny, {
|
|
620
|
-
queue: {
|
|
621
|
-
id: string;
|
|
622
|
-
name: string;
|
|
623
|
-
};
|
|
624
620
|
task: {
|
|
625
621
|
id: string;
|
|
626
622
|
filePath: string;
|
|
@@ -628,8 +624,8 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
628
624
|
};
|
|
629
625
|
attempt: {
|
|
630
626
|
number: number;
|
|
631
|
-
id: string;
|
|
632
627
|
status: string;
|
|
628
|
+
id: string;
|
|
633
629
|
startedAt: Date;
|
|
634
630
|
backgroundWorkerId: string;
|
|
635
631
|
backgroundWorkerTaskId: string;
|
|
@@ -642,36 +638,40 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
642
638
|
isTest: boolean;
|
|
643
639
|
createdAt: Date;
|
|
644
640
|
startedAt: Date;
|
|
641
|
+
durationMs: number;
|
|
645
642
|
costInCents: number;
|
|
646
643
|
baseCostInCents: number;
|
|
647
|
-
|
|
644
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
648
645
|
context?: any;
|
|
649
646
|
idempotencyKey?: string | undefined;
|
|
650
647
|
maxAttempts?: number | undefined;
|
|
651
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
652
|
-
maxDuration?: number | undefined;
|
|
653
648
|
version?: string | undefined;
|
|
649
|
+
maxDuration?: number | undefined;
|
|
654
650
|
};
|
|
655
|
-
|
|
651
|
+
queue: {
|
|
652
|
+
name: string;
|
|
656
653
|
id: string;
|
|
654
|
+
};
|
|
655
|
+
environment: {
|
|
657
656
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
657
|
+
id: string;
|
|
658
658
|
slug: string;
|
|
659
659
|
};
|
|
660
660
|
organization: {
|
|
661
|
-
id: string;
|
|
662
661
|
name: string;
|
|
662
|
+
id: string;
|
|
663
663
|
slug: string;
|
|
664
664
|
};
|
|
665
665
|
project: {
|
|
666
|
-
id: string;
|
|
667
666
|
name: string;
|
|
667
|
+
id: string;
|
|
668
668
|
slug: string;
|
|
669
669
|
ref: string;
|
|
670
670
|
};
|
|
671
671
|
machine: {
|
|
672
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
673
672
|
cpu: number;
|
|
674
673
|
memory: number;
|
|
674
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
675
675
|
centsPerMs: number;
|
|
676
676
|
};
|
|
677
677
|
worker: {
|
|
@@ -683,10 +683,6 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
683
683
|
id: string;
|
|
684
684
|
} | undefined;
|
|
685
685
|
}, {
|
|
686
|
-
queue: {
|
|
687
|
-
id: string;
|
|
688
|
-
name: string;
|
|
689
|
-
};
|
|
690
686
|
task: {
|
|
691
687
|
id: string;
|
|
692
688
|
filePath: string;
|
|
@@ -694,8 +690,8 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
694
690
|
};
|
|
695
691
|
attempt: {
|
|
696
692
|
number: number;
|
|
697
|
-
id: string;
|
|
698
693
|
status: string;
|
|
694
|
+
id: string;
|
|
699
695
|
startedAt: Date;
|
|
700
696
|
backgroundWorkerId: string;
|
|
701
697
|
backgroundWorkerTaskId: string;
|
|
@@ -706,31 +702,35 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
706
702
|
payloadType: string;
|
|
707
703
|
tags: string[];
|
|
708
704
|
createdAt: Date;
|
|
709
|
-
context?: any;
|
|
710
|
-
idempotencyKey?: string | undefined;
|
|
711
|
-
maxAttempts?: number | undefined;
|
|
712
705
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
713
|
-
|
|
714
|
-
version?: string | undefined;
|
|
706
|
+
context?: any;
|
|
715
707
|
isTest?: boolean | undefined;
|
|
716
708
|
startedAt?: Date | undefined;
|
|
709
|
+
idempotencyKey?: string | undefined;
|
|
710
|
+
maxAttempts?: number | undefined;
|
|
711
|
+
durationMs?: number | undefined;
|
|
717
712
|
costInCents?: number | undefined;
|
|
718
713
|
baseCostInCents?: number | undefined;
|
|
719
|
-
|
|
714
|
+
version?: string | undefined;
|
|
715
|
+
maxDuration?: number | undefined;
|
|
720
716
|
};
|
|
721
|
-
|
|
717
|
+
queue: {
|
|
718
|
+
name: string;
|
|
722
719
|
id: string;
|
|
720
|
+
};
|
|
721
|
+
environment: {
|
|
723
722
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
723
|
+
id: string;
|
|
724
724
|
slug: string;
|
|
725
725
|
};
|
|
726
726
|
organization: {
|
|
727
|
-
id: string;
|
|
728
727
|
name: string;
|
|
728
|
+
id: string;
|
|
729
729
|
slug: string;
|
|
730
730
|
};
|
|
731
731
|
project: {
|
|
732
|
-
id: string;
|
|
733
732
|
name: string;
|
|
733
|
+
id: string;
|
|
734
734
|
slug: string;
|
|
735
735
|
ref: string;
|
|
736
736
|
};
|
|
@@ -743,9 +743,9 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
|
|
|
743
743
|
id: string;
|
|
744
744
|
} | undefined;
|
|
745
745
|
machine?: {
|
|
746
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
747
746
|
cpu: number;
|
|
748
747
|
memory: number;
|
|
748
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
749
749
|
centsPerMs: number;
|
|
750
750
|
} | undefined;
|
|
751
751
|
}>;
|
|
@@ -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;
|
|
@@ -812,54 +812,54 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
812
812
|
isTest: boolean;
|
|
813
813
|
createdAt: Date;
|
|
814
814
|
startedAt: Date;
|
|
815
|
+
durationMs: number;
|
|
815
816
|
costInCents: number;
|
|
816
817
|
baseCostInCents: number;
|
|
817
|
-
|
|
818
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
818
819
|
context?: any;
|
|
819
820
|
idempotencyKey?: string | undefined;
|
|
820
821
|
maxAttempts?: number | undefined;
|
|
821
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
822
|
-
maxDuration?: number | undefined;
|
|
823
822
|
version?: string | undefined;
|
|
823
|
+
maxDuration?: number | undefined;
|
|
824
824
|
}, {
|
|
825
825
|
id: string;
|
|
826
826
|
payload: string;
|
|
827
827
|
payloadType: string;
|
|
828
828
|
tags: string[];
|
|
829
829
|
createdAt: Date;
|
|
830
|
-
context?: any;
|
|
831
|
-
idempotencyKey?: string | undefined;
|
|
832
|
-
maxAttempts?: number | undefined;
|
|
833
830
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
834
|
-
|
|
835
|
-
version?: string | undefined;
|
|
831
|
+
context?: any;
|
|
836
832
|
isTest?: boolean | undefined;
|
|
837
833
|
startedAt?: Date | undefined;
|
|
834
|
+
idempotencyKey?: string | undefined;
|
|
835
|
+
maxAttempts?: number | undefined;
|
|
836
|
+
durationMs?: number | undefined;
|
|
838
837
|
costInCents?: number | undefined;
|
|
839
838
|
baseCostInCents?: number | undefined;
|
|
840
|
-
|
|
839
|
+
version?: string | undefined;
|
|
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
|
}>;
|
|
@@ -904,14 +904,14 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
904
904
|
memory: z.ZodNumber;
|
|
905
905
|
centsPerMs: z.ZodNumber;
|
|
906
906
|
}, "strip", z.ZodTypeAny, {
|
|
907
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
908
907
|
cpu: number;
|
|
909
908
|
memory: number;
|
|
909
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
910
910
|
centsPerMs: number;
|
|
911
911
|
}, {
|
|
912
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
913
912
|
cpu: number;
|
|
914
913
|
memory: number;
|
|
914
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
915
915
|
centsPerMs: number;
|
|
916
916
|
}>>;
|
|
917
917
|
}, {
|
|
@@ -934,21 +934,17 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
934
934
|
memory: z.ZodNumber;
|
|
935
935
|
centsPerMs: z.ZodNumber;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
938
937
|
cpu: number;
|
|
939
938
|
memory: number;
|
|
939
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
940
940
|
centsPerMs: number;
|
|
941
941
|
}, {
|
|
942
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
943
942
|
cpu: number;
|
|
944
943
|
memory: number;
|
|
944
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
945
945
|
centsPerMs: number;
|
|
946
946
|
}>>;
|
|
947
947
|
}>, "strip", z.ZodTypeAny, {
|
|
948
|
-
queue: {
|
|
949
|
-
id: string;
|
|
950
|
-
name: string;
|
|
951
|
-
};
|
|
952
948
|
task: {
|
|
953
949
|
id: string;
|
|
954
950
|
filePath: string;
|
|
@@ -956,8 +952,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
956
952
|
};
|
|
957
953
|
attempt: {
|
|
958
954
|
number: number;
|
|
959
|
-
id: string;
|
|
960
955
|
status: string;
|
|
956
|
+
id: string;
|
|
961
957
|
startedAt: Date;
|
|
962
958
|
backgroundWorkerId: string;
|
|
963
959
|
backgroundWorkerTaskId: string;
|
|
@@ -970,36 +966,40 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
970
966
|
isTest: boolean;
|
|
971
967
|
createdAt: Date;
|
|
972
968
|
startedAt: Date;
|
|
969
|
+
durationMs: number;
|
|
973
970
|
costInCents: number;
|
|
974
971
|
baseCostInCents: number;
|
|
975
|
-
|
|
972
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
976
973
|
context?: any;
|
|
977
974
|
idempotencyKey?: string | undefined;
|
|
978
975
|
maxAttempts?: number | undefined;
|
|
979
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
980
|
-
maxDuration?: number | undefined;
|
|
981
976
|
version?: string | undefined;
|
|
977
|
+
maxDuration?: number | undefined;
|
|
982
978
|
};
|
|
983
|
-
|
|
979
|
+
queue: {
|
|
980
|
+
name: string;
|
|
984
981
|
id: string;
|
|
982
|
+
};
|
|
983
|
+
environment: {
|
|
985
984
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
985
|
+
id: string;
|
|
986
986
|
slug: string;
|
|
987
987
|
};
|
|
988
988
|
organization: {
|
|
989
|
-
id: string;
|
|
990
989
|
name: string;
|
|
990
|
+
id: string;
|
|
991
991
|
slug: string;
|
|
992
992
|
};
|
|
993
993
|
project: {
|
|
994
|
-
id: string;
|
|
995
994
|
name: string;
|
|
995
|
+
id: string;
|
|
996
996
|
slug: string;
|
|
997
997
|
ref: string;
|
|
998
998
|
};
|
|
999
999
|
machine: {
|
|
1000
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1001
1000
|
cpu: number;
|
|
1002
1001
|
memory: number;
|
|
1002
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1003
1003
|
centsPerMs: number;
|
|
1004
1004
|
};
|
|
1005
1005
|
worker: {
|
|
@@ -1011,10 +1011,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
} | undefined;
|
|
1013
1013
|
}, {
|
|
1014
|
-
queue: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
name: string;
|
|
1017
|
-
};
|
|
1018
1014
|
task: {
|
|
1019
1015
|
id: string;
|
|
1020
1016
|
filePath: string;
|
|
@@ -1022,8 +1018,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1022
1018
|
};
|
|
1023
1019
|
attempt: {
|
|
1024
1020
|
number: number;
|
|
1025
|
-
id: string;
|
|
1026
1021
|
status: string;
|
|
1022
|
+
id: string;
|
|
1027
1023
|
startedAt: Date;
|
|
1028
1024
|
backgroundWorkerId: string;
|
|
1029
1025
|
backgroundWorkerTaskId: string;
|
|
@@ -1034,31 +1030,35 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1034
1030
|
payloadType: string;
|
|
1035
1031
|
tags: string[];
|
|
1036
1032
|
createdAt: Date;
|
|
1037
|
-
context?: any;
|
|
1038
|
-
idempotencyKey?: string | undefined;
|
|
1039
|
-
maxAttempts?: number | undefined;
|
|
1040
1033
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1041
|
-
|
|
1042
|
-
version?: string | undefined;
|
|
1034
|
+
context?: any;
|
|
1043
1035
|
isTest?: boolean | undefined;
|
|
1044
1036
|
startedAt?: Date | undefined;
|
|
1037
|
+
idempotencyKey?: string | undefined;
|
|
1038
|
+
maxAttempts?: number | undefined;
|
|
1039
|
+
durationMs?: number | undefined;
|
|
1045
1040
|
costInCents?: number | undefined;
|
|
1046
1041
|
baseCostInCents?: number | undefined;
|
|
1047
|
-
|
|
1042
|
+
version?: string | undefined;
|
|
1043
|
+
maxDuration?: number | undefined;
|
|
1048
1044
|
};
|
|
1049
|
-
|
|
1045
|
+
queue: {
|
|
1046
|
+
name: string;
|
|
1050
1047
|
id: string;
|
|
1048
|
+
};
|
|
1049
|
+
environment: {
|
|
1051
1050
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1051
|
+
id: string;
|
|
1052
1052
|
slug: string;
|
|
1053
1053
|
};
|
|
1054
1054
|
organization: {
|
|
1055
|
-
id: string;
|
|
1056
1055
|
name: string;
|
|
1056
|
+
id: string;
|
|
1057
1057
|
slug: string;
|
|
1058
1058
|
};
|
|
1059
1059
|
project: {
|
|
1060
|
-
id: string;
|
|
1061
1060
|
name: string;
|
|
1061
|
+
id: string;
|
|
1062
1062
|
slug: string;
|
|
1063
1063
|
ref: string;
|
|
1064
1064
|
};
|
|
@@ -1071,9 +1071,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1071
1071
|
id: string;
|
|
1072
1072
|
} | undefined;
|
|
1073
1073
|
machine?: {
|
|
1074
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1075
1074
|
cpu: number;
|
|
1076
1075
|
memory: number;
|
|
1076
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1077
1077
|
centsPerMs: number;
|
|
1078
1078
|
} | undefined;
|
|
1079
1079
|
}>;
|
|
@@ -1081,10 +1081,6 @@ 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
1084
|
task: {
|
|
1089
1085
|
id: string;
|
|
1090
1086
|
filePath: string;
|
|
@@ -1092,8 +1088,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1092
1088
|
};
|
|
1093
1089
|
attempt: {
|
|
1094
1090
|
number: number;
|
|
1095
|
-
id: string;
|
|
1096
1091
|
status: string;
|
|
1092
|
+
id: string;
|
|
1097
1093
|
startedAt: Date;
|
|
1098
1094
|
backgroundWorkerId: string;
|
|
1099
1095
|
backgroundWorkerTaskId: string;
|
|
@@ -1106,36 +1102,40 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1106
1102
|
isTest: boolean;
|
|
1107
1103
|
createdAt: Date;
|
|
1108
1104
|
startedAt: Date;
|
|
1105
|
+
durationMs: number;
|
|
1109
1106
|
costInCents: number;
|
|
1110
1107
|
baseCostInCents: number;
|
|
1111
|
-
|
|
1108
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1112
1109
|
context?: any;
|
|
1113
1110
|
idempotencyKey?: string | undefined;
|
|
1114
1111
|
maxAttempts?: number | undefined;
|
|
1115
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1116
|
-
maxDuration?: number | undefined;
|
|
1117
1112
|
version?: string | undefined;
|
|
1113
|
+
maxDuration?: number | undefined;
|
|
1118
1114
|
};
|
|
1119
|
-
|
|
1115
|
+
queue: {
|
|
1116
|
+
name: string;
|
|
1120
1117
|
id: string;
|
|
1118
|
+
};
|
|
1119
|
+
environment: {
|
|
1121
1120
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1121
|
+
id: string;
|
|
1122
1122
|
slug: string;
|
|
1123
1123
|
};
|
|
1124
1124
|
organization: {
|
|
1125
|
-
id: string;
|
|
1126
1125
|
name: string;
|
|
1126
|
+
id: string;
|
|
1127
1127
|
slug: string;
|
|
1128
1128
|
};
|
|
1129
1129
|
project: {
|
|
1130
|
-
id: string;
|
|
1131
1130
|
name: string;
|
|
1131
|
+
id: string;
|
|
1132
1132
|
slug: string;
|
|
1133
1133
|
ref: string;
|
|
1134
1134
|
};
|
|
1135
1135
|
machine: {
|
|
1136
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1137
1136
|
cpu: number;
|
|
1138
1137
|
memory: number;
|
|
1138
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1139
1139
|
centsPerMs: number;
|
|
1140
1140
|
};
|
|
1141
1141
|
worker: {
|
|
@@ -1151,10 +1151,6 @@ 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
1154
|
task: {
|
|
1159
1155
|
id: string;
|
|
1160
1156
|
filePath: string;
|
|
@@ -1162,8 +1158,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1162
1158
|
};
|
|
1163
1159
|
attempt: {
|
|
1164
1160
|
number: number;
|
|
1165
|
-
id: string;
|
|
1166
1161
|
status: string;
|
|
1162
|
+
id: string;
|
|
1167
1163
|
startedAt: Date;
|
|
1168
1164
|
backgroundWorkerId: string;
|
|
1169
1165
|
backgroundWorkerTaskId: string;
|
|
@@ -1174,31 +1170,35 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1174
1170
|
payloadType: string;
|
|
1175
1171
|
tags: string[];
|
|
1176
1172
|
createdAt: Date;
|
|
1177
|
-
context?: any;
|
|
1178
|
-
idempotencyKey?: string | undefined;
|
|
1179
|
-
maxAttempts?: number | undefined;
|
|
1180
1173
|
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1181
|
-
|
|
1182
|
-
version?: string | undefined;
|
|
1174
|
+
context?: any;
|
|
1183
1175
|
isTest?: boolean | undefined;
|
|
1184
1176
|
startedAt?: Date | undefined;
|
|
1177
|
+
idempotencyKey?: string | undefined;
|
|
1178
|
+
maxAttempts?: number | undefined;
|
|
1179
|
+
durationMs?: number | undefined;
|
|
1185
1180
|
costInCents?: number | undefined;
|
|
1186
1181
|
baseCostInCents?: number | undefined;
|
|
1187
|
-
|
|
1182
|
+
version?: string | undefined;
|
|
1183
|
+
maxDuration?: number | undefined;
|
|
1188
1184
|
};
|
|
1189
|
-
|
|
1185
|
+
queue: {
|
|
1186
|
+
name: string;
|
|
1190
1187
|
id: string;
|
|
1188
|
+
};
|
|
1189
|
+
environment: {
|
|
1191
1190
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1191
|
+
id: string;
|
|
1192
1192
|
slug: string;
|
|
1193
1193
|
};
|
|
1194
1194
|
organization: {
|
|
1195
|
-
id: string;
|
|
1196
1195
|
name: string;
|
|
1196
|
+
id: string;
|
|
1197
1197
|
slug: string;
|
|
1198
1198
|
};
|
|
1199
1199
|
project: {
|
|
1200
|
-
id: string;
|
|
1201
1200
|
name: string;
|
|
1201
|
+
id: string;
|
|
1202
1202
|
slug: string;
|
|
1203
1203
|
ref: string;
|
|
1204
1204
|
};
|
|
@@ -1211,9 +1211,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1211
1211
|
id: string;
|
|
1212
1212
|
} | undefined;
|
|
1213
1213
|
machine?: {
|
|
1214
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1215
1214
|
cpu: number;
|
|
1216
1215
|
memory: number;
|
|
1216
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1217
1217
|
centsPerMs: number;
|
|
1218
1218
|
} | undefined;
|
|
1219
1219
|
};
|
|
@@ -1473,11 +1473,11 @@ export declare const ScheduleMetadata: z.ZodObject<{
|
|
|
1473
1473
|
cron: z.ZodString;
|
|
1474
1474
|
timezone: z.ZodString;
|
|
1475
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1476
|
-
timezone: string;
|
|
1477
1476
|
cron: string;
|
|
1478
|
-
}, {
|
|
1479
1477
|
timezone: string;
|
|
1478
|
+
}, {
|
|
1480
1479
|
cron: string;
|
|
1480
|
+
timezone: string;
|
|
1481
1481
|
}>;
|
|
1482
1482
|
export declare const TaskMetadata: z.ZodObject<{
|
|
1483
1483
|
id: z.ZodString;
|
|
@@ -1574,20 +1574,25 @@ 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
|
+
maxDuration?: number | undefined;
|
|
1586
1587
|
queue?: {
|
|
1587
1588
|
name?: string | undefined;
|
|
1588
1589
|
concurrencyLimit?: number | undefined;
|
|
1589
1590
|
} | undefined;
|
|
1590
|
-
|
|
1591
|
+
machine?: {
|
|
1592
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1593
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1594
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1595
|
+
} | undefined;
|
|
1591
1596
|
retry?: {
|
|
1592
1597
|
maxAttempts?: number | undefined;
|
|
1593
1598
|
factor?: number | undefined;
|
|
@@ -1596,23 +1601,23 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1596
1601
|
randomize?: boolean | undefined;
|
|
1597
1602
|
} | undefined;
|
|
1598
1603
|
description?: string | undefined;
|
|
1604
|
+
triggerSource?: string | undefined;
|
|
1599
1605
|
schedule?: {
|
|
1600
|
-
timezone: string;
|
|
1601
1606
|
cron: string;
|
|
1607
|
+
timezone: string;
|
|
1602
1608
|
} | undefined;
|
|
1603
|
-
machine?: {
|
|
1604
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1605
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1606
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1607
|
-
} | undefined;
|
|
1608
|
-
triggerSource?: string | undefined;
|
|
1609
1609
|
}, {
|
|
1610
1610
|
id: string;
|
|
1611
|
+
maxDuration?: number | undefined;
|
|
1611
1612
|
queue?: {
|
|
1612
1613
|
name?: string | undefined;
|
|
1613
1614
|
concurrencyLimit?: number | undefined;
|
|
1614
1615
|
} | undefined;
|
|
1615
|
-
|
|
1616
|
+
machine?: {
|
|
1617
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1618
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1619
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1620
|
+
} | undefined;
|
|
1616
1621
|
retry?: {
|
|
1617
1622
|
maxAttempts?: number | undefined;
|
|
1618
1623
|
factor?: number | undefined;
|
|
@@ -1621,16 +1626,11 @@ export declare const TaskMetadata: z.ZodObject<{
|
|
|
1621
1626
|
randomize?: boolean | undefined;
|
|
1622
1627
|
} | undefined;
|
|
1623
1628
|
description?: string | undefined;
|
|
1629
|
+
triggerSource?: string | undefined;
|
|
1624
1630
|
schedule?: {
|
|
1625
|
-
timezone: string;
|
|
1626
1631
|
cron: string;
|
|
1632
|
+
timezone: string;
|
|
1627
1633
|
} | undefined;
|
|
1628
|
-
machine?: {
|
|
1629
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1630
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1631
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1632
|
-
} | undefined;
|
|
1633
|
-
triggerSource?: string | undefined;
|
|
1634
1634
|
}>;
|
|
1635
1635
|
export type TaskMetadata = z.infer<typeof TaskMetadata>;
|
|
1636
1636
|
export declare const TaskFile: z.ZodObject<{
|
|
@@ -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,11 +1768,16 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1768
1768
|
filePath: string;
|
|
1769
1769
|
exportName: string;
|
|
1770
1770
|
entryPoint: string;
|
|
1771
|
+
maxDuration?: number | undefined;
|
|
1771
1772
|
queue?: {
|
|
1772
1773
|
name?: string | undefined;
|
|
1773
1774
|
concurrencyLimit?: number | undefined;
|
|
1774
1775
|
} | undefined;
|
|
1775
|
-
|
|
1776
|
+
machine?: {
|
|
1777
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1778
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1779
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1780
|
+
} | undefined;
|
|
1776
1781
|
retry?: {
|
|
1777
1782
|
maxAttempts?: number | undefined;
|
|
1778
1783
|
factor?: number | undefined;
|
|
@@ -1781,26 +1786,26 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1781
1786
|
randomize?: boolean | undefined;
|
|
1782
1787
|
} | undefined;
|
|
1783
1788
|
description?: string | undefined;
|
|
1789
|
+
triggerSource?: string | undefined;
|
|
1784
1790
|
schedule?: {
|
|
1785
|
-
timezone: string;
|
|
1786
1791
|
cron: string;
|
|
1792
|
+
timezone: string;
|
|
1787
1793
|
} | undefined;
|
|
1788
|
-
machine?: {
|
|
1789
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1790
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1791
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1792
|
-
} | undefined;
|
|
1793
|
-
triggerSource?: string | undefined;
|
|
1794
1794
|
}, {
|
|
1795
1795
|
id: string;
|
|
1796
1796
|
filePath: string;
|
|
1797
1797
|
exportName: string;
|
|
1798
1798
|
entryPoint: string;
|
|
1799
|
+
maxDuration?: number | undefined;
|
|
1799
1800
|
queue?: {
|
|
1800
1801
|
name?: string | undefined;
|
|
1801
1802
|
concurrencyLimit?: number | undefined;
|
|
1802
1803
|
} | undefined;
|
|
1803
|
-
|
|
1804
|
+
machine?: {
|
|
1805
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1806
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1807
|
+
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1808
|
+
} | undefined;
|
|
1804
1809
|
retry?: {
|
|
1805
1810
|
maxAttempts?: number | undefined;
|
|
1806
1811
|
factor?: number | undefined;
|
|
@@ -1809,16 +1814,11 @@ export declare const TaskManifest: z.ZodObject<{
|
|
|
1809
1814
|
randomize?: boolean | undefined;
|
|
1810
1815
|
} | undefined;
|
|
1811
1816
|
description?: string | undefined;
|
|
1817
|
+
triggerSource?: string | undefined;
|
|
1812
1818
|
schedule?: {
|
|
1813
|
-
timezone: string;
|
|
1814
1819
|
cron: string;
|
|
1820
|
+
timezone: string;
|
|
1815
1821
|
} | undefined;
|
|
1816
|
-
machine?: {
|
|
1817
|
-
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
1818
|
-
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
1819
|
-
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1820
|
-
} | undefined;
|
|
1821
|
-
triggerSource?: string | undefined;
|
|
1822
1822
|
}>;
|
|
1823
1823
|
export type TaskManifest = z.infer<typeof TaskManifest>;
|
|
1824
1824
|
export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
|
|
@@ -1873,6 +1873,7 @@ export declare const Config: z.ZodObject<{
|
|
|
1873
1873
|
randomize?: boolean | undefined;
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
}, {
|
|
1876
|
+
enabledInDev?: boolean | undefined;
|
|
1876
1877
|
default?: {
|
|
1877
1878
|
maxAttempts?: number | undefined;
|
|
1878
1879
|
factor?: number | undefined;
|
|
@@ -1880,7 +1881,6 @@ export declare const Config: z.ZodObject<{
|
|
|
1880
1881
|
maxTimeoutInMs?: number | undefined;
|
|
1881
1882
|
randomize?: boolean | undefined;
|
|
1882
1883
|
} | undefined;
|
|
1883
|
-
enabledInDev?: boolean | undefined;
|
|
1884
1884
|
}>>;
|
|
1885
1885
|
additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1886
1886
|
additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1919,6 +1919,7 @@ export declare const Config: z.ZodObject<{
|
|
|
1919
1919
|
projectDir?: string | undefined;
|
|
1920
1920
|
tsconfigPath?: string | undefined;
|
|
1921
1921
|
retries?: {
|
|
1922
|
+
enabledInDev?: boolean | undefined;
|
|
1922
1923
|
default?: {
|
|
1923
1924
|
maxAttempts?: number | undefined;
|
|
1924
1925
|
factor?: number | undefined;
|
|
@@ -1926,7 +1927,6 @@ export declare const Config: z.ZodObject<{
|
|
|
1926
1927
|
maxTimeoutInMs?: number | undefined;
|
|
1927
1928
|
randomize?: boolean | undefined;
|
|
1928
1929
|
} | undefined;
|
|
1929
|
-
enabledInDev?: boolean | undefined;
|
|
1930
1930
|
} | undefined;
|
|
1931
1931
|
additionalPackages?: string[] | undefined;
|
|
1932
1932
|
additionalFiles?: string[] | undefined;
|
|
@@ -1952,14 +1952,14 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
|
|
|
1952
1952
|
traceContext: Record<string, unknown>;
|
|
1953
1953
|
runId: string;
|
|
1954
1954
|
messageId: string;
|
|
1955
|
-
attemptCount?: number | undefined;
|
|
1956
1955
|
environment?: Record<string, string> | undefined;
|
|
1956
|
+
attemptCount?: number | undefined;
|
|
1957
1957
|
}, {
|
|
1958
1958
|
isTest: boolean;
|
|
1959
1959
|
traceContext: Record<string, unknown>;
|
|
1960
1960
|
runId: string;
|
|
1961
1961
|
messageId: string;
|
|
1962
|
-
attemptCount?: number | undefined;
|
|
1963
1962
|
environment?: Record<string, string> | undefined;
|
|
1963
|
+
attemptCount?: number | undefined;
|
|
1964
1964
|
}>;
|
|
1965
1965
|
export type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
|