@sixb/server 0.1.26 → 0.2.1

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.
Files changed (98) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +2495 -1845
  5. package/dist/index.js.map +29 -27
  6. package/dist/routes/actions.d.ts +1 -1
  7. package/dist/routes/agent-approvals.d.ts +11 -5
  8. package/dist/routes/agent-approvals.d.ts.map +1 -1
  9. package/dist/routes/agent-children.d.ts +2 -2
  10. package/dist/routes/agent-computers.d.ts +214 -10
  11. package/dist/routes/agent-computers.d.ts.map +1 -1
  12. package/dist/routes/agent-runners.d.ts +1 -1
  13. package/dist/routes/agent-runners.d.ts.map +1 -1
  14. package/dist/routes/agents.d.ts +230 -24
  15. package/dist/routes/agents.d.ts.map +1 -1
  16. package/dist/routes/ai-accounting.d.ts.map +1 -1
  17. package/dist/routes/auth.d.ts +9 -0
  18. package/dist/routes/auth.d.ts.map +1 -1
  19. package/dist/routes/datasets.d.ts +93 -17
  20. package/dist/routes/datasets.d.ts.map +1 -1
  21. package/dist/routes/events.d.ts +1 -1
  22. package/dist/routes/links.d.ts +121 -81
  23. package/dist/routes/links.d.ts.map +1 -1
  24. package/dist/routes/logs.d.ts +3 -3
  25. package/dist/routes/objects.d.ts +149 -58
  26. package/dist/routes/objects.d.ts.map +1 -1
  27. package/dist/routes/observed-agent-threads.d.ts +23 -5
  28. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  29. package/dist/routes/pipelines.d.ts +2 -2
  30. package/dist/routes/projections.d.ts +122 -122
  31. package/dist/routes/rules.d.ts +2 -2
  32. package/dist/routes/telemetry.d.ts +0 -50
  33. package/dist/routes/telemetry.d.ts.map +1 -1
  34. package/dist/routes/webhook-runs.d.ts +1 -1
  35. package/dist/routes/workflows.d.ts +21 -10
  36. package/dist/routes/workflows.d.ts.map +1 -1
  37. package/dist/routes/ws/agents.d.ts +4 -1
  38. package/dist/routes/ws/agents.d.ts.map +1 -1
  39. package/dist/routes/ws/logs.d.ts +10 -10
  40. package/dist/schemas/actions.d.ts +3 -3
  41. package/dist/schemas/activity.d.ts +4 -4
  42. package/dist/schemas/agent-approvals.d.ts +21 -21
  43. package/dist/schemas/agents.d.ts +760 -107
  44. package/dist/schemas/agents.d.ts.map +1 -1
  45. package/dist/schemas/ai-accounting.d.ts +1114 -6
  46. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  47. package/dist/schemas/auth.d.ts +47 -0
  48. package/dist/schemas/auth.d.ts.map +1 -1
  49. package/dist/schemas/datasets.d.ts +303 -60
  50. package/dist/schemas/datasets.d.ts.map +1 -1
  51. package/dist/schemas/event-payloads.d.ts +6 -6
  52. package/dist/schemas/events.d.ts +8 -8
  53. package/dist/schemas/lineage.d.ts +1272 -0
  54. package/dist/schemas/lineage.d.ts.map +1 -0
  55. package/dist/schemas/links.d.ts +4 -27
  56. package/dist/schemas/links.d.ts.map +1 -1
  57. package/dist/schemas/logs.d.ts +22 -22
  58. package/dist/schemas/objects.d.ts +7 -26
  59. package/dist/schemas/objects.d.ts.map +1 -1
  60. package/dist/schemas/pipelines.d.ts +12 -12
  61. package/dist/schemas/projections.d.ts +733 -733
  62. package/dist/schemas/rules.d.ts +4 -4
  63. package/dist/schemas/telemetry.d.ts +0 -13
  64. package/dist/schemas/telemetry.d.ts.map +1 -1
  65. package/dist/schemas/webhook-runs.d.ts +2 -2
  66. package/dist/schemas/workflows.d.ts +133 -44
  67. package/dist/schemas/workflows.d.ts.map +1 -1
  68. package/dist/server.d.ts +4 -0
  69. package/dist/server.d.ts.map +1 -1
  70. package/dist/utils/request-body.d.ts +5 -0
  71. package/dist/utils/request-body.d.ts.map +1 -1
  72. package/dist/utils/request-timing.d.ts +18 -0
  73. package/dist/utils/request-timing.d.ts.map +1 -0
  74. package/package.json +7 -7
  75. package/src/index.ts +1 -0
  76. package/src/routes/agent-approvals.ts +2 -2
  77. package/src/routes/agent-computers.ts +309 -87
  78. package/src/routes/agent-runners.ts +30 -6
  79. package/src/routes/agents.ts +187 -25
  80. package/src/routes/ai-accounting.ts +149 -12
  81. package/src/routes/auth.ts +24 -2
  82. package/src/routes/datasets.ts +55 -5
  83. package/src/routes/links.ts +43 -76
  84. package/src/routes/objects.ts +49 -42
  85. package/src/routes/observed-agent-threads.ts +2 -2
  86. package/src/routes/telemetry.ts +1 -42
  87. package/src/routes/ws/agents.ts +10 -1
  88. package/src/schemas/agents.ts +121 -6
  89. package/src/schemas/ai-accounting.ts +78 -15
  90. package/src/schemas/auth.ts +19 -0
  91. package/src/schemas/datasets.ts +36 -0
  92. package/src/schemas/lineage.ts +115 -0
  93. package/src/schemas/links.ts +3 -11
  94. package/src/schemas/objects.ts +6 -10
  95. package/src/schemas/telemetry.ts +0 -6
  96. package/src/server.ts +18 -2
  97. package/src/utils/request-body.ts +10 -4
  98. package/src/utils/request-timing.ts +136 -0
@@ -45,11 +45,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
45
45
  target: {
46
46
  objectTypeId: string;
47
47
  };
48
- progress: {
49
- sourceRowsRead: number;
50
- sourceRowsSkipped: number;
51
- sourceChangesRead?: number | undefined;
52
- };
53
48
  identity: {
54
49
  projectionId: string;
55
50
  datasetVersion: {
@@ -63,6 +58,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
63
58
  projectionKind: "object";
64
59
  protocol: "replacement";
65
60
  };
61
+ progress: {
62
+ sourceRowsRead: number;
63
+ sourceRowsSkipped: number;
64
+ sourceChangesRead?: number | undefined;
65
+ };
66
66
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
67
67
  startedAt?: string | undefined;
68
68
  finishedAt?: string | undefined;
@@ -77,11 +77,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
77
77
  targetObjectTypeId: string;
78
78
  sourceObjectTypeId: string;
79
79
  };
80
- progress: {
81
- sourceRowsRead: number;
82
- sourceRowsSkipped: number;
83
- sourceChangesRead?: number | undefined;
84
- };
85
80
  identity: {
86
81
  projectionId: string;
87
82
  datasetVersion: {
@@ -95,6 +90,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
95
90
  projectionKind: "link";
96
91
  protocol: "replacement";
97
92
  };
93
+ progress: {
94
+ sourceRowsRead: number;
95
+ sourceRowsSkipped: number;
96
+ sourceChangesRead?: number | undefined;
97
+ };
98
98
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
99
99
  startedAt?: string | undefined;
100
100
  finishedAt?: string | undefined;
@@ -108,11 +108,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
108
108
  target: {
109
109
  objectTypeId: string;
110
110
  };
111
- progress: {
112
- sourceRowsRead: number;
113
- sourceRowsSkipped: number;
114
- sourceChangesRead?: number | undefined;
115
- };
116
111
  identity: {
117
112
  projectionId: string;
118
113
  datasetVersion: {
@@ -126,6 +121,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
126
121
  projectionKind: "telemetry";
127
122
  protocol: "telemetry";
128
123
  };
124
+ progress: {
125
+ sourceRowsRead: number;
126
+ sourceRowsSkipped: number;
127
+ sourceChangesRead?: number | undefined;
128
+ };
129
129
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
130
130
  startedAt?: string | undefined;
131
131
  finishedAt?: string | undefined;
@@ -153,11 +153,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
153
153
  target: {
154
154
  objectTypeId: string;
155
155
  };
156
- progress: {
157
- sourceRowsRead: number;
158
- sourceRowsSkipped: number;
159
- sourceChangesRead?: number | undefined;
160
- };
161
156
  identity: {
162
157
  projectionId: string;
163
158
  datasetVersion: {
@@ -171,6 +166,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
171
166
  projectionKind: "object";
172
167
  protocol: "replacement";
173
168
  };
169
+ progress: {
170
+ sourceRowsRead: number;
171
+ sourceRowsSkipped: number;
172
+ sourceChangesRead?: number | undefined;
173
+ };
174
174
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
175
175
  startedAt?: string | undefined;
176
176
  finishedAt?: string | undefined;
@@ -185,11 +185,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
185
185
  targetObjectTypeId: string;
186
186
  sourceObjectTypeId: string;
187
187
  };
188
- progress: {
189
- sourceRowsRead: number;
190
- sourceRowsSkipped: number;
191
- sourceChangesRead?: number | undefined;
192
- };
193
188
  identity: {
194
189
  projectionId: string;
195
190
  datasetVersion: {
@@ -203,6 +198,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
203
198
  projectionKind: "link";
204
199
  protocol: "replacement";
205
200
  };
201
+ progress: {
202
+ sourceRowsRead: number;
203
+ sourceRowsSkipped: number;
204
+ sourceChangesRead?: number | undefined;
205
+ };
206
206
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
207
207
  startedAt?: string | undefined;
208
208
  finishedAt?: string | undefined;
@@ -216,11 +216,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
216
216
  target: {
217
217
  objectTypeId: string;
218
218
  };
219
- progress: {
220
- sourceRowsRead: number;
221
- sourceRowsSkipped: number;
222
- sourceChangesRead?: number | undefined;
223
- };
224
219
  identity: {
225
220
  projectionId: string;
226
221
  datasetVersion: {
@@ -234,13 +229,18 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
234
229
  projectionKind: "telemetry";
235
230
  protocol: "telemetry";
236
231
  };
232
+ progress: {
233
+ sourceRowsRead: number;
234
+ sourceRowsSkipped: number;
235
+ sourceChangesRead?: number | undefined;
236
+ };
237
237
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
238
238
  startedAt?: string | undefined;
239
239
  finishedAt?: string | undefined;
240
240
  } | null;
241
+ datasetId: string;
241
242
  linkId: string;
242
243
  sourceObjectTypeId: string;
243
- datasetId: string;
244
244
  sourceField: string;
245
245
  _tag: "LinkProjectionDefinition";
246
246
  targetField: string;
@@ -262,11 +262,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
262
262
  target: {
263
263
  objectTypeId: string;
264
264
  };
265
- progress: {
266
- sourceRowsRead: number;
267
- sourceRowsSkipped: number;
268
- sourceChangesRead?: number | undefined;
269
- };
270
265
  identity: {
271
266
  projectionId: string;
272
267
  datasetVersion: {
@@ -280,6 +275,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
280
275
  projectionKind: "object";
281
276
  protocol: "replacement";
282
277
  };
278
+ progress: {
279
+ sourceRowsRead: number;
280
+ sourceRowsSkipped: number;
281
+ sourceChangesRead?: number | undefined;
282
+ };
283
283
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
284
284
  startedAt?: string | undefined;
285
285
  finishedAt?: string | undefined;
@@ -294,11 +294,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
294
294
  targetObjectTypeId: string;
295
295
  sourceObjectTypeId: string;
296
296
  };
297
- progress: {
298
- sourceRowsRead: number;
299
- sourceRowsSkipped: number;
300
- sourceChangesRead?: number | undefined;
301
- };
302
297
  identity: {
303
298
  projectionId: string;
304
299
  datasetVersion: {
@@ -312,6 +307,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
312
307
  projectionKind: "link";
313
308
  protocol: "replacement";
314
309
  };
310
+ progress: {
311
+ sourceRowsRead: number;
312
+ sourceRowsSkipped: number;
313
+ sourceChangesRead?: number | undefined;
314
+ };
315
315
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
316
316
  startedAt?: string | undefined;
317
317
  finishedAt?: string | undefined;
@@ -325,11 +325,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
325
325
  target: {
326
326
  objectTypeId: string;
327
327
  };
328
- progress: {
329
- sourceRowsRead: number;
330
- sourceRowsSkipped: number;
331
- sourceChangesRead?: number | undefined;
332
- };
333
328
  identity: {
334
329
  projectionId: string;
335
330
  datasetVersion: {
@@ -343,6 +338,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
343
338
  projectionKind: "telemetry";
344
339
  protocol: "telemetry";
345
340
  };
341
+ progress: {
342
+ sourceRowsRead: number;
343
+ sourceRowsSkipped: number;
344
+ sourceChangesRead?: number | undefined;
345
+ };
346
346
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
347
347
  startedAt?: string | undefined;
348
348
  finishedAt?: string | undefined;
@@ -398,11 +398,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
398
398
  target: {
399
399
  objectTypeId: string;
400
400
  };
401
- progress: {
402
- sourceRowsRead: number;
403
- sourceRowsSkipped: number;
404
- sourceChangesRead?: number | undefined;
405
- };
406
401
  identity: {
407
402
  projectionId: string;
408
403
  datasetVersion: {
@@ -416,6 +411,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
416
411
  projectionKind: "object";
417
412
  protocol: "replacement";
418
413
  };
414
+ progress: {
415
+ sourceRowsRead: number;
416
+ sourceRowsSkipped: number;
417
+ sourceChangesRead?: number | undefined;
418
+ };
419
419
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
420
420
  startedAt?: string | undefined;
421
421
  finishedAt?: string | undefined;
@@ -430,11 +430,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
430
430
  targetObjectTypeId: string;
431
431
  sourceObjectTypeId: string;
432
432
  };
433
- progress: {
434
- sourceRowsRead: number;
435
- sourceRowsSkipped: number;
436
- sourceChangesRead?: number | undefined;
437
- };
438
433
  identity: {
439
434
  projectionId: string;
440
435
  datasetVersion: {
@@ -448,6 +443,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
448
443
  projectionKind: "link";
449
444
  protocol: "replacement";
450
445
  };
446
+ progress: {
447
+ sourceRowsRead: number;
448
+ sourceRowsSkipped: number;
449
+ sourceChangesRead?: number | undefined;
450
+ };
451
451
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
452
452
  startedAt?: string | undefined;
453
453
  finishedAt?: string | undefined;
@@ -461,11 +461,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
461
461
  target: {
462
462
  objectTypeId: string;
463
463
  };
464
- progress: {
465
- sourceRowsRead: number;
466
- sourceRowsSkipped: number;
467
- sourceChangesRead?: number | undefined;
468
- };
469
464
  identity: {
470
465
  projectionId: string;
471
466
  datasetVersion: {
@@ -479,6 +474,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
479
474
  projectionKind: "telemetry";
480
475
  protocol: "telemetry";
481
476
  };
477
+ progress: {
478
+ sourceRowsRead: number;
479
+ sourceRowsSkipped: number;
480
+ sourceChangesRead?: number | undefined;
481
+ };
482
482
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
483
483
  startedAt?: string | undefined;
484
484
  finishedAt?: string | undefined;
@@ -505,11 +505,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
505
505
  target: {
506
506
  objectTypeId: string;
507
507
  };
508
- progress: {
509
- sourceRowsRead: number;
510
- sourceRowsSkipped: number;
511
- sourceChangesRead?: number | undefined;
512
- };
513
508
  identity: {
514
509
  projectionId: string;
515
510
  datasetVersion: {
@@ -523,6 +518,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
523
518
  projectionKind: "object";
524
519
  protocol: "replacement";
525
520
  };
521
+ progress: {
522
+ sourceRowsRead: number;
523
+ sourceRowsSkipped: number;
524
+ sourceChangesRead?: number | undefined;
525
+ };
526
526
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
527
527
  startedAt?: string | undefined;
528
528
  finishedAt?: string | undefined;
@@ -537,11 +537,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
537
537
  targetObjectTypeId: string;
538
538
  sourceObjectTypeId: string;
539
539
  };
540
- progress: {
541
- sourceRowsRead: number;
542
- sourceRowsSkipped: number;
543
- sourceChangesRead?: number | undefined;
544
- };
545
540
  identity: {
546
541
  projectionId: string;
547
542
  datasetVersion: {
@@ -555,6 +550,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
555
550
  projectionKind: "link";
556
551
  protocol: "replacement";
557
552
  };
553
+ progress: {
554
+ sourceRowsRead: number;
555
+ sourceRowsSkipped: number;
556
+ sourceChangesRead?: number | undefined;
557
+ };
558
558
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
559
559
  startedAt?: string | undefined;
560
560
  finishedAt?: string | undefined;
@@ -568,11 +568,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
568
568
  target: {
569
569
  objectTypeId: string;
570
570
  };
571
- progress: {
572
- sourceRowsRead: number;
573
- sourceRowsSkipped: number;
574
- sourceChangesRead?: number | undefined;
575
- };
576
571
  identity: {
577
572
  projectionId: string;
578
573
  datasetVersion: {
@@ -586,13 +581,18 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
586
581
  projectionKind: "telemetry";
587
582
  protocol: "telemetry";
588
583
  };
584
+ progress: {
585
+ sourceRowsRead: number;
586
+ sourceRowsSkipped: number;
587
+ sourceChangesRead?: number | undefined;
588
+ };
589
589
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
590
590
  startedAt?: string | undefined;
591
591
  finishedAt?: string | undefined;
592
592
  } | null;
593
+ datasetId: string;
593
594
  linkId: string;
594
595
  sourceObjectTypeId: string;
595
- datasetId: string;
596
596
  sourceField: string;
597
597
  _tag: "LinkProjectionDefinition";
598
598
  targetField: string;
@@ -613,11 +613,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
613
613
  target: {
614
614
  objectTypeId: string;
615
615
  };
616
- progress: {
617
- sourceRowsRead: number;
618
- sourceRowsSkipped: number;
619
- sourceChangesRead?: number | undefined;
620
- };
621
616
  identity: {
622
617
  projectionId: string;
623
618
  datasetVersion: {
@@ -631,6 +626,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
631
626
  projectionKind: "object";
632
627
  protocol: "replacement";
633
628
  };
629
+ progress: {
630
+ sourceRowsRead: number;
631
+ sourceRowsSkipped: number;
632
+ sourceChangesRead?: number | undefined;
633
+ };
634
634
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
635
635
  startedAt?: string | undefined;
636
636
  finishedAt?: string | undefined;
@@ -645,11 +645,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
645
645
  targetObjectTypeId: string;
646
646
  sourceObjectTypeId: string;
647
647
  };
648
- progress: {
649
- sourceRowsRead: number;
650
- sourceRowsSkipped: number;
651
- sourceChangesRead?: number | undefined;
652
- };
653
648
  identity: {
654
649
  projectionId: string;
655
650
  datasetVersion: {
@@ -663,6 +658,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
663
658
  projectionKind: "link";
664
659
  protocol: "replacement";
665
660
  };
661
+ progress: {
662
+ sourceRowsRead: number;
663
+ sourceRowsSkipped: number;
664
+ sourceChangesRead?: number | undefined;
665
+ };
666
666
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
667
667
  startedAt?: string | undefined;
668
668
  finishedAt?: string | undefined;
@@ -676,11 +676,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
676
676
  target: {
677
677
  objectTypeId: string;
678
678
  };
679
- progress: {
680
- sourceRowsRead: number;
681
- sourceRowsSkipped: number;
682
- sourceChangesRead?: number | undefined;
683
- };
684
679
  identity: {
685
680
  projectionId: string;
686
681
  datasetVersion: {
@@ -694,6 +689,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
694
689
  projectionKind: "telemetry";
695
690
  protocol: "telemetry";
696
691
  };
692
+ progress: {
693
+ sourceRowsRead: number;
694
+ sourceRowsSkipped: number;
695
+ sourceChangesRead?: number | undefined;
696
+ };
697
697
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
698
698
  startedAt?: string | undefined;
699
699
  finishedAt?: string | undefined;
@@ -751,11 +751,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
751
751
  target: {
752
752
  objectTypeId: string;
753
753
  };
754
- progress: {
755
- sourceRowsRead: number;
756
- sourceRowsSkipped: number;
757
- sourceChangesRead?: number | undefined;
758
- };
759
754
  identity: {
760
755
  projectionId: string;
761
756
  datasetVersion: {
@@ -769,6 +764,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
769
764
  projectionKind: "object";
770
765
  protocol: "replacement";
771
766
  };
767
+ progress: {
768
+ sourceRowsRead: number;
769
+ sourceRowsSkipped: number;
770
+ sourceChangesRead?: number | undefined;
771
+ };
772
772
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
773
773
  startedAt?: string | undefined;
774
774
  finishedAt?: string | undefined;
@@ -783,11 +783,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
783
783
  targetObjectTypeId: string;
784
784
  sourceObjectTypeId: string;
785
785
  };
786
- progress: {
787
- sourceRowsRead: number;
788
- sourceRowsSkipped: number;
789
- sourceChangesRead?: number | undefined;
790
- };
791
786
  identity: {
792
787
  projectionId: string;
793
788
  datasetVersion: {
@@ -801,6 +796,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
801
796
  projectionKind: "link";
802
797
  protocol: "replacement";
803
798
  };
799
+ progress: {
800
+ sourceRowsRead: number;
801
+ sourceRowsSkipped: number;
802
+ sourceChangesRead?: number | undefined;
803
+ };
804
804
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
805
805
  startedAt?: string | undefined;
806
806
  finishedAt?: string | undefined;
@@ -814,11 +814,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
814
814
  target: {
815
815
  objectTypeId: string;
816
816
  };
817
- progress: {
818
- sourceRowsRead: number;
819
- sourceRowsSkipped: number;
820
- sourceChangesRead?: number | undefined;
821
- };
822
817
  identity: {
823
818
  projectionId: string;
824
819
  datasetVersion: {
@@ -832,6 +827,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
832
827
  projectionKind: "telemetry";
833
828
  protocol: "telemetry";
834
829
  };
830
+ progress: {
831
+ sourceRowsRead: number;
832
+ sourceRowsSkipped: number;
833
+ sourceChangesRead?: number | undefined;
834
+ };
835
835
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
836
836
  startedAt?: string | undefined;
837
837
  finishedAt?: string | undefined;
@@ -880,11 +880,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
880
880
  target: {
881
881
  objectTypeId: string;
882
882
  };
883
- progress: {
884
- sourceRowsRead: number;
885
- sourceRowsSkipped: number;
886
- sourceChangesRead?: number | undefined;
887
- };
888
883
  identity: {
889
884
  projectionId: string;
890
885
  datasetVersion: {
@@ -898,6 +893,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
898
893
  projectionKind: "object";
899
894
  protocol: "replacement";
900
895
  };
896
+ progress: {
897
+ sourceRowsRead: number;
898
+ sourceRowsSkipped: number;
899
+ sourceChangesRead?: number | undefined;
900
+ };
901
901
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
902
902
  startedAt?: string | undefined;
903
903
  finishedAt?: string | undefined;
@@ -912,11 +912,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
912
912
  targetObjectTypeId: string;
913
913
  sourceObjectTypeId: string;
914
914
  };
915
- progress: {
916
- sourceRowsRead: number;
917
- sourceRowsSkipped: number;
918
- sourceChangesRead?: number | undefined;
919
- };
920
915
  identity: {
921
916
  projectionId: string;
922
917
  datasetVersion: {
@@ -930,6 +925,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
930
925
  projectionKind: "link";
931
926
  protocol: "replacement";
932
927
  };
928
+ progress: {
929
+ sourceRowsRead: number;
930
+ sourceRowsSkipped: number;
931
+ sourceChangesRead?: number | undefined;
932
+ };
933
933
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
934
934
  startedAt?: string | undefined;
935
935
  finishedAt?: string | undefined;
@@ -943,11 +943,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
943
943
  target: {
944
944
  objectTypeId: string;
945
945
  };
946
- progress: {
947
- sourceRowsRead: number;
948
- sourceRowsSkipped: number;
949
- sourceChangesRead?: number | undefined;
950
- };
951
946
  identity: {
952
947
  projectionId: string;
953
948
  datasetVersion: {
@@ -961,6 +956,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
961
956
  projectionKind: "telemetry";
962
957
  protocol: "telemetry";
963
958
  };
959
+ progress: {
960
+ sourceRowsRead: number;
961
+ sourceRowsSkipped: number;
962
+ sourceChangesRead?: number | undefined;
963
+ };
964
964
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
965
965
  startedAt?: string | undefined;
966
966
  finishedAt?: string | undefined;
@@ -37,8 +37,8 @@ export declare function registerRuleRoutes(app: Elysia, host: SixbHostView): Ely
37
37
  objectTypeId: string;
38
38
  } | {
39
39
  type: "link.created" | "link.updated" | "link.deleted";
40
- linkId: string;
41
40
  sourceTypeId: string;
41
+ linkId: string;
42
42
  })[];
43
43
  }[];
44
44
  422: {
@@ -79,8 +79,8 @@ export declare function registerRuleRoutes(app: Elysia, host: SixbHostView): Ely
79
79
  objectTypeId: string;
80
80
  } | {
81
81
  type: "link.created" | "link.updated" | "link.deleted";
82
- linkId: string;
83
82
  sourceTypeId: string;
83
+ linkId: string;
84
84
  })[];
85
85
  };
86
86
  404: {
@@ -16,56 +16,6 @@ export declare function registerTelemetryRoutes(app: Elysia, _host: SixbHostView
16
16
  parser: {};
17
17
  response: {};
18
18
  }, {
19
- api: {
20
- objects: {
21
- ":objectTypeId": {
22
- ":objectId": {
23
- telemetry: {
24
- ":propertyId": {
25
- post: {
26
- body: {
27
- at?: string | undefined;
28
- value?: unknown;
29
- unit?: string | undefined;
30
- };
31
- params: {
32
- objectTypeId: string;
33
- objectId: string;
34
- propertyId: string;
35
- };
36
- query: unknown;
37
- headers: unknown;
38
- response: {
39
- 200: {
40
- success: boolean;
41
- };
42
- 404: {
43
- error: string;
44
- };
45
- 403: {
46
- error: string;
47
- };
48
- 400: {
49
- error: string;
50
- };
51
- 422: {
52
- type: "validation";
53
- on: string;
54
- summary?: string;
55
- message?: string;
56
- found?: unknown;
57
- property?: string;
58
- expected?: string;
59
- };
60
- };
61
- };
62
- };
63
- };
64
- };
65
- };
66
- };
67
- };
68
- } & {
69
19
  api: {
70
20
  telemetry: {
71
21
  history: {
@@ -1 +1 @@
1
- {"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/routes/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2BpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsKvE"}
1
+ {"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/routes/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA0BpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8HvE"}