@sixb/server 0.1.0 → 0.1.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 (49) hide show
  1. package/dist/auth/scope.d.ts +8 -0
  2. package/dist/auth/scope.d.ts.map +1 -1
  3. package/dist/files/content.d.ts +11 -0
  4. package/dist/files/content.d.ts.map +1 -1
  5. package/dist/index.js +2114 -2080
  6. package/dist/index.js.map +14 -14
  7. package/dist/routes/action-runs.d.ts.map +1 -1
  8. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  9. package/dist/routes/agents.d.ts +21 -21
  10. package/dist/routes/auth.d.ts +6 -6
  11. package/dist/routes/datasets.d.ts +7 -5
  12. package/dist/routes/datasets.d.ts.map +1 -1
  13. package/dist/routes/events.d.ts +1 -1
  14. package/dist/routes/files.d.ts.map +1 -1
  15. package/dist/routes/links.d.ts.map +1 -1
  16. package/dist/routes/logs.d.ts +2 -2
  17. package/dist/routes/ontology.d.ts +24 -24
  18. package/dist/routes/pipelines.d.ts +4 -0
  19. package/dist/routes/pipelines.d.ts.map +1 -1
  20. package/dist/routes/syncs.d.ts +7 -5
  21. package/dist/routes/syncs.d.ts.map +1 -1
  22. package/dist/routes/workflows.d.ts +61 -62
  23. package/dist/routes/workflows.d.ts.map +1 -1
  24. package/dist/routes/ws/logs.d.ts +10 -10
  25. package/dist/schemas/agents.d.ts +84 -84
  26. package/dist/schemas/auth.d.ts +26 -26
  27. package/dist/schemas/datasets.d.ts +27 -21
  28. package/dist/schemas/datasets.d.ts.map +1 -1
  29. package/dist/schemas/events.d.ts +10 -10
  30. package/dist/schemas/logs.d.ts +18 -18
  31. package/dist/schemas/ontology.d.ts +88 -88
  32. package/dist/schemas/pipelines.d.ts +36 -0
  33. package/dist/schemas/pipelines.d.ts.map +1 -1
  34. package/dist/schemas/syncs.d.ts +23 -16
  35. package/dist/schemas/syncs.d.ts.map +1 -1
  36. package/dist/schemas/workflows.d.ts +299 -246
  37. package/dist/schemas/workflows.d.ts.map +1 -1
  38. package/package.json +8 -5
  39. package/src/auth/scope.ts +16 -2
  40. package/src/files/content.ts +11 -0
  41. package/src/routes/action-runs.ts +10 -3
  42. package/src/routes/agent-api-gateway.ts +46 -4
  43. package/src/routes/files.ts +2 -1
  44. package/src/routes/links.ts +1 -0
  45. package/src/routes/workflows.ts +39 -16
  46. package/src/schemas/datasets.ts +3 -2
  47. package/src/schemas/pipelines.ts +1 -25
  48. package/src/schemas/syncs.ts +3 -2
  49. package/src/schemas/workflows.ts +27 -20
@@ -1 +1 @@
1
- {"version":3,"file":"action-runs.d.ts","sourceRoot":"","sources":["../../src/routes/action-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAGtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8GpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HzF"}
1
+ {"version":3,"file":"action-runs.d.ts","sourceRoot":"","sources":["../../src/routes/action-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAGtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAkHpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+HzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"agent-api-gateway.d.ts","sourceRoot":"","sources":["../../src/routes/agent-api-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAA+B,KAAK,IAAI,EAAE,MAAM,YAAY,CAAA;AAQxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAepC,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC,QAuB/F"}
1
+ {"version":3,"file":"agent-api-gateway.d.ts","sourceRoot":"","sources":["../../src/routes/agent-api-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAA+B,KAAK,IAAI,EAAE,MAAM,YAAY,CAAA;AAQxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgBpC,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC,QAuB/F"}
@@ -117,7 +117,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
117
117
  status: "active" | "archived";
118
118
  projectId: string;
119
119
  ownerPrincipal: {
120
- type: "serviceAccount" | "user" | "system";
120
+ type: "user" | "serviceAccount" | "system";
121
121
  id: string;
122
122
  };
123
123
  agentId: string;
@@ -167,7 +167,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
167
167
  status: "active" | "archived";
168
168
  projectId: string;
169
169
  ownerPrincipal: {
170
- type: "serviceAccount" | "user" | "system";
170
+ type: "user" | "serviceAccount" | "system";
171
171
  id: string;
172
172
  };
173
173
  agentId: string;
@@ -199,7 +199,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
199
199
  status: "active" | "archived";
200
200
  projectId: string;
201
201
  ownerPrincipal: {
202
- type: "serviceAccount" | "user" | "system";
202
+ type: "user" | "serviceAccount" | "system";
203
203
  id: string;
204
204
  };
205
205
  agentId: string;
@@ -241,7 +241,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
241
241
  status: "active" | "archived";
242
242
  projectId: string;
243
243
  ownerPrincipal: {
244
- type: "serviceAccount" | "user" | "system";
244
+ type: "user" | "serviceAccount" | "system";
245
245
  id: string;
246
246
  };
247
247
  agentId: string;
@@ -373,7 +373,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
373
373
  contentVersion: number;
374
374
  completedAt?: string | undefined;
375
375
  authorPrincipal?: {
376
- type: "serviceAccount" | "user" | "system";
376
+ type: "user" | "serviceAccount" | "system";
377
377
  id: string;
378
378
  } | undefined;
379
379
  metadata?: import("../schemas/common").JsonValue | undefined;
@@ -535,7 +535,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
535
535
  createdAt: string;
536
536
  triggerMessageId: string;
537
537
  requestedByPrincipal: {
538
- type: "serviceAccount" | "user" | "system";
538
+ type: "user" | "serviceAccount" | "system";
539
539
  id: string;
540
540
  };
541
541
  attempt: number;
@@ -544,7 +544,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
544
544
  startedAt?: string | undefined;
545
545
  completedAt?: string | undefined;
546
546
  executionPrincipal?: {
547
- type: "serviceAccount" | "user" | "system";
547
+ type: "user" | "serviceAccount" | "system";
548
548
  id: string;
549
549
  } | undefined;
550
550
  modelId?: string | undefined;
@@ -592,7 +592,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
592
592
  createdAt: string;
593
593
  triggerMessageId: string;
594
594
  requestedByPrincipal: {
595
- type: "serviceAccount" | "user" | "system";
595
+ type: "user" | "serviceAccount" | "system";
596
596
  id: string;
597
597
  };
598
598
  attempt: number;
@@ -601,7 +601,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
601
601
  startedAt?: string | undefined;
602
602
  completedAt?: string | undefined;
603
603
  executionPrincipal?: {
604
- type: "serviceAccount" | "user" | "system";
604
+ type: "user" | "serviceAccount" | "system";
605
605
  id: string;
606
606
  } | undefined;
607
607
  modelId?: string | undefined;
@@ -662,7 +662,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
662
662
  createdAt: string;
663
663
  triggerMessageId: string;
664
664
  requestedByPrincipal: {
665
- type: "serviceAccount" | "user" | "system";
665
+ type: "user" | "serviceAccount" | "system";
666
666
  id: string;
667
667
  };
668
668
  attempt: number;
@@ -671,7 +671,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
671
671
  startedAt?: string | undefined;
672
672
  completedAt?: string | undefined;
673
673
  executionPrincipal?: {
674
- type: "serviceAccount" | "user" | "system";
674
+ type: "user" | "serviceAccount" | "system";
675
675
  id: string;
676
676
  } | undefined;
677
677
  modelId?: string | undefined;
@@ -716,7 +716,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
716
716
  createdAt: string;
717
717
  triggerMessageId: string;
718
718
  requestedByPrincipal: {
719
- type: "serviceAccount" | "user" | "system";
719
+ type: "user" | "serviceAccount" | "system";
720
720
  id: string;
721
721
  };
722
722
  attempt: number;
@@ -725,7 +725,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
725
725
  startedAt?: string | undefined;
726
726
  completedAt?: string | undefined;
727
727
  executionPrincipal?: {
728
- type: "serviceAccount" | "user" | "system";
728
+ type: "user" | "serviceAccount" | "system";
729
729
  id: string;
730
730
  } | undefined;
731
731
  modelId?: string | undefined;
@@ -787,7 +787,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
787
787
  createdAt: string;
788
788
  triggerMessageId: string;
789
789
  requestedByPrincipal: {
790
- type: "serviceAccount" | "user" | "system";
790
+ type: "user" | "serviceAccount" | "system";
791
791
  id: string;
792
792
  };
793
793
  attempt: number;
@@ -796,7 +796,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
796
796
  startedAt?: string | undefined;
797
797
  completedAt?: string | undefined;
798
798
  executionPrincipal?: {
799
- type: "serviceAccount" | "user" | "system";
799
+ type: "user" | "serviceAccount" | "system";
800
800
  id: string;
801
801
  } | undefined;
802
802
  modelId?: string | undefined;
@@ -841,7 +841,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
841
841
  createdAt: string;
842
842
  triggerMessageId: string;
843
843
  requestedByPrincipal: {
844
- type: "serviceAccount" | "user" | "system";
844
+ type: "user" | "serviceAccount" | "system";
845
845
  id: string;
846
846
  };
847
847
  attempt: number;
@@ -850,7 +850,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
850
850
  startedAt?: string | undefined;
851
851
  completedAt?: string | undefined;
852
852
  executionPrincipal?: {
853
- type: "serviceAccount" | "user" | "system";
853
+ type: "user" | "serviceAccount" | "system";
854
854
  id: string;
855
855
  } | undefined;
856
856
  modelId?: string | undefined;
@@ -916,7 +916,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
916
916
  createdAt: string;
917
917
  triggerMessageId: string;
918
918
  requestedByPrincipal: {
919
- type: "serviceAccount" | "user" | "system";
919
+ type: "user" | "serviceAccount" | "system";
920
920
  id: string;
921
921
  };
922
922
  attempt: number;
@@ -925,7 +925,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
925
925
  startedAt?: string | undefined;
926
926
  completedAt?: string | undefined;
927
927
  executionPrincipal?: {
928
- type: "serviceAccount" | "user" | "system";
928
+ type: "user" | "serviceAccount" | "system";
929
929
  id: string;
930
930
  } | undefined;
931
931
  modelId?: string | undefined;
@@ -993,7 +993,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
993
993
  createdAt: string;
994
994
  triggerMessageId: string;
995
995
  requestedByPrincipal: {
996
- type: "serviceAccount" | "user" | "system";
996
+ type: "user" | "serviceAccount" | "system";
997
997
  id: string;
998
998
  };
999
999
  attempt: number;
@@ -1002,7 +1002,7 @@ export declare function registerAgentRoutes(app: Elysia, sixb: Sixb<readonly Ont
1002
1002
  startedAt?: string | undefined;
1003
1003
  completedAt?: string | undefined;
1004
1004
  executionPrincipal?: {
1005
- type: "serviceAccount" | "user" | "system";
1005
+ type: "user" | "serviceAccount" | "system";
1006
1006
  id: string;
1007
1007
  } | undefined;
1008
1008
  modelId?: string | undefined;
@@ -268,7 +268,7 @@ export declare function registerAuthRoutes(app: Elysia, sixb: Sixb<readonly Onto
268
268
  id: string;
269
269
  expiresAt: string;
270
270
  createdAt: string;
271
- subjectType: "serviceAccount" | "user";
271
+ subjectType: "user" | "serviceAccount";
272
272
  subjectId: string;
273
273
  groupIds?: string[] | undefined;
274
274
  revokedAt?: string | undefined;
@@ -330,7 +330,7 @@ export declare function registerAuthRoutes(app: Elysia, sixb: Sixb<readonly Onto
330
330
  id: string;
331
331
  expiresAt: string;
332
332
  createdAt: string;
333
- subjectType: "serviceAccount" | "user";
333
+ subjectType: "user" | "serviceAccount";
334
334
  subjectId: string;
335
335
  groupIds?: string[] | undefined;
336
336
  revokedAt?: string | undefined;
@@ -380,7 +380,7 @@ export declare function registerAuthRoutes(app: Elysia, sixb: Sixb<readonly Onto
380
380
  id: string;
381
381
  expiresAt: string;
382
382
  createdAt: string;
383
- subjectType: "serviceAccount" | "user";
383
+ subjectType: "user" | "serviceAccount";
384
384
  subjectId: string;
385
385
  groupIds?: string[] | undefined;
386
386
  revokedAt?: string | undefined;
@@ -590,7 +590,7 @@ export declare function registerAuthRoutes(app: Elysia, sixb: Sixb<readonly Onto
590
590
  id: string;
591
591
  expiresAt: string;
592
592
  createdAt: string;
593
- subjectType: "serviceAccount" | "user";
593
+ subjectType: "user" | "serviceAccount";
594
594
  subjectId: string;
595
595
  groupIds?: string[] | undefined;
596
596
  revokedAt?: string | undefined;
@@ -667,7 +667,7 @@ export declare function registerAuthRoutes(app: Elysia, sixb: Sixb<readonly Onto
667
667
  id: string;
668
668
  expiresAt: string;
669
669
  createdAt: string;
670
- subjectType: "serviceAccount" | "user";
670
+ subjectType: "user" | "serviceAccount";
671
671
  subjectId: string;
672
672
  groupIds?: string[] | undefined;
673
673
  revokedAt?: string | undefined;
@@ -722,7 +722,7 @@ export declare function registerAuthRoutes(app: Elysia, sixb: Sixb<readonly Onto
722
722
  id: string;
723
723
  expiresAt: string;
724
724
  createdAt: string;
725
- subjectType: "serviceAccount" | "user";
725
+ subjectType: "user" | "serviceAccount";
726
726
  subjectId: string;
727
727
  groupIds?: string[] | undefined;
728
728
  revokedAt?: string | undefined;
@@ -37,7 +37,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
37
37
  syncIds: string[];
38
38
  materialized: boolean;
39
39
  latestVersion: {
40
- mode: "append" | "schema" | "snapshot";
40
+ mode: "append" | "schema" | "snapshot" | "merge";
41
41
  createdAt: string;
42
42
  datasetId: string;
43
43
  versionId: string;
@@ -47,6 +47,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
47
47
  targetPipelineIds: string[];
48
48
  projectionIds: string[];
49
49
  description?: string | undefined;
50
+ primaryKey?: string | string[] | undefined;
50
51
  partitionBy?: string[] | undefined;
51
52
  }[];
52
53
  400: {
@@ -90,7 +91,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
90
91
  syncIds: string[];
91
92
  materialized: boolean;
92
93
  latestVersion: {
93
- mode: "append" | "schema" | "snapshot";
94
+ mode: "append" | "schema" | "snapshot" | "merge";
94
95
  createdAt: string;
95
96
  datasetId: string;
96
97
  versionId: string;
@@ -100,6 +101,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
100
101
  targetPipelineIds: string[];
101
102
  projectionIds: string[];
102
103
  description?: string | undefined;
104
+ primaryKey?: string | string[] | undefined;
103
105
  partitionBy?: string[] | undefined;
104
106
  };
105
107
  400: {
@@ -140,7 +142,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
140
142
  200: {
141
143
  count: number;
142
144
  versions: {
143
- mode: "append" | "schema" | "snapshot";
145
+ mode: "append" | "schema" | "snapshot" | "merge";
144
146
  schema: {
145
147
  columns: {
146
148
  name: string;
@@ -202,7 +204,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
202
204
  headers: unknown;
203
205
  response: {
204
206
  200: {
205
- mode: "append" | "schema" | "snapshot";
207
+ mode: "append" | "schema" | "snapshot" | "merge";
206
208
  schema: {
207
209
  columns: {
208
210
  name: string;
@@ -272,7 +274,7 @@ export declare function registerDatasetRoutes(app: Elysia, sixb: Sixb<readonly O
272
274
  offset: number;
273
275
  hasMore: boolean;
274
276
  version: {
275
- mode: "append" | "schema" | "snapshot";
277
+ mode: "append" | "schema" | "snapshot" | "merge";
276
278
  schema: {
277
279
  columns: {
278
280
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,cAAc,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAMzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmNpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwLvF"}
1
+ {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,cAAc,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAMzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmNpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwLvF"}
@@ -73,7 +73,7 @@ export declare function registerEventRoutes(app: Elysia, sixb: Sixb<readonly Ont
73
73
  causationId?: string | undefined;
74
74
  idempotencyKey?: string | undefined;
75
75
  actor?: {
76
- type: "serviceAccount" | "user" | "system";
76
+ type: "user" | "serviceAccount" | "system";
77
77
  id: string;
78
78
  } | undefined;
79
79
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAEnB,KAAK,IAAI,EACV,MAAM,YAAY,CAAA;AAQnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAInG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqapF"}
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAEnB,KAAK,IAAI,EACV,MAAM,YAAY,CAAA;AAQnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAInG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqapF"}
@@ -1 +1 @@
1
- {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/routes/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAA;AAEtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsBpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsHpF"}
1
+ {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/routes/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAA;AAEtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsBpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuHpF"}
@@ -22,7 +22,7 @@ export declare function registerLogRoutes(app: Elysia, sixb: Sixb<readonly Ontol
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- kind?: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "workflow" | undefined;
25
+ kind?: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | undefined;
26
26
  limit?: number | undefined;
27
27
  runId?: string | undefined;
28
28
  afterCursor?: string | undefined;
@@ -40,7 +40,7 @@ export declare function registerLogRoutes(app: Elysia, sixb: Sixb<readonly Ontol
40
40
  message: string;
41
41
  context: {
42
42
  run: {
43
- kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "workflow";
43
+ kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
44
44
  id: string;
45
45
  };
46
46
  phase?: string | undefined;
@@ -35,12 +35,6 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
35
35
  name: string;
36
36
  id: string;
37
37
  description?: string | undefined;
38
- mode?: "telemetry" | "static" | undefined;
39
- required?: boolean | undefined;
40
- nullable?: boolean | undefined;
41
- primary?: boolean | undefined;
42
- semanticType?: string | undefined;
43
- schema?: unknown;
44
38
  query?: {
45
39
  text?: boolean | undefined;
46
40
  exact?: boolean | undefined;
@@ -51,6 +45,12 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
51
45
  vector?: boolean | undefined;
52
46
  weight?: number | undefined;
53
47
  } | undefined;
48
+ mode?: "telemetry" | "static" | undefined;
49
+ required?: boolean | undefined;
50
+ nullable?: boolean | undefined;
51
+ primary?: boolean | undefined;
52
+ semanticType?: string | undefined;
53
+ schema?: unknown;
54
54
  }[] | undefined;
55
55
  }[];
56
56
  actions: {
@@ -73,12 +73,6 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
73
73
  name: string;
74
74
  id: string;
75
75
  description?: string | undefined;
76
- mode?: "telemetry" | "static" | undefined;
77
- required?: boolean | undefined;
78
- nullable?: boolean | undefined;
79
- primary?: boolean | undefined;
80
- semanticType?: string | undefined;
81
- schema?: unknown;
82
76
  query?: {
83
77
  text?: boolean | undefined;
84
78
  exact?: boolean | undefined;
@@ -89,6 +83,12 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
89
83
  vector?: boolean | undefined;
90
84
  weight?: number | undefined;
91
85
  } | undefined;
86
+ mode?: "telemetry" | "static" | undefined;
87
+ required?: boolean | undefined;
88
+ nullable?: boolean | undefined;
89
+ primary?: boolean | undefined;
90
+ semanticType?: string | undefined;
91
+ schema?: unknown;
92
92
  }[];
93
93
  description?: string | undefined;
94
94
  extends?: string | undefined;
@@ -139,12 +139,6 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
139
139
  name: string;
140
140
  id: string;
141
141
  description?: string | undefined;
142
- mode?: "telemetry" | "static" | undefined;
143
- required?: boolean | undefined;
144
- nullable?: boolean | undefined;
145
- primary?: boolean | undefined;
146
- semanticType?: string | undefined;
147
- schema?: unknown;
148
142
  query?: {
149
143
  text?: boolean | undefined;
150
144
  exact?: boolean | undefined;
@@ -155,6 +149,12 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
155
149
  vector?: boolean | undefined;
156
150
  weight?: number | undefined;
157
151
  } | undefined;
152
+ mode?: "telemetry" | "static" | undefined;
153
+ required?: boolean | undefined;
154
+ nullable?: boolean | undefined;
155
+ primary?: boolean | undefined;
156
+ semanticType?: string | undefined;
157
+ schema?: unknown;
158
158
  }[] | undefined;
159
159
  }[];
160
160
  actions: {
@@ -177,12 +177,6 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
177
177
  name: string;
178
178
  id: string;
179
179
  description?: string | undefined;
180
- mode?: "telemetry" | "static" | undefined;
181
- required?: boolean | undefined;
182
- nullable?: boolean | undefined;
183
- primary?: boolean | undefined;
184
- semanticType?: string | undefined;
185
- schema?: unknown;
186
180
  query?: {
187
181
  text?: boolean | undefined;
188
182
  exact?: boolean | undefined;
@@ -193,6 +187,12 @@ export declare function registerOntologyRoutes(app: Elysia, sixb: Sixb<readonly
193
187
  vector?: boolean | undefined;
194
188
  weight?: number | undefined;
195
189
  } | undefined;
190
+ mode?: "telemetry" | "static" | undefined;
191
+ required?: boolean | undefined;
192
+ nullable?: boolean | undefined;
193
+ primary?: boolean | undefined;
194
+ semanticType?: string | undefined;
195
+ schema?: unknown;
196
196
  }[];
197
197
  description?: string | undefined;
198
198
  extends?: string | undefined;
@@ -47,6 +47,7 @@ export declare function registerPipelineRoutes(app: Elysia, sixb: Sixb<readonly
47
47
  }[];
48
48
  };
49
49
  description?: string | undefined;
50
+ primaryKey?: string | string[] | undefined;
50
51
  partitionBy?: string[] | undefined;
51
52
  };
52
53
  inputs: {
@@ -61,6 +62,7 @@ export declare function registerPipelineRoutes(app: Elysia, sixb: Sixb<readonly
61
62
  }[];
62
63
  };
63
64
  description?: string | undefined;
65
+ primaryKey?: string | string[] | undefined;
64
66
  partitionBy?: string[] | undefined;
65
67
  };
66
68
  }[];
@@ -138,6 +140,7 @@ export declare function registerPipelineRoutes(app: Elysia, sixb: Sixb<readonly
138
140
  }[];
139
141
  };
140
142
  description?: string | undefined;
143
+ primaryKey?: string | string[] | undefined;
141
144
  partitionBy?: string[] | undefined;
142
145
  };
143
146
  inputs: {
@@ -152,6 +155,7 @@ export declare function registerPipelineRoutes(app: Elysia, sixb: Sixb<readonly
152
155
  }[];
153
156
  };
154
157
  description?: string | undefined;
158
+ primaryKey?: string | string[] | undefined;
155
159
  partitionBy?: string[] | undefined;
156
160
  };
157
161
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAA4C,IAAI,EAAE,MAAM,YAAY,CAAA;AAGhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoIpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoMxF"}
1
+ {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAA4C,IAAI,EAAE,MAAM,YAAY,CAAA;AAGhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoIpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoMxF"}
@@ -26,7 +26,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
26
26
  response: {
27
27
  200: {
28
28
  id: string;
29
- mode: "append" | "snapshot";
29
+ mode: "append" | "snapshot" | "merge";
30
30
  triggers: {
31
31
  type: "schedule";
32
32
  scheduleId: string;
@@ -35,7 +35,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
35
35
  status: "running" | "succeeded" | "failed" | "cancelled";
36
36
  projectId: string;
37
37
  id: string;
38
- mode: "append" | "snapshot";
38
+ mode: "append" | "snapshot" | "merge";
39
39
  startedAt: string;
40
40
  datasetId: string;
41
41
  syncId: string;
@@ -64,6 +64,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
64
64
  }[];
65
65
  };
66
66
  description?: string | undefined;
67
+ primaryKey?: string | string[] | undefined;
67
68
  partitionBy?: string[] | undefined;
68
69
  };
69
70
  };
@@ -99,7 +100,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
99
100
  response: {
100
101
  200: {
101
102
  id: string;
102
- mode: "append" | "snapshot";
103
+ mode: "append" | "snapshot" | "merge";
103
104
  triggers: {
104
105
  type: "schedule";
105
106
  scheduleId: string;
@@ -108,7 +109,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
108
109
  status: "running" | "succeeded" | "failed" | "cancelled";
109
110
  projectId: string;
110
111
  id: string;
111
- mode: "append" | "snapshot";
112
+ mode: "append" | "snapshot" | "merge";
112
113
  startedAt: string;
113
114
  datasetId: string;
114
115
  syncId: string;
@@ -137,6 +138,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
137
138
  }[];
138
139
  };
139
140
  description?: string | undefined;
141
+ primaryKey?: string | string[] | undefined;
140
142
  partitionBy?: string[] | undefined;
141
143
  };
142
144
  };
@@ -185,7 +187,7 @@ export declare function registerSyncRoutes(app: Elysia, sixb: Sixb<readonly Onto
185
187
  status: "running" | "succeeded" | "failed" | "cancelled";
186
188
  projectId: string;
187
189
  id: string;
188
- mode: "append" | "snapshot";
190
+ mode: "append" | "snapshot" | "merge";
189
191
  startedAt: string;
190
192
  datasetId: string;
191
193
  syncId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAkB,MAAM,YAAY,CAAA;AAEtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgGpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgJpF"}
1
+ {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAkB,MAAM,YAAY,CAAA;AAEtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgGpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgJpF"}