@sixb/server 0.1.18 → 0.1.20

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 (93) hide show
  1. package/README.md +15 -24
  2. package/dist/actions/serialize.d.ts +7 -0
  3. package/dist/actions/serialize.d.ts.map +1 -0
  4. package/dist/auth/browser-origin.d.ts +4 -26
  5. package/dist/auth/browser-origin.d.ts.map +1 -1
  6. package/dist/auth/experience.d.ts +0 -3
  7. package/dist/auth/experience.d.ts.map +1 -1
  8. package/dist/auth/guard.d.ts +1 -1
  9. package/dist/auth/guard.d.ts.map +1 -1
  10. package/dist/auth/public-routes.d.ts +0 -5
  11. package/dist/auth/public-routes.d.ts.map +1 -1
  12. package/dist/auth/responses.d.ts +0 -2
  13. package/dist/auth/responses.d.ts.map +1 -1
  14. package/dist/auth/session-cookies.d.ts.map +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +681 -935
  18. package/dist/index.js.map +24 -24
  19. package/dist/routes/action-runs.d.ts +11 -15
  20. package/dist/routes/action-runs.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +44 -13
  22. package/dist/routes/actions.d.ts.map +1 -1
  23. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  24. package/dist/routes/agents.d.ts +20 -22
  25. package/dist/routes/agents.d.ts.map +1 -1
  26. package/dist/routes/auth.d.ts +8 -17
  27. package/dist/routes/auth.d.ts.map +1 -1
  28. package/dist/routes/connector-connection-runs.d.ts +21 -21
  29. package/dist/routes/connector-connections.d.ts +8 -8
  30. package/dist/routes/connectors.d.ts +2 -2
  31. package/dist/routes/datasets.d.ts +5 -5
  32. package/dist/routes/events.d.ts +4 -4
  33. package/dist/routes/files.d.ts +15 -12
  34. package/dist/routes/files.d.ts.map +1 -1
  35. package/dist/routes/objects.d.ts +0 -2
  36. package/dist/routes/objects.d.ts.map +1 -1
  37. package/dist/routes/ontology.d.ts +6 -6
  38. package/dist/routes/pipelines.d.ts +16 -16
  39. package/dist/routes/projections.d.ts +49 -49
  40. package/dist/routes/syncs.d.ts +10 -10
  41. package/dist/routes/webhook-runs.d.ts +2 -2
  42. package/dist/routes/workflows.d.ts +48 -52
  43. package/dist/routes/workflows.d.ts.map +1 -1
  44. package/dist/routes/ws/events.d.ts +6 -9
  45. package/dist/routes/ws/events.d.ts.map +1 -1
  46. package/dist/schemas/actions.d.ts +100 -84
  47. package/dist/schemas/actions.d.ts.map +1 -1
  48. package/dist/schemas/agents.d.ts +20 -20
  49. package/dist/schemas/ai-limits.d.ts +10 -10
  50. package/dist/schemas/auth.d.ts +28 -63
  51. package/dist/schemas/auth.d.ts.map +1 -1
  52. package/dist/schemas/connectors.d.ts +8 -8
  53. package/dist/schemas/datasets.d.ts +40 -40
  54. package/dist/schemas/events.d.ts +24 -24
  55. package/dist/schemas/events.d.ts.map +1 -1
  56. package/dist/schemas/files.d.ts +4 -7
  57. package/dist/schemas/files.d.ts.map +1 -1
  58. package/dist/schemas/ontology.d.ts +40 -40
  59. package/dist/schemas/pipelines.d.ts +92 -92
  60. package/dist/schemas/projections.d.ts +290 -290
  61. package/dist/schemas/syncs.d.ts +34 -34
  62. package/dist/schemas/webhook-runs.d.ts +8 -8
  63. package/dist/schemas/workflows.d.ts +160 -160
  64. package/dist/server.d.ts +2 -2
  65. package/dist/server.d.ts.map +1 -1
  66. package/dist/utils/http.d.ts.map +1 -1
  67. package/dist/utils/request-body.d.ts +20 -6
  68. package/dist/utils/request-body.d.ts.map +1 -1
  69. package/package.json +7 -7
  70. package/src/actions/serialize.ts +55 -0
  71. package/src/auth/browser-origin.ts +30 -240
  72. package/src/auth/experience.ts +1 -4
  73. package/src/auth/guard.ts +4 -32
  74. package/src/auth/public-routes.ts +1 -10
  75. package/src/auth/responses.ts +0 -5
  76. package/src/auth/session-cookies.ts +1 -3
  77. package/src/auth/shared-access.ts +1 -1
  78. package/src/index.ts +1 -1
  79. package/src/routes/action-runs.ts +1 -54
  80. package/src/routes/actions.ts +26 -8
  81. package/src/routes/agent-api-gateway.ts +18 -42
  82. package/src/routes/auth.ts +32 -111
  83. package/src/routes/files.ts +15 -63
  84. package/src/routes/ws/events.ts +2 -12
  85. package/src/schemas/actions.ts +21 -18
  86. package/src/schemas/auth.ts +2 -15
  87. package/src/schemas/files.ts +0 -6
  88. package/src/server.ts +23 -18
  89. package/src/utils/http.ts +2 -0
  90. package/src/utils/request-body.ts +55 -6
  91. package/dist/auth/application-access.d.ts +0 -4
  92. package/dist/auth/application-access.d.ts.map +0 -1
  93. package/src/auth/application-access.ts +0 -15
@@ -30,7 +30,7 @@ export declare function registerConnectorRoutes(app: Elysia, host: SixbHostView)
30
30
  id: string;
31
31
  method: "POST";
32
32
  route: string;
33
- bodyFormat: "json" | "text" | "raw";
33
+ bodyFormat: "text" | "json" | "raw";
34
34
  hasVerify: boolean;
35
35
  hasIdempotency: boolean;
36
36
  }[];
@@ -71,7 +71,7 @@ export declare function registerConnectorRoutes(app: Elysia, host: SixbHostView)
71
71
  id: string;
72
72
  method: "POST";
73
73
  route: string;
74
- bodyFormat: "json" | "text" | "raw";
74
+ bodyFormat: "text" | "json" | "raw";
75
75
  hasVerify: boolean;
76
76
  hasIdempotency: boolean;
77
77
  }[];
@@ -30,7 +30,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
30
30
  schema: {
31
31
  columns: {
32
32
  name: string;
33
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
33
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
34
34
  nullable?: boolean | undefined;
35
35
  }[];
36
36
  };
@@ -85,7 +85,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
85
85
  schema: {
86
86
  columns: {
87
87
  name: string;
88
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
88
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
89
89
  nullable?: boolean | undefined;
90
90
  }[];
91
91
  };
@@ -149,7 +149,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
149
149
  schema: {
150
150
  columns: {
151
151
  name: string;
152
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
152
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
153
153
  nullable?: boolean | undefined;
154
154
  }[];
155
155
  };
@@ -212,7 +212,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
212
212
  schema: {
213
213
  columns: {
214
214
  name: string;
215
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
215
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
216
216
  nullable?: boolean | undefined;
217
217
  }[];
218
218
  };
@@ -280,7 +280,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
280
280
  schema: {
281
281
  columns: {
282
282
  name: string;
283
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
283
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
284
284
  nullable?: boolean | undefined;
285
285
  }[];
286
286
  };
@@ -22,9 +22,9 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | undefined;
25
+ type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | undefined;
26
26
  limit?: string | undefined;
27
- topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
27
+ topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules" | undefined;
28
28
  afterCursor?: string | undefined;
29
29
  };
30
30
  headers: unknown;
@@ -36,10 +36,10 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
36
36
  } | {
37
37
  projectId: string;
38
38
  id: string;
39
- type: "action.requested" | "action.completed" | "action.failed" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
39
+ type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
40
40
  occurredAt: string;
41
41
  payload: Record<string, unknown>;
42
- topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
42
+ topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
43
43
  partitionKey: string;
44
44
  schemaVersion: 1;
45
45
  cursor: string;
@@ -69,6 +69,8 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
69
69
  headers: unknown;
70
70
  response: {
71
71
  200: {
72
+ error: string;
73
+ } | {
72
74
  url: string;
73
75
  uploadId: string;
74
76
  strategy: "server";
@@ -85,10 +87,8 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
85
87
  uploadId: string;
86
88
  strategy: "multipart";
87
89
  expiresAt: string;
88
- partReceipt: "etag" | "none";
90
+ partReceipt: "none" | "etag";
89
91
  partSizeBytes: number;
90
- } | {
91
- error: string;
92
92
  };
93
93
  400: {
94
94
  error: string;
@@ -113,7 +113,7 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
113
113
  uploadId: string;
114
114
  strategy: "multipart";
115
115
  expiresAt: string;
116
- partReceipt: "etag" | "none";
116
+ partReceipt: "none" | "etag";
117
117
  partSizeBytes: number;
118
118
  };
119
119
  422: {
@@ -150,15 +150,18 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
150
150
  404: {
151
151
  error: string;
152
152
  };
153
- 400: {
153
+ 409: {
154
154
  error: string;
155
155
  };
156
- 409: {
156
+ 400: {
157
157
  error: string;
158
158
  };
159
159
  501: {
160
160
  error: string;
161
161
  };
162
+ 413: {
163
+ error: string;
164
+ };
162
165
  410: {
163
166
  error: string;
164
167
  };
@@ -204,10 +207,10 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
204
207
  404: {
205
208
  error: string;
206
209
  };
207
- 400: {
210
+ 409: {
208
211
  error: string;
209
212
  };
210
- 409: {
213
+ 400: {
211
214
  error: string;
212
215
  };
213
216
  501: {
@@ -265,10 +268,10 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
265
268
  404: {
266
269
  error: string;
267
270
  };
268
- 400: {
271
+ 409: {
269
272
  error: string;
270
273
  };
271
- 409: {
274
+ 400: {
272
275
  error: string;
273
276
  };
274
277
  501: {
@@ -313,10 +316,10 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
313
316
  404: {
314
317
  error: string;
315
318
  };
316
- 400: {
319
+ 409: {
317
320
  error: string;
318
321
  };
319
- 409: {
322
+ 400: {
320
323
  error: string;
321
324
  };
322
325
  501: {
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAKnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAibjE"}
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAKnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgbjE"}
@@ -356,7 +356,6 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
356
356
  };
357
357
  query: {
358
358
  path: string;
359
- audience?: "atlas" | "app" | undefined;
360
359
  shareGrant?: string | undefined;
361
360
  disposition?: "inline" | "attachment" | undefined;
362
361
  v?: string | undefined;
@@ -398,7 +397,6 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
398
397
  };
399
398
  query: {
400
399
  path: string;
401
- audience?: "atlas" | "app" | undefined;
402
400
  shareGrant?: string | undefined;
403
401
  disposition?: "inline" | "attachment" | undefined;
404
402
  v?: string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AAM,EAAE,mBAAmB,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACzC,CAAA;AAuND,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDApL1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2xBxF"}
@@ -49,11 +49,11 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
49
49
  id: string;
50
50
  name: string;
51
51
  query?: {
52
- text?: boolean | undefined;
53
52
  exact?: boolean | undefined;
54
53
  searchable?: boolean | undefined;
55
54
  filterable?: boolean | undefined;
56
55
  sortable?: boolean | undefined;
56
+ text?: boolean | undefined;
57
57
  facet?: boolean | undefined;
58
58
  weight?: number | undefined;
59
59
  } | undefined;
@@ -72,17 +72,17 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
72
72
  id: string;
73
73
  name: string;
74
74
  capabilities: {
75
- text: boolean;
76
75
  sortable: boolean;
76
+ text: boolean;
77
77
  facet: boolean;
78
78
  operators: ("eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "in" | "exists" | "contains")[];
79
79
  };
80
80
  query?: {
81
- text?: boolean | undefined;
82
81
  exact?: boolean | undefined;
83
82
  searchable?: boolean | undefined;
84
83
  filterable?: boolean | undefined;
85
84
  sortable?: boolean | undefined;
85
+ text?: boolean | undefined;
86
86
  facet?: boolean | undefined;
87
87
  weight?: number | undefined;
88
88
  } | undefined;
@@ -166,11 +166,11 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
166
166
  id: string;
167
167
  name: string;
168
168
  query?: {
169
- text?: boolean | undefined;
170
169
  exact?: boolean | undefined;
171
170
  searchable?: boolean | undefined;
172
171
  filterable?: boolean | undefined;
173
172
  sortable?: boolean | undefined;
173
+ text?: boolean | undefined;
174
174
  facet?: boolean | undefined;
175
175
  weight?: number | undefined;
176
176
  } | undefined;
@@ -189,17 +189,17 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
189
189
  id: string;
190
190
  name: string;
191
191
  capabilities: {
192
- text: boolean;
193
192
  sortable: boolean;
193
+ text: boolean;
194
194
  facet: boolean;
195
195
  operators: ("eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "in" | "exists" | "contains")[];
196
196
  };
197
197
  query?: {
198
- text?: boolean | undefined;
199
198
  exact?: boolean | undefined;
200
199
  searchable?: boolean | undefined;
201
200
  filterable?: boolean | undefined;
202
201
  sortable?: boolean | undefined;
202
+ text?: boolean | undefined;
203
203
  facet?: boolean | undefined;
204
204
  weight?: number | undefined;
205
205
  } | undefined;
@@ -42,7 +42,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
42
42
  schema: {
43
43
  columns: {
44
44
  name: string;
45
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
45
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
46
46
  nullable?: boolean | undefined;
47
47
  }[];
48
48
  };
@@ -58,7 +58,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
58
58
  schema: {
59
59
  columns: {
60
60
  name: string;
61
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
61
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
62
62
  nullable?: boolean | undefined;
63
63
  }[];
64
64
  };
@@ -78,11 +78,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
78
78
  }[];
79
79
  };
80
80
  latestRun: {
81
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
81
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
82
82
  projectId: string;
83
83
  id: string;
84
- queuedAt: string;
85
84
  pipelineId: string;
85
+ queuedAt: string;
86
86
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
87
87
  startedAt?: string | undefined;
88
88
  finishedAt?: string | undefined;
@@ -135,7 +135,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
135
135
  schema: {
136
136
  columns: {
137
137
  name: string;
138
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
138
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
139
139
  nullable?: boolean | undefined;
140
140
  }[];
141
141
  };
@@ -151,7 +151,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
151
151
  schema: {
152
152
  columns: {
153
153
  name: string;
154
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
154
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
155
155
  nullable?: boolean | undefined;
156
156
  }[];
157
157
  };
@@ -171,11 +171,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
171
171
  }[];
172
172
  };
173
173
  latestRun: {
174
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
174
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
175
175
  projectId: string;
176
176
  id: string;
177
- queuedAt: string;
178
177
  pipelineId: string;
178
+ queuedAt: string;
179
179
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
180
180
  startedAt?: string | undefined;
181
181
  finishedAt?: string | undefined;
@@ -209,7 +209,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
209
209
  body: unknown;
210
210
  params: {};
211
211
  query: {
212
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
212
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
213
213
  startedAfter?: string | undefined;
214
214
  startedBefore?: string | undefined;
215
215
  limit?: string | undefined;
@@ -221,11 +221,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
221
221
  response: {
222
222
  200: {
223
223
  runs: {
224
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
224
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
225
225
  projectId: string;
226
226
  id: string;
227
- queuedAt: string;
228
227
  pipelineId: string;
228
+ queuedAt: string;
229
229
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
230
230
  startedAt?: string | undefined;
231
231
  finishedAt?: string | undefined;
@@ -270,11 +270,11 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
270
270
  response: {
271
271
  200: {
272
272
  run: {
273
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
273
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
274
274
  projectId: string;
275
275
  id: string;
276
- queuedAt: string;
277
276
  pipelineId: string;
277
+ queuedAt: string;
278
278
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
279
279
  startedAt?: string | undefined;
280
280
  finishedAt?: string | undefined;
@@ -284,7 +284,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
284
284
  } | undefined;
285
285
  };
286
286
  steps: {
287
- status: "running" | "succeeded" | "failed" | "cancelled";
287
+ status: "succeeded" | "failed" | "running" | "cancelled";
288
288
  projectId: string;
289
289
  id: string;
290
290
  mode: "append" | "snapshot";
@@ -294,8 +294,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
294
294
  datasetId: string;
295
295
  versionId: string;
296
296
  }[];
297
- stepId: string;
298
297
  pipelineId: string;
298
+ stepId: string;
299
299
  pipelineRunId: string;
300
300
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
301
301
  finishedAt?: string | undefined;
@@ -363,9 +363,9 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
363
363
  };
364
364
  202: {
365
365
  runId: string;
366
- queuedAt: string;
367
366
  jobId: string;
368
367
  pipelineId: string;
368
+ queuedAt: string;
369
369
  };
370
370
  422: {
371
371
  type: "validation";