@sixb/server 0.1.10 → 0.1.12
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 +19 -0
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +224 -51
- package/dist/index.js.map +19 -19
- package/dist/models/display.d.ts +2 -2
- package/dist/models/display.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +2 -0
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +123 -34
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +2 -2
- package/dist/routes/connector-connection-runs.d.ts +138 -4
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +8 -8
- package/dist/routes/files.d.ts +3 -1
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/models.d.ts +1 -1
- package/dist/routes/objects.d.ts +18 -5
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +24 -12
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +5 -5
- package/dist/routes/workflows.d.ts +10 -6
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +205 -100
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +692 -104
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-usage.d.ts +2 -2
- package/dist/schemas/auth.d.ts +6 -6
- package/dist/schemas/common.d.ts +15 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +0 -3
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +22 -22
- package/dist/schemas/files.d.ts +17 -8
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +8 -8
- package/dist/schemas/objects.d.ts +13 -1
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +99 -49
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +50 -50
- package/dist/server.d.ts.map +1 -1
- package/package.json +6 -5
- package/src/auth/browser-origin.ts +50 -1
- package/src/connectors/http.ts +0 -1
- package/src/models/display.ts +3 -2
- package/src/routes/agents.ts +48 -6
- package/src/routes/ai-accounting.ts +1 -0
- package/src/routes/connector-connection-runs.ts +37 -1
- package/src/routes/files.ts +2 -1
- package/src/routes/objects.ts +46 -2
- package/src/routes/ontology.ts +15 -5
- package/src/schemas/agents.ts +9 -0
- package/src/schemas/ai-accounting.ts +19 -1
- package/src/schemas/common.ts +5 -0
- package/src/schemas/connectors.ts +0 -1
- package/src/schemas/files.ts +8 -1
- package/src/schemas/objects.ts +30 -12
- package/src/schemas/ontology.ts +15 -6
- package/src/server.ts +2 -0
|
@@ -37,7 +37,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
37
37
|
syncIds: string[];
|
|
38
38
|
materialized: boolean;
|
|
39
39
|
latestVersion: {
|
|
40
|
-
mode: "append" | "schema" | "
|
|
40
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
41
41
|
createdAt: string;
|
|
42
42
|
datasetId: string;
|
|
43
43
|
versionId: string;
|
|
@@ -92,7 +92,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
92
92
|
syncIds: string[];
|
|
93
93
|
materialized: boolean;
|
|
94
94
|
latestVersion: {
|
|
95
|
-
mode: "append" | "schema" | "
|
|
95
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
96
96
|
createdAt: string;
|
|
97
97
|
datasetId: string;
|
|
98
98
|
versionId: string;
|
|
@@ -145,7 +145,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
145
145
|
200: {
|
|
146
146
|
count: number;
|
|
147
147
|
versions: {
|
|
148
|
-
mode: "append" | "schema" | "
|
|
148
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
149
149
|
schema: {
|
|
150
150
|
columns: {
|
|
151
151
|
name: string;
|
|
@@ -208,7 +208,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
208
208
|
headers: unknown;
|
|
209
209
|
response: {
|
|
210
210
|
200: {
|
|
211
|
-
mode: "append" | "schema" | "
|
|
211
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
212
212
|
schema: {
|
|
213
213
|
columns: {
|
|
214
214
|
name: string;
|
|
@@ -275,11 +275,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
275
275
|
response: {
|
|
276
276
|
200: {
|
|
277
277
|
count: number;
|
|
278
|
-
limit: number;
|
|
279
|
-
offset: number;
|
|
280
|
-
hasMore: boolean;
|
|
281
278
|
version: {
|
|
282
|
-
mode: "append" | "schema" | "
|
|
279
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
283
280
|
schema: {
|
|
284
281
|
columns: {
|
|
285
282
|
name: string;
|
|
@@ -303,6 +300,9 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
|
|
|
303
300
|
}[] | undefined;
|
|
304
301
|
rowCount?: number | undefined;
|
|
305
302
|
};
|
|
303
|
+
limit: number;
|
|
304
|
+
offset: number;
|
|
305
|
+
hasMore: boolean;
|
|
306
306
|
datasetId: string;
|
|
307
307
|
versionId: string;
|
|
308
308
|
columns: string[];
|
package/dist/routes/files.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
85
85
|
uploadId: string;
|
|
86
86
|
strategy: "multipart";
|
|
87
87
|
expiresAt: string;
|
|
88
|
+
partReceipt: "etag" | "none";
|
|
88
89
|
partSizeBytes: number;
|
|
89
90
|
} | {
|
|
90
91
|
error: string;
|
|
@@ -111,6 +112,7 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
111
112
|
uploadId: string;
|
|
112
113
|
strategy: "multipart";
|
|
113
114
|
expiresAt: string;
|
|
115
|
+
partReceipt: "etag" | "none";
|
|
114
116
|
partSizeBytes: number;
|
|
115
117
|
};
|
|
116
118
|
422: {
|
|
@@ -235,8 +237,8 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
235
237
|
digest?: string | undefined;
|
|
236
238
|
sizeBytes?: number | undefined;
|
|
237
239
|
parts?: {
|
|
238
|
-
etag: string;
|
|
239
240
|
partNumber: number;
|
|
241
|
+
etag?: string | undefined;
|
|
240
242
|
}[] | undefined;
|
|
241
243
|
};
|
|
242
244
|
params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgajE"}
|
package/dist/routes/models.d.ts
CHANGED
package/dist/routes/objects.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
3
|
declare function serializeObject(row: {
|
|
4
|
+
score?: number;
|
|
4
5
|
primaryId: string;
|
|
5
6
|
objectTypeId: string;
|
|
6
7
|
properties: Record<string, unknown>;
|
|
@@ -12,6 +13,7 @@ declare function serializeObject(row: {
|
|
|
12
13
|
properties: Record<string, unknown>;
|
|
13
14
|
createdAt: string;
|
|
14
15
|
updatedAt: string;
|
|
16
|
+
score?: number | undefined;
|
|
15
17
|
};
|
|
16
18
|
type SerializedObject = ReturnType<typeof serializeObject>;
|
|
17
19
|
type SerializedLinkValue = SerializedExpandedObject | SerializedExpandedObject[] | null;
|
|
@@ -104,6 +106,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
104
106
|
primaryId: string;
|
|
105
107
|
createdAt: string;
|
|
106
108
|
updatedAt: string;
|
|
109
|
+
score?: number | undefined;
|
|
107
110
|
}[];
|
|
108
111
|
hasMore: boolean;
|
|
109
112
|
total: number;
|
|
@@ -139,7 +142,8 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
139
142
|
response: {
|
|
140
143
|
200: {
|
|
141
144
|
error: string;
|
|
142
|
-
|
|
145
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
146
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
143
147
|
} | {
|
|
144
148
|
error: string;
|
|
145
149
|
issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
|
|
@@ -177,7 +181,8 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
177
181
|
response: {
|
|
178
182
|
200: {
|
|
179
183
|
error: string;
|
|
180
|
-
|
|
184
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
185
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
181
186
|
} | {
|
|
182
187
|
error: string;
|
|
183
188
|
issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
|
|
@@ -189,6 +194,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
189
194
|
properties: Record<string, unknown>;
|
|
190
195
|
createdAt: string;
|
|
191
196
|
updatedAt: string;
|
|
197
|
+
score?: number | undefined;
|
|
192
198
|
}[];
|
|
193
199
|
links: {
|
|
194
200
|
createdAt: string;
|
|
@@ -225,7 +231,8 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
225
231
|
response: {
|
|
226
232
|
200: {
|
|
227
233
|
error: string;
|
|
228
|
-
|
|
234
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
235
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
229
236
|
} | {
|
|
230
237
|
error: string;
|
|
231
238
|
issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
|
|
@@ -261,7 +268,8 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
261
268
|
response: {
|
|
262
269
|
200: {
|
|
263
270
|
error: string;
|
|
264
|
-
|
|
271
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
272
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
265
273
|
} | {
|
|
266
274
|
error: string;
|
|
267
275
|
issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
|
|
@@ -297,7 +305,8 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
297
305
|
response: {
|
|
298
306
|
200: {
|
|
299
307
|
error: string;
|
|
300
|
-
|
|
308
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
309
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
301
310
|
} | {
|
|
302
311
|
error: string;
|
|
303
312
|
issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
|
|
@@ -335,6 +344,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
335
344
|
};
|
|
336
345
|
query: {
|
|
337
346
|
path: string;
|
|
347
|
+
audience?: "atlas" | "app" | undefined;
|
|
338
348
|
disposition?: "inline" | "attachment" | undefined;
|
|
339
349
|
v?: string | undefined;
|
|
340
350
|
};
|
|
@@ -375,6 +385,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
375
385
|
};
|
|
376
386
|
query: {
|
|
377
387
|
path: string;
|
|
388
|
+
audience?: "atlas" | "app" | undefined;
|
|
378
389
|
disposition?: "inline" | "attachment" | undefined;
|
|
379
390
|
v?: string | undefined;
|
|
380
391
|
};
|
|
@@ -420,6 +431,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
420
431
|
primaryId: string;
|
|
421
432
|
createdAt: string;
|
|
422
433
|
updatedAt: string;
|
|
434
|
+
score?: number | undefined;
|
|
423
435
|
};
|
|
424
436
|
404: {
|
|
425
437
|
error: string;
|
|
@@ -461,6 +473,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
461
473
|
primaryId: string;
|
|
462
474
|
createdAt: string;
|
|
463
475
|
updatedAt: string;
|
|
476
|
+
score?: number | undefined;
|
|
464
477
|
};
|
|
465
478
|
404: {
|
|
466
479
|
error: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAOnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCpC,iBAAS,eAAe,CAAC,GAAG,EAAE;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB
|
|
1
|
+
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAOnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCpC,iBAAS,eAAe,CAAC,GAAG,EAAE;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB;;;;;;;EASA;AA4BD,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAC1D,KAAK,mBAAmB,GAAG,wBAAwB,GAAG,wBAAwB,EAAE,GAAG,IAAI,CAAA;AACvF,KAAK,wBAAwB,GAAG,gBAAgB,GAAG;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACzC,CAAA;AAgND,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDA7K1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmxBxF"}
|
|
@@ -56,7 +56,6 @@ export declare function registerOntologyRoutes(app: Elysia, _host: SixbHostView)
|
|
|
56
56
|
filterable?: boolean | undefined;
|
|
57
57
|
sortable?: boolean | undefined;
|
|
58
58
|
facet?: boolean | undefined;
|
|
59
|
-
vector?: boolean | undefined;
|
|
60
59
|
weight?: number | undefined;
|
|
61
60
|
} | undefined;
|
|
62
61
|
nullable?: boolean | undefined;
|
|
@@ -80,7 +79,6 @@ export declare function registerOntologyRoutes(app: Elysia, _host: SixbHostView)
|
|
|
80
79
|
filterable?: boolean | undefined;
|
|
81
80
|
sortable?: boolean | undefined;
|
|
82
81
|
facet?: boolean | undefined;
|
|
83
|
-
vector?: boolean | undefined;
|
|
84
82
|
weight?: number | undefined;
|
|
85
83
|
} | undefined;
|
|
86
84
|
nullable?: boolean | undefined;
|
|
@@ -96,11 +94,19 @@ export declare function registerOntologyRoutes(app: Elysia, _host: SixbHostView)
|
|
|
96
94
|
search?: {
|
|
97
95
|
exact?: string[] | undefined;
|
|
98
96
|
title?: string | undefined;
|
|
99
|
-
vector?: {
|
|
100
|
-
property: string;
|
|
101
|
-
source: string[];
|
|
102
|
-
} | undefined;
|
|
103
97
|
defaultText?: string[] | undefined;
|
|
98
|
+
vectors?: Record<string, {
|
|
99
|
+
source: string[];
|
|
100
|
+
model: {
|
|
101
|
+
providerId: string;
|
|
102
|
+
modelId: string;
|
|
103
|
+
dimensions: number;
|
|
104
|
+
representation?: {
|
|
105
|
+
name: string;
|
|
106
|
+
version?: string | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
};
|
|
109
|
+
}> | undefined;
|
|
104
110
|
} | undefined;
|
|
105
111
|
}[];
|
|
106
112
|
422: {
|
|
@@ -160,7 +166,6 @@ export declare function registerOntologyRoutes(app: Elysia, _host: SixbHostView)
|
|
|
160
166
|
filterable?: boolean | undefined;
|
|
161
167
|
sortable?: boolean | undefined;
|
|
162
168
|
facet?: boolean | undefined;
|
|
163
|
-
vector?: boolean | undefined;
|
|
164
169
|
weight?: number | undefined;
|
|
165
170
|
} | undefined;
|
|
166
171
|
nullable?: boolean | undefined;
|
|
@@ -184,7 +189,6 @@ export declare function registerOntologyRoutes(app: Elysia, _host: SixbHostView)
|
|
|
184
189
|
filterable?: boolean | undefined;
|
|
185
190
|
sortable?: boolean | undefined;
|
|
186
191
|
facet?: boolean | undefined;
|
|
187
|
-
vector?: boolean | undefined;
|
|
188
192
|
weight?: number | undefined;
|
|
189
193
|
} | undefined;
|
|
190
194
|
nullable?: boolean | undefined;
|
|
@@ -200,11 +204,19 @@ export declare function registerOntologyRoutes(app: Elysia, _host: SixbHostView)
|
|
|
200
204
|
search?: {
|
|
201
205
|
exact?: string[] | undefined;
|
|
202
206
|
title?: string | undefined;
|
|
203
|
-
vector?: {
|
|
204
|
-
property: string;
|
|
205
|
-
source: string[];
|
|
206
|
-
} | undefined;
|
|
207
207
|
defaultText?: string[] | undefined;
|
|
208
|
+
vectors?: Record<string, {
|
|
209
|
+
source: string[];
|
|
210
|
+
model: {
|
|
211
|
+
providerId: string;
|
|
212
|
+
modelId: string;
|
|
213
|
+
dimensions: number;
|
|
214
|
+
representation?: {
|
|
215
|
+
name: string;
|
|
216
|
+
version?: string | undefined;
|
|
217
|
+
} | undefined;
|
|
218
|
+
};
|
|
219
|
+
}> | undefined;
|
|
208
220
|
} | undefined;
|
|
209
221
|
};
|
|
210
222
|
404: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9D,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,EAAkB,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4FpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CtE"}
|
package/dist/routes/syncs.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
26
26
|
response: {
|
|
27
27
|
200: {
|
|
28
28
|
id: string;
|
|
29
|
-
mode: "append" | "
|
|
29
|
+
mode: "append" | "merge" | "snapshot";
|
|
30
30
|
target: {
|
|
31
31
|
kind: "dataset";
|
|
32
32
|
dataset: {
|
|
@@ -52,7 +52,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
52
52
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
53
53
|
projectId: string;
|
|
54
54
|
id: string;
|
|
55
|
-
mode: "append" | "
|
|
55
|
+
mode: "append" | "merge" | "snapshot";
|
|
56
56
|
queuedAt: string;
|
|
57
57
|
datasetId: string;
|
|
58
58
|
syncId: string;
|
|
@@ -99,7 +99,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
99
99
|
response: {
|
|
100
100
|
200: {
|
|
101
101
|
id: string;
|
|
102
|
-
mode: "append" | "
|
|
102
|
+
mode: "append" | "merge" | "snapshot";
|
|
103
103
|
target: {
|
|
104
104
|
kind: "dataset";
|
|
105
105
|
dataset: {
|
|
@@ -125,7 +125,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
125
125
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
126
126
|
projectId: string;
|
|
127
127
|
id: string;
|
|
128
|
-
mode: "append" | "
|
|
128
|
+
mode: "append" | "merge" | "snapshot";
|
|
129
129
|
queuedAt: string;
|
|
130
130
|
datasetId: string;
|
|
131
131
|
syncId: string;
|
|
@@ -185,7 +185,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
185
185
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
186
186
|
projectId: string;
|
|
187
187
|
id: string;
|
|
188
|
-
mode: "append" | "
|
|
188
|
+
mode: "append" | "merge" | "snapshot";
|
|
189
189
|
queuedAt: string;
|
|
190
190
|
datasetId: string;
|
|
191
191
|
syncId: string;
|
|
@@ -567,11 +567,11 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
567
567
|
agentExecution?: {
|
|
568
568
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
569
569
|
attempt: number;
|
|
570
|
+
modelId?: string | undefined;
|
|
570
571
|
startedAt?: string | undefined;
|
|
571
572
|
completedAt?: string | undefined;
|
|
572
|
-
modelId?: string | undefined;
|
|
573
573
|
usage?: {
|
|
574
|
-
reportingStatus: "
|
|
574
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
575
575
|
inputTokens?: number | undefined;
|
|
576
576
|
outputTokens?: number | undefined;
|
|
577
577
|
totalTokens?: number | undefined;
|
|
@@ -642,11 +642,11 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
642
642
|
createdAt: string;
|
|
643
643
|
prompt: string;
|
|
644
644
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
645
|
+
modelId?: string | undefined;
|
|
645
646
|
startedAt?: string | undefined;
|
|
646
647
|
completedAt?: string | undefined;
|
|
647
|
-
modelId?: string | undefined;
|
|
648
648
|
usage?: {
|
|
649
|
-
reportingStatus: "
|
|
649
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
650
650
|
inputTokens?: number | undefined;
|
|
651
651
|
outputTokens?: number | undefined;
|
|
652
652
|
totalTokens?: number | undefined;
|
|
@@ -803,11 +803,11 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
803
803
|
agentExecution?: {
|
|
804
804
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
805
805
|
attempt: number;
|
|
806
|
+
modelId?: string | undefined;
|
|
806
807
|
startedAt?: string | undefined;
|
|
807
808
|
completedAt?: string | undefined;
|
|
808
|
-
modelId?: string | undefined;
|
|
809
809
|
usage?: {
|
|
810
|
-
reportingStatus: "
|
|
810
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
811
811
|
inputTokens?: number | undefined;
|
|
812
812
|
outputTokens?: number | undefined;
|
|
813
813
|
totalTokens?: number | undefined;
|
|
@@ -869,6 +869,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
869
869
|
};
|
|
870
870
|
query: {
|
|
871
871
|
path: string;
|
|
872
|
+
audience?: "atlas" | "app" | undefined;
|
|
872
873
|
disposition?: "inline" | "attachment" | undefined;
|
|
873
874
|
v?: string | undefined;
|
|
874
875
|
};
|
|
@@ -906,6 +907,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
906
907
|
};
|
|
907
908
|
query: {
|
|
908
909
|
path: string;
|
|
910
|
+
audience?: "atlas" | "app" | undefined;
|
|
909
911
|
disposition?: "inline" | "attachment" | undefined;
|
|
910
912
|
v?: string | undefined;
|
|
911
913
|
};
|
|
@@ -946,6 +948,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
946
948
|
};
|
|
947
949
|
query: {
|
|
948
950
|
path: string;
|
|
951
|
+
audience?: "atlas" | "app" | undefined;
|
|
949
952
|
disposition?: "inline" | "attachment" | undefined;
|
|
950
953
|
v?: string | undefined;
|
|
951
954
|
};
|
|
@@ -988,6 +991,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
988
991
|
};
|
|
989
992
|
query: {
|
|
990
993
|
path: string;
|
|
994
|
+
audience?: "atlas" | "app" | undefined;
|
|
991
995
|
disposition?: "inline" | "attachment" | undefined;
|
|
992
996
|
v?: string | undefined;
|
|
993
997
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/routes/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EAKlB,MAAM,YAAY,CAAA;AAcnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2hBpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/routes/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EAKlB,MAAM,YAAY,CAAA;AAcnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2hBpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkxBrE"}
|