@sixb/server 0.1.3 → 0.1.5
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 +1 -1
- package/dist/index.js +1127 -937
- package/dist/index.js.map +17 -15
- package/dist/openapi/tags.d.ts +6 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +2 -1
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +15 -0
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/links.d.ts +0 -51
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +1 -1
- package/dist/routes/models.d.ts +60 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/objects.d.ts +48 -0
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +88 -86
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +32 -32
- package/dist/schemas/actions.d.ts +92 -0
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +127 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +26 -26
- package/dist/schemas/connectors.d.ts +11 -1
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/links.d.ts +0 -41
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +4 -4
- package/dist/schemas/models.d.ts +50 -0
- package/dist/schemas/models.d.ts.map +1 -0
- package/dist/schemas/objects.d.ts +22 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +542 -513
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +23 -23
- package/package.json +4 -4
- package/src/openapi/tags.ts +4 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/actions.ts +18 -3
- package/src/routes/agents.ts +21 -3
- package/src/routes/links.ts +2 -53
- package/src/routes/models.ts +31 -0
- package/src/routes/objects.ts +103 -0
- package/src/schemas/actions.ts +5 -0
- package/src/schemas/agents.ts +15 -0
- package/src/schemas/connectors.ts +13 -3
- package/src/schemas/links.ts +0 -17
- package/src/schemas/models.ts +15 -0
- package/src/schemas/objects.ts +104 -0
- package/src/schemas/projections.ts +6 -3
|
@@ -43,6 +43,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
43
43
|
queuedAt: string;
|
|
44
44
|
executionId: string;
|
|
45
45
|
attempt: number;
|
|
46
|
+
target: {
|
|
47
|
+
objectTypeId: string;
|
|
48
|
+
};
|
|
46
49
|
progress: {
|
|
47
50
|
sourceRowsRead: number;
|
|
48
51
|
sourceRowsSkipped: number;
|
|
@@ -60,9 +63,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
60
63
|
projectionKind: "object";
|
|
61
64
|
protocol: "replacement";
|
|
62
65
|
};
|
|
63
|
-
target: {
|
|
64
|
-
objectTypeId: string;
|
|
65
|
-
};
|
|
66
66
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
67
67
|
startedAt?: string | undefined;
|
|
68
68
|
finishedAt?: string | undefined;
|
|
@@ -73,6 +73,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
73
73
|
queuedAt: string;
|
|
74
74
|
executionId: string;
|
|
75
75
|
attempt: number;
|
|
76
|
+
target: {
|
|
77
|
+
targetObjectTypeId: string;
|
|
78
|
+
sourceObjectTypeId: string;
|
|
79
|
+
};
|
|
76
80
|
progress: {
|
|
77
81
|
sourceRowsRead: number;
|
|
78
82
|
sourceRowsSkipped: number;
|
|
@@ -90,10 +94,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
90
94
|
projectionKind: "link";
|
|
91
95
|
protocol: "replacement";
|
|
92
96
|
};
|
|
93
|
-
target: {
|
|
94
|
-
targetObjectTypeId: string;
|
|
95
|
-
sourceObjectTypeId: string;
|
|
96
|
-
};
|
|
97
97
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
98
98
|
startedAt?: string | undefined;
|
|
99
99
|
finishedAt?: string | undefined;
|
|
@@ -104,6 +104,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
104
104
|
queuedAt: string;
|
|
105
105
|
executionId: string;
|
|
106
106
|
attempt: number;
|
|
107
|
+
target: {
|
|
108
|
+
objectTypeId: string;
|
|
109
|
+
};
|
|
107
110
|
progress: {
|
|
108
111
|
sourceRowsRead: number;
|
|
109
112
|
sourceRowsSkipped: number;
|
|
@@ -121,9 +124,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
121
124
|
projectionKind: "telemetry";
|
|
122
125
|
protocol: "telemetry";
|
|
123
126
|
};
|
|
124
|
-
target: {
|
|
125
|
-
objectTypeId: string;
|
|
126
|
-
};
|
|
127
127
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
128
128
|
startedAt?: string | undefined;
|
|
129
129
|
finishedAt?: string | undefined;
|
|
@@ -149,6 +149,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
149
149
|
queuedAt: string;
|
|
150
150
|
executionId: string;
|
|
151
151
|
attempt: number;
|
|
152
|
+
target: {
|
|
153
|
+
objectTypeId: string;
|
|
154
|
+
};
|
|
152
155
|
progress: {
|
|
153
156
|
sourceRowsRead: number;
|
|
154
157
|
sourceRowsSkipped: number;
|
|
@@ -166,9 +169,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
166
169
|
projectionKind: "object";
|
|
167
170
|
protocol: "replacement";
|
|
168
171
|
};
|
|
169
|
-
target: {
|
|
170
|
-
objectTypeId: string;
|
|
171
|
-
};
|
|
172
172
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
173
173
|
startedAt?: string | undefined;
|
|
174
174
|
finishedAt?: string | undefined;
|
|
@@ -179,6 +179,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
179
179
|
queuedAt: string;
|
|
180
180
|
executionId: string;
|
|
181
181
|
attempt: number;
|
|
182
|
+
target: {
|
|
183
|
+
targetObjectTypeId: string;
|
|
184
|
+
sourceObjectTypeId: string;
|
|
185
|
+
};
|
|
182
186
|
progress: {
|
|
183
187
|
sourceRowsRead: number;
|
|
184
188
|
sourceRowsSkipped: number;
|
|
@@ -196,10 +200,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
196
200
|
projectionKind: "link";
|
|
197
201
|
protocol: "replacement";
|
|
198
202
|
};
|
|
199
|
-
target: {
|
|
200
|
-
targetObjectTypeId: string;
|
|
201
|
-
sourceObjectTypeId: string;
|
|
202
|
-
};
|
|
203
203
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
204
204
|
startedAt?: string | undefined;
|
|
205
205
|
finishedAt?: string | undefined;
|
|
@@ -210,6 +210,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
210
210
|
queuedAt: string;
|
|
211
211
|
executionId: string;
|
|
212
212
|
attempt: number;
|
|
213
|
+
target: {
|
|
214
|
+
objectTypeId: string;
|
|
215
|
+
};
|
|
213
216
|
progress: {
|
|
214
217
|
sourceRowsRead: number;
|
|
215
218
|
sourceRowsSkipped: number;
|
|
@@ -227,9 +230,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
227
230
|
projectionKind: "telemetry";
|
|
228
231
|
protocol: "telemetry";
|
|
229
232
|
};
|
|
230
|
-
target: {
|
|
231
|
-
objectTypeId: string;
|
|
232
|
-
};
|
|
233
233
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
234
234
|
startedAt?: string | undefined;
|
|
235
235
|
finishedAt?: string | undefined;
|
|
@@ -240,9 +240,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
240
240
|
}[];
|
|
241
241
|
telemetryProjections: {
|
|
242
242
|
id: string;
|
|
243
|
+
properties: Record<string, {
|
|
244
|
+
valueField: string;
|
|
245
|
+
unitField?: string | undefined;
|
|
246
|
+
}>;
|
|
243
247
|
objectTypeId: string;
|
|
244
248
|
datasetId: string;
|
|
245
|
-
propertyId: string;
|
|
246
249
|
latestRun: {
|
|
247
250
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
248
251
|
projectId: string;
|
|
@@ -250,6 +253,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
250
253
|
queuedAt: string;
|
|
251
254
|
executionId: string;
|
|
252
255
|
attempt: number;
|
|
256
|
+
target: {
|
|
257
|
+
objectTypeId: string;
|
|
258
|
+
};
|
|
253
259
|
progress: {
|
|
254
260
|
sourceRowsRead: number;
|
|
255
261
|
sourceRowsSkipped: number;
|
|
@@ -267,9 +273,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
267
273
|
projectionKind: "object";
|
|
268
274
|
protocol: "replacement";
|
|
269
275
|
};
|
|
270
|
-
target: {
|
|
271
|
-
objectTypeId: string;
|
|
272
|
-
};
|
|
273
276
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
274
277
|
startedAt?: string | undefined;
|
|
275
278
|
finishedAt?: string | undefined;
|
|
@@ -280,6 +283,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
280
283
|
queuedAt: string;
|
|
281
284
|
executionId: string;
|
|
282
285
|
attempt: number;
|
|
286
|
+
target: {
|
|
287
|
+
targetObjectTypeId: string;
|
|
288
|
+
sourceObjectTypeId: string;
|
|
289
|
+
};
|
|
283
290
|
progress: {
|
|
284
291
|
sourceRowsRead: number;
|
|
285
292
|
sourceRowsSkipped: number;
|
|
@@ -297,10 +304,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
297
304
|
projectionKind: "link";
|
|
298
305
|
protocol: "replacement";
|
|
299
306
|
};
|
|
300
|
-
target: {
|
|
301
|
-
targetObjectTypeId: string;
|
|
302
|
-
sourceObjectTypeId: string;
|
|
303
|
-
};
|
|
304
307
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
305
308
|
startedAt?: string | undefined;
|
|
306
309
|
finishedAt?: string | undefined;
|
|
@@ -311,6 +314,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
311
314
|
queuedAt: string;
|
|
312
315
|
executionId: string;
|
|
313
316
|
attempt: number;
|
|
317
|
+
target: {
|
|
318
|
+
objectTypeId: string;
|
|
319
|
+
};
|
|
314
320
|
progress: {
|
|
315
321
|
sourceRowsRead: number;
|
|
316
322
|
sourceRowsSkipped: number;
|
|
@@ -328,9 +334,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
328
334
|
projectionKind: "telemetry";
|
|
329
335
|
protocol: "telemetry";
|
|
330
336
|
};
|
|
331
|
-
target: {
|
|
332
|
-
objectTypeId: string;
|
|
333
|
-
};
|
|
334
337
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
335
338
|
startedAt?: string | undefined;
|
|
336
339
|
finishedAt?: string | undefined;
|
|
@@ -338,8 +341,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
338
341
|
_tag: "TelemetryProjectionDefinition";
|
|
339
342
|
objectIdField: string;
|
|
340
343
|
atField: string;
|
|
341
|
-
valueField: string;
|
|
342
|
-
unitField?: string | undefined;
|
|
343
344
|
}[];
|
|
344
345
|
};
|
|
345
346
|
422: {
|
|
@@ -385,6 +386,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
385
386
|
queuedAt: string;
|
|
386
387
|
executionId: string;
|
|
387
388
|
attempt: number;
|
|
389
|
+
target: {
|
|
390
|
+
objectTypeId: string;
|
|
391
|
+
};
|
|
388
392
|
progress: {
|
|
389
393
|
sourceRowsRead: number;
|
|
390
394
|
sourceRowsSkipped: number;
|
|
@@ -402,9 +406,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
402
406
|
projectionKind: "object";
|
|
403
407
|
protocol: "replacement";
|
|
404
408
|
};
|
|
405
|
-
target: {
|
|
406
|
-
objectTypeId: string;
|
|
407
|
-
};
|
|
408
409
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
409
410
|
startedAt?: string | undefined;
|
|
410
411
|
finishedAt?: string | undefined;
|
|
@@ -415,6 +416,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
415
416
|
queuedAt: string;
|
|
416
417
|
executionId: string;
|
|
417
418
|
attempt: number;
|
|
419
|
+
target: {
|
|
420
|
+
targetObjectTypeId: string;
|
|
421
|
+
sourceObjectTypeId: string;
|
|
422
|
+
};
|
|
418
423
|
progress: {
|
|
419
424
|
sourceRowsRead: number;
|
|
420
425
|
sourceRowsSkipped: number;
|
|
@@ -432,10 +437,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
432
437
|
projectionKind: "link";
|
|
433
438
|
protocol: "replacement";
|
|
434
439
|
};
|
|
435
|
-
target: {
|
|
436
|
-
targetObjectTypeId: string;
|
|
437
|
-
sourceObjectTypeId: string;
|
|
438
|
-
};
|
|
439
440
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
440
441
|
startedAt?: string | undefined;
|
|
441
442
|
finishedAt?: string | undefined;
|
|
@@ -446,6 +447,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
446
447
|
queuedAt: string;
|
|
447
448
|
executionId: string;
|
|
448
449
|
attempt: number;
|
|
450
|
+
target: {
|
|
451
|
+
objectTypeId: string;
|
|
452
|
+
};
|
|
449
453
|
progress: {
|
|
450
454
|
sourceRowsRead: number;
|
|
451
455
|
sourceRowsSkipped: number;
|
|
@@ -463,9 +467,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
463
467
|
projectionKind: "telemetry";
|
|
464
468
|
protocol: "telemetry";
|
|
465
469
|
};
|
|
466
|
-
target: {
|
|
467
|
-
objectTypeId: string;
|
|
468
|
-
};
|
|
469
470
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
470
471
|
startedAt?: string | undefined;
|
|
471
472
|
finishedAt?: string | undefined;
|
|
@@ -490,6 +491,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
490
491
|
queuedAt: string;
|
|
491
492
|
executionId: string;
|
|
492
493
|
attempt: number;
|
|
494
|
+
target: {
|
|
495
|
+
objectTypeId: string;
|
|
496
|
+
};
|
|
493
497
|
progress: {
|
|
494
498
|
sourceRowsRead: number;
|
|
495
499
|
sourceRowsSkipped: number;
|
|
@@ -507,9 +511,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
507
511
|
projectionKind: "object";
|
|
508
512
|
protocol: "replacement";
|
|
509
513
|
};
|
|
510
|
-
target: {
|
|
511
|
-
objectTypeId: string;
|
|
512
|
-
};
|
|
513
514
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
514
515
|
startedAt?: string | undefined;
|
|
515
516
|
finishedAt?: string | undefined;
|
|
@@ -520,6 +521,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
520
521
|
queuedAt: string;
|
|
521
522
|
executionId: string;
|
|
522
523
|
attempt: number;
|
|
524
|
+
target: {
|
|
525
|
+
targetObjectTypeId: string;
|
|
526
|
+
sourceObjectTypeId: string;
|
|
527
|
+
};
|
|
523
528
|
progress: {
|
|
524
529
|
sourceRowsRead: number;
|
|
525
530
|
sourceRowsSkipped: number;
|
|
@@ -537,10 +542,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
537
542
|
projectionKind: "link";
|
|
538
543
|
protocol: "replacement";
|
|
539
544
|
};
|
|
540
|
-
target: {
|
|
541
|
-
targetObjectTypeId: string;
|
|
542
|
-
sourceObjectTypeId: string;
|
|
543
|
-
};
|
|
544
545
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
545
546
|
startedAt?: string | undefined;
|
|
546
547
|
finishedAt?: string | undefined;
|
|
@@ -551,6 +552,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
551
552
|
queuedAt: string;
|
|
552
553
|
executionId: string;
|
|
553
554
|
attempt: number;
|
|
555
|
+
target: {
|
|
556
|
+
objectTypeId: string;
|
|
557
|
+
};
|
|
554
558
|
progress: {
|
|
555
559
|
sourceRowsRead: number;
|
|
556
560
|
sourceRowsSkipped: number;
|
|
@@ -568,9 +572,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
568
572
|
projectionKind: "telemetry";
|
|
569
573
|
protocol: "telemetry";
|
|
570
574
|
};
|
|
571
|
-
target: {
|
|
572
|
-
objectTypeId: string;
|
|
573
|
-
};
|
|
574
575
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
575
576
|
startedAt?: string | undefined;
|
|
576
577
|
finishedAt?: string | undefined;
|
|
@@ -580,9 +581,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
580
581
|
targetField: string;
|
|
581
582
|
} | {
|
|
582
583
|
id: string;
|
|
584
|
+
properties: Record<string, {
|
|
585
|
+
valueField: string;
|
|
586
|
+
unitField?: string | undefined;
|
|
587
|
+
}>;
|
|
583
588
|
objectTypeId: string;
|
|
584
589
|
datasetId: string;
|
|
585
|
-
propertyId: string;
|
|
586
590
|
latestRun: {
|
|
587
591
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
588
592
|
projectId: string;
|
|
@@ -590,6 +594,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
590
594
|
queuedAt: string;
|
|
591
595
|
executionId: string;
|
|
592
596
|
attempt: number;
|
|
597
|
+
target: {
|
|
598
|
+
objectTypeId: string;
|
|
599
|
+
};
|
|
593
600
|
progress: {
|
|
594
601
|
sourceRowsRead: number;
|
|
595
602
|
sourceRowsSkipped: number;
|
|
@@ -607,9 +614,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
607
614
|
projectionKind: "object";
|
|
608
615
|
protocol: "replacement";
|
|
609
616
|
};
|
|
610
|
-
target: {
|
|
611
|
-
objectTypeId: string;
|
|
612
|
-
};
|
|
613
617
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
614
618
|
startedAt?: string | undefined;
|
|
615
619
|
finishedAt?: string | undefined;
|
|
@@ -620,6 +624,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
620
624
|
queuedAt: string;
|
|
621
625
|
executionId: string;
|
|
622
626
|
attempt: number;
|
|
627
|
+
target: {
|
|
628
|
+
targetObjectTypeId: string;
|
|
629
|
+
sourceObjectTypeId: string;
|
|
630
|
+
};
|
|
623
631
|
progress: {
|
|
624
632
|
sourceRowsRead: number;
|
|
625
633
|
sourceRowsSkipped: number;
|
|
@@ -637,10 +645,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
637
645
|
projectionKind: "link";
|
|
638
646
|
protocol: "replacement";
|
|
639
647
|
};
|
|
640
|
-
target: {
|
|
641
|
-
targetObjectTypeId: string;
|
|
642
|
-
sourceObjectTypeId: string;
|
|
643
|
-
};
|
|
644
648
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
645
649
|
startedAt?: string | undefined;
|
|
646
650
|
finishedAt?: string | undefined;
|
|
@@ -651,6 +655,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
651
655
|
queuedAt: string;
|
|
652
656
|
executionId: string;
|
|
653
657
|
attempt: number;
|
|
658
|
+
target: {
|
|
659
|
+
objectTypeId: string;
|
|
660
|
+
};
|
|
654
661
|
progress: {
|
|
655
662
|
sourceRowsRead: number;
|
|
656
663
|
sourceRowsSkipped: number;
|
|
@@ -668,9 +675,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
668
675
|
projectionKind: "telemetry";
|
|
669
676
|
protocol: "telemetry";
|
|
670
677
|
};
|
|
671
|
-
target: {
|
|
672
|
-
objectTypeId: string;
|
|
673
|
-
};
|
|
674
678
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
675
679
|
startedAt?: string | undefined;
|
|
676
680
|
finishedAt?: string | undefined;
|
|
@@ -678,8 +682,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
678
682
|
_tag: "TelemetryProjectionDefinition";
|
|
679
683
|
objectIdField: string;
|
|
680
684
|
atField: string;
|
|
681
|
-
valueField: string;
|
|
682
|
-
unitField?: string | undefined;
|
|
683
685
|
};
|
|
684
686
|
404: {
|
|
685
687
|
error: string;
|
|
@@ -726,6 +728,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
726
728
|
queuedAt: string;
|
|
727
729
|
executionId: string;
|
|
728
730
|
attempt: number;
|
|
731
|
+
target: {
|
|
732
|
+
objectTypeId: string;
|
|
733
|
+
};
|
|
729
734
|
progress: {
|
|
730
735
|
sourceRowsRead: number;
|
|
731
736
|
sourceRowsSkipped: number;
|
|
@@ -743,9 +748,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
743
748
|
projectionKind: "object";
|
|
744
749
|
protocol: "replacement";
|
|
745
750
|
};
|
|
746
|
-
target: {
|
|
747
|
-
objectTypeId: string;
|
|
748
|
-
};
|
|
749
751
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
750
752
|
startedAt?: string | undefined;
|
|
751
753
|
finishedAt?: string | undefined;
|
|
@@ -756,6 +758,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
756
758
|
queuedAt: string;
|
|
757
759
|
executionId: string;
|
|
758
760
|
attempt: number;
|
|
761
|
+
target: {
|
|
762
|
+
targetObjectTypeId: string;
|
|
763
|
+
sourceObjectTypeId: string;
|
|
764
|
+
};
|
|
759
765
|
progress: {
|
|
760
766
|
sourceRowsRead: number;
|
|
761
767
|
sourceRowsSkipped: number;
|
|
@@ -773,10 +779,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
773
779
|
projectionKind: "link";
|
|
774
780
|
protocol: "replacement";
|
|
775
781
|
};
|
|
776
|
-
target: {
|
|
777
|
-
targetObjectTypeId: string;
|
|
778
|
-
sourceObjectTypeId: string;
|
|
779
|
-
};
|
|
780
782
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
781
783
|
startedAt?: string | undefined;
|
|
782
784
|
finishedAt?: string | undefined;
|
|
@@ -787,6 +789,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
787
789
|
queuedAt: string;
|
|
788
790
|
executionId: string;
|
|
789
791
|
attempt: number;
|
|
792
|
+
target: {
|
|
793
|
+
objectTypeId: string;
|
|
794
|
+
};
|
|
790
795
|
progress: {
|
|
791
796
|
sourceRowsRead: number;
|
|
792
797
|
sourceRowsSkipped: number;
|
|
@@ -804,9 +809,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
804
809
|
projectionKind: "telemetry";
|
|
805
810
|
protocol: "telemetry";
|
|
806
811
|
};
|
|
807
|
-
target: {
|
|
808
|
-
objectTypeId: string;
|
|
809
|
-
};
|
|
810
812
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
811
813
|
startedAt?: string | undefined;
|
|
812
814
|
finishedAt?: string | undefined;
|
|
@@ -852,6 +854,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
852
854
|
queuedAt: string;
|
|
853
855
|
executionId: string;
|
|
854
856
|
attempt: number;
|
|
857
|
+
target: {
|
|
858
|
+
objectTypeId: string;
|
|
859
|
+
};
|
|
855
860
|
progress: {
|
|
856
861
|
sourceRowsRead: number;
|
|
857
862
|
sourceRowsSkipped: number;
|
|
@@ -869,9 +874,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
869
874
|
projectionKind: "object";
|
|
870
875
|
protocol: "replacement";
|
|
871
876
|
};
|
|
872
|
-
target: {
|
|
873
|
-
objectTypeId: string;
|
|
874
|
-
};
|
|
875
877
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
876
878
|
startedAt?: string | undefined;
|
|
877
879
|
finishedAt?: string | undefined;
|
|
@@ -882,6 +884,10 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
882
884
|
queuedAt: string;
|
|
883
885
|
executionId: string;
|
|
884
886
|
attempt: number;
|
|
887
|
+
target: {
|
|
888
|
+
targetObjectTypeId: string;
|
|
889
|
+
sourceObjectTypeId: string;
|
|
890
|
+
};
|
|
885
891
|
progress: {
|
|
886
892
|
sourceRowsRead: number;
|
|
887
893
|
sourceRowsSkipped: number;
|
|
@@ -899,10 +905,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
899
905
|
projectionKind: "link";
|
|
900
906
|
protocol: "replacement";
|
|
901
907
|
};
|
|
902
|
-
target: {
|
|
903
|
-
targetObjectTypeId: string;
|
|
904
|
-
sourceObjectTypeId: string;
|
|
905
|
-
};
|
|
906
908
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
907
909
|
startedAt?: string | undefined;
|
|
908
910
|
finishedAt?: string | undefined;
|
|
@@ -913,6 +915,9 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
913
915
|
queuedAt: string;
|
|
914
916
|
executionId: string;
|
|
915
917
|
attempt: number;
|
|
918
|
+
target: {
|
|
919
|
+
objectTypeId: string;
|
|
920
|
+
};
|
|
916
921
|
progress: {
|
|
917
922
|
sourceRowsRead: number;
|
|
918
923
|
sourceRowsSkipped: number;
|
|
@@ -930,9 +935,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
930
935
|
projectionKind: "telemetry";
|
|
931
936
|
protocol: "telemetry";
|
|
932
937
|
};
|
|
933
|
-
target: {
|
|
934
|
-
objectTypeId: string;
|
|
935
|
-
};
|
|
936
938
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
937
939
|
startedAt?: string | undefined;
|
|
938
940
|
finishedAt?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/routes/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,YAAY,EAGb,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmHpC,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/routes/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,YAAY,EAGb,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmHpC,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgIvE"}
|
package/dist/routes/syncs.d.ts
CHANGED
|
@@ -27,6 +27,22 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
27
27
|
200: {
|
|
28
28
|
id: string;
|
|
29
29
|
mode: "append" | "snapshot" | "merge";
|
|
30
|
+
target: {
|
|
31
|
+
kind: "dataset";
|
|
32
|
+
dataset: {
|
|
33
|
+
id: string;
|
|
34
|
+
schema: {
|
|
35
|
+
columns: {
|
|
36
|
+
name: string;
|
|
37
|
+
type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
38
|
+
nullable?: boolean | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
description?: string | undefined;
|
|
42
|
+
primaryKey?: string | string[] | undefined;
|
|
43
|
+
partitionBy?: string[] | undefined;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
30
46
|
triggers: {
|
|
31
47
|
type: "schedule";
|
|
32
48
|
scheduleId: string;
|
|
@@ -50,22 +66,6 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
50
66
|
commitMessage?: string | undefined;
|
|
51
67
|
rowsRead?: number | undefined;
|
|
52
68
|
} | null;
|
|
53
|
-
target: {
|
|
54
|
-
kind: "dataset";
|
|
55
|
-
dataset: {
|
|
56
|
-
id: string;
|
|
57
|
-
schema: {
|
|
58
|
-
columns: {
|
|
59
|
-
name: string;
|
|
60
|
-
type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
61
|
-
nullable?: boolean | undefined;
|
|
62
|
-
}[];
|
|
63
|
-
};
|
|
64
|
-
description?: string | undefined;
|
|
65
|
-
primaryKey?: string | string[] | undefined;
|
|
66
|
-
partitionBy?: string[] | undefined;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
69
|
connector: {
|
|
70
70
|
id: string;
|
|
71
71
|
type: string;
|
|
@@ -99,6 +99,22 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
99
99
|
200: {
|
|
100
100
|
id: string;
|
|
101
101
|
mode: "append" | "snapshot" | "merge";
|
|
102
|
+
target: {
|
|
103
|
+
kind: "dataset";
|
|
104
|
+
dataset: {
|
|
105
|
+
id: string;
|
|
106
|
+
schema: {
|
|
107
|
+
columns: {
|
|
108
|
+
name: string;
|
|
109
|
+
type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
110
|
+
nullable?: boolean | undefined;
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
primaryKey?: string | string[] | undefined;
|
|
115
|
+
partitionBy?: string[] | undefined;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
102
118
|
triggers: {
|
|
103
119
|
type: "schedule";
|
|
104
120
|
scheduleId: string;
|
|
@@ -122,22 +138,6 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
122
138
|
commitMessage?: string | undefined;
|
|
123
139
|
rowsRead?: number | undefined;
|
|
124
140
|
} | null;
|
|
125
|
-
target: {
|
|
126
|
-
kind: "dataset";
|
|
127
|
-
dataset: {
|
|
128
|
-
id: string;
|
|
129
|
-
schema: {
|
|
130
|
-
columns: {
|
|
131
|
-
name: string;
|
|
132
|
-
type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
133
|
-
nullable?: boolean | undefined;
|
|
134
|
-
}[];
|
|
135
|
-
};
|
|
136
|
-
description?: string | undefined;
|
|
137
|
-
primaryKey?: string | string[] | undefined;
|
|
138
|
-
partitionBy?: string[] | undefined;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
141
|
connector: {
|
|
142
142
|
id: string;
|
|
143
143
|
type: string;
|