@sixb/server 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/auth/application-access.d.ts +2 -2
- package/dist/auth/application-access.d.ts.map +1 -1
- package/dist/auth/connector-callback-cookie.d.ts +12 -0
- package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +3 -3
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +21 -27
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts +2 -2
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +16 -0
- package/dist/connectors/http.d.ts.map +1 -0
- package/dist/files/content.d.ts +11 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +4164 -3541
- package/dist/index.js.map +57 -52
- package/dist/openapi/tags.d.ts +11 -3
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +6 -2
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +21 -31
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +9 -8
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts +2 -2
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +130 -131
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +90 -90
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +794 -0
- package/dist/routes/connector-connection-runs.d.ts.map +1 -0
- package/dist/routes/connector-connections.d.ts +219 -0
- package/dist/routes/connector-connections.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +10 -4
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +15 -9
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +8 -8
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +11 -10
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/logs.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +34 -34
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +62 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +28 -34
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/project.d.ts +2 -2
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +131 -83
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +6 -6
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +2 -2
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +27 -30
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +2 -2
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +9 -9
- package/dist/routes/webhook-runs.d.ts.map +1 -1
- package/dist/routes/webhooks.d.ts +2 -2
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +132 -107
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +11 -5
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +8 -8
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/logs.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +97 -202
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +443 -440
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-usage.d.ts +34 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +168 -168
- package/dist/schemas/common.d.ts +37 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +713 -2
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +29 -23
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +34 -34
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +10 -10
- package/dist/schemas/ontology.d.ts +174 -174
- package/dist/schemas/pipelines.d.ts +131 -190
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +918 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +88 -124
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +41 -41
- package/dist/schemas/webhook-runs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +792 -406
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +6 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts +2 -0
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +4 -3
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/auth/access-token-boundary.ts +4 -4
- package/src/auth/application-access.ts +8 -9
- package/src/auth/connector-callback-cookie.ts +95 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +13 -0
- package/src/auth/scope.ts +34 -30
- package/src/auth/session-cookies.ts +3 -3
- package/src/connectors/http.ts +110 -0
- package/src/files/content.ts +11 -0
- package/src/openapi/tags.ts +9 -1
- package/src/registerRoutes.ts +34 -23
- package/src/routes/action-runs.ts +49 -42
- package/src/routes/actions.ts +7 -13
- package/src/routes/agent-api-gateway.ts +87 -42
- package/src/routes/agents.ts +89 -200
- package/src/routes/auth.ts +87 -91
- package/src/routes/connector-connection-runs.ts +346 -0
- package/src/routes/connector-connections.ts +135 -0
- package/src/routes/connectors.ts +24 -12
- package/src/routes/datasets.ts +55 -54
- package/src/routes/events.ts +5 -5
- package/src/routes/files.ts +24 -31
- package/src/routes/links.ts +32 -35
- package/src/routes/logs.ts +6 -11
- package/src/routes/objects.ts +51 -114
- package/src/routes/ontology.ts +27 -38
- package/src/routes/pipelines.ts +28 -62
- package/src/routes/project.ts +3 -3
- package/src/routes/projections.ts +26 -38
- package/src/routes/rules.ts +11 -25
- package/src/routes/status.ts +5 -5
- package/src/routes/syncs.ts +19 -45
- package/src/routes/telemetry.ts +18 -29
- package/src/routes/webhook-runs.ts +5 -5
- package/src/routes/webhooks.ts +259 -341
- package/src/routes/workflows.ts +260 -259
- package/src/routes/ws/agents.ts +196 -66
- package/src/routes/ws/events.ts +11 -10
- package/src/routes/ws/log-subscription-hub.ts +6 -12
- package/src/routes/ws/logs.ts +13 -5
- package/src/schemas/actions.ts +58 -25
- package/src/schemas/agents.ts +19 -14
- package/src/schemas/ai-usage.ts +16 -0
- package/src/schemas/common.ts +24 -0
- package/src/schemas/connectors.ts +164 -0
- package/src/schemas/datasets.ts +3 -2
- package/src/schemas/pipelines.ts +24 -40
- package/src/schemas/projections.ts +17 -3
- package/src/schemas/syncs.ts +16 -10
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +42 -25
- package/src/server.ts +65 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
export declare function registerProjectionRoutes(app: Elysia,
|
|
3
|
+
export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -26,22 +26,23 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
26
26
|
response: {
|
|
27
27
|
200: {
|
|
28
28
|
objectProjections: {
|
|
29
|
+
id: string;
|
|
29
30
|
links: Record<string, {
|
|
30
31
|
targetObjectTypeId: string;
|
|
31
32
|
linkId: string;
|
|
32
33
|
sourcePropertyId?: string | undefined;
|
|
33
34
|
sourceField?: string | undefined;
|
|
34
35
|
}>;
|
|
35
|
-
objectTypeId: string;
|
|
36
|
-
id: string;
|
|
37
36
|
properties: Record<string, string>;
|
|
37
|
+
objectTypeId: string;
|
|
38
38
|
datasetId: string;
|
|
39
39
|
latestRun: {
|
|
40
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
41
40
|
projectId: string;
|
|
42
41
|
id: string;
|
|
43
|
-
|
|
42
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
43
|
+
queuedAt: string;
|
|
44
44
|
attempt: number;
|
|
45
|
+
executionId: string;
|
|
45
46
|
progress: {
|
|
46
47
|
sourceRowsRead: number;
|
|
47
48
|
sourceRowsSkipped: number;
|
|
@@ -62,14 +63,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
62
63
|
target: {
|
|
63
64
|
objectTypeId: string;
|
|
64
65
|
};
|
|
66
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
67
|
+
startedAt?: string | undefined;
|
|
65
68
|
finishedAt?: string | undefined;
|
|
66
|
-
errorMessage?: string | undefined;
|
|
67
69
|
} | {
|
|
68
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
69
70
|
projectId: string;
|
|
70
71
|
id: string;
|
|
71
|
-
|
|
72
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
73
|
+
queuedAt: string;
|
|
72
74
|
attempt: number;
|
|
75
|
+
executionId: string;
|
|
73
76
|
progress: {
|
|
74
77
|
sourceRowsRead: number;
|
|
75
78
|
sourceRowsSkipped: number;
|
|
@@ -91,14 +94,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
91
94
|
targetObjectTypeId: string;
|
|
92
95
|
sourceObjectTypeId: string;
|
|
93
96
|
};
|
|
97
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
98
|
+
startedAt?: string | undefined;
|
|
94
99
|
finishedAt?: string | undefined;
|
|
95
|
-
errorMessage?: string | undefined;
|
|
96
100
|
} | {
|
|
97
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
98
101
|
projectId: string;
|
|
99
102
|
id: string;
|
|
100
|
-
|
|
103
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
104
|
+
queuedAt: string;
|
|
101
105
|
attempt: number;
|
|
106
|
+
executionId: string;
|
|
102
107
|
progress: {
|
|
103
108
|
sourceRowsRead: number;
|
|
104
109
|
sourceRowsSkipped: number;
|
|
@@ -119,8 +124,9 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
119
124
|
target: {
|
|
120
125
|
objectTypeId: string;
|
|
121
126
|
};
|
|
127
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
128
|
+
startedAt?: string | undefined;
|
|
122
129
|
finishedAt?: string | undefined;
|
|
123
|
-
errorMessage?: string | undefined;
|
|
124
130
|
} | null;
|
|
125
131
|
_tag: "ObjectProjectionDefinition";
|
|
126
132
|
}[];
|
|
@@ -131,11 +137,12 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
131
137
|
linkId: string;
|
|
132
138
|
sourceObjectTypeId: string;
|
|
133
139
|
latestRun: {
|
|
134
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
135
140
|
projectId: string;
|
|
136
141
|
id: string;
|
|
137
|
-
|
|
142
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
143
|
+
queuedAt: string;
|
|
138
144
|
attempt: number;
|
|
145
|
+
executionId: string;
|
|
139
146
|
progress: {
|
|
140
147
|
sourceRowsRead: number;
|
|
141
148
|
sourceRowsSkipped: number;
|
|
@@ -156,14 +163,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
156
163
|
target: {
|
|
157
164
|
objectTypeId: string;
|
|
158
165
|
};
|
|
166
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
167
|
+
startedAt?: string | undefined;
|
|
159
168
|
finishedAt?: string | undefined;
|
|
160
|
-
errorMessage?: string | undefined;
|
|
161
169
|
} | {
|
|
162
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
163
170
|
projectId: string;
|
|
164
171
|
id: string;
|
|
165
|
-
|
|
172
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
173
|
+
queuedAt: string;
|
|
166
174
|
attempt: number;
|
|
175
|
+
executionId: string;
|
|
167
176
|
progress: {
|
|
168
177
|
sourceRowsRead: number;
|
|
169
178
|
sourceRowsSkipped: number;
|
|
@@ -185,14 +194,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
185
194
|
targetObjectTypeId: string;
|
|
186
195
|
sourceObjectTypeId: string;
|
|
187
196
|
};
|
|
197
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
198
|
+
startedAt?: string | undefined;
|
|
188
199
|
finishedAt?: string | undefined;
|
|
189
|
-
errorMessage?: string | undefined;
|
|
190
200
|
} | {
|
|
191
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
192
201
|
projectId: string;
|
|
193
202
|
id: string;
|
|
194
|
-
|
|
203
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
204
|
+
queuedAt: string;
|
|
195
205
|
attempt: number;
|
|
206
|
+
executionId: string;
|
|
196
207
|
progress: {
|
|
197
208
|
sourceRowsRead: number;
|
|
198
209
|
sourceRowsSkipped: number;
|
|
@@ -213,24 +224,26 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
213
224
|
target: {
|
|
214
225
|
objectTypeId: string;
|
|
215
226
|
};
|
|
227
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
228
|
+
startedAt?: string | undefined;
|
|
216
229
|
finishedAt?: string | undefined;
|
|
217
|
-
errorMessage?: string | undefined;
|
|
218
230
|
} | null;
|
|
219
231
|
sourceField: string;
|
|
220
232
|
_tag: "LinkProjectionDefinition";
|
|
221
233
|
targetField: string;
|
|
222
234
|
}[];
|
|
223
235
|
telemetryProjections: {
|
|
224
|
-
objectTypeId: string;
|
|
225
236
|
id: string;
|
|
237
|
+
objectTypeId: string;
|
|
226
238
|
datasetId: string;
|
|
227
239
|
propertyId: string;
|
|
228
240
|
latestRun: {
|
|
229
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
230
241
|
projectId: string;
|
|
231
242
|
id: string;
|
|
232
|
-
|
|
243
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
244
|
+
queuedAt: string;
|
|
233
245
|
attempt: number;
|
|
246
|
+
executionId: string;
|
|
234
247
|
progress: {
|
|
235
248
|
sourceRowsRead: number;
|
|
236
249
|
sourceRowsSkipped: number;
|
|
@@ -251,14 +264,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
251
264
|
target: {
|
|
252
265
|
objectTypeId: string;
|
|
253
266
|
};
|
|
267
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
268
|
+
startedAt?: string | undefined;
|
|
254
269
|
finishedAt?: string | undefined;
|
|
255
|
-
errorMessage?: string | undefined;
|
|
256
270
|
} | {
|
|
257
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
258
271
|
projectId: string;
|
|
259
272
|
id: string;
|
|
260
|
-
|
|
273
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
274
|
+
queuedAt: string;
|
|
261
275
|
attempt: number;
|
|
276
|
+
executionId: string;
|
|
262
277
|
progress: {
|
|
263
278
|
sourceRowsRead: number;
|
|
264
279
|
sourceRowsSkipped: number;
|
|
@@ -280,14 +295,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
280
295
|
targetObjectTypeId: string;
|
|
281
296
|
sourceObjectTypeId: string;
|
|
282
297
|
};
|
|
298
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
299
|
+
startedAt?: string | undefined;
|
|
283
300
|
finishedAt?: string | undefined;
|
|
284
|
-
errorMessage?: string | undefined;
|
|
285
301
|
} | {
|
|
286
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
287
302
|
projectId: string;
|
|
288
303
|
id: string;
|
|
289
|
-
|
|
304
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
305
|
+
queuedAt: string;
|
|
290
306
|
attempt: number;
|
|
307
|
+
executionId: string;
|
|
291
308
|
progress: {
|
|
292
309
|
sourceRowsRead: number;
|
|
293
310
|
sourceRowsSkipped: number;
|
|
@@ -308,8 +325,9 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
308
325
|
target: {
|
|
309
326
|
objectTypeId: string;
|
|
310
327
|
};
|
|
328
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
329
|
+
startedAt?: string | undefined;
|
|
311
330
|
finishedAt?: string | undefined;
|
|
312
|
-
errorMessage?: string | undefined;
|
|
313
331
|
} | null;
|
|
314
332
|
_tag: "TelemetryProjectionDefinition";
|
|
315
333
|
objectIdField: string;
|
|
@@ -344,22 +362,23 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
344
362
|
headers: unknown;
|
|
345
363
|
response: {
|
|
346
364
|
200: {
|
|
365
|
+
id: string;
|
|
347
366
|
links: Record<string, {
|
|
348
367
|
targetObjectTypeId: string;
|
|
349
368
|
linkId: string;
|
|
350
369
|
sourcePropertyId?: string | undefined;
|
|
351
370
|
sourceField?: string | undefined;
|
|
352
371
|
}>;
|
|
353
|
-
objectTypeId: string;
|
|
354
|
-
id: string;
|
|
355
372
|
properties: Record<string, string>;
|
|
373
|
+
objectTypeId: string;
|
|
356
374
|
datasetId: string;
|
|
357
375
|
latestRun: {
|
|
358
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
359
376
|
projectId: string;
|
|
360
377
|
id: string;
|
|
361
|
-
|
|
378
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
379
|
+
queuedAt: string;
|
|
362
380
|
attempt: number;
|
|
381
|
+
executionId: string;
|
|
363
382
|
progress: {
|
|
364
383
|
sourceRowsRead: number;
|
|
365
384
|
sourceRowsSkipped: number;
|
|
@@ -380,14 +399,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
380
399
|
target: {
|
|
381
400
|
objectTypeId: string;
|
|
382
401
|
};
|
|
402
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
403
|
+
startedAt?: string | undefined;
|
|
383
404
|
finishedAt?: string | undefined;
|
|
384
|
-
errorMessage?: string | undefined;
|
|
385
405
|
} | {
|
|
386
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
387
406
|
projectId: string;
|
|
388
407
|
id: string;
|
|
389
|
-
|
|
408
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
409
|
+
queuedAt: string;
|
|
390
410
|
attempt: number;
|
|
411
|
+
executionId: string;
|
|
391
412
|
progress: {
|
|
392
413
|
sourceRowsRead: number;
|
|
393
414
|
sourceRowsSkipped: number;
|
|
@@ -409,14 +430,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
409
430
|
targetObjectTypeId: string;
|
|
410
431
|
sourceObjectTypeId: string;
|
|
411
432
|
};
|
|
433
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
434
|
+
startedAt?: string | undefined;
|
|
412
435
|
finishedAt?: string | undefined;
|
|
413
|
-
errorMessage?: string | undefined;
|
|
414
436
|
} | {
|
|
415
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
416
437
|
projectId: string;
|
|
417
438
|
id: string;
|
|
418
|
-
|
|
439
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
440
|
+
queuedAt: string;
|
|
419
441
|
attempt: number;
|
|
442
|
+
executionId: string;
|
|
420
443
|
progress: {
|
|
421
444
|
sourceRowsRead: number;
|
|
422
445
|
sourceRowsSkipped: number;
|
|
@@ -437,8 +460,9 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
437
460
|
target: {
|
|
438
461
|
objectTypeId: string;
|
|
439
462
|
};
|
|
463
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
464
|
+
startedAt?: string | undefined;
|
|
440
465
|
finishedAt?: string | undefined;
|
|
441
|
-
errorMessage?: string | undefined;
|
|
442
466
|
} | null;
|
|
443
467
|
_tag: "ObjectProjectionDefinition";
|
|
444
468
|
} | {
|
|
@@ -448,11 +472,12 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
448
472
|
linkId: string;
|
|
449
473
|
sourceObjectTypeId: string;
|
|
450
474
|
latestRun: {
|
|
451
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
452
475
|
projectId: string;
|
|
453
476
|
id: string;
|
|
454
|
-
|
|
477
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
478
|
+
queuedAt: string;
|
|
455
479
|
attempt: number;
|
|
480
|
+
executionId: string;
|
|
456
481
|
progress: {
|
|
457
482
|
sourceRowsRead: number;
|
|
458
483
|
sourceRowsSkipped: number;
|
|
@@ -473,14 +498,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
473
498
|
target: {
|
|
474
499
|
objectTypeId: string;
|
|
475
500
|
};
|
|
501
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
502
|
+
startedAt?: string | undefined;
|
|
476
503
|
finishedAt?: string | undefined;
|
|
477
|
-
errorMessage?: string | undefined;
|
|
478
504
|
} | {
|
|
479
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
480
505
|
projectId: string;
|
|
481
506
|
id: string;
|
|
482
|
-
|
|
507
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
508
|
+
queuedAt: string;
|
|
483
509
|
attempt: number;
|
|
510
|
+
executionId: string;
|
|
484
511
|
progress: {
|
|
485
512
|
sourceRowsRead: number;
|
|
486
513
|
sourceRowsSkipped: number;
|
|
@@ -502,14 +529,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
502
529
|
targetObjectTypeId: string;
|
|
503
530
|
sourceObjectTypeId: string;
|
|
504
531
|
};
|
|
532
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
533
|
+
startedAt?: string | undefined;
|
|
505
534
|
finishedAt?: string | undefined;
|
|
506
|
-
errorMessage?: string | undefined;
|
|
507
535
|
} | {
|
|
508
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
509
536
|
projectId: string;
|
|
510
537
|
id: string;
|
|
511
|
-
|
|
538
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
539
|
+
queuedAt: string;
|
|
512
540
|
attempt: number;
|
|
541
|
+
executionId: string;
|
|
513
542
|
progress: {
|
|
514
543
|
sourceRowsRead: number;
|
|
515
544
|
sourceRowsSkipped: number;
|
|
@@ -530,23 +559,25 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
530
559
|
target: {
|
|
531
560
|
objectTypeId: string;
|
|
532
561
|
};
|
|
562
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
563
|
+
startedAt?: string | undefined;
|
|
533
564
|
finishedAt?: string | undefined;
|
|
534
|
-
errorMessage?: string | undefined;
|
|
535
565
|
} | null;
|
|
536
566
|
sourceField: string;
|
|
537
567
|
_tag: "LinkProjectionDefinition";
|
|
538
568
|
targetField: string;
|
|
539
569
|
} | {
|
|
540
|
-
objectTypeId: string;
|
|
541
570
|
id: string;
|
|
571
|
+
objectTypeId: string;
|
|
542
572
|
datasetId: string;
|
|
543
573
|
propertyId: string;
|
|
544
574
|
latestRun: {
|
|
545
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
546
575
|
projectId: string;
|
|
547
576
|
id: string;
|
|
548
|
-
|
|
577
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
578
|
+
queuedAt: string;
|
|
549
579
|
attempt: number;
|
|
580
|
+
executionId: string;
|
|
550
581
|
progress: {
|
|
551
582
|
sourceRowsRead: number;
|
|
552
583
|
sourceRowsSkipped: number;
|
|
@@ -567,14 +598,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
567
598
|
target: {
|
|
568
599
|
objectTypeId: string;
|
|
569
600
|
};
|
|
601
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
602
|
+
startedAt?: string | undefined;
|
|
570
603
|
finishedAt?: string | undefined;
|
|
571
|
-
errorMessage?: string | undefined;
|
|
572
604
|
} | {
|
|
573
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
574
605
|
projectId: string;
|
|
575
606
|
id: string;
|
|
576
|
-
|
|
607
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
608
|
+
queuedAt: string;
|
|
577
609
|
attempt: number;
|
|
610
|
+
executionId: string;
|
|
578
611
|
progress: {
|
|
579
612
|
sourceRowsRead: number;
|
|
580
613
|
sourceRowsSkipped: number;
|
|
@@ -596,14 +629,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
596
629
|
targetObjectTypeId: string;
|
|
597
630
|
sourceObjectTypeId: string;
|
|
598
631
|
};
|
|
632
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
633
|
+
startedAt?: string | undefined;
|
|
599
634
|
finishedAt?: string | undefined;
|
|
600
|
-
errorMessage?: string | undefined;
|
|
601
635
|
} | {
|
|
602
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
603
636
|
projectId: string;
|
|
604
637
|
id: string;
|
|
605
|
-
|
|
638
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
639
|
+
queuedAt: string;
|
|
606
640
|
attempt: number;
|
|
641
|
+
executionId: string;
|
|
607
642
|
progress: {
|
|
608
643
|
sourceRowsRead: number;
|
|
609
644
|
sourceRowsSkipped: number;
|
|
@@ -624,8 +659,9 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
624
659
|
target: {
|
|
625
660
|
objectTypeId: string;
|
|
626
661
|
};
|
|
662
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
663
|
+
startedAt?: string | undefined;
|
|
627
664
|
finishedAt?: string | undefined;
|
|
628
|
-
errorMessage?: string | undefined;
|
|
629
665
|
} | null;
|
|
630
666
|
_tag: "TelemetryProjectionDefinition";
|
|
631
667
|
objectIdField: string;
|
|
@@ -657,12 +693,12 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
657
693
|
body: unknown;
|
|
658
694
|
params: {};
|
|
659
695
|
query: {
|
|
660
|
-
status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
696
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
697
|
+
startedAfter?: string | undefined;
|
|
698
|
+
startedBefore?: string | undefined;
|
|
661
699
|
limit?: string | undefined;
|
|
662
700
|
offset?: string | undefined;
|
|
663
701
|
order?: "asc" | "desc" | undefined;
|
|
664
|
-
startedAfter?: string | undefined;
|
|
665
|
-
startedBefore?: string | undefined;
|
|
666
702
|
datasetId?: string | undefined;
|
|
667
703
|
projectionId?: string | undefined;
|
|
668
704
|
datasetVersionId?: string | undefined;
|
|
@@ -672,11 +708,12 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
672
708
|
response: {
|
|
673
709
|
200: {
|
|
674
710
|
runs: ({
|
|
675
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
676
711
|
projectId: string;
|
|
677
712
|
id: string;
|
|
678
|
-
|
|
713
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
714
|
+
queuedAt: string;
|
|
679
715
|
attempt: number;
|
|
716
|
+
executionId: string;
|
|
680
717
|
progress: {
|
|
681
718
|
sourceRowsRead: number;
|
|
682
719
|
sourceRowsSkipped: number;
|
|
@@ -697,14 +734,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
697
734
|
target: {
|
|
698
735
|
objectTypeId: string;
|
|
699
736
|
};
|
|
737
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
738
|
+
startedAt?: string | undefined;
|
|
700
739
|
finishedAt?: string | undefined;
|
|
701
|
-
errorMessage?: string | undefined;
|
|
702
740
|
} | {
|
|
703
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
704
741
|
projectId: string;
|
|
705
742
|
id: string;
|
|
706
|
-
|
|
743
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
744
|
+
queuedAt: string;
|
|
707
745
|
attempt: number;
|
|
746
|
+
executionId: string;
|
|
708
747
|
progress: {
|
|
709
748
|
sourceRowsRead: number;
|
|
710
749
|
sourceRowsSkipped: number;
|
|
@@ -726,14 +765,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
726
765
|
targetObjectTypeId: string;
|
|
727
766
|
sourceObjectTypeId: string;
|
|
728
767
|
};
|
|
768
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
769
|
+
startedAt?: string | undefined;
|
|
729
770
|
finishedAt?: string | undefined;
|
|
730
|
-
errorMessage?: string | undefined;
|
|
731
771
|
} | {
|
|
732
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
733
772
|
projectId: string;
|
|
734
773
|
id: string;
|
|
735
|
-
|
|
774
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
775
|
+
queuedAt: string;
|
|
736
776
|
attempt: number;
|
|
777
|
+
executionId: string;
|
|
737
778
|
progress: {
|
|
738
779
|
sourceRowsRead: number;
|
|
739
780
|
sourceRowsSkipped: number;
|
|
@@ -754,8 +795,9 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
754
795
|
target: {
|
|
755
796
|
objectTypeId: string;
|
|
756
797
|
};
|
|
798
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
799
|
+
startedAt?: string | undefined;
|
|
757
800
|
finishedAt?: string | undefined;
|
|
758
|
-
errorMessage?: string | undefined;
|
|
759
801
|
})[];
|
|
760
802
|
hasMore: boolean;
|
|
761
803
|
total: number;
|
|
@@ -792,11 +834,12 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
792
834
|
headers: unknown;
|
|
793
835
|
response: {
|
|
794
836
|
200: {
|
|
795
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
796
837
|
projectId: string;
|
|
797
838
|
id: string;
|
|
798
|
-
|
|
839
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
840
|
+
queuedAt: string;
|
|
799
841
|
attempt: number;
|
|
842
|
+
executionId: string;
|
|
800
843
|
progress: {
|
|
801
844
|
sourceRowsRead: number;
|
|
802
845
|
sourceRowsSkipped: number;
|
|
@@ -817,14 +860,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
817
860
|
target: {
|
|
818
861
|
objectTypeId: string;
|
|
819
862
|
};
|
|
863
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
864
|
+
startedAt?: string | undefined;
|
|
820
865
|
finishedAt?: string | undefined;
|
|
821
|
-
errorMessage?: string | undefined;
|
|
822
866
|
} | {
|
|
823
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
824
867
|
projectId: string;
|
|
825
868
|
id: string;
|
|
826
|
-
|
|
869
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
870
|
+
queuedAt: string;
|
|
827
871
|
attempt: number;
|
|
872
|
+
executionId: string;
|
|
828
873
|
progress: {
|
|
829
874
|
sourceRowsRead: number;
|
|
830
875
|
sourceRowsSkipped: number;
|
|
@@ -846,14 +891,16 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
846
891
|
targetObjectTypeId: string;
|
|
847
892
|
sourceObjectTypeId: string;
|
|
848
893
|
};
|
|
894
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
895
|
+
startedAt?: string | undefined;
|
|
849
896
|
finishedAt?: string | undefined;
|
|
850
|
-
errorMessage?: string | undefined;
|
|
851
897
|
} | {
|
|
852
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
853
898
|
projectId: string;
|
|
854
899
|
id: string;
|
|
855
|
-
|
|
900
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
901
|
+
queuedAt: string;
|
|
856
902
|
attempt: number;
|
|
903
|
+
executionId: string;
|
|
857
904
|
progress: {
|
|
858
905
|
sourceRowsRead: number;
|
|
859
906
|
sourceRowsSkipped: number;
|
|
@@ -874,8 +921,9 @@ export declare function registerProjectionRoutes(app: Elysia, sixb: Sixb<readonl
|
|
|
874
921
|
target: {
|
|
875
922
|
objectTypeId: string;
|
|
876
923
|
};
|
|
924
|
+
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
|
|
925
|
+
startedAt?: string | undefined;
|
|
877
926
|
finishedAt?: string | undefined;
|
|
878
|
-
errorMessage?: string | undefined;
|
|
879
927
|
};
|
|
880
928
|
400: {
|
|
881
929
|
error: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/routes/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/routes/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,YAAY,EAEb,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsGpC,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgIvE"}
|
package/dist/routes/rules.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
export declare function registerRuleRoutes(app: Elysia,
|
|
3
|
+
export declare function registerRuleRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -25,8 +25,8 @@ export declare function registerRuleRoutes(app: Elysia, sixb: Sixb<readonly Onto
|
|
|
25
25
|
headers: unknown;
|
|
26
26
|
response: {
|
|
27
27
|
200: {
|
|
28
|
-
kind: "rule";
|
|
29
28
|
id: string;
|
|
29
|
+
kind: "rule";
|
|
30
30
|
subject: {
|
|
31
31
|
kind: "object";
|
|
32
32
|
objectTypeId: string;
|
|
@@ -67,8 +67,8 @@ export declare function registerRuleRoutes(app: Elysia, sixb: Sixb<readonly Onto
|
|
|
67
67
|
headers: unknown;
|
|
68
68
|
response: {
|
|
69
69
|
200: {
|
|
70
|
-
kind: "rule";
|
|
71
70
|
id: string;
|
|
71
|
+
kind: "rule";
|
|
72
72
|
subject: {
|
|
73
73
|
kind: "object";
|
|
74
74
|
objectTypeId: string;
|
|
@@ -107,11 +107,11 @@ export declare function registerRuleRoutes(app: Elysia, sixb: Sixb<readonly Onto
|
|
|
107
107
|
body: unknown;
|
|
108
108
|
params: {};
|
|
109
109
|
query: {
|
|
110
|
+
objectTypeId?: string | undefined;
|
|
111
|
+
primaryId?: string | undefined;
|
|
110
112
|
limit?: string | undefined;
|
|
111
113
|
offset?: string | undefined;
|
|
112
114
|
order?: "asc" | "desc" | undefined;
|
|
113
|
-
objectTypeId?: string | undefined;
|
|
114
|
-
primaryId?: string | undefined;
|
|
115
115
|
ruleId?: string | undefined;
|
|
116
116
|
};
|
|
117
117
|
headers: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/routes/rules.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/routes/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAwBpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFjE"}
|