@sixb/server 0.1.20 → 0.1.22
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/artifacts/frame.d.ts +18 -0
- package/dist/artifacts/frame.d.ts.map +1 -0
- package/dist/auth/browser-origin.d.ts +10 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.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.js +10636 -7071
- package/dist/index.js.map +56 -38
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +22 -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/actions.d.ts +5 -5
- package/dist/routes/activity.d.ts +35 -0
- package/dist/routes/activity.d.ts.map +1 -0
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +1008 -98
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.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 +1508 -0
- package/dist/routes/artifacts.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +117 -11
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +84 -84
- package/dist/routes/connector-connections.d.ts +2 -2
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +27 -27
- package/dist/routes/events.d.ts +5 -5
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +53 -53
- package/dist/routes/projections.d.ts +63 -63
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +4 -4
- package/dist/routes/syncs.d.ts +18 -18
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +142 -76
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/routes/ws/subscription-hub.d.ts +8 -3
- package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +1298 -0
- package/dist/schemas/activity.d.ts.map +1 -0
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5485 -460
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1315 -436
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +36 -36
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +1857 -0
- package/dist/schemas/artifacts.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +125 -52
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +42 -42
- package/dist/schemas/datasets.d.ts +108 -108
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +32 -32
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +166 -166
- package/dist/schemas/projections.d.ts +346 -346
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +14 -14
- package/dist/schemas/syncs.d.ts +40 -40
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +769 -254
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +51 -0
- package/src/auth/browser-origin.ts +20 -5
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +16 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/files/content.ts +9 -13
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +20 -0
- package/src/registerRoutes.ts +23 -0
- package/src/routes/activity.ts +327 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +364 -143
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +144 -0
- package/src/routes/artifacts.ts +717 -0
- package/src/routes/auth.ts +306 -13
- package/src/routes/file-downloads.ts +1 -3
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/routes/ws/events.ts +3 -2
- package/src/routes/ws/subscription-hub.ts +53 -20
- package/src/schemas/activity.ts +287 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +240 -2
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +246 -0
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +34 -19
- package/src/utils/http.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
|
|
@@ -28,46 +28,18 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
|
|
|
28
28
|
id: string;
|
|
29
29
|
actions: {
|
|
30
30
|
id: string;
|
|
31
|
-
name: string;
|
|
32
31
|
params: {
|
|
33
32
|
id: string;
|
|
34
33
|
name: string;
|
|
35
|
-
description?: string | undefined;
|
|
36
34
|
nullable?: boolean | undefined;
|
|
35
|
+
description?: string | undefined;
|
|
37
36
|
required?: boolean | undefined;
|
|
38
37
|
semanticType?: string | undefined;
|
|
39
38
|
schema?: unknown;
|
|
40
39
|
}[];
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
}[];
|
|
43
|
-
links: {
|
|
44
|
-
id: string;
|
|
45
40
|
name: string;
|
|
46
|
-
targetObjectTypeId: string | string[];
|
|
47
41
|
description?: string | undefined;
|
|
48
|
-
properties?: {
|
|
49
|
-
id: string;
|
|
50
|
-
name: string;
|
|
51
|
-
query?: {
|
|
52
|
-
exact?: boolean | undefined;
|
|
53
|
-
searchable?: boolean | undefined;
|
|
54
|
-
filterable?: boolean | undefined;
|
|
55
|
-
sortable?: boolean | undefined;
|
|
56
|
-
text?: boolean | undefined;
|
|
57
|
-
facet?: boolean | undefined;
|
|
58
|
-
weight?: number | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
description?: string | undefined;
|
|
61
|
-
nullable?: boolean | undefined;
|
|
62
|
-
required?: boolean | undefined;
|
|
63
|
-
mode?: "telemetry" | "static" | undefined;
|
|
64
|
-
primary?: boolean | undefined;
|
|
65
|
-
semanticType?: string | undefined;
|
|
66
|
-
schema?: unknown;
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
cardinality?: "many" | "one" | undefined;
|
|
69
42
|
}[];
|
|
70
|
-
name: string;
|
|
71
43
|
properties: {
|
|
72
44
|
id: string;
|
|
73
45
|
name: string;
|
|
@@ -86,14 +58,44 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
|
|
|
86
58
|
facet?: boolean | undefined;
|
|
87
59
|
weight?: number | undefined;
|
|
88
60
|
} | undefined;
|
|
89
|
-
description?: string | undefined;
|
|
90
61
|
nullable?: boolean | undefined;
|
|
62
|
+
description?: string | undefined;
|
|
91
63
|
required?: boolean | undefined;
|
|
92
|
-
mode?: "
|
|
64
|
+
mode?: "static" | "telemetry" | undefined;
|
|
93
65
|
primary?: boolean | undefined;
|
|
66
|
+
unique?: boolean | undefined;
|
|
94
67
|
semanticType?: string | undefined;
|
|
95
68
|
schema?: unknown;
|
|
96
69
|
}[];
|
|
70
|
+
name: string;
|
|
71
|
+
links: {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
targetObjectTypeId: string | string[];
|
|
75
|
+
description?: string | undefined;
|
|
76
|
+
properties?: {
|
|
77
|
+
id: string;
|
|
78
|
+
name: string;
|
|
79
|
+
query?: {
|
|
80
|
+
exact?: boolean | undefined;
|
|
81
|
+
searchable?: boolean | undefined;
|
|
82
|
+
filterable?: boolean | undefined;
|
|
83
|
+
sortable?: boolean | undefined;
|
|
84
|
+
text?: boolean | undefined;
|
|
85
|
+
facet?: boolean | undefined;
|
|
86
|
+
weight?: number | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
nullable?: boolean | undefined;
|
|
89
|
+
description?: string | undefined;
|
|
90
|
+
required?: boolean | undefined;
|
|
91
|
+
mode?: "static" | "telemetry" | undefined;
|
|
92
|
+
primary?: boolean | undefined;
|
|
93
|
+
unique?: boolean | undefined;
|
|
94
|
+
semanticType?: string | undefined;
|
|
95
|
+
schema?: unknown;
|
|
96
|
+
}[] | undefined;
|
|
97
|
+
cardinality?: "many" | "one" | undefined;
|
|
98
|
+
}[];
|
|
97
99
|
description?: string | undefined;
|
|
98
100
|
extends?: string | undefined;
|
|
99
101
|
implements?: string[] | undefined;
|
|
@@ -145,46 +147,18 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
|
|
|
145
147
|
id: string;
|
|
146
148
|
actions: {
|
|
147
149
|
id: string;
|
|
148
|
-
name: string;
|
|
149
150
|
params: {
|
|
150
151
|
id: string;
|
|
151
152
|
name: string;
|
|
152
|
-
description?: string | undefined;
|
|
153
153
|
nullable?: boolean | undefined;
|
|
154
|
+
description?: string | undefined;
|
|
154
155
|
required?: boolean | undefined;
|
|
155
156
|
semanticType?: string | undefined;
|
|
156
157
|
schema?: unknown;
|
|
157
158
|
}[];
|
|
158
|
-
description?: string | undefined;
|
|
159
|
-
}[];
|
|
160
|
-
links: {
|
|
161
|
-
id: string;
|
|
162
159
|
name: string;
|
|
163
|
-
targetObjectTypeId: string | string[];
|
|
164
160
|
description?: string | undefined;
|
|
165
|
-
properties?: {
|
|
166
|
-
id: string;
|
|
167
|
-
name: string;
|
|
168
|
-
query?: {
|
|
169
|
-
exact?: boolean | undefined;
|
|
170
|
-
searchable?: boolean | undefined;
|
|
171
|
-
filterable?: boolean | undefined;
|
|
172
|
-
sortable?: boolean | undefined;
|
|
173
|
-
text?: boolean | undefined;
|
|
174
|
-
facet?: boolean | undefined;
|
|
175
|
-
weight?: number | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
nullable?: boolean | undefined;
|
|
179
|
-
required?: boolean | undefined;
|
|
180
|
-
mode?: "telemetry" | "static" | undefined;
|
|
181
|
-
primary?: boolean | undefined;
|
|
182
|
-
semanticType?: string | undefined;
|
|
183
|
-
schema?: unknown;
|
|
184
|
-
}[] | undefined;
|
|
185
|
-
cardinality?: "many" | "one" | undefined;
|
|
186
161
|
}[];
|
|
187
|
-
name: string;
|
|
188
162
|
properties: {
|
|
189
163
|
id: string;
|
|
190
164
|
name: string;
|
|
@@ -203,14 +177,44 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
|
|
|
203
177
|
facet?: boolean | undefined;
|
|
204
178
|
weight?: number | undefined;
|
|
205
179
|
} | undefined;
|
|
206
|
-
description?: string | undefined;
|
|
207
180
|
nullable?: boolean | undefined;
|
|
181
|
+
description?: string | undefined;
|
|
208
182
|
required?: boolean | undefined;
|
|
209
|
-
mode?: "
|
|
183
|
+
mode?: "static" | "telemetry" | undefined;
|
|
210
184
|
primary?: boolean | undefined;
|
|
185
|
+
unique?: boolean | undefined;
|
|
211
186
|
semanticType?: string | undefined;
|
|
212
187
|
schema?: unknown;
|
|
213
188
|
}[];
|
|
189
|
+
name: string;
|
|
190
|
+
links: {
|
|
191
|
+
id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
targetObjectTypeId: string | string[];
|
|
194
|
+
description?: string | undefined;
|
|
195
|
+
properties?: {
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
query?: {
|
|
199
|
+
exact?: boolean | undefined;
|
|
200
|
+
searchable?: boolean | undefined;
|
|
201
|
+
filterable?: boolean | undefined;
|
|
202
|
+
sortable?: boolean | undefined;
|
|
203
|
+
text?: boolean | undefined;
|
|
204
|
+
facet?: boolean | undefined;
|
|
205
|
+
weight?: number | undefined;
|
|
206
|
+
} | undefined;
|
|
207
|
+
nullable?: boolean | undefined;
|
|
208
|
+
description?: string | undefined;
|
|
209
|
+
required?: boolean | undefined;
|
|
210
|
+
mode?: "static" | "telemetry" | undefined;
|
|
211
|
+
primary?: boolean | undefined;
|
|
212
|
+
unique?: boolean | undefined;
|
|
213
|
+
semanticType?: string | undefined;
|
|
214
|
+
schema?: unknown;
|
|
215
|
+
}[] | undefined;
|
|
216
|
+
cardinality?: "many" | "one" | undefined;
|
|
217
|
+
}[];
|
|
214
218
|
description?: string | undefined;
|
|
215
219
|
extends?: string | undefined;
|
|
216
220
|
implements?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,YAAY,EAAa,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,YAAY,EAAa,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4GpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CrE"}
|
|
@@ -30,19 +30,39 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
30
30
|
type: "schedule";
|
|
31
31
|
scheduleId: string;
|
|
32
32
|
}[];
|
|
33
|
+
latestRun: {
|
|
34
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
35
|
+
projectId: string;
|
|
36
|
+
id: string;
|
|
37
|
+
queuedAt: string;
|
|
38
|
+
pipelineId: string;
|
|
39
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
40
|
+
startedAt?: string | undefined;
|
|
41
|
+
finishedAt?: string | undefined;
|
|
42
|
+
output?: {
|
|
43
|
+
datasetId: string;
|
|
44
|
+
versionId: string;
|
|
45
|
+
} | undefined;
|
|
46
|
+
} | null;
|
|
33
47
|
graph: {
|
|
34
48
|
kind: "sequence";
|
|
35
49
|
nodes: {
|
|
36
50
|
kind: "step";
|
|
37
51
|
step: {
|
|
38
52
|
id: string;
|
|
53
|
+
executor: {
|
|
54
|
+
kind: "sql";
|
|
55
|
+
dialect: "duckdb";
|
|
56
|
+
} | {
|
|
57
|
+
kind: "run";
|
|
58
|
+
};
|
|
39
59
|
mode: "append" | "snapshot";
|
|
40
60
|
output: {
|
|
41
61
|
id: string;
|
|
42
62
|
schema: {
|
|
43
63
|
columns: {
|
|
64
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
44
65
|
name: string;
|
|
45
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
46
66
|
nullable?: boolean | undefined;
|
|
47
67
|
}[];
|
|
48
68
|
};
|
|
@@ -57,8 +77,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
57
77
|
id: string;
|
|
58
78
|
schema: {
|
|
59
79
|
columns: {
|
|
80
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
60
81
|
name: string;
|
|
61
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
62
82
|
nullable?: boolean | undefined;
|
|
63
83
|
}[];
|
|
64
84
|
};
|
|
@@ -68,29 +88,9 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
68
88
|
partitionBy?: string[] | undefined;
|
|
69
89
|
};
|
|
70
90
|
}[];
|
|
71
|
-
executor: {
|
|
72
|
-
kind: "sql";
|
|
73
|
-
dialect: "duckdb";
|
|
74
|
-
} | {
|
|
75
|
-
kind: "run";
|
|
76
|
-
};
|
|
77
91
|
};
|
|
78
92
|
}[];
|
|
79
93
|
};
|
|
80
|
-
latestRun: {
|
|
81
|
-
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
82
|
-
projectId: string;
|
|
83
|
-
id: string;
|
|
84
|
-
pipelineId: string;
|
|
85
|
-
queuedAt: string;
|
|
86
|
-
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
87
|
-
startedAt?: string | undefined;
|
|
88
|
-
finishedAt?: string | undefined;
|
|
89
|
-
output?: {
|
|
90
|
-
datasetId: string;
|
|
91
|
-
versionId: string;
|
|
92
|
-
} | undefined;
|
|
93
|
-
} | null;
|
|
94
94
|
}[];
|
|
95
95
|
422: {
|
|
96
96
|
type: "validation";
|
|
@@ -123,19 +123,39 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
123
123
|
type: "schedule";
|
|
124
124
|
scheduleId: string;
|
|
125
125
|
}[];
|
|
126
|
+
latestRun: {
|
|
127
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
128
|
+
projectId: string;
|
|
129
|
+
id: string;
|
|
130
|
+
queuedAt: string;
|
|
131
|
+
pipelineId: string;
|
|
132
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
133
|
+
startedAt?: string | undefined;
|
|
134
|
+
finishedAt?: string | undefined;
|
|
135
|
+
output?: {
|
|
136
|
+
datasetId: string;
|
|
137
|
+
versionId: string;
|
|
138
|
+
} | undefined;
|
|
139
|
+
} | null;
|
|
126
140
|
graph: {
|
|
127
141
|
kind: "sequence";
|
|
128
142
|
nodes: {
|
|
129
143
|
kind: "step";
|
|
130
144
|
step: {
|
|
131
145
|
id: string;
|
|
146
|
+
executor: {
|
|
147
|
+
kind: "sql";
|
|
148
|
+
dialect: "duckdb";
|
|
149
|
+
} | {
|
|
150
|
+
kind: "run";
|
|
151
|
+
};
|
|
132
152
|
mode: "append" | "snapshot";
|
|
133
153
|
output: {
|
|
134
154
|
id: string;
|
|
135
155
|
schema: {
|
|
136
156
|
columns: {
|
|
157
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
137
158
|
name: string;
|
|
138
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
139
159
|
nullable?: boolean | undefined;
|
|
140
160
|
}[];
|
|
141
161
|
};
|
|
@@ -150,8 +170,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
150
170
|
id: string;
|
|
151
171
|
schema: {
|
|
152
172
|
columns: {
|
|
173
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
153
174
|
name: string;
|
|
154
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
155
175
|
nullable?: boolean | undefined;
|
|
156
176
|
}[];
|
|
157
177
|
};
|
|
@@ -161,29 +181,9 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
161
181
|
partitionBy?: string[] | undefined;
|
|
162
182
|
};
|
|
163
183
|
}[];
|
|
164
|
-
executor: {
|
|
165
|
-
kind: "sql";
|
|
166
|
-
dialect: "duckdb";
|
|
167
|
-
} | {
|
|
168
|
-
kind: "run";
|
|
169
|
-
};
|
|
170
184
|
};
|
|
171
185
|
}[];
|
|
172
186
|
};
|
|
173
|
-
latestRun: {
|
|
174
|
-
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
175
|
-
projectId: string;
|
|
176
|
-
id: string;
|
|
177
|
-
pipelineId: string;
|
|
178
|
-
queuedAt: string;
|
|
179
|
-
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
180
|
-
startedAt?: string | undefined;
|
|
181
|
-
finishedAt?: string | undefined;
|
|
182
|
-
output?: {
|
|
183
|
-
datasetId: string;
|
|
184
|
-
versionId: string;
|
|
185
|
-
} | undefined;
|
|
186
|
-
} | null;
|
|
187
187
|
};
|
|
188
188
|
404: {
|
|
189
189
|
error: string;
|
|
@@ -209,7 +209,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
209
209
|
body: unknown;
|
|
210
210
|
params: {};
|
|
211
211
|
query: {
|
|
212
|
-
status?: "succeeded" | "failed" | "
|
|
212
|
+
status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
|
|
213
213
|
startedAfter?: string | undefined;
|
|
214
214
|
startedBefore?: string | undefined;
|
|
215
215
|
limit?: string | undefined;
|
|
@@ -221,11 +221,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
221
221
|
response: {
|
|
222
222
|
200: {
|
|
223
223
|
runs: {
|
|
224
|
-
status: "succeeded" | "failed" | "
|
|
224
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
225
225
|
projectId: string;
|
|
226
226
|
id: string;
|
|
227
|
-
pipelineId: string;
|
|
228
227
|
queuedAt: string;
|
|
228
|
+
pipelineId: string;
|
|
229
229
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
230
230
|
startedAt?: string | undefined;
|
|
231
231
|
finishedAt?: string | undefined;
|
|
@@ -270,11 +270,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
270
270
|
response: {
|
|
271
271
|
200: {
|
|
272
272
|
run: {
|
|
273
|
-
status: "succeeded" | "failed" | "
|
|
273
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
274
274
|
projectId: string;
|
|
275
275
|
id: string;
|
|
276
|
-
pipelineId: string;
|
|
277
276
|
queuedAt: string;
|
|
277
|
+
pipelineId: string;
|
|
278
278
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
279
279
|
startedAt?: string | undefined;
|
|
280
280
|
finishedAt?: string | undefined;
|
|
@@ -284,18 +284,18 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
284
284
|
} | undefined;
|
|
285
285
|
};
|
|
286
286
|
steps: {
|
|
287
|
-
status: "succeeded" | "failed" | "
|
|
287
|
+
status: "succeeded" | "failed" | "cancelled" | "running";
|
|
288
288
|
projectId: string;
|
|
289
289
|
id: string;
|
|
290
290
|
mode: "append" | "snapshot";
|
|
291
291
|
startedAt: string;
|
|
292
|
-
datasetId: string;
|
|
293
292
|
inputs: {
|
|
294
293
|
datasetId: string;
|
|
295
294
|
versionId: string;
|
|
296
295
|
}[];
|
|
297
|
-
|
|
296
|
+
datasetId: string;
|
|
298
297
|
stepId: string;
|
|
298
|
+
pipelineId: string;
|
|
299
299
|
pipelineRunId: string;
|
|
300
300
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
301
301
|
finishedAt?: string | undefined;
|
|
@@ -363,9 +363,9 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
363
363
|
};
|
|
364
364
|
202: {
|
|
365
365
|
runId: string;
|
|
366
|
+
queuedAt: string;
|
|
366
367
|
jobId: string;
|
|
367
368
|
pipelineId: string;
|
|
368
|
-
queuedAt: string;
|
|
369
369
|
};
|
|
370
370
|
422: {
|
|
371
371
|
type: "validation";
|