@sixb/server 0.1.25 → 0.2.0

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 (135) hide show
  1. package/README.md +1 -1
  2. package/dist/auth/public-routes.d.ts.map +1 -1
  3. package/dist/auth/run-token.d.ts +28 -0
  4. package/dist/auth/run-token.d.ts.map +1 -0
  5. package/dist/auth/scope.d.ts +11 -13
  6. package/dist/auth/scope.d.ts.map +1 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +4999 -4151
  10. package/dist/index.js.map +47 -43
  11. package/dist/registerRoutes.d.ts.map +1 -1
  12. package/dist/routes/actions.d.ts +1 -1
  13. package/dist/routes/agent-approval-gate.d.ts +7 -4
  14. package/dist/routes/agent-approval-gate.d.ts.map +1 -1
  15. package/dist/routes/agent-approvals.d.ts +14 -5
  16. package/dist/routes/agent-approvals.d.ts.map +1 -1
  17. package/dist/routes/agent-children.d.ts +2 -2
  18. package/dist/routes/agent-computers.d.ts +338 -0
  19. package/dist/routes/agent-computers.d.ts.map +1 -0
  20. package/dist/routes/agent-runners.d.ts +74 -0
  21. package/dist/routes/agent-runners.d.ts.map +1 -0
  22. package/dist/routes/agents.d.ts +250 -16
  23. package/dist/routes/agents.d.ts.map +1 -1
  24. package/dist/routes/ai-accounting.d.ts.map +1 -1
  25. package/dist/routes/artifacts.d.ts +5 -28
  26. package/dist/routes/artifacts.d.ts.map +1 -1
  27. package/dist/routes/auth.d.ts +10 -1
  28. package/dist/routes/auth.d.ts.map +1 -1
  29. package/dist/routes/datasets.d.ts +93 -17
  30. package/dist/routes/datasets.d.ts.map +1 -1
  31. package/dist/routes/events.d.ts +1 -1
  32. package/dist/routes/links.d.ts +121 -81
  33. package/dist/routes/links.d.ts.map +1 -1
  34. package/dist/routes/logs.d.ts +3 -3
  35. package/dist/routes/objects.d.ts +149 -58
  36. package/dist/routes/objects.d.ts.map +1 -1
  37. package/dist/routes/observed-agent-threads.d.ts +25 -4
  38. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  39. package/dist/routes/pipelines.d.ts +2 -2
  40. package/dist/routes/pipelines.d.ts.map +1 -1
  41. package/dist/routes/projections.d.ts +124 -122
  42. package/dist/routes/projections.d.ts.map +1 -1
  43. package/dist/routes/rules.d.ts +2 -2
  44. package/dist/routes/shared-access.d.ts +2 -2
  45. package/dist/routes/syncs.d.ts +34 -34
  46. package/dist/routes/syncs.d.ts.map +1 -1
  47. package/dist/routes/telemetry.d.ts +0 -50
  48. package/dist/routes/telemetry.d.ts.map +1 -1
  49. package/dist/routes/users.d.ts +1 -0
  50. package/dist/routes/users.d.ts.map +1 -1
  51. package/dist/routes/webhook-runs.d.ts +1 -1
  52. package/dist/routes/workflows.d.ts +25 -14
  53. package/dist/routes/workflows.d.ts.map +1 -1
  54. package/dist/routes/ws/agents.d.ts +4 -1
  55. package/dist/routes/ws/agents.d.ts.map +1 -1
  56. package/dist/routes/ws/logs.d.ts +10 -10
  57. package/dist/schemas/actions.d.ts +3 -3
  58. package/dist/schemas/activity.d.ts +4 -4
  59. package/dist/schemas/agent-approvals.d.ts +21 -21
  60. package/dist/schemas/agents.d.ts +819 -88
  61. package/dist/schemas/agents.d.ts.map +1 -1
  62. package/dist/schemas/ai-accounting.d.ts +1114 -6
  63. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  64. package/dist/schemas/auth.d.ts +49 -2
  65. package/dist/schemas/auth.d.ts.map +1 -1
  66. package/dist/schemas/datasets.d.ts +303 -60
  67. package/dist/schemas/datasets.d.ts.map +1 -1
  68. package/dist/schemas/event-payloads.d.ts +6 -6
  69. package/dist/schemas/events.d.ts +8 -8
  70. package/dist/schemas/lineage.d.ts +1272 -0
  71. package/dist/schemas/lineage.d.ts.map +1 -0
  72. package/dist/schemas/links.d.ts +4 -27
  73. package/dist/schemas/links.d.ts.map +1 -1
  74. package/dist/schemas/logs.d.ts +22 -22
  75. package/dist/schemas/objects.d.ts +7 -26
  76. package/dist/schemas/objects.d.ts.map +1 -1
  77. package/dist/schemas/pipelines.d.ts +12 -12
  78. package/dist/schemas/projections.d.ts +747 -733
  79. package/dist/schemas/projections.d.ts.map +1 -1
  80. package/dist/schemas/rules.d.ts +4 -4
  81. package/dist/schemas/shared-access.d.ts +2 -2
  82. package/dist/schemas/syncs.d.ts +24 -24
  83. package/dist/schemas/telemetry.d.ts +0 -13
  84. package/dist/schemas/telemetry.d.ts.map +1 -1
  85. package/dist/schemas/users.d.ts +8 -0
  86. package/dist/schemas/users.d.ts.map +1 -1
  87. package/dist/schemas/webhook-runs.d.ts +2 -2
  88. package/dist/schemas/workflows.d.ts +133 -44
  89. package/dist/schemas/workflows.d.ts.map +1 -1
  90. package/dist/server.d.ts +5 -0
  91. package/dist/server.d.ts.map +1 -1
  92. package/dist/utils/request-body.d.ts +5 -0
  93. package/dist/utils/request-body.d.ts.map +1 -1
  94. package/dist/utils/request-timing.d.ts +18 -0
  95. package/dist/utils/request-timing.d.ts.map +1 -0
  96. package/package.json +7 -7
  97. package/src/auth/public-routes.ts +0 -6
  98. package/src/auth/run-token.ts +327 -0
  99. package/src/auth/scope.ts +16 -37
  100. package/src/index.ts +1 -0
  101. package/src/registerRoutes.ts +4 -2
  102. package/src/routes/agent-approval-gate.ts +40 -14
  103. package/src/routes/agent-approvals.ts +3 -3
  104. package/src/routes/agent-computers.ts +348 -0
  105. package/src/routes/agent-runners.ts +205 -0
  106. package/src/routes/agents.ts +193 -26
  107. package/src/routes/ai-accounting.ts +149 -12
  108. package/src/routes/artifacts.ts +55 -11
  109. package/src/routes/auth.ts +24 -2
  110. package/src/routes/datasets.ts +60 -5
  111. package/src/routes/links.ts +43 -76
  112. package/src/routes/objects.ts +49 -42
  113. package/src/routes/observed-agent-threads.ts +2 -2
  114. package/src/routes/pipelines.ts +5 -0
  115. package/src/routes/syncs.ts +4 -0
  116. package/src/routes/telemetry.ts +1 -42
  117. package/src/routes/users.ts +15 -2
  118. package/src/routes/ws/agents.ts +10 -1
  119. package/src/schemas/agents.ts +131 -1
  120. package/src/schemas/ai-accounting.ts +78 -15
  121. package/src/schemas/artifacts.ts +1 -1
  122. package/src/schemas/auth.ts +19 -0
  123. package/src/schemas/datasets.ts +36 -0
  124. package/src/schemas/lineage.ts +115 -0
  125. package/src/schemas/links.ts +3 -11
  126. package/src/schemas/objects.ts +6 -10
  127. package/src/schemas/projections.ts +2 -0
  128. package/src/schemas/telemetry.ts +0 -6
  129. package/src/schemas/users.ts +6 -0
  130. package/src/server.ts +53 -15
  131. package/src/utils/request-body.ts +10 -4
  132. package/src/utils/request-timing.ts +136 -0
  133. package/dist/routes/agent-api-gateway.d.ts +0 -4
  134. package/dist/routes/agent-api-gateway.d.ts.map +0 -1
  135. package/src/routes/agent-api-gateway.ts +0 -404
@@ -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;
@@ -138,6 +138,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
138
138
  strategy: "mostRecent";
139
139
  sourceTimestamp: string;
140
140
  };
141
+ users?: Record<string, "email"> | undefined;
141
142
  }[];
142
143
  linkProjections: {
143
144
  id: string;
@@ -152,11 +153,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
152
153
  target: {
153
154
  objectTypeId: string;
154
155
  };
155
- progress: {
156
- sourceRowsRead: number;
157
- sourceRowsSkipped: number;
158
- sourceChangesRead?: number | undefined;
159
- };
160
156
  identity: {
161
157
  projectionId: string;
162
158
  datasetVersion: {
@@ -170,6 +166,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
170
166
  projectionKind: "object";
171
167
  protocol: "replacement";
172
168
  };
169
+ progress: {
170
+ sourceRowsRead: number;
171
+ sourceRowsSkipped: number;
172
+ sourceChangesRead?: number | undefined;
173
+ };
173
174
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
174
175
  startedAt?: string | undefined;
175
176
  finishedAt?: string | undefined;
@@ -184,11 +185,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
184
185
  targetObjectTypeId: string;
185
186
  sourceObjectTypeId: string;
186
187
  };
187
- progress: {
188
- sourceRowsRead: number;
189
- sourceRowsSkipped: number;
190
- sourceChangesRead?: number | undefined;
191
- };
192
188
  identity: {
193
189
  projectionId: string;
194
190
  datasetVersion: {
@@ -202,6 +198,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
202
198
  projectionKind: "link";
203
199
  protocol: "replacement";
204
200
  };
201
+ progress: {
202
+ sourceRowsRead: number;
203
+ sourceRowsSkipped: number;
204
+ sourceChangesRead?: number | undefined;
205
+ };
205
206
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
206
207
  startedAt?: string | undefined;
207
208
  finishedAt?: string | undefined;
@@ -215,11 +216,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
215
216
  target: {
216
217
  objectTypeId: string;
217
218
  };
218
- progress: {
219
- sourceRowsRead: number;
220
- sourceRowsSkipped: number;
221
- sourceChangesRead?: number | undefined;
222
- };
223
219
  identity: {
224
220
  projectionId: string;
225
221
  datasetVersion: {
@@ -233,13 +229,18 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
233
229
  projectionKind: "telemetry";
234
230
  protocol: "telemetry";
235
231
  };
232
+ progress: {
233
+ sourceRowsRead: number;
234
+ sourceRowsSkipped: number;
235
+ sourceChangesRead?: number | undefined;
236
+ };
236
237
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
237
238
  startedAt?: string | undefined;
238
239
  finishedAt?: string | undefined;
239
240
  } | null;
241
+ datasetId: string;
240
242
  linkId: string;
241
243
  sourceObjectTypeId: string;
242
- datasetId: string;
243
244
  sourceField: string;
244
245
  _tag: "LinkProjectionDefinition";
245
246
  targetField: string;
@@ -261,11 +262,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
261
262
  target: {
262
263
  objectTypeId: string;
263
264
  };
264
- progress: {
265
- sourceRowsRead: number;
266
- sourceRowsSkipped: number;
267
- sourceChangesRead?: number | undefined;
268
- };
269
265
  identity: {
270
266
  projectionId: string;
271
267
  datasetVersion: {
@@ -279,6 +275,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
279
275
  projectionKind: "object";
280
276
  protocol: "replacement";
281
277
  };
278
+ progress: {
279
+ sourceRowsRead: number;
280
+ sourceRowsSkipped: number;
281
+ sourceChangesRead?: number | undefined;
282
+ };
282
283
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
283
284
  startedAt?: string | undefined;
284
285
  finishedAt?: string | undefined;
@@ -293,11 +294,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
293
294
  targetObjectTypeId: string;
294
295
  sourceObjectTypeId: string;
295
296
  };
296
- progress: {
297
- sourceRowsRead: number;
298
- sourceRowsSkipped: number;
299
- sourceChangesRead?: number | undefined;
300
- };
301
297
  identity: {
302
298
  projectionId: string;
303
299
  datasetVersion: {
@@ -311,6 +307,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
311
307
  projectionKind: "link";
312
308
  protocol: "replacement";
313
309
  };
310
+ progress: {
311
+ sourceRowsRead: number;
312
+ sourceRowsSkipped: number;
313
+ sourceChangesRead?: number | undefined;
314
+ };
314
315
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
315
316
  startedAt?: string | undefined;
316
317
  finishedAt?: string | undefined;
@@ -324,11 +325,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
324
325
  target: {
325
326
  objectTypeId: string;
326
327
  };
327
- progress: {
328
- sourceRowsRead: number;
329
- sourceRowsSkipped: number;
330
- sourceChangesRead?: number | undefined;
331
- };
332
328
  identity: {
333
329
  projectionId: string;
334
330
  datasetVersion: {
@@ -342,6 +338,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
342
338
  projectionKind: "telemetry";
343
339
  protocol: "telemetry";
344
340
  };
341
+ progress: {
342
+ sourceRowsRead: number;
343
+ sourceRowsSkipped: number;
344
+ sourceChangesRead?: number | undefined;
345
+ };
345
346
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
346
347
  startedAt?: string | undefined;
347
348
  finishedAt?: string | undefined;
@@ -397,11 +398,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
397
398
  target: {
398
399
  objectTypeId: string;
399
400
  };
400
- progress: {
401
- sourceRowsRead: number;
402
- sourceRowsSkipped: number;
403
- sourceChangesRead?: number | undefined;
404
- };
405
401
  identity: {
406
402
  projectionId: string;
407
403
  datasetVersion: {
@@ -415,6 +411,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
415
411
  projectionKind: "object";
416
412
  protocol: "replacement";
417
413
  };
414
+ progress: {
415
+ sourceRowsRead: number;
416
+ sourceRowsSkipped: number;
417
+ sourceChangesRead?: number | undefined;
418
+ };
418
419
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
419
420
  startedAt?: string | undefined;
420
421
  finishedAt?: string | undefined;
@@ -429,11 +430,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
429
430
  targetObjectTypeId: string;
430
431
  sourceObjectTypeId: string;
431
432
  };
432
- progress: {
433
- sourceRowsRead: number;
434
- sourceRowsSkipped: number;
435
- sourceChangesRead?: number | undefined;
436
- };
437
433
  identity: {
438
434
  projectionId: string;
439
435
  datasetVersion: {
@@ -447,6 +443,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
447
443
  projectionKind: "link";
448
444
  protocol: "replacement";
449
445
  };
446
+ progress: {
447
+ sourceRowsRead: number;
448
+ sourceRowsSkipped: number;
449
+ sourceChangesRead?: number | undefined;
450
+ };
450
451
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
451
452
  startedAt?: string | undefined;
452
453
  finishedAt?: string | undefined;
@@ -460,11 +461,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
460
461
  target: {
461
462
  objectTypeId: string;
462
463
  };
463
- progress: {
464
- sourceRowsRead: number;
465
- sourceRowsSkipped: number;
466
- sourceChangesRead?: number | undefined;
467
- };
468
464
  identity: {
469
465
  projectionId: string;
470
466
  datasetVersion: {
@@ -478,6 +474,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
478
474
  projectionKind: "telemetry";
479
475
  protocol: "telemetry";
480
476
  };
477
+ progress: {
478
+ sourceRowsRead: number;
479
+ sourceRowsSkipped: number;
480
+ sourceChangesRead?: number | undefined;
481
+ };
481
482
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
482
483
  startedAt?: string | undefined;
483
484
  finishedAt?: string | undefined;
@@ -490,6 +491,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
490
491
  strategy: "mostRecent";
491
492
  sourceTimestamp: string;
492
493
  };
494
+ users?: Record<string, "email"> | undefined;
493
495
  } | {
494
496
  id: string;
495
497
  targetObjectTypeId: string;
@@ -503,11 +505,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
503
505
  target: {
504
506
  objectTypeId: string;
505
507
  };
506
- progress: {
507
- sourceRowsRead: number;
508
- sourceRowsSkipped: number;
509
- sourceChangesRead?: number | undefined;
510
- };
511
508
  identity: {
512
509
  projectionId: string;
513
510
  datasetVersion: {
@@ -521,6 +518,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
521
518
  projectionKind: "object";
522
519
  protocol: "replacement";
523
520
  };
521
+ progress: {
522
+ sourceRowsRead: number;
523
+ sourceRowsSkipped: number;
524
+ sourceChangesRead?: number | undefined;
525
+ };
524
526
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
525
527
  startedAt?: string | undefined;
526
528
  finishedAt?: string | undefined;
@@ -535,11 +537,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
535
537
  targetObjectTypeId: string;
536
538
  sourceObjectTypeId: string;
537
539
  };
538
- progress: {
539
- sourceRowsRead: number;
540
- sourceRowsSkipped: number;
541
- sourceChangesRead?: number | undefined;
542
- };
543
540
  identity: {
544
541
  projectionId: string;
545
542
  datasetVersion: {
@@ -553,6 +550,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
553
550
  projectionKind: "link";
554
551
  protocol: "replacement";
555
552
  };
553
+ progress: {
554
+ sourceRowsRead: number;
555
+ sourceRowsSkipped: number;
556
+ sourceChangesRead?: number | undefined;
557
+ };
556
558
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
557
559
  startedAt?: string | undefined;
558
560
  finishedAt?: string | undefined;
@@ -566,11 +568,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
566
568
  target: {
567
569
  objectTypeId: string;
568
570
  };
569
- progress: {
570
- sourceRowsRead: number;
571
- sourceRowsSkipped: number;
572
- sourceChangesRead?: number | undefined;
573
- };
574
571
  identity: {
575
572
  projectionId: string;
576
573
  datasetVersion: {
@@ -584,13 +581,18 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
584
581
  projectionKind: "telemetry";
585
582
  protocol: "telemetry";
586
583
  };
584
+ progress: {
585
+ sourceRowsRead: number;
586
+ sourceRowsSkipped: number;
587
+ sourceChangesRead?: number | undefined;
588
+ };
587
589
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
588
590
  startedAt?: string | undefined;
589
591
  finishedAt?: string | undefined;
590
592
  } | null;
593
+ datasetId: string;
591
594
  linkId: string;
592
595
  sourceObjectTypeId: string;
593
- datasetId: string;
594
596
  sourceField: string;
595
597
  _tag: "LinkProjectionDefinition";
596
598
  targetField: string;
@@ -611,11 +613,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
611
613
  target: {
612
614
  objectTypeId: string;
613
615
  };
614
- progress: {
615
- sourceRowsRead: number;
616
- sourceRowsSkipped: number;
617
- sourceChangesRead?: number | undefined;
618
- };
619
616
  identity: {
620
617
  projectionId: string;
621
618
  datasetVersion: {
@@ -629,6 +626,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
629
626
  projectionKind: "object";
630
627
  protocol: "replacement";
631
628
  };
629
+ progress: {
630
+ sourceRowsRead: number;
631
+ sourceRowsSkipped: number;
632
+ sourceChangesRead?: number | undefined;
633
+ };
632
634
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
633
635
  startedAt?: string | undefined;
634
636
  finishedAt?: string | undefined;
@@ -643,11 +645,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
643
645
  targetObjectTypeId: string;
644
646
  sourceObjectTypeId: string;
645
647
  };
646
- progress: {
647
- sourceRowsRead: number;
648
- sourceRowsSkipped: number;
649
- sourceChangesRead?: number | undefined;
650
- };
651
648
  identity: {
652
649
  projectionId: string;
653
650
  datasetVersion: {
@@ -661,6 +658,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
661
658
  projectionKind: "link";
662
659
  protocol: "replacement";
663
660
  };
661
+ progress: {
662
+ sourceRowsRead: number;
663
+ sourceRowsSkipped: number;
664
+ sourceChangesRead?: number | undefined;
665
+ };
664
666
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
665
667
  startedAt?: string | undefined;
666
668
  finishedAt?: string | undefined;
@@ -674,11 +676,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
674
676
  target: {
675
677
  objectTypeId: string;
676
678
  };
677
- progress: {
678
- sourceRowsRead: number;
679
- sourceRowsSkipped: number;
680
- sourceChangesRead?: number | undefined;
681
- };
682
679
  identity: {
683
680
  projectionId: string;
684
681
  datasetVersion: {
@@ -692,6 +689,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
692
689
  projectionKind: "telemetry";
693
690
  protocol: "telemetry";
694
691
  };
692
+ progress: {
693
+ sourceRowsRead: number;
694
+ sourceRowsSkipped: number;
695
+ sourceChangesRead?: number | undefined;
696
+ };
695
697
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
696
698
  startedAt?: string | undefined;
697
699
  finishedAt?: string | undefined;
@@ -749,11 +751,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
749
751
  target: {
750
752
  objectTypeId: string;
751
753
  };
752
- progress: {
753
- sourceRowsRead: number;
754
- sourceRowsSkipped: number;
755
- sourceChangesRead?: number | undefined;
756
- };
757
754
  identity: {
758
755
  projectionId: string;
759
756
  datasetVersion: {
@@ -767,6 +764,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
767
764
  projectionKind: "object";
768
765
  protocol: "replacement";
769
766
  };
767
+ progress: {
768
+ sourceRowsRead: number;
769
+ sourceRowsSkipped: number;
770
+ sourceChangesRead?: number | undefined;
771
+ };
770
772
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
771
773
  startedAt?: string | undefined;
772
774
  finishedAt?: string | undefined;
@@ -781,11 +783,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
781
783
  targetObjectTypeId: string;
782
784
  sourceObjectTypeId: string;
783
785
  };
784
- progress: {
785
- sourceRowsRead: number;
786
- sourceRowsSkipped: number;
787
- sourceChangesRead?: number | undefined;
788
- };
789
786
  identity: {
790
787
  projectionId: string;
791
788
  datasetVersion: {
@@ -799,6 +796,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
799
796
  projectionKind: "link";
800
797
  protocol: "replacement";
801
798
  };
799
+ progress: {
800
+ sourceRowsRead: number;
801
+ sourceRowsSkipped: number;
802
+ sourceChangesRead?: number | undefined;
803
+ };
802
804
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
803
805
  startedAt?: string | undefined;
804
806
  finishedAt?: string | undefined;
@@ -812,11 +814,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
812
814
  target: {
813
815
  objectTypeId: string;
814
816
  };
815
- progress: {
816
- sourceRowsRead: number;
817
- sourceRowsSkipped: number;
818
- sourceChangesRead?: number | undefined;
819
- };
820
817
  identity: {
821
818
  projectionId: string;
822
819
  datasetVersion: {
@@ -830,6 +827,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
830
827
  projectionKind: "telemetry";
831
828
  protocol: "telemetry";
832
829
  };
830
+ progress: {
831
+ sourceRowsRead: number;
832
+ sourceRowsSkipped: number;
833
+ sourceChangesRead?: number | undefined;
834
+ };
833
835
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
834
836
  startedAt?: string | undefined;
835
837
  finishedAt?: string | undefined;
@@ -878,11 +880,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
878
880
  target: {
879
881
  objectTypeId: string;
880
882
  };
881
- progress: {
882
- sourceRowsRead: number;
883
- sourceRowsSkipped: number;
884
- sourceChangesRead?: number | undefined;
885
- };
886
883
  identity: {
887
884
  projectionId: string;
888
885
  datasetVersion: {
@@ -896,6 +893,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
896
893
  projectionKind: "object";
897
894
  protocol: "replacement";
898
895
  };
896
+ progress: {
897
+ sourceRowsRead: number;
898
+ sourceRowsSkipped: number;
899
+ sourceChangesRead?: number | undefined;
900
+ };
899
901
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
900
902
  startedAt?: string | undefined;
901
903
  finishedAt?: string | undefined;
@@ -910,11 +912,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
910
912
  targetObjectTypeId: string;
911
913
  sourceObjectTypeId: string;
912
914
  };
913
- progress: {
914
- sourceRowsRead: number;
915
- sourceRowsSkipped: number;
916
- sourceChangesRead?: number | undefined;
917
- };
918
915
  identity: {
919
916
  projectionId: string;
920
917
  datasetVersion: {
@@ -928,6 +925,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
928
925
  projectionKind: "link";
929
926
  protocol: "replacement";
930
927
  };
928
+ progress: {
929
+ sourceRowsRead: number;
930
+ sourceRowsSkipped: number;
931
+ sourceChangesRead?: number | undefined;
932
+ };
931
933
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
932
934
  startedAt?: string | undefined;
933
935
  finishedAt?: string | undefined;
@@ -941,11 +943,6 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
941
943
  target: {
942
944
  objectTypeId: string;
943
945
  };
944
- progress: {
945
- sourceRowsRead: number;
946
- sourceRowsSkipped: number;
947
- sourceChangesRead?: number | undefined;
948
- };
949
946
  identity: {
950
947
  projectionId: string;
951
948
  datasetVersion: {
@@ -959,6 +956,11 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
959
956
  projectionKind: "telemetry";
960
957
  protocol: "telemetry";
961
958
  };
959
+ progress: {
960
+ sourceRowsRead: number;
961
+ sourceRowsSkipped: number;
962
+ sourceChangesRead?: number | undefined;
963
+ };
962
964
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled" | "storage.unavailable"> | undefined;
963
965
  startedAt?: string | undefined;
964
966
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgIvE"}
@@ -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: {
@@ -32,8 +32,8 @@ export declare function registerSharedAccessRoutes(app: Elysia, boundary: Shared
32
32
  response: {
33
33
  200: {
34
34
  grantId: string;
35
- csrfToken: string;
36
35
  expiresAt: string;
36
+ csrfToken: string;
37
37
  destinationPath: string;
38
38
  absoluteExpiresAt: string;
39
39
  };
@@ -73,8 +73,8 @@ export declare function registerSharedAccessRoutes(app: Elysia, boundary: Shared
73
73
  response: {
74
74
  200: {
75
75
  grantId: string;
76
- csrfToken: string;
77
76
  expiresAt: string;
77
+ csrfToken: string;
78
78
  destinationPath: string;
79
79
  absoluteExpiresAt: string;
80
80
  };