@sixb/server 0.2.1 → 0.2.3
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/README.md +3 -3
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +3 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +23 -0
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +6 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +2876 -667
- package/dist/index.js.map +43 -36
- package/dist/live/awareness.d.ts +48 -0
- package/dist/live/awareness.d.ts.map +1 -0
- package/dist/live/room.d.ts +198 -0
- package/dist/live/room.d.ts.map +1 -0
- package/dist/live/rooms.d.ts +67 -0
- package/dist/live/rooms.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agent-approvals.d.ts +21 -11
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +4 -4
- package/dist/routes/agent-computers.d.ts +146 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +152 -60
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +2 -1
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +1713 -178
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +21 -21
- package/dist/routes/connector-connection-runs.d.ts +124 -5
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/connector-connections.d.ts +9 -1
- package/dist/routes/connector-connections.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/lake.d.ts +91 -0
- package/dist/routes/lake.d.ts.map +1 -0
- package/dist/routes/links.d.ts +6 -6
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/model-generations.d.ts +2 -2
- package/dist/routes/objects.d.ts +6 -6
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +21 -11
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +13 -9
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +27 -27
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/shared-access.d.ts +57 -2
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/status.d.ts +11 -15
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +9 -6
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +14 -14
- package/dist/routes/ws/artifacts.d.ts +57 -0
- package/dist/routes/ws/artifacts.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +8 -7
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/index.d.ts +2 -1
- package/dist/routes/ws/index.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/shared-sockets.d.ts +52 -0
- package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +7 -7
- package/dist/schemas/activity.d.ts +16 -16
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +642 -196
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +41 -41
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +2106 -127
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +63 -63
- package/dist/schemas/connectors.d.ts +180 -20
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +44 -44
- package/dist/schemas/event-payloads.d.ts +2 -2
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +12 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/lake.d.ts +251 -0
- package/dist/schemas/lake.d.ts.map +1 -0
- package/dist/schemas/lineage.d.ts +56 -56
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/models.d.ts +4 -4
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +14 -14
- package/dist/schemas/pipelines.d.ts +86 -64
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +160 -160
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/shared-access.d.ts +17 -4
- package/dist/schemas/shared-access.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +59 -79
- package/dist/schemas/status.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +38 -22
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +71 -71
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +3 -0
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +11 -7
- package/src/artifacts/frame.ts +4 -13
- package/src/auth/scope.ts +10 -1
- package/src/auth/shared-access.ts +108 -12
- package/src/connectors/http.ts +35 -1
- package/src/live/README.md +136 -0
- package/src/live/awareness.ts +141 -0
- package/src/live/room.ts +933 -0
- package/src/live/rooms.ts +288 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/agent-computers.ts +208 -14
- package/src/routes/agent-runners.ts +1 -0
- package/src/routes/agents.ts +52 -7
- package/src/routes/artifact-frames.ts +40 -12
- package/src/routes/artifacts.ts +713 -28
- package/src/routes/connector-connection-runs.ts +7 -12
- package/src/routes/connector-connections.ts +10 -7
- package/src/routes/lake.ts +73 -0
- package/src/routes/objects.ts +3 -9
- package/src/routes/pipelines.ts +1 -0
- package/src/routes/shared-access.ts +53 -1
- package/src/routes/status.ts +9 -4
- package/src/routes/syncs.ts +1 -0
- package/src/routes/webhooks.ts +44 -3
- package/src/routes/ws/artifacts.ts +138 -0
- package/src/routes/ws/events.ts +7 -2
- package/src/routes/ws/index.ts +13 -2
- package/src/routes/ws/shared-sockets.ts +152 -0
- package/src/schemas/agents.ts +71 -1
- package/src/schemas/ai-accounting.ts +1 -0
- package/src/schemas/artifacts.ts +255 -18
- package/src/schemas/connectors.ts +17 -2
- package/src/schemas/files.ts +12 -0
- package/src/schemas/lake.ts +53 -0
- package/src/schemas/objects.ts +1 -0
- package/src/schemas/pipelines.ts +2 -0
- package/src/schemas/projections.ts +2 -2
- package/src/schemas/shared-access.ts +16 -0
- package/src/schemas/status.ts +16 -22
- package/src/schemas/syncs.ts +2 -0
- package/src/server.ts +35 -4
- package/src/utils/ws.ts +7 -0
|
@@ -24,7 +24,7 @@ export declare const PipelineRunsQuerySchema: z.ZodObject<{
|
|
|
24
24
|
offset: z.ZodOptional<z.ZodString>;
|
|
25
25
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
27
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
28
28
|
startedAfter?: string | undefined;
|
|
29
29
|
startedBefore?: string | undefined;
|
|
30
30
|
limit?: string | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const PipelineRunsQuerySchema: z.ZodObject<{
|
|
|
32
32
|
order?: "asc" | "desc" | undefined;
|
|
33
33
|
pipelineId?: string | undefined;
|
|
34
34
|
}, {
|
|
35
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
35
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
36
36
|
startedAfter?: string | undefined;
|
|
37
37
|
startedBefore?: string | undefined;
|
|
38
38
|
limit?: string | undefined;
|
|
@@ -45,6 +45,8 @@ export declare const PipelineRunSchema: z.ZodObject<{
|
|
|
45
45
|
projectId: z.ZodString;
|
|
46
46
|
pipelineId: z.ZodString;
|
|
47
47
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
48
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
49
|
+
attempt: z.ZodNumber;
|
|
48
50
|
queuedAt: z.ZodString;
|
|
49
51
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
50
52
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -60,10 +62,11 @@ export declare const PipelineRunSchema: z.ZodObject<{
|
|
|
60
62
|
}>>;
|
|
61
63
|
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
62
64
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
65
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
64
66
|
projectId: string;
|
|
65
67
|
id: string;
|
|
66
68
|
queuedAt: string;
|
|
69
|
+
attempt: number;
|
|
67
70
|
pipelineId: string;
|
|
68
71
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
69
72
|
startedAt?: string | undefined;
|
|
@@ -73,10 +76,11 @@ export declare const PipelineRunSchema: z.ZodObject<{
|
|
|
73
76
|
versionId: string;
|
|
74
77
|
} | undefined;
|
|
75
78
|
}, {
|
|
76
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
79
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
77
80
|
projectId: string;
|
|
78
81
|
id: string;
|
|
79
82
|
queuedAt: string;
|
|
83
|
+
attempt: number;
|
|
80
84
|
pipelineId: string;
|
|
81
85
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
82
86
|
startedAt?: string | undefined;
|
|
@@ -195,24 +199,24 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
195
199
|
type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
|
|
196
200
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
197
201
|
}, "strip", z.ZodTypeAny, {
|
|
198
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
199
202
|
name: string;
|
|
203
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
200
204
|
nullable?: boolean | undefined;
|
|
201
205
|
}, {
|
|
202
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
203
206
|
name: string;
|
|
207
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
204
208
|
nullable?: boolean | undefined;
|
|
205
209
|
}>, "many">;
|
|
206
210
|
}, "strip", z.ZodTypeAny, {
|
|
207
211
|
columns: {
|
|
208
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
209
212
|
name: string;
|
|
213
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
210
214
|
nullable?: boolean | undefined;
|
|
211
215
|
}[];
|
|
212
216
|
}, {
|
|
213
217
|
columns: {
|
|
214
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
215
218
|
name: string;
|
|
219
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
216
220
|
nullable?: boolean | undefined;
|
|
217
221
|
}[];
|
|
218
222
|
}>;
|
|
@@ -220,8 +224,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
220
224
|
id: string;
|
|
221
225
|
schema: {
|
|
222
226
|
columns: {
|
|
223
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
224
227
|
name: string;
|
|
228
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
225
229
|
nullable?: boolean | undefined;
|
|
226
230
|
}[];
|
|
227
231
|
};
|
|
@@ -233,8 +237,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
233
237
|
id: string;
|
|
234
238
|
schema: {
|
|
235
239
|
columns: {
|
|
236
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
237
240
|
name: string;
|
|
241
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
238
242
|
nullable?: boolean | undefined;
|
|
239
243
|
}[];
|
|
240
244
|
};
|
|
@@ -249,8 +253,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
249
253
|
id: string;
|
|
250
254
|
schema: {
|
|
251
255
|
columns: {
|
|
252
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
253
256
|
name: string;
|
|
257
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
254
258
|
nullable?: boolean | undefined;
|
|
255
259
|
}[];
|
|
256
260
|
};
|
|
@@ -265,8 +269,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
265
269
|
id: string;
|
|
266
270
|
schema: {
|
|
267
271
|
columns: {
|
|
268
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
269
272
|
name: string;
|
|
273
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
270
274
|
nullable?: boolean | undefined;
|
|
271
275
|
}[];
|
|
272
276
|
};
|
|
@@ -288,24 +292,24 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
288
292
|
type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
|
|
289
293
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
290
294
|
}, "strip", z.ZodTypeAny, {
|
|
291
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
292
295
|
name: string;
|
|
296
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
293
297
|
nullable?: boolean | undefined;
|
|
294
298
|
}, {
|
|
295
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
296
299
|
name: string;
|
|
300
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
297
301
|
nullable?: boolean | undefined;
|
|
298
302
|
}>, "many">;
|
|
299
303
|
}, "strip", z.ZodTypeAny, {
|
|
300
304
|
columns: {
|
|
301
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
302
305
|
name: string;
|
|
306
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
303
307
|
nullable?: boolean | undefined;
|
|
304
308
|
}[];
|
|
305
309
|
}, {
|
|
306
310
|
columns: {
|
|
307
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
308
311
|
name: string;
|
|
312
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
309
313
|
nullable?: boolean | undefined;
|
|
310
314
|
}[];
|
|
311
315
|
}>;
|
|
@@ -313,8 +317,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
313
317
|
id: string;
|
|
314
318
|
schema: {
|
|
315
319
|
columns: {
|
|
316
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
317
320
|
name: string;
|
|
321
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
318
322
|
nullable?: boolean | undefined;
|
|
319
323
|
}[];
|
|
320
324
|
};
|
|
@@ -326,8 +330,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
326
330
|
id: string;
|
|
327
331
|
schema: {
|
|
328
332
|
columns: {
|
|
329
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
330
333
|
name: string;
|
|
334
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
331
335
|
nullable?: boolean | undefined;
|
|
332
336
|
}[];
|
|
333
337
|
};
|
|
@@ -349,8 +353,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
349
353
|
id: string;
|
|
350
354
|
schema: {
|
|
351
355
|
columns: {
|
|
352
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
353
356
|
name: string;
|
|
357
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
354
358
|
nullable?: boolean | undefined;
|
|
355
359
|
}[];
|
|
356
360
|
};
|
|
@@ -365,8 +369,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
365
369
|
id: string;
|
|
366
370
|
schema: {
|
|
367
371
|
columns: {
|
|
368
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
369
372
|
name: string;
|
|
373
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
370
374
|
nullable?: boolean | undefined;
|
|
371
375
|
}[];
|
|
372
376
|
};
|
|
@@ -389,8 +393,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
389
393
|
id: string;
|
|
390
394
|
schema: {
|
|
391
395
|
columns: {
|
|
392
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
393
396
|
name: string;
|
|
397
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
394
398
|
nullable?: boolean | undefined;
|
|
395
399
|
}[];
|
|
396
400
|
};
|
|
@@ -405,8 +409,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
405
409
|
id: string;
|
|
406
410
|
schema: {
|
|
407
411
|
columns: {
|
|
408
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
409
412
|
name: string;
|
|
413
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
410
414
|
nullable?: boolean | undefined;
|
|
411
415
|
}[];
|
|
412
416
|
};
|
|
@@ -466,24 +470,24 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
466
470
|
type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
|
|
467
471
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
468
472
|
}, "strip", z.ZodTypeAny, {
|
|
469
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
470
473
|
name: string;
|
|
474
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
471
475
|
nullable?: boolean | undefined;
|
|
472
476
|
}, {
|
|
473
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
474
477
|
name: string;
|
|
478
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
475
479
|
nullable?: boolean | undefined;
|
|
476
480
|
}>, "many">;
|
|
477
481
|
}, "strip", z.ZodTypeAny, {
|
|
478
482
|
columns: {
|
|
479
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
480
483
|
name: string;
|
|
484
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
481
485
|
nullable?: boolean | undefined;
|
|
482
486
|
}[];
|
|
483
487
|
}, {
|
|
484
488
|
columns: {
|
|
485
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
486
489
|
name: string;
|
|
490
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
487
491
|
nullable?: boolean | undefined;
|
|
488
492
|
}[];
|
|
489
493
|
}>;
|
|
@@ -491,8 +495,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
491
495
|
id: string;
|
|
492
496
|
schema: {
|
|
493
497
|
columns: {
|
|
494
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
495
498
|
name: string;
|
|
499
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
496
500
|
nullable?: boolean | undefined;
|
|
497
501
|
}[];
|
|
498
502
|
};
|
|
@@ -504,8 +508,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
504
508
|
id: string;
|
|
505
509
|
schema: {
|
|
506
510
|
columns: {
|
|
507
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
508
511
|
name: string;
|
|
512
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
509
513
|
nullable?: boolean | undefined;
|
|
510
514
|
}[];
|
|
511
515
|
};
|
|
@@ -520,8 +524,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
520
524
|
id: string;
|
|
521
525
|
schema: {
|
|
522
526
|
columns: {
|
|
523
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
524
527
|
name: string;
|
|
528
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
525
529
|
nullable?: boolean | undefined;
|
|
526
530
|
}[];
|
|
527
531
|
};
|
|
@@ -536,8 +540,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
536
540
|
id: string;
|
|
537
541
|
schema: {
|
|
538
542
|
columns: {
|
|
539
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
540
543
|
name: string;
|
|
544
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
541
545
|
nullable?: boolean | undefined;
|
|
542
546
|
}[];
|
|
543
547
|
};
|
|
@@ -559,24 +563,24 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
559
563
|
type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
|
|
560
564
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
561
565
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
563
566
|
name: string;
|
|
567
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
564
568
|
nullable?: boolean | undefined;
|
|
565
569
|
}, {
|
|
566
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
567
570
|
name: string;
|
|
571
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
568
572
|
nullable?: boolean | undefined;
|
|
569
573
|
}>, "many">;
|
|
570
574
|
}, "strip", z.ZodTypeAny, {
|
|
571
575
|
columns: {
|
|
572
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
573
576
|
name: string;
|
|
577
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
574
578
|
nullable?: boolean | undefined;
|
|
575
579
|
}[];
|
|
576
580
|
}, {
|
|
577
581
|
columns: {
|
|
578
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
579
582
|
name: string;
|
|
583
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
580
584
|
nullable?: boolean | undefined;
|
|
581
585
|
}[];
|
|
582
586
|
}>;
|
|
@@ -584,8 +588,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
584
588
|
id: string;
|
|
585
589
|
schema: {
|
|
586
590
|
columns: {
|
|
587
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
588
591
|
name: string;
|
|
592
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
589
593
|
nullable?: boolean | undefined;
|
|
590
594
|
}[];
|
|
591
595
|
};
|
|
@@ -597,8 +601,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
597
601
|
id: string;
|
|
598
602
|
schema: {
|
|
599
603
|
columns: {
|
|
600
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
601
604
|
name: string;
|
|
605
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
602
606
|
nullable?: boolean | undefined;
|
|
603
607
|
}[];
|
|
604
608
|
};
|
|
@@ -620,8 +624,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
620
624
|
id: string;
|
|
621
625
|
schema: {
|
|
622
626
|
columns: {
|
|
623
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
624
627
|
name: string;
|
|
628
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
625
629
|
nullable?: boolean | undefined;
|
|
626
630
|
}[];
|
|
627
631
|
};
|
|
@@ -636,8 +640,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
636
640
|
id: string;
|
|
637
641
|
schema: {
|
|
638
642
|
columns: {
|
|
639
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
640
643
|
name: string;
|
|
644
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
641
645
|
nullable?: boolean | undefined;
|
|
642
646
|
}[];
|
|
643
647
|
};
|
|
@@ -660,8 +664,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
660
664
|
id: string;
|
|
661
665
|
schema: {
|
|
662
666
|
columns: {
|
|
663
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
664
667
|
name: string;
|
|
668
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
665
669
|
nullable?: boolean | undefined;
|
|
666
670
|
}[];
|
|
667
671
|
};
|
|
@@ -676,8 +680,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
676
680
|
id: string;
|
|
677
681
|
schema: {
|
|
678
682
|
columns: {
|
|
679
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
680
683
|
name: string;
|
|
684
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
681
685
|
nullable?: boolean | undefined;
|
|
682
686
|
}[];
|
|
683
687
|
};
|
|
@@ -703,8 +707,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
703
707
|
id: string;
|
|
704
708
|
schema: {
|
|
705
709
|
columns: {
|
|
706
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
707
710
|
name: string;
|
|
711
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
708
712
|
nullable?: boolean | undefined;
|
|
709
713
|
}[];
|
|
710
714
|
};
|
|
@@ -719,8 +723,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
719
723
|
id: string;
|
|
720
724
|
schema: {
|
|
721
725
|
columns: {
|
|
722
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
723
726
|
name: string;
|
|
727
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
724
728
|
nullable?: boolean | undefined;
|
|
725
729
|
}[];
|
|
726
730
|
};
|
|
@@ -746,8 +750,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
746
750
|
id: string;
|
|
747
751
|
schema: {
|
|
748
752
|
columns: {
|
|
749
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
750
753
|
name: string;
|
|
754
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
751
755
|
nullable?: boolean | undefined;
|
|
752
756
|
}[];
|
|
753
757
|
};
|
|
@@ -762,8 +766,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
762
766
|
id: string;
|
|
763
767
|
schema: {
|
|
764
768
|
columns: {
|
|
765
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
766
769
|
name: string;
|
|
770
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
767
771
|
nullable?: boolean | undefined;
|
|
768
772
|
}[];
|
|
769
773
|
};
|
|
@@ -792,8 +796,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
792
796
|
id: string;
|
|
793
797
|
schema: {
|
|
794
798
|
columns: {
|
|
795
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
796
799
|
name: string;
|
|
800
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
797
801
|
nullable?: boolean | undefined;
|
|
798
802
|
}[];
|
|
799
803
|
};
|
|
@@ -808,8 +812,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
808
812
|
id: string;
|
|
809
813
|
schema: {
|
|
810
814
|
columns: {
|
|
811
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
812
815
|
name: string;
|
|
816
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
813
817
|
nullable?: boolean | undefined;
|
|
814
818
|
}[];
|
|
815
819
|
};
|
|
@@ -838,8 +842,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
838
842
|
id: string;
|
|
839
843
|
schema: {
|
|
840
844
|
columns: {
|
|
841
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
842
845
|
name: string;
|
|
846
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
843
847
|
nullable?: boolean | undefined;
|
|
844
848
|
}[];
|
|
845
849
|
};
|
|
@@ -854,8 +858,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
854
858
|
id: string;
|
|
855
859
|
schema: {
|
|
856
860
|
columns: {
|
|
857
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
858
861
|
name: string;
|
|
862
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
859
863
|
nullable?: boolean | undefined;
|
|
860
864
|
}[];
|
|
861
865
|
};
|
|
@@ -873,6 +877,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
873
877
|
projectId: z.ZodString;
|
|
874
878
|
pipelineId: z.ZodString;
|
|
875
879
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
880
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
881
|
+
attempt: z.ZodNumber;
|
|
876
882
|
queuedAt: z.ZodString;
|
|
877
883
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
878
884
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -888,10 +894,11 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
888
894
|
}>>;
|
|
889
895
|
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
890
896
|
}, "strip", z.ZodTypeAny, {
|
|
891
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
897
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
892
898
|
projectId: string;
|
|
893
899
|
id: string;
|
|
894
900
|
queuedAt: string;
|
|
901
|
+
attempt: number;
|
|
895
902
|
pipelineId: string;
|
|
896
903
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
897
904
|
startedAt?: string | undefined;
|
|
@@ -901,10 +908,11 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
901
908
|
versionId: string;
|
|
902
909
|
} | undefined;
|
|
903
910
|
}, {
|
|
904
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
911
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
905
912
|
projectId: string;
|
|
906
913
|
id: string;
|
|
907
914
|
queuedAt: string;
|
|
915
|
+
attempt: number;
|
|
908
916
|
pipelineId: string;
|
|
909
917
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
910
918
|
startedAt?: string | undefined;
|
|
@@ -921,10 +929,11 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
921
929
|
scheduleId: string;
|
|
922
930
|
}[];
|
|
923
931
|
latestRun: {
|
|
924
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
932
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
925
933
|
projectId: string;
|
|
926
934
|
id: string;
|
|
927
935
|
queuedAt: string;
|
|
936
|
+
attempt: number;
|
|
928
937
|
pipelineId: string;
|
|
929
938
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
930
939
|
startedAt?: string | undefined;
|
|
@@ -951,8 +960,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
951
960
|
id: string;
|
|
952
961
|
schema: {
|
|
953
962
|
columns: {
|
|
954
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
955
963
|
name: string;
|
|
964
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
956
965
|
nullable?: boolean | undefined;
|
|
957
966
|
}[];
|
|
958
967
|
};
|
|
@@ -967,8 +976,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
967
976
|
id: string;
|
|
968
977
|
schema: {
|
|
969
978
|
columns: {
|
|
970
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
971
979
|
name: string;
|
|
980
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
972
981
|
nullable?: boolean | undefined;
|
|
973
982
|
}[];
|
|
974
983
|
};
|
|
@@ -988,10 +997,11 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
988
997
|
scheduleId: string;
|
|
989
998
|
}[];
|
|
990
999
|
latestRun: {
|
|
991
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1000
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
992
1001
|
projectId: string;
|
|
993
1002
|
id: string;
|
|
994
1003
|
queuedAt: string;
|
|
1004
|
+
attempt: number;
|
|
995
1005
|
pipelineId: string;
|
|
996
1006
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
997
1007
|
startedAt?: string | undefined;
|
|
@@ -1018,8 +1028,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
1018
1028
|
id: string;
|
|
1019
1029
|
schema: {
|
|
1020
1030
|
columns: {
|
|
1021
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
1022
1031
|
name: string;
|
|
1032
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
1023
1033
|
nullable?: boolean | undefined;
|
|
1024
1034
|
}[];
|
|
1025
1035
|
};
|
|
@@ -1034,8 +1044,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
1034
1044
|
id: string;
|
|
1035
1045
|
schema: {
|
|
1036
1046
|
columns: {
|
|
1037
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
1038
1047
|
name: string;
|
|
1048
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
1039
1049
|
nullable?: boolean | undefined;
|
|
1040
1050
|
}[];
|
|
1041
1051
|
};
|
|
@@ -1055,6 +1065,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1055
1065
|
projectId: z.ZodString;
|
|
1056
1066
|
pipelineId: z.ZodString;
|
|
1057
1067
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
1068
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
1069
|
+
attempt: z.ZodNumber;
|
|
1058
1070
|
queuedAt: z.ZodString;
|
|
1059
1071
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1060
1072
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1070,10 +1082,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1070
1082
|
}>>;
|
|
1071
1083
|
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
1072
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1085
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1074
1086
|
projectId: string;
|
|
1075
1087
|
id: string;
|
|
1076
1088
|
queuedAt: string;
|
|
1089
|
+
attempt: number;
|
|
1077
1090
|
pipelineId: string;
|
|
1078
1091
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1079
1092
|
startedAt?: string | undefined;
|
|
@@ -1083,10 +1096,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1083
1096
|
versionId: string;
|
|
1084
1097
|
} | undefined;
|
|
1085
1098
|
}, {
|
|
1086
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1099
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1087
1100
|
projectId: string;
|
|
1088
1101
|
id: string;
|
|
1089
1102
|
queuedAt: string;
|
|
1103
|
+
attempt: number;
|
|
1090
1104
|
pipelineId: string;
|
|
1091
1105
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1092
1106
|
startedAt?: string | undefined;
|
|
@@ -1100,10 +1114,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1100
1114
|
total: z.ZodNumber;
|
|
1101
1115
|
}, "strip", z.ZodTypeAny, {
|
|
1102
1116
|
runs: {
|
|
1103
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1117
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1104
1118
|
projectId: string;
|
|
1105
1119
|
id: string;
|
|
1106
1120
|
queuedAt: string;
|
|
1121
|
+
attempt: number;
|
|
1107
1122
|
pipelineId: string;
|
|
1108
1123
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1109
1124
|
startedAt?: string | undefined;
|
|
@@ -1117,10 +1132,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1117
1132
|
total: number;
|
|
1118
1133
|
}, {
|
|
1119
1134
|
runs: {
|
|
1120
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1135
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1121
1136
|
projectId: string;
|
|
1122
1137
|
id: string;
|
|
1123
1138
|
queuedAt: string;
|
|
1139
|
+
attempt: number;
|
|
1124
1140
|
pipelineId: string;
|
|
1125
1141
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1126
1142
|
startedAt?: string | undefined;
|
|
@@ -1139,6 +1155,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1139
1155
|
projectId: z.ZodString;
|
|
1140
1156
|
pipelineId: z.ZodString;
|
|
1141
1157
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
1158
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
1159
|
+
attempt: z.ZodNumber;
|
|
1142
1160
|
queuedAt: z.ZodString;
|
|
1143
1161
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1144
1162
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1154,10 +1172,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1154
1172
|
}>>;
|
|
1155
1173
|
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
1156
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1157
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1175
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1158
1176
|
projectId: string;
|
|
1159
1177
|
id: string;
|
|
1160
1178
|
queuedAt: string;
|
|
1179
|
+
attempt: number;
|
|
1161
1180
|
pipelineId: string;
|
|
1162
1181
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1163
1182
|
startedAt?: string | undefined;
|
|
@@ -1167,10 +1186,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1167
1186
|
versionId: string;
|
|
1168
1187
|
} | undefined;
|
|
1169
1188
|
}, {
|
|
1170
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1189
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1171
1190
|
projectId: string;
|
|
1172
1191
|
id: string;
|
|
1173
1192
|
queuedAt: string;
|
|
1193
|
+
attempt: number;
|
|
1174
1194
|
pipelineId: string;
|
|
1175
1195
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1176
1196
|
startedAt?: string | undefined;
|
|
@@ -1258,10 +1278,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1258
1278
|
}>, "many">;
|
|
1259
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1260
1280
|
run: {
|
|
1261
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1281
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1262
1282
|
projectId: string;
|
|
1263
1283
|
id: string;
|
|
1264
1284
|
queuedAt: string;
|
|
1285
|
+
attempt: number;
|
|
1265
1286
|
pipelineId: string;
|
|
1266
1287
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1267
1288
|
startedAt?: string | undefined;
|
|
@@ -1295,10 +1316,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1295
1316
|
}[];
|
|
1296
1317
|
}, {
|
|
1297
1318
|
run: {
|
|
1298
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1319
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1299
1320
|
projectId: string;
|
|
1300
1321
|
id: string;
|
|
1301
1322
|
queuedAt: string;
|
|
1323
|
+
attempt: number;
|
|
1302
1324
|
pipelineId: string;
|
|
1303
1325
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1304
1326
|
startedAt?: string | undefined;
|