@sixb/server 0.1.21 → 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 +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -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/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- 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 +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- 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 +999 -80
- 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 +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- 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 +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- 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 +118 -52
- 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/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- 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 +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- 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 +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- 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 +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- 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 +701 -186
- 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 +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -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 +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- 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/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- 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 +9 -10
- 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"}
|
|
@@ -31,7 +31,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
31
31
|
scheduleId: string;
|
|
32
32
|
}[];
|
|
33
33
|
latestRun: {
|
|
34
|
-
status: "succeeded" | "failed" | "
|
|
34
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
35
35
|
projectId: string;
|
|
36
36
|
id: string;
|
|
37
37
|
queuedAt: string;
|
|
@@ -50,13 +50,19 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
50
50
|
kind: "step";
|
|
51
51
|
step: {
|
|
52
52
|
id: string;
|
|
53
|
+
executor: {
|
|
54
|
+
kind: "sql";
|
|
55
|
+
dialect: "duckdb";
|
|
56
|
+
} | {
|
|
57
|
+
kind: "run";
|
|
58
|
+
};
|
|
53
59
|
mode: "append" | "snapshot";
|
|
54
60
|
output: {
|
|
55
61
|
id: string;
|
|
56
62
|
schema: {
|
|
57
63
|
columns: {
|
|
64
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
58
65
|
name: string;
|
|
59
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
60
66
|
nullable?: boolean | undefined;
|
|
61
67
|
}[];
|
|
62
68
|
};
|
|
@@ -71,8 +77,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
71
77
|
id: string;
|
|
72
78
|
schema: {
|
|
73
79
|
columns: {
|
|
80
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
74
81
|
name: string;
|
|
75
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
76
82
|
nullable?: boolean | undefined;
|
|
77
83
|
}[];
|
|
78
84
|
};
|
|
@@ -82,12 +88,6 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
82
88
|
partitionBy?: string[] | undefined;
|
|
83
89
|
};
|
|
84
90
|
}[];
|
|
85
|
-
executor: {
|
|
86
|
-
kind: "sql";
|
|
87
|
-
dialect: "duckdb";
|
|
88
|
-
} | {
|
|
89
|
-
kind: "run";
|
|
90
|
-
};
|
|
91
91
|
};
|
|
92
92
|
}[];
|
|
93
93
|
};
|
|
@@ -124,7 +124,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
124
124
|
scheduleId: string;
|
|
125
125
|
}[];
|
|
126
126
|
latestRun: {
|
|
127
|
-
status: "succeeded" | "failed" | "
|
|
127
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
128
128
|
projectId: string;
|
|
129
129
|
id: string;
|
|
130
130
|
queuedAt: string;
|
|
@@ -143,13 +143,19 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
143
143
|
kind: "step";
|
|
144
144
|
step: {
|
|
145
145
|
id: string;
|
|
146
|
+
executor: {
|
|
147
|
+
kind: "sql";
|
|
148
|
+
dialect: "duckdb";
|
|
149
|
+
} | {
|
|
150
|
+
kind: "run";
|
|
151
|
+
};
|
|
146
152
|
mode: "append" | "snapshot";
|
|
147
153
|
output: {
|
|
148
154
|
id: string;
|
|
149
155
|
schema: {
|
|
150
156
|
columns: {
|
|
157
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
151
158
|
name: string;
|
|
152
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
153
159
|
nullable?: boolean | undefined;
|
|
154
160
|
}[];
|
|
155
161
|
};
|
|
@@ -164,8 +170,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
164
170
|
id: string;
|
|
165
171
|
schema: {
|
|
166
172
|
columns: {
|
|
173
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
167
174
|
name: string;
|
|
168
|
-
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
169
175
|
nullable?: boolean | undefined;
|
|
170
176
|
}[];
|
|
171
177
|
};
|
|
@@ -175,12 +181,6 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
175
181
|
partitionBy?: string[] | undefined;
|
|
176
182
|
};
|
|
177
183
|
}[];
|
|
178
|
-
executor: {
|
|
179
|
-
kind: "sql";
|
|
180
|
-
dialect: "duckdb";
|
|
181
|
-
} | {
|
|
182
|
-
kind: "run";
|
|
183
|
-
};
|
|
184
184
|
};
|
|
185
185
|
}[];
|
|
186
186
|
};
|
|
@@ -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,7 +221,7 @@ 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
227
|
queuedAt: string;
|
|
@@ -270,7 +270,7 @@ 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
276
|
queuedAt: string;
|
|
@@ -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;
|