@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/schemas/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/schemas/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,0BAA0B,yaAc7B,CAAA;AACV,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAEhF,eAAO,MAAM,iCAAiC;;;;;;;;;;EAG5C,CAAA;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;EAE1C,CAAA;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;EAM1C,CAAA;AACF,eAAO,MAAM,oCAAoC;;;;;;;;;;EAE/C,CAAA;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;EAG5C,CAAA;AACF,eAAO,MAAM,kCAAkC;;;;;;;;;;EAG7C,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;EAE1C,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;EAE7C,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM1B,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAA;AAeF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6BvC,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;EAGhD,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;EAElD,CAAA;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpD,CAAA;AAEF,eAAO,MAAM,6CAA6C;;;;;;;;;EAGxD,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU0C,CAAA"}
|
|
@@ -83,6 +83,7 @@ export declare const DatasetSchema: z.ZodObject<{
|
|
|
83
83
|
export declare const DatasetDefinitionSchema: z.ZodObject<{
|
|
84
84
|
id: z.ZodString;
|
|
85
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
86
87
|
partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
87
88
|
schema: z.ZodObject<{
|
|
88
89
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -121,6 +122,7 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
|
|
|
121
122
|
}[];
|
|
122
123
|
};
|
|
123
124
|
description?: string | undefined;
|
|
125
|
+
primaryKey?: string | string[] | undefined;
|
|
124
126
|
partitionBy?: string[] | undefined;
|
|
125
127
|
}, {
|
|
126
128
|
id: string;
|
|
@@ -132,6 +134,7 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
|
|
|
132
134
|
}[];
|
|
133
135
|
};
|
|
134
136
|
description?: string | undefined;
|
|
137
|
+
primaryKey?: string | string[] | undefined;
|
|
135
138
|
partitionBy?: string[] | undefined;
|
|
136
139
|
}>;
|
|
137
140
|
export declare const DatasetVersionRefSchema: z.ZodObject<{
|
|
@@ -161,7 +164,7 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
161
164
|
datasetId: z.ZodString;
|
|
162
165
|
versionId: z.ZodString;
|
|
163
166
|
parentVersionId: z.ZodOptional<z.ZodString>;
|
|
164
|
-
mode: z.ZodEnum<["snapshot", "append", "schema"]>;
|
|
167
|
+
mode: z.ZodEnum<["snapshot", "append", "merge", "schema"]>;
|
|
165
168
|
createdAt: z.ZodString;
|
|
166
169
|
schema: z.ZodObject<{
|
|
167
170
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -216,7 +219,7 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
216
219
|
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
217
220
|
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
218
221
|
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
mode: "append" | "schema" | "snapshot";
|
|
222
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
220
223
|
schema: {
|
|
221
224
|
columns: {
|
|
222
225
|
name: string;
|
|
@@ -240,7 +243,7 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
240
243
|
}[] | undefined;
|
|
241
244
|
rowCount?: number | undefined;
|
|
242
245
|
}, {
|
|
243
|
-
mode: "append" | "schema" | "snapshot";
|
|
246
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
244
247
|
schema: {
|
|
245
248
|
columns: {
|
|
246
249
|
name: string;
|
|
@@ -267,17 +270,17 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
267
270
|
export declare const DatasetLatestVersionSummarySchema: z.ZodObject<{
|
|
268
271
|
datasetId: z.ZodString;
|
|
269
272
|
versionId: z.ZodString;
|
|
270
|
-
mode: z.ZodEnum<["snapshot", "append", "schema"]>;
|
|
273
|
+
mode: z.ZodEnum<["snapshot", "append", "merge", "schema"]>;
|
|
271
274
|
createdAt: z.ZodString;
|
|
272
275
|
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
273
276
|
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
mode: "append" | "schema" | "snapshot";
|
|
277
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
275
278
|
createdAt: string;
|
|
276
279
|
datasetId: string;
|
|
277
280
|
versionId: string;
|
|
278
281
|
rowCount?: number | undefined;
|
|
279
282
|
}, {
|
|
280
|
-
mode: "append" | "schema" | "snapshot";
|
|
283
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
281
284
|
createdAt: string;
|
|
282
285
|
datasetId: string;
|
|
283
286
|
versionId: string;
|
|
@@ -286,6 +289,7 @@ export declare const DatasetLatestVersionSummarySchema: z.ZodObject<{
|
|
|
286
289
|
export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
287
290
|
id: z.ZodString;
|
|
288
291
|
description: z.ZodOptional<z.ZodString>;
|
|
292
|
+
primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
289
293
|
partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
290
294
|
schema: z.ZodObject<{
|
|
291
295
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -320,17 +324,17 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
320
324
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
321
325
|
datasetId: z.ZodString;
|
|
322
326
|
versionId: z.ZodString;
|
|
323
|
-
mode: z.ZodEnum<["snapshot", "append", "schema"]>;
|
|
327
|
+
mode: z.ZodEnum<["snapshot", "append", "merge", "schema"]>;
|
|
324
328
|
createdAt: z.ZodString;
|
|
325
329
|
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
326
330
|
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
mode: "append" | "schema" | "snapshot";
|
|
331
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
328
332
|
createdAt: string;
|
|
329
333
|
datasetId: string;
|
|
330
334
|
versionId: string;
|
|
331
335
|
rowCount?: number | undefined;
|
|
332
336
|
}, {
|
|
333
|
-
mode: "append" | "schema" | "snapshot";
|
|
337
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
334
338
|
createdAt: string;
|
|
335
339
|
datasetId: string;
|
|
336
340
|
versionId: string;
|
|
@@ -341,8 +345,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
341
345
|
targetPipelineIds: z.ZodArray<z.ZodString, "many">;
|
|
342
346
|
projectionIds: z.ZodArray<z.ZodString, "many">;
|
|
343
347
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
kind: "dataset";
|
|
345
348
|
id: string;
|
|
349
|
+
kind: "dataset";
|
|
346
350
|
schema: {
|
|
347
351
|
columns: {
|
|
348
352
|
name: string;
|
|
@@ -353,7 +357,7 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
353
357
|
syncIds: string[];
|
|
354
358
|
materialized: boolean;
|
|
355
359
|
latestVersion: {
|
|
356
|
-
mode: "append" | "schema" | "snapshot";
|
|
360
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
357
361
|
createdAt: string;
|
|
358
362
|
datasetId: string;
|
|
359
363
|
versionId: string;
|
|
@@ -363,10 +367,11 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
363
367
|
targetPipelineIds: string[];
|
|
364
368
|
projectionIds: string[];
|
|
365
369
|
description?: string | undefined;
|
|
370
|
+
primaryKey?: string | string[] | undefined;
|
|
366
371
|
partitionBy?: string[] | undefined;
|
|
367
372
|
}, {
|
|
368
|
-
kind: "dataset";
|
|
369
373
|
id: string;
|
|
374
|
+
kind: "dataset";
|
|
370
375
|
schema: {
|
|
371
376
|
columns: {
|
|
372
377
|
name: string;
|
|
@@ -377,7 +382,7 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
377
382
|
syncIds: string[];
|
|
378
383
|
materialized: boolean;
|
|
379
384
|
latestVersion: {
|
|
380
|
-
mode: "append" | "schema" | "snapshot";
|
|
385
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
381
386
|
createdAt: string;
|
|
382
387
|
datasetId: string;
|
|
383
388
|
versionId: string;
|
|
@@ -387,6 +392,7 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
387
392
|
targetPipelineIds: string[];
|
|
388
393
|
projectionIds: string[];
|
|
389
394
|
description?: string | undefined;
|
|
395
|
+
primaryKey?: string | string[] | undefined;
|
|
390
396
|
partitionBy?: string[] | undefined;
|
|
391
397
|
}>;
|
|
392
398
|
export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
@@ -394,7 +400,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
394
400
|
datasetId: z.ZodString;
|
|
395
401
|
versionId: z.ZodString;
|
|
396
402
|
parentVersionId: z.ZodOptional<z.ZodString>;
|
|
397
|
-
mode: z.ZodEnum<["snapshot", "append", "schema"]>;
|
|
403
|
+
mode: z.ZodEnum<["snapshot", "append", "merge", "schema"]>;
|
|
398
404
|
createdAt: z.ZodString;
|
|
399
405
|
schema: z.ZodObject<{
|
|
400
406
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -449,7 +455,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
449
455
|
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
450
456
|
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
451
457
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
mode: "append" | "schema" | "snapshot";
|
|
458
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
453
459
|
schema: {
|
|
454
460
|
columns: {
|
|
455
461
|
name: string;
|
|
@@ -473,7 +479,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
473
479
|
}[] | undefined;
|
|
474
480
|
rowCount?: number | undefined;
|
|
475
481
|
}, {
|
|
476
|
-
mode: "append" | "schema" | "snapshot";
|
|
482
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
477
483
|
schema: {
|
|
478
484
|
columns: {
|
|
479
485
|
name: string;
|
|
@@ -501,7 +507,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
501
507
|
}, "strip", z.ZodTypeAny, {
|
|
502
508
|
count: number;
|
|
503
509
|
versions: {
|
|
504
|
-
mode: "append" | "schema" | "snapshot";
|
|
510
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
505
511
|
schema: {
|
|
506
512
|
columns: {
|
|
507
513
|
name: string;
|
|
@@ -528,7 +534,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
528
534
|
}, {
|
|
529
535
|
count: number;
|
|
530
536
|
versions: {
|
|
531
|
-
mode: "append" | "schema" | "snapshot";
|
|
537
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
532
538
|
schema: {
|
|
533
539
|
columns: {
|
|
534
540
|
name: string;
|
|
@@ -560,7 +566,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
560
566
|
datasetId: z.ZodString;
|
|
561
567
|
versionId: z.ZodString;
|
|
562
568
|
parentVersionId: z.ZodOptional<z.ZodString>;
|
|
563
|
-
mode: z.ZodEnum<["snapshot", "append", "schema"]>;
|
|
569
|
+
mode: z.ZodEnum<["snapshot", "append", "merge", "schema"]>;
|
|
564
570
|
createdAt: z.ZodString;
|
|
565
571
|
schema: z.ZodObject<{
|
|
566
572
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -615,7 +621,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
615
621
|
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
616
622
|
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
617
623
|
}, "strip", z.ZodTypeAny, {
|
|
618
|
-
mode: "append" | "schema" | "snapshot";
|
|
624
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
619
625
|
schema: {
|
|
620
626
|
columns: {
|
|
621
627
|
name: string;
|
|
@@ -639,7 +645,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
639
645
|
}[] | undefined;
|
|
640
646
|
rowCount?: number | undefined;
|
|
641
647
|
}, {
|
|
642
|
-
mode: "append" | "schema" | "snapshot";
|
|
648
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
643
649
|
schema: {
|
|
644
650
|
columns: {
|
|
645
651
|
name: string;
|
|
@@ -676,7 +682,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
676
682
|
offset: number;
|
|
677
683
|
hasMore: boolean;
|
|
678
684
|
version: {
|
|
679
|
-
mode: "append" | "schema" | "snapshot";
|
|
685
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
680
686
|
schema: {
|
|
681
687
|
columns: {
|
|
682
688
|
name: string;
|
|
@@ -711,7 +717,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
711
717
|
offset: number;
|
|
712
718
|
hasMore: boolean;
|
|
713
719
|
version: {
|
|
714
|
-
mode: "append" | "schema" | "snapshot";
|
|
720
|
+
mode: "append" | "schema" | "snapshot" | "merge";
|
|
715
721
|
schema: {
|
|
716
722
|
columns: {
|
|
717
723
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/schemas/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAc9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;EAExB,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/schemas/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAc9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;EAExB,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;EAM5C,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG3C,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWpC,CAAA"}
|
|
@@ -40,8 +40,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
40
40
|
before: import("./common").JsonValue;
|
|
41
41
|
}>]>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
objectTypeId: string;
|
|
44
43
|
properties: Record<string, import("./common").JsonValue>;
|
|
44
|
+
objectTypeId: string;
|
|
45
45
|
primaryId: string;
|
|
46
46
|
propertyChanges: Record<string, {
|
|
47
47
|
operation: "created";
|
|
@@ -56,8 +56,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
56
56
|
before: import("./common").JsonValue;
|
|
57
57
|
}>;
|
|
58
58
|
}, {
|
|
59
|
-
objectTypeId: string;
|
|
60
59
|
properties: Record<string, import("./common").JsonValue>;
|
|
60
|
+
objectTypeId: string;
|
|
61
61
|
primaryId: string;
|
|
62
62
|
propertyChanges: Record<string, {
|
|
63
63
|
operation: "created";
|
|
@@ -111,8 +111,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
111
111
|
before: import("./common").JsonValue;
|
|
112
112
|
}>]>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
objectTypeId: string;
|
|
115
114
|
properties: Record<string, import("./common").JsonValue>;
|
|
115
|
+
objectTypeId: string;
|
|
116
116
|
primaryId: string;
|
|
117
117
|
propertyChanges: Record<string, {
|
|
118
118
|
operation: "created";
|
|
@@ -127,8 +127,8 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
127
127
|
before: import("./common").JsonValue;
|
|
128
128
|
}>;
|
|
129
129
|
}, {
|
|
130
|
-
objectTypeId: string;
|
|
131
130
|
properties: Record<string, import("./common").JsonValue>;
|
|
131
|
+
objectTypeId: string;
|
|
132
132
|
primaryId: string;
|
|
133
133
|
propertyChanges: Record<string, {
|
|
134
134
|
operation: "created";
|
|
@@ -460,15 +460,15 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
460
460
|
at: z.ZodString;
|
|
461
461
|
}, "strip", z.ZodTypeAny, {
|
|
462
462
|
at: string;
|
|
463
|
-
objectTypeId: string;
|
|
464
463
|
value: import("./common").JsonValue;
|
|
464
|
+
objectTypeId: string;
|
|
465
465
|
objectId: string;
|
|
466
466
|
propertyId: string;
|
|
467
467
|
unit?: string | undefined;
|
|
468
468
|
}, {
|
|
469
469
|
at: string;
|
|
470
|
-
objectTypeId: string;
|
|
471
470
|
value: import("./common").JsonValue;
|
|
471
|
+
objectTypeId: string;
|
|
472
472
|
objectId: string;
|
|
473
473
|
propertyId: string;
|
|
474
474
|
unit?: string | undefined;
|
package/dist/schemas/events.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { DomainEvent } from "@sixb/core";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const EVENT_TOPICS: readonly [DomainEvent["topic"], ...DomainEvent["topic"][]];
|
|
4
4
|
export declare const EVENT_TYPES: readonly [DomainEvent["type"], ...DomainEvent["type"][]];
|
|
5
|
-
export declare const EventTopicSchema: z.ZodEnum<["
|
|
6
|
-
export declare const EventTypeSchema: z.ZodEnum<["object.created" | "
|
|
5
|
+
export declare const EventTopicSchema: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
|
|
6
|
+
export declare const EventTypeSchema: z.ZodEnum<["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", ...("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")[]]>;
|
|
7
7
|
/** Mirrors the Materializer's commit origin: which ingress produced the fact. */
|
|
8
8
|
export declare const EventOriginSchema: z.ZodUnion<[z.ZodObject<{
|
|
9
9
|
kind: z.ZodLiteral<"action">;
|
|
@@ -106,19 +106,19 @@ export declare const EventOriginSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
106
106
|
};
|
|
107
107
|
}>]>;
|
|
108
108
|
export declare const EventsQuerySchema: z.ZodObject<{
|
|
109
|
-
topic: z.ZodOptional<z.ZodEnum<["
|
|
110
|
-
type: z.ZodOptional<z.ZodEnum<["object.created" | "
|
|
109
|
+
topic: z.ZodOptional<z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>>;
|
|
110
|
+
type: z.ZodOptional<z.ZodEnum<["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", ...("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")[]]>>;
|
|
111
111
|
afterCursor: z.ZodOptional<z.ZodString>;
|
|
112
112
|
limit: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
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;
|
|
114
115
|
limit?: string | undefined;
|
|
115
|
-
|
|
116
|
-
topic?: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets" | undefined;
|
|
116
|
+
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
|
|
117
117
|
afterCursor?: string | undefined;
|
|
118
118
|
}, {
|
|
119
|
+
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;
|
|
119
120
|
limit?: string | undefined;
|
|
120
|
-
|
|
121
|
-
topic?: "objects" | "telemetry" | "links" | "actions" | "schedules" | "rules" | "syncs" | "pipelines" | "workflows" | "datasets" | undefined;
|
|
121
|
+
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules" | undefined;
|
|
122
122
|
afterCursor?: string | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
type EventSchemaOption = z.ZodDiscriminatedUnionOption<"type">;
|
|
@@ -132,11 +132,11 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
132
132
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
133
133
|
id: z.ZodString;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
type: "serviceAccount" | "user" | "system";
|
|
136
135
|
id: string;
|
|
136
|
+
type: "user" | "serviceAccount" | "system";
|
|
137
137
|
}, {
|
|
138
|
-
type: "serviceAccount" | "user" | "system";
|
|
139
138
|
id: string;
|
|
139
|
+
type: "user" | "serviceAccount" | "system";
|
|
140
140
|
}>>;
|
|
141
141
|
partitionKey: z.ZodString;
|
|
142
142
|
} & {
|
|
@@ -246,14 +246,14 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
246
246
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
247
247
|
} & {
|
|
248
248
|
type: z.ZodEnum<["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", ...("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")[]]>;
|
|
249
|
-
topic: z.ZodEnum<["
|
|
249
|
+
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
|
|
250
250
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
252
|
projectId: string;
|
|
253
|
-
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";
|
|
254
253
|
id: string;
|
|
254
|
+
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";
|
|
255
255
|
payload: Record<string, unknown>;
|
|
256
|
-
topic: "
|
|
256
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
257
257
|
partitionKey: string;
|
|
258
258
|
schemaVersion: 1;
|
|
259
259
|
occurredAt: string;
|
|
@@ -290,15 +290,15 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
290
290
|
causationId?: string | undefined;
|
|
291
291
|
idempotencyKey?: string | undefined;
|
|
292
292
|
actor?: {
|
|
293
|
-
type: "serviceAccount" | "user" | "system";
|
|
294
293
|
id: string;
|
|
294
|
+
type: "user" | "serviceAccount" | "system";
|
|
295
295
|
} | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
projectId: string;
|
|
298
|
-
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";
|
|
299
298
|
id: string;
|
|
299
|
+
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";
|
|
300
300
|
payload: Record<string, unknown>;
|
|
301
|
-
topic: "
|
|
301
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
302
302
|
partitionKey: string;
|
|
303
303
|
schemaVersion: 1;
|
|
304
304
|
occurredAt: string;
|
|
@@ -335,8 +335,8 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
335
335
|
causationId?: string | undefined;
|
|
336
336
|
idempotencyKey?: string | undefined;
|
|
337
337
|
actor?: {
|
|
338
|
-
type: "serviceAccount" | "user" | "system";
|
|
339
338
|
id: string;
|
|
339
|
+
type: "user" | "serviceAccount" | "system";
|
|
340
340
|
} | undefined;
|
|
341
341
|
}>]>;
|
|
342
342
|
export declare const EventsResponseSchema: z.ZodObject<{
|
|
@@ -351,11 +351,11 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
351
351
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
352
352
|
id: z.ZodString;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
type: "serviceAccount" | "user" | "system";
|
|
355
354
|
id: string;
|
|
355
|
+
type: "user" | "serviceAccount" | "system";
|
|
356
356
|
}, {
|
|
357
|
-
type: "serviceAccount" | "user" | "system";
|
|
358
357
|
id: string;
|
|
358
|
+
type: "user" | "serviceAccount" | "system";
|
|
359
359
|
}>>;
|
|
360
360
|
partitionKey: z.ZodString;
|
|
361
361
|
} & {
|
|
@@ -465,14 +465,14 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
465
465
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
466
466
|
} & {
|
|
467
467
|
type: z.ZodEnum<["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", ...("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")[]]>;
|
|
468
|
-
topic: z.ZodEnum<["
|
|
468
|
+
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules")[]]>;
|
|
469
469
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
471
|
projectId: string;
|
|
472
|
-
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";
|
|
473
472
|
id: string;
|
|
473
|
+
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";
|
|
474
474
|
payload: Record<string, unknown>;
|
|
475
|
-
topic: "
|
|
475
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
476
476
|
partitionKey: string;
|
|
477
477
|
schemaVersion: 1;
|
|
478
478
|
occurredAt: string;
|
|
@@ -509,15 +509,15 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
509
509
|
causationId?: string | undefined;
|
|
510
510
|
idempotencyKey?: string | undefined;
|
|
511
511
|
actor?: {
|
|
512
|
-
type: "serviceAccount" | "user" | "system";
|
|
513
512
|
id: string;
|
|
513
|
+
type: "user" | "serviceAccount" | "system";
|
|
514
514
|
} | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
projectId: string;
|
|
517
|
-
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";
|
|
518
517
|
id: string;
|
|
518
|
+
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";
|
|
519
519
|
payload: Record<string, unknown>;
|
|
520
|
-
topic: "
|
|
520
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
521
521
|
partitionKey: string;
|
|
522
522
|
schemaVersion: 1;
|
|
523
523
|
occurredAt: string;
|
|
@@ -554,18 +554,17 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
554
554
|
causationId?: string | undefined;
|
|
555
555
|
idempotencyKey?: string | undefined;
|
|
556
556
|
actor?: {
|
|
557
|
-
type: "serviceAccount" | "user" | "system";
|
|
558
557
|
id: string;
|
|
558
|
+
type: "user" | "serviceAccount" | "system";
|
|
559
559
|
} | undefined;
|
|
560
560
|
}>]>, "many">;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
count: number;
|
|
563
562
|
events: ({
|
|
564
563
|
projectId: string;
|
|
565
|
-
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";
|
|
566
564
|
id: string;
|
|
565
|
+
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";
|
|
567
566
|
payload: Record<string, unknown>;
|
|
568
|
-
topic: "
|
|
567
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
569
568
|
partitionKey: string;
|
|
570
569
|
schemaVersion: 1;
|
|
571
570
|
occurredAt: string;
|
|
@@ -602,21 +601,21 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
602
601
|
causationId?: string | undefined;
|
|
603
602
|
idempotencyKey?: string | undefined;
|
|
604
603
|
actor?: {
|
|
605
|
-
type: "serviceAccount" | "user" | "system";
|
|
606
604
|
id: string;
|
|
605
|
+
type: "user" | "serviceAccount" | "system";
|
|
607
606
|
} | undefined;
|
|
608
607
|
} | {
|
|
609
608
|
[x: string]: any;
|
|
610
609
|
type?: unknown;
|
|
611
610
|
})[];
|
|
612
|
-
}, {
|
|
613
611
|
count: number;
|
|
612
|
+
}, {
|
|
614
613
|
events: ({
|
|
615
614
|
projectId: string;
|
|
616
|
-
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";
|
|
617
615
|
id: string;
|
|
616
|
+
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";
|
|
618
617
|
payload: Record<string, unknown>;
|
|
619
|
-
topic: "
|
|
618
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "actions" | "links" | "telemetry" | "schedules";
|
|
620
619
|
partitionKey: string;
|
|
621
620
|
schemaVersion: 1;
|
|
622
621
|
occurredAt: string;
|
|
@@ -653,13 +652,14 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
653
652
|
causationId?: string | undefined;
|
|
654
653
|
idempotencyKey?: string | undefined;
|
|
655
654
|
actor?: {
|
|
656
|
-
type: "serviceAccount" | "user" | "system";
|
|
657
655
|
id: string;
|
|
656
|
+
type: "user" | "serviceAccount" | "system";
|
|
658
657
|
} | undefined;
|
|
659
658
|
} | {
|
|
660
659
|
[x: string]: any;
|
|
661
660
|
type?: unknown;
|
|
662
661
|
})[];
|
|
662
|
+
count: number;
|
|
663
663
|
}>;
|
|
664
664
|
export {};
|
|
665
665
|
//# sourceMappingURL=events.d.ts.map
|