@sixb/server 0.0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/scope.d.ts +18 -8
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/files/content.d.ts +11 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +2115 -2081
- package/dist/index.js.map +15 -15
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +21 -21
- package/dist/routes/auth.d.ts +6 -6
- package/dist/routes/datasets.d.ts +7 -5
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +6 -0
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/objects.d.ts +3 -0
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +24 -24
- package/dist/routes/pipelines.d.ts +4 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +7 -5
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +3 -0
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +61 -62
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/agents.d.ts +84 -84
- package/dist/schemas/auth.d.ts +26 -26
- package/dist/schemas/datasets.d.ts +27 -21
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +12 -12
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/ontology.d.ts +88 -88
- package/dist/schemas/pipelines.d.ts +36 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +23 -16
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +299 -246
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/auth/scope.ts +16 -2
- package/src/files/content.ts +11 -0
- package/src/routes/action-runs.ts +10 -3
- package/src/routes/agent-api-gateway.ts +46 -4
- package/src/routes/files.ts +2 -1
- package/src/routes/links.ts +1 -0
- package/src/routes/workflows.ts +39 -16
- package/src/schemas/datasets.ts +3 -2
- package/src/schemas/pipelines.ts +1 -25
- package/src/schemas/syncs.ts +3 -2
- package/src/schemas/workflows.ts +27 -20
- package/src/server.ts +1 -1
package/dist/schemas/auth.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
|
|
|
91
91
|
id: string;
|
|
92
92
|
expiresAt: string;
|
|
93
93
|
createdAt: string;
|
|
94
|
-
subjectType: "
|
|
94
|
+
subjectType: "user" | "serviceAccount";
|
|
95
95
|
subjectId: string;
|
|
96
96
|
groupIds?: string[] | undefined;
|
|
97
97
|
revokedAt?: string | undefined;
|
|
@@ -106,7 +106,7 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
|
|
|
106
106
|
id: string;
|
|
107
107
|
expiresAt: string;
|
|
108
108
|
createdAt: string;
|
|
109
|
-
subjectType: "
|
|
109
|
+
subjectType: "user" | "serviceAccount";
|
|
110
110
|
subjectId: string;
|
|
111
111
|
groupIds?: string[] | undefined;
|
|
112
112
|
revokedAt?: string | undefined;
|
|
@@ -352,7 +352,7 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
352
352
|
id: string;
|
|
353
353
|
expiresAt: string;
|
|
354
354
|
createdAt: string;
|
|
355
|
-
subjectType: "
|
|
355
|
+
subjectType: "user" | "serviceAccount";
|
|
356
356
|
subjectId: string;
|
|
357
357
|
groupIds?: string[] | undefined;
|
|
358
358
|
revokedAt?: string | undefined;
|
|
@@ -367,7 +367,7 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
367
367
|
id: string;
|
|
368
368
|
expiresAt: string;
|
|
369
369
|
createdAt: string;
|
|
370
|
-
subjectType: "
|
|
370
|
+
subjectType: "user" | "serviceAccount";
|
|
371
371
|
subjectId: string;
|
|
372
372
|
groupIds?: string[] | undefined;
|
|
373
373
|
revokedAt?: string | undefined;
|
|
@@ -384,7 +384,7 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
384
384
|
id: string;
|
|
385
385
|
expiresAt: string;
|
|
386
386
|
createdAt: string;
|
|
387
|
-
subjectType: "
|
|
387
|
+
subjectType: "user" | "serviceAccount";
|
|
388
388
|
subjectId: string;
|
|
389
389
|
groupIds?: string[] | undefined;
|
|
390
390
|
revokedAt?: string | undefined;
|
|
@@ -401,7 +401,7 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
401
401
|
id: string;
|
|
402
402
|
expiresAt: string;
|
|
403
403
|
createdAt: string;
|
|
404
|
-
subjectType: "
|
|
404
|
+
subjectType: "user" | "serviceAccount";
|
|
405
405
|
subjectId: string;
|
|
406
406
|
groupIds?: string[] | undefined;
|
|
407
407
|
revokedAt?: string | undefined;
|
|
@@ -447,7 +447,7 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
447
447
|
id: string;
|
|
448
448
|
expiresAt: string;
|
|
449
449
|
createdAt: string;
|
|
450
|
-
subjectType: "
|
|
450
|
+
subjectType: "user" | "serviceAccount";
|
|
451
451
|
subjectId: string;
|
|
452
452
|
groupIds?: string[] | undefined;
|
|
453
453
|
revokedAt?: string | undefined;
|
|
@@ -462,7 +462,7 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
462
462
|
id: string;
|
|
463
463
|
expiresAt: string;
|
|
464
464
|
createdAt: string;
|
|
465
|
-
subjectType: "
|
|
465
|
+
subjectType: "user" | "serviceAccount";
|
|
466
466
|
subjectId: string;
|
|
467
467
|
groupIds?: string[] | undefined;
|
|
468
468
|
revokedAt?: string | undefined;
|
|
@@ -480,7 +480,7 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
480
480
|
id: string;
|
|
481
481
|
expiresAt: string;
|
|
482
482
|
createdAt: string;
|
|
483
|
-
subjectType: "
|
|
483
|
+
subjectType: "user" | "serviceAccount";
|
|
484
484
|
subjectId: string;
|
|
485
485
|
groupIds?: string[] | undefined;
|
|
486
486
|
revokedAt?: string | undefined;
|
|
@@ -498,7 +498,7 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
498
498
|
id: string;
|
|
499
499
|
expiresAt: string;
|
|
500
500
|
createdAt: string;
|
|
501
|
-
subjectType: "
|
|
501
|
+
subjectType: "user" | "serviceAccount";
|
|
502
502
|
subjectId: string;
|
|
503
503
|
groupIds?: string[] | undefined;
|
|
504
504
|
revokedAt?: string | undefined;
|
|
@@ -539,7 +539,7 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
539
539
|
id: string;
|
|
540
540
|
expiresAt: string;
|
|
541
541
|
createdAt: string;
|
|
542
|
-
subjectType: "
|
|
542
|
+
subjectType: "user" | "serviceAccount";
|
|
543
543
|
subjectId: string;
|
|
544
544
|
groupIds?: string[] | undefined;
|
|
545
545
|
revokedAt?: string | undefined;
|
|
@@ -554,7 +554,7 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
554
554
|
id: string;
|
|
555
555
|
expiresAt: string;
|
|
556
556
|
createdAt: string;
|
|
557
|
-
subjectType: "
|
|
557
|
+
subjectType: "user" | "serviceAccount";
|
|
558
558
|
subjectId: string;
|
|
559
559
|
groupIds?: string[] | undefined;
|
|
560
560
|
revokedAt?: string | undefined;
|
|
@@ -571,7 +571,7 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
571
571
|
id: string;
|
|
572
572
|
expiresAt: string;
|
|
573
573
|
createdAt: string;
|
|
574
|
-
subjectType: "
|
|
574
|
+
subjectType: "user" | "serviceAccount";
|
|
575
575
|
subjectId: string;
|
|
576
576
|
groupIds?: string[] | undefined;
|
|
577
577
|
revokedAt?: string | undefined;
|
|
@@ -588,7 +588,7 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
588
588
|
id: string;
|
|
589
589
|
expiresAt: string;
|
|
590
590
|
createdAt: string;
|
|
591
|
-
subjectType: "
|
|
591
|
+
subjectType: "user" | "serviceAccount";
|
|
592
592
|
subjectId: string;
|
|
593
593
|
groupIds?: string[] | undefined;
|
|
594
594
|
revokedAt?: string | undefined;
|
|
@@ -785,7 +785,7 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
785
785
|
id: string;
|
|
786
786
|
expiresAt: string;
|
|
787
787
|
createdAt: string;
|
|
788
|
-
subjectType: "
|
|
788
|
+
subjectType: "user" | "serviceAccount";
|
|
789
789
|
subjectId: string;
|
|
790
790
|
groupIds?: string[] | undefined;
|
|
791
791
|
revokedAt?: string | undefined;
|
|
@@ -800,7 +800,7 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
800
800
|
id: string;
|
|
801
801
|
expiresAt: string;
|
|
802
802
|
createdAt: string;
|
|
803
|
-
subjectType: "
|
|
803
|
+
subjectType: "user" | "serviceAccount";
|
|
804
804
|
subjectId: string;
|
|
805
805
|
groupIds?: string[] | undefined;
|
|
806
806
|
revokedAt?: string | undefined;
|
|
@@ -817,7 +817,7 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
817
817
|
id: string;
|
|
818
818
|
expiresAt: string;
|
|
819
819
|
createdAt: string;
|
|
820
|
-
subjectType: "
|
|
820
|
+
subjectType: "user" | "serviceAccount";
|
|
821
821
|
subjectId: string;
|
|
822
822
|
groupIds?: string[] | undefined;
|
|
823
823
|
revokedAt?: string | undefined;
|
|
@@ -834,7 +834,7 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
834
834
|
id: string;
|
|
835
835
|
expiresAt: string;
|
|
836
836
|
createdAt: string;
|
|
837
|
-
subjectType: "
|
|
837
|
+
subjectType: "user" | "serviceAccount";
|
|
838
838
|
subjectId: string;
|
|
839
839
|
groupIds?: string[] | undefined;
|
|
840
840
|
revokedAt?: string | undefined;
|
|
@@ -880,7 +880,7 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
880
880
|
id: string;
|
|
881
881
|
expiresAt: string;
|
|
882
882
|
createdAt: string;
|
|
883
|
-
subjectType: "
|
|
883
|
+
subjectType: "user" | "serviceAccount";
|
|
884
884
|
subjectId: string;
|
|
885
885
|
groupIds?: string[] | undefined;
|
|
886
886
|
revokedAt?: string | undefined;
|
|
@@ -895,7 +895,7 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
895
895
|
id: string;
|
|
896
896
|
expiresAt: string;
|
|
897
897
|
createdAt: string;
|
|
898
|
-
subjectType: "
|
|
898
|
+
subjectType: "user" | "serviceAccount";
|
|
899
899
|
subjectId: string;
|
|
900
900
|
groupIds?: string[] | undefined;
|
|
901
901
|
revokedAt?: string | undefined;
|
|
@@ -913,7 +913,7 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
913
913
|
id: string;
|
|
914
914
|
expiresAt: string;
|
|
915
915
|
createdAt: string;
|
|
916
|
-
subjectType: "
|
|
916
|
+
subjectType: "user" | "serviceAccount";
|
|
917
917
|
subjectId: string;
|
|
918
918
|
groupIds?: string[] | undefined;
|
|
919
919
|
revokedAt?: string | undefined;
|
|
@@ -931,7 +931,7 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
931
931
|
id: string;
|
|
932
932
|
expiresAt: string;
|
|
933
933
|
createdAt: string;
|
|
934
|
-
subjectType: "
|
|
934
|
+
subjectType: "user" | "serviceAccount";
|
|
935
935
|
subjectId: string;
|
|
936
936
|
groupIds?: string[] | undefined;
|
|
937
937
|
revokedAt?: string | undefined;
|
|
@@ -976,7 +976,7 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
976
976
|
id: string;
|
|
977
977
|
expiresAt: string;
|
|
978
978
|
createdAt: string;
|
|
979
|
-
subjectType: "
|
|
979
|
+
subjectType: "user" | "serviceAccount";
|
|
980
980
|
subjectId: string;
|
|
981
981
|
groupIds?: string[] | undefined;
|
|
982
982
|
revokedAt?: string | undefined;
|
|
@@ -991,7 +991,7 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
991
991
|
id: string;
|
|
992
992
|
expiresAt: string;
|
|
993
993
|
createdAt: string;
|
|
994
|
-
subjectType: "
|
|
994
|
+
subjectType: "user" | "serviceAccount";
|
|
995
995
|
subjectId: string;
|
|
996
996
|
groupIds?: string[] | undefined;
|
|
997
997
|
revokedAt?: string | undefined;
|
|
@@ -1008,7 +1008,7 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
expiresAt: string;
|
|
1010
1010
|
createdAt: string;
|
|
1011
|
-
subjectType: "
|
|
1011
|
+
subjectType: "user" | "serviceAccount";
|
|
1012
1012
|
subjectId: string;
|
|
1013
1013
|
groupIds?: string[] | undefined;
|
|
1014
1014
|
revokedAt?: string | undefined;
|
|
@@ -1025,7 +1025,7 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
1025
1025
|
id: string;
|
|
1026
1026
|
expiresAt: string;
|
|
1027
1027
|
createdAt: string;
|
|
1028
|
-
subjectType: "
|
|
1028
|
+
subjectType: "user" | "serviceAccount";
|
|
1029
1029
|
subjectId: string;
|
|
1030
1030
|
groupIds?: string[] | undefined;
|
|
1031
1031
|
revokedAt?: string | undefined;
|
|
@@ -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;
|
|
@@ -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,6 +367,7 @@ 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
373
|
kind: "dataset";
|
|
@@ -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"}
|
package/dist/schemas/events.d.ts
CHANGED
|
@@ -129,13 +129,13 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
129
129
|
projectId: z.ZodString;
|
|
130
130
|
occurredAt: z.ZodString;
|
|
131
131
|
actor: z.ZodOptional<z.ZodObject<{
|
|
132
|
-
type: z.ZodEnum<["user", "
|
|
132
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
133
133
|
id: z.ZodString;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
type: "user" | "
|
|
135
|
+
type: "user" | "serviceAccount" | "system";
|
|
136
136
|
id: string;
|
|
137
137
|
}, {
|
|
138
|
-
type: "user" | "
|
|
138
|
+
type: "user" | "serviceAccount" | "system";
|
|
139
139
|
id: string;
|
|
140
140
|
}>>;
|
|
141
141
|
partitionKey: z.ZodString;
|
|
@@ -290,7 +290,7 @@ 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: "user" | "
|
|
293
|
+
type: "user" | "serviceAccount" | "system";
|
|
294
294
|
id: string;
|
|
295
295
|
} | undefined;
|
|
296
296
|
}, {
|
|
@@ -335,7 +335,7 @@ 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: "user" | "
|
|
338
|
+
type: "user" | "serviceAccount" | "system";
|
|
339
339
|
id: string;
|
|
340
340
|
} | undefined;
|
|
341
341
|
}>]>;
|
|
@@ -348,13 +348,13 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
348
348
|
projectId: z.ZodString;
|
|
349
349
|
occurredAt: z.ZodString;
|
|
350
350
|
actor: z.ZodOptional<z.ZodObject<{
|
|
351
|
-
type: z.ZodEnum<["user", "
|
|
351
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
352
352
|
id: z.ZodString;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
type: "user" | "
|
|
354
|
+
type: "user" | "serviceAccount" | "system";
|
|
355
355
|
id: string;
|
|
356
356
|
}, {
|
|
357
|
-
type: "user" | "
|
|
357
|
+
type: "user" | "serviceAccount" | "system";
|
|
358
358
|
id: string;
|
|
359
359
|
}>>;
|
|
360
360
|
partitionKey: z.ZodString;
|
|
@@ -509,7 +509,7 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
509
509
|
causationId?: string | undefined;
|
|
510
510
|
idempotencyKey?: string | undefined;
|
|
511
511
|
actor?: {
|
|
512
|
-
type: "user" | "
|
|
512
|
+
type: "user" | "serviceAccount" | "system";
|
|
513
513
|
id: string;
|
|
514
514
|
} | undefined;
|
|
515
515
|
}, {
|
|
@@ -554,7 +554,7 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
554
554
|
causationId?: string | undefined;
|
|
555
555
|
idempotencyKey?: string | undefined;
|
|
556
556
|
actor?: {
|
|
557
|
-
type: "user" | "
|
|
557
|
+
type: "user" | "serviceAccount" | "system";
|
|
558
558
|
id: string;
|
|
559
559
|
} | undefined;
|
|
560
560
|
}>]>, "many">;
|
|
@@ -602,7 +602,7 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
602
602
|
causationId?: string | undefined;
|
|
603
603
|
idempotencyKey?: string | undefined;
|
|
604
604
|
actor?: {
|
|
605
|
-
type: "user" | "
|
|
605
|
+
type: "user" | "serviceAccount" | "system";
|
|
606
606
|
id: string;
|
|
607
607
|
} | undefined;
|
|
608
608
|
} | {
|
|
@@ -653,7 +653,7 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
653
653
|
causationId?: string | undefined;
|
|
654
654
|
idempotencyKey?: string | undefined;
|
|
655
655
|
actor?: {
|
|
656
|
-
type: "user" | "
|
|
656
|
+
type: "user" | "serviceAccount" | "system";
|
|
657
657
|
id: string;
|
|
658
658
|
} | undefined;
|
|
659
659
|
} | {
|