@sixb/server 0.1.19 → 0.1.21
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 +13 -22
- package/dist/artifacts/frame.d.ts +13 -0
- package/dist/artifacts/frame.d.ts.map +1 -0
- package/dist/auth/browser-origin.d.ts +9 -26
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +0 -3
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/guard.d.ts +1 -1
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts +0 -5
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +0 -2
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/files/content.d.ts +2 -3
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3241 -2445
- package/dist/index.js.map +31 -26
- package/dist/openapi/tags.d.ts +10 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +3 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +0 -2
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/activity.d.ts +35 -0
- package/dist/routes/activity.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +18 -29
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +98 -0
- package/dist/routes/artifact-frames.d.ts.map +1 -0
- package/dist/routes/artifacts.d.ts +852 -0
- package/dist/routes/artifacts.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +9 -18
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +59 -59
- package/dist/routes/connector-connections.d.ts +2 -2
- package/dist/routes/datasets.d.ts +7 -7
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/objects.d.ts +0 -2
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +31 -31
- package/dist/routes/projections.d.ts +10 -10
- package/dist/routes/share-grants.d.ts +5 -5
- package/dist/routes/syncs.d.ts +38 -38
- package/dist/routes/workflows.d.ts +30 -34
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/subscription-hub.d.ts +8 -3
- package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
- package/dist/schemas/activity.d.ts +1278 -0
- package/dist/schemas/activity.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +96 -144
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +24 -24
- package/dist/schemas/ai-limits.d.ts +26 -26
- package/dist/schemas/artifacts.d.ts +1305 -0
- package/dist/schemas/artifacts.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +34 -69
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +30 -30
- package/dist/schemas/datasets.d.ts +10 -10
- package/dist/schemas/events.d.ts +6 -6
- package/dist/schemas/files.d.ts +0 -3
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +35 -35
- package/dist/schemas/projections.d.ts +40 -40
- package/dist/schemas/share-grants.d.ts +16 -16
- package/dist/schemas/syncs.d.ts +36 -36
- package/dist/schemas/workflows.d.ts +84 -84
- package/dist/server.d.ts +1 -2
- package/dist/server.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/artifacts/frame.ts +46 -0
- package/src/auth/browser-origin.ts +40 -240
- package/src/auth/experience.ts +1 -4
- package/src/auth/guard.ts +4 -32
- package/src/auth/public-routes.ts +11 -10
- package/src/auth/responses.ts +0 -5
- package/src/auth/session-cookies.ts +1 -3
- package/src/auth/shared-access.ts +1 -1
- package/src/files/content.ts +9 -13
- package/src/index.ts +1 -1
- package/src/openapi/tags.ts +8 -0
- package/src/registerRoutes.ts +9 -0
- package/src/routes/activity.ts +327 -0
- package/src/routes/agents.ts +1 -1
- package/src/routes/artifact-frames.ts +138 -0
- package/src/routes/artifacts.ts +442 -0
- package/src/routes/auth.ts +32 -111
- package/src/routes/file-downloads.ts +1 -3
- package/src/routes/ws/events.ts +3 -2
- package/src/routes/ws/subscription-hub.ts +53 -20
- package/src/schemas/activity.ts +285 -0
- package/src/schemas/agents.ts +1 -2
- package/src/schemas/artifacts.ts +158 -0
- package/src/schemas/auth.ts +2 -15
- package/src/schemas/files.ts +0 -6
- package/src/server.ts +27 -24
- package/dist/auth/application-access.d.ts +0 -4
- package/dist/auth/application-access.d.ts.map +0 -1
- package/src/auth/application-access.ts +0 -15
package/dist/schemas/events.d.ts
CHANGED
|
@@ -317,11 +317,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
317
317
|
id: string;
|
|
318
318
|
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
319
319
|
occurredAt: string;
|
|
320
|
+
cursor: string;
|
|
320
321
|
payload: Record<string, unknown>;
|
|
321
322
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
322
323
|
partitionKey: string;
|
|
323
324
|
schemaVersion: 1;
|
|
324
|
-
cursor: string;
|
|
325
325
|
origin?: {
|
|
326
326
|
kind: "projection";
|
|
327
327
|
datasetId: string;
|
|
@@ -358,11 +358,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
358
358
|
id: string;
|
|
359
359
|
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
360
360
|
occurredAt: string;
|
|
361
|
+
cursor: string;
|
|
361
362
|
payload: Record<string, unknown>;
|
|
362
363
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
363
364
|
partitionKey: string;
|
|
364
365
|
schemaVersion: 1;
|
|
365
|
-
cursor: string;
|
|
366
366
|
origin?: {
|
|
367
367
|
kind: "projection";
|
|
368
368
|
datasetId: string;
|
|
@@ -518,11 +518,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
518
518
|
id: string;
|
|
519
519
|
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
520
520
|
occurredAt: string;
|
|
521
|
+
cursor: string;
|
|
521
522
|
payload: Record<string, unknown>;
|
|
522
523
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
523
524
|
partitionKey: string;
|
|
524
525
|
schemaVersion: 1;
|
|
525
|
-
cursor: string;
|
|
526
526
|
origin?: {
|
|
527
527
|
kind: "projection";
|
|
528
528
|
datasetId: string;
|
|
@@ -559,11 +559,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
559
559
|
id: string;
|
|
560
560
|
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
561
561
|
occurredAt: string;
|
|
562
|
+
cursor: string;
|
|
562
563
|
payload: Record<string, unknown>;
|
|
563
564
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
564
565
|
partitionKey: string;
|
|
565
566
|
schemaVersion: 1;
|
|
566
|
-
cursor: string;
|
|
567
567
|
origin?: {
|
|
568
568
|
kind: "projection";
|
|
569
569
|
datasetId: string;
|
|
@@ -605,11 +605,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
605
605
|
id: string;
|
|
606
606
|
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
607
607
|
occurredAt: string;
|
|
608
|
+
cursor: string;
|
|
608
609
|
payload: Record<string, unknown>;
|
|
609
610
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
610
611
|
partitionKey: string;
|
|
611
612
|
schemaVersion: 1;
|
|
612
|
-
cursor: string;
|
|
613
613
|
origin?: {
|
|
614
614
|
kind: "projection";
|
|
615
615
|
datasetId: string;
|
|
@@ -652,11 +652,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
652
652
|
id: string;
|
|
653
653
|
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
654
654
|
occurredAt: string;
|
|
655
|
+
cursor: string;
|
|
655
656
|
payload: Record<string, unknown>;
|
|
656
657
|
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
657
658
|
partitionKey: string;
|
|
658
659
|
schemaVersion: 1;
|
|
659
|
-
cursor: string;
|
|
660
660
|
origin?: {
|
|
661
661
|
kind: "projection";
|
|
662
662
|
datasetId: string;
|
package/dist/schemas/files.d.ts
CHANGED
|
@@ -235,18 +235,15 @@ export declare const CompleteFileUploadBodySchema: z.ZodObject<{
|
|
|
235
235
|
}[] | undefined;
|
|
236
236
|
}>;
|
|
237
237
|
export declare const FileContentQuerySchema: z.ZodObject<{
|
|
238
|
-
audience: z.ZodOptional<z.ZodEnum<["atlas", "app"]>>;
|
|
239
238
|
path: z.ZodString;
|
|
240
239
|
disposition: z.ZodOptional<z.ZodEnum<["inline", "attachment"]>>;
|
|
241
240
|
v: z.ZodOptional<z.ZodString>;
|
|
242
241
|
}, "strip", z.ZodTypeAny, {
|
|
243
242
|
path: string;
|
|
244
|
-
audience?: "atlas" | "app" | undefined;
|
|
245
243
|
disposition?: "inline" | "attachment" | undefined;
|
|
246
244
|
v?: string | undefined;
|
|
247
245
|
}, {
|
|
248
246
|
path: string;
|
|
249
|
-
audience?: "atlas" | "app" | undefined;
|
|
250
247
|
disposition?: "inline" | "attachment" | undefined;
|
|
251
248
|
v?: string | undefined;
|
|
252
249
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/schemas/files.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,gBAAgB,aAA4C,CAAA;AAEzE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;EAOxB,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAWrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAMjC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAMpC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAMrC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIvC,CAAA;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/schemas/files.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,gBAAgB,aAA4C,CAAA;AAEzE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;EAOxB,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAWrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAMjC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAMpC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAMrC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIvC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAA"}
|
|
@@ -63,8 +63,8 @@ export declare const PipelineRunSchema: z.ZodObject<{
|
|
|
63
63
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
64
64
|
projectId: string;
|
|
65
65
|
id: string;
|
|
66
|
-
pipelineId: string;
|
|
67
66
|
queuedAt: string;
|
|
67
|
+
pipelineId: string;
|
|
68
68
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
69
69
|
startedAt?: string | undefined;
|
|
70
70
|
finishedAt?: string | undefined;
|
|
@@ -76,8 +76,8 @@ export declare const PipelineRunSchema: z.ZodObject<{
|
|
|
76
76
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
77
77
|
projectId: string;
|
|
78
78
|
id: string;
|
|
79
|
-
pipelineId: string;
|
|
80
79
|
queuedAt: string;
|
|
80
|
+
pipelineId: string;
|
|
81
81
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
82
82
|
startedAt?: string | undefined;
|
|
83
83
|
finishedAt?: string | undefined;
|
|
@@ -891,8 +891,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
891
891
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
892
892
|
projectId: string;
|
|
893
893
|
id: string;
|
|
894
|
-
pipelineId: string;
|
|
895
894
|
queuedAt: string;
|
|
895
|
+
pipelineId: string;
|
|
896
896
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
897
897
|
startedAt?: string | undefined;
|
|
898
898
|
finishedAt?: string | undefined;
|
|
@@ -904,8 +904,8 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
904
904
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
905
905
|
projectId: string;
|
|
906
906
|
id: string;
|
|
907
|
-
pipelineId: string;
|
|
908
907
|
queuedAt: string;
|
|
908
|
+
pipelineId: string;
|
|
909
909
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
910
910
|
startedAt?: string | undefined;
|
|
911
911
|
finishedAt?: string | undefined;
|
|
@@ -920,6 +920,20 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
920
920
|
type: "schedule";
|
|
921
921
|
scheduleId: string;
|
|
922
922
|
}[];
|
|
923
|
+
latestRun: {
|
|
924
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
925
|
+
projectId: string;
|
|
926
|
+
id: string;
|
|
927
|
+
queuedAt: string;
|
|
928
|
+
pipelineId: string;
|
|
929
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
930
|
+
startedAt?: string | undefined;
|
|
931
|
+
finishedAt?: string | undefined;
|
|
932
|
+
output?: {
|
|
933
|
+
datasetId: string;
|
|
934
|
+
versionId: string;
|
|
935
|
+
} | undefined;
|
|
936
|
+
} | null;
|
|
923
937
|
graph: {
|
|
924
938
|
kind: "sequence";
|
|
925
939
|
nodes: {
|
|
@@ -967,12 +981,18 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
967
981
|
};
|
|
968
982
|
}[];
|
|
969
983
|
};
|
|
984
|
+
}, {
|
|
985
|
+
id: string;
|
|
986
|
+
triggers: {
|
|
987
|
+
type: "schedule";
|
|
988
|
+
scheduleId: string;
|
|
989
|
+
}[];
|
|
970
990
|
latestRun: {
|
|
971
991
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
972
992
|
projectId: string;
|
|
973
993
|
id: string;
|
|
974
|
-
pipelineId: string;
|
|
975
994
|
queuedAt: string;
|
|
995
|
+
pipelineId: string;
|
|
976
996
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
977
997
|
startedAt?: string | undefined;
|
|
978
998
|
finishedAt?: string | undefined;
|
|
@@ -981,12 +1001,6 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
981
1001
|
versionId: string;
|
|
982
1002
|
} | undefined;
|
|
983
1003
|
} | null;
|
|
984
|
-
}, {
|
|
985
|
-
id: string;
|
|
986
|
-
triggers: {
|
|
987
|
-
type: "schedule";
|
|
988
|
-
scheduleId: string;
|
|
989
|
-
}[];
|
|
990
1004
|
graph: {
|
|
991
1005
|
kind: "sequence";
|
|
992
1006
|
nodes: {
|
|
@@ -1034,20 +1048,6 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
1034
1048
|
};
|
|
1035
1049
|
}[];
|
|
1036
1050
|
};
|
|
1037
|
-
latestRun: {
|
|
1038
|
-
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1039
|
-
projectId: string;
|
|
1040
|
-
id: string;
|
|
1041
|
-
pipelineId: string;
|
|
1042
|
-
queuedAt: string;
|
|
1043
|
-
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1044
|
-
startedAt?: string | undefined;
|
|
1045
|
-
finishedAt?: string | undefined;
|
|
1046
|
-
output?: {
|
|
1047
|
-
datasetId: string;
|
|
1048
|
-
versionId: string;
|
|
1049
|
-
} | undefined;
|
|
1050
|
-
} | null;
|
|
1051
1051
|
}>;
|
|
1052
1052
|
export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
1053
1053
|
runs: z.ZodArray<z.ZodObject<{
|
|
@@ -1073,8 +1073,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1073
1073
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1074
1074
|
projectId: string;
|
|
1075
1075
|
id: string;
|
|
1076
|
-
pipelineId: string;
|
|
1077
1076
|
queuedAt: string;
|
|
1077
|
+
pipelineId: string;
|
|
1078
1078
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1079
1079
|
startedAt?: string | undefined;
|
|
1080
1080
|
finishedAt?: string | undefined;
|
|
@@ -1086,8 +1086,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1086
1086
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1087
1087
|
projectId: string;
|
|
1088
1088
|
id: string;
|
|
1089
|
-
pipelineId: string;
|
|
1090
1089
|
queuedAt: string;
|
|
1090
|
+
pipelineId: string;
|
|
1091
1091
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1092
1092
|
startedAt?: string | undefined;
|
|
1093
1093
|
finishedAt?: string | undefined;
|
|
@@ -1103,8 +1103,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1103
1103
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1104
1104
|
projectId: string;
|
|
1105
1105
|
id: string;
|
|
1106
|
-
pipelineId: string;
|
|
1107
1106
|
queuedAt: string;
|
|
1107
|
+
pipelineId: string;
|
|
1108
1108
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1109
1109
|
startedAt?: string | undefined;
|
|
1110
1110
|
finishedAt?: string | undefined;
|
|
@@ -1120,8 +1120,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1120
1120
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1121
1121
|
projectId: string;
|
|
1122
1122
|
id: string;
|
|
1123
|
-
pipelineId: string;
|
|
1124
1123
|
queuedAt: string;
|
|
1124
|
+
pipelineId: string;
|
|
1125
1125
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1126
1126
|
startedAt?: string | undefined;
|
|
1127
1127
|
finishedAt?: string | undefined;
|
|
@@ -1157,8 +1157,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1157
1157
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1158
1158
|
projectId: string;
|
|
1159
1159
|
id: string;
|
|
1160
|
-
pipelineId: string;
|
|
1161
1160
|
queuedAt: string;
|
|
1161
|
+
pipelineId: string;
|
|
1162
1162
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1163
1163
|
startedAt?: string | undefined;
|
|
1164
1164
|
finishedAt?: string | undefined;
|
|
@@ -1170,8 +1170,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1170
1170
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1171
1171
|
projectId: string;
|
|
1172
1172
|
id: string;
|
|
1173
|
-
pipelineId: string;
|
|
1174
1173
|
queuedAt: string;
|
|
1174
|
+
pipelineId: string;
|
|
1175
1175
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1176
1176
|
startedAt?: string | undefined;
|
|
1177
1177
|
finishedAt?: string | undefined;
|
|
@@ -1261,8 +1261,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1261
1261
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1262
1262
|
projectId: string;
|
|
1263
1263
|
id: string;
|
|
1264
|
-
pipelineId: string;
|
|
1265
1264
|
queuedAt: string;
|
|
1265
|
+
pipelineId: string;
|
|
1266
1266
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1267
1267
|
startedAt?: string | undefined;
|
|
1268
1268
|
finishedAt?: string | undefined;
|
|
@@ -1298,8 +1298,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1298
1298
|
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1299
1299
|
projectId: string;
|
|
1300
1300
|
id: string;
|
|
1301
|
-
pipelineId: string;
|
|
1302
1301
|
queuedAt: string;
|
|
1302
|
+
pipelineId: string;
|
|
1303
1303
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1304
1304
|
startedAt?: string | undefined;
|
|
1305
1305
|
finishedAt?: string | undefined;
|
|
@@ -1338,13 +1338,13 @@ export declare const RequestPipelineRunResponseSchema: z.ZodObject<{
|
|
|
1338
1338
|
queuedAt: z.ZodString;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
1340
|
runId: string;
|
|
1341
|
+
queuedAt: string;
|
|
1341
1342
|
jobId: string;
|
|
1342
1343
|
pipelineId: string;
|
|
1343
|
-
queuedAt: string;
|
|
1344
1344
|
}, {
|
|
1345
1345
|
runId: string;
|
|
1346
|
+
queuedAt: string;
|
|
1346
1347
|
jobId: string;
|
|
1347
1348
|
pipelineId: string;
|
|
1348
|
-
queuedAt: string;
|
|
1349
1349
|
}>;
|
|
1350
1350
|
//# sourceMappingURL=pipelines.d.ts.map
|