@sixb/server 0.1.17 → 0.1.19
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/actions/serialize.d.ts +7 -0
- package/dist/actions/serialize.d.ts.map +1 -0
- package/dist/auth/experience.d.ts +5 -1
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/files/content.d.ts +0 -1
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +812 -769
- package/dist/index.js.map +32 -31
- package/dist/routes/action-runs.d.ts +11 -13
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +44 -13
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +67 -47
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +3 -2
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +21 -21
- package/dist/routes/connector-connections.d.ts +8 -8
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +9 -6
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +15 -12
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/models.d.ts +1 -0
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +21 -4
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +16 -16
- package/dist/routes/project.d.ts +2 -0
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +49 -49
- package/dist/routes/syncs.d.ts +10 -10
- package/dist/routes/webhook-runs.d.ts +2 -2
- package/dist/routes/workflows.d.ts +51 -48
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -9
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/subscription-hub.d.ts +5 -0
- package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +100 -84
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +242 -143
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +10 -10
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/auth.d.ts +7 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +8 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +8 -8
- package/dist/schemas/datasets.d.ts +58 -43
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +39 -0
- package/dist/schemas/event-payloads.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +24 -24
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +5 -5
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +10 -0
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +32 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +40 -40
- package/dist/schemas/pipelines.d.ts +92 -92
- package/dist/schemas/project.d.ts +8 -0
- package/dist/schemas/project.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +290 -290
- package/dist/schemas/syncs.d.ts +34 -34
- package/dist/schemas/webhook-runs.d.ts +8 -8
- package/dist/schemas/workflows.d.ts +177 -160
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/request-body.d.ts +20 -6
- package/dist/utils/request-body.d.ts.map +1 -1
- package/package.json +6 -5
- package/src/actions/serialize.ts +55 -0
- package/src/auth/experience.ts +20 -2
- package/src/files/content.ts +43 -88
- package/src/routes/action-runs.ts +1 -54
- package/src/routes/actions.ts +26 -8
- package/src/routes/agent-api-gateway.ts +18 -42
- package/src/routes/agents.ts +29 -9
- package/src/routes/auth.ts +84 -19
- package/src/routes/datasets.ts +12 -43
- package/src/routes/files.ts +18 -64
- package/src/routes/models.ts +3 -0
- package/src/routes/objects.ts +12 -2
- package/src/routes/project.ts +2 -1
- package/src/routes/workflows.ts +5 -0
- package/src/routes/ws/events.ts +7 -15
- package/src/routes/ws/subscription-hub.ts +20 -5
- package/src/schemas/actions.ts +21 -18
- package/src/schemas/agents.ts +28 -3
- package/src/schemas/auth.ts +5 -0
- package/src/schemas/common.ts +3 -0
- package/src/schemas/datasets.ts +23 -1
- package/src/schemas/event-payloads.ts +3 -1
- package/src/schemas/files.ts +7 -1
- package/src/schemas/models.ts +2 -0
- package/src/schemas/objects.ts +13 -0
- package/src/schemas/project.ts +4 -0
- package/src/server.ts +23 -4
- package/src/utils/http.ts +2 -0
- package/src/utils/request-body.ts +55 -6
|
@@ -26,19 +26,19 @@ export declare const DatasetVersionsQuerySchema: z.ZodObject<{
|
|
|
26
26
|
}>;
|
|
27
27
|
export declare const DatasetRowsQuerySchema: z.ZodObject<{
|
|
28
28
|
versionId: z.ZodOptional<z.ZodString>;
|
|
29
|
-
columns: z.ZodOptional<z.ZodString
|
|
29
|
+
columns: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], unknown>>;
|
|
30
30
|
limit: z.ZodOptional<z.ZodString>;
|
|
31
31
|
offset: z.ZodOptional<z.ZodString>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
limit?: string | undefined;
|
|
34
34
|
offset?: string | undefined;
|
|
35
35
|
versionId?: string | undefined;
|
|
36
|
-
columns?: string | undefined;
|
|
36
|
+
columns?: string[] | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
limit?: string | undefined;
|
|
39
39
|
offset?: string | undefined;
|
|
40
40
|
versionId?: string | undefined;
|
|
41
|
-
columns?:
|
|
41
|
+
columns?: unknown;
|
|
42
42
|
}>;
|
|
43
43
|
export declare const DatasetColumnSchema: z.ZodObject<{
|
|
44
44
|
name: z.ZodString;
|
|
@@ -46,11 +46,11 @@ export declare const DatasetColumnSchema: z.ZodObject<{
|
|
|
46
46
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
name: string;
|
|
49
|
-
type: "string" | "boolean" | "
|
|
49
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
50
50
|
nullable?: boolean | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
name: string;
|
|
53
|
-
type: "string" | "boolean" | "
|
|
53
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
54
54
|
nullable?: boolean | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
export declare const DatasetSchema: z.ZodObject<{
|
|
@@ -60,23 +60,23 @@ export declare const DatasetSchema: z.ZodObject<{
|
|
|
60
60
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
name: string;
|
|
63
|
-
type: "string" | "boolean" | "
|
|
63
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
64
64
|
nullable?: boolean | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
name: string;
|
|
67
|
-
type: "string" | "boolean" | "
|
|
67
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
68
68
|
nullable?: boolean | undefined;
|
|
69
69
|
}>, "many">;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
columns: {
|
|
72
72
|
name: string;
|
|
73
|
-
type: "string" | "boolean" | "
|
|
73
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
74
74
|
nullable?: boolean | undefined;
|
|
75
75
|
}[];
|
|
76
76
|
}, {
|
|
77
77
|
columns: {
|
|
78
78
|
name: string;
|
|
79
|
-
type: "string" | "boolean" | "
|
|
79
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
80
80
|
nullable?: boolean | undefined;
|
|
81
81
|
}[];
|
|
82
82
|
}>;
|
|
@@ -93,23 +93,23 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
|
|
|
93
93
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
name: string;
|
|
96
|
-
type: "string" | "boolean" | "
|
|
96
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
97
97
|
nullable?: boolean | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
name: string;
|
|
100
|
-
type: "string" | "boolean" | "
|
|
100
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
101
101
|
nullable?: boolean | undefined;
|
|
102
102
|
}>, "many">;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
columns: {
|
|
105
105
|
name: string;
|
|
106
|
-
type: "string" | "boolean" | "
|
|
106
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
107
107
|
nullable?: boolean | undefined;
|
|
108
108
|
}[];
|
|
109
109
|
}, {
|
|
110
110
|
columns: {
|
|
111
111
|
name: string;
|
|
112
|
-
type: "string" | "boolean" | "
|
|
112
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
113
113
|
nullable?: boolean | undefined;
|
|
114
114
|
}[];
|
|
115
115
|
}>;
|
|
@@ -118,7 +118,7 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
|
|
|
118
118
|
schema: {
|
|
119
119
|
columns: {
|
|
120
120
|
name: string;
|
|
121
|
-
type: "string" | "boolean" | "
|
|
121
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
122
122
|
nullable?: boolean | undefined;
|
|
123
123
|
}[];
|
|
124
124
|
};
|
|
@@ -131,7 +131,7 @@ export declare const DatasetDefinitionSchema: z.ZodObject<{
|
|
|
131
131
|
schema: {
|
|
132
132
|
columns: {
|
|
133
133
|
name: string;
|
|
134
|
-
type: "string" | "boolean" | "
|
|
134
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
135
135
|
nullable?: boolean | undefined;
|
|
136
136
|
}[];
|
|
137
137
|
};
|
|
@@ -176,23 +176,23 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
176
176
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
178
|
name: string;
|
|
179
|
-
type: "string" | "boolean" | "
|
|
179
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
180
180
|
nullable?: boolean | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
name: string;
|
|
183
|
-
type: "string" | "boolean" | "
|
|
183
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
184
184
|
nullable?: boolean | undefined;
|
|
185
185
|
}>, "many">;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
187
|
columns: {
|
|
188
188
|
name: string;
|
|
189
|
-
type: "string" | "boolean" | "
|
|
189
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
190
190
|
nullable?: boolean | undefined;
|
|
191
191
|
}[];
|
|
192
192
|
}, {
|
|
193
193
|
columns: {
|
|
194
194
|
name: string;
|
|
195
|
-
type: "string" | "boolean" | "
|
|
195
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
196
196
|
nullable?: boolean | undefined;
|
|
197
197
|
}[];
|
|
198
198
|
}>;
|
|
@@ -226,7 +226,7 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
226
226
|
schema: {
|
|
227
227
|
columns: {
|
|
228
228
|
name: string;
|
|
229
|
-
type: "string" | "boolean" | "
|
|
229
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
230
230
|
nullable?: boolean | undefined;
|
|
231
231
|
}[];
|
|
232
232
|
};
|
|
@@ -250,7 +250,7 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
250
250
|
schema: {
|
|
251
251
|
columns: {
|
|
252
252
|
name: string;
|
|
253
|
-
type: "string" | "boolean" | "
|
|
253
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
254
254
|
nullable?: boolean | undefined;
|
|
255
255
|
}[];
|
|
256
256
|
};
|
|
@@ -302,23 +302,23 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
302
302
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
304
|
name: string;
|
|
305
|
-
type: "string" | "boolean" | "
|
|
305
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
306
306
|
nullable?: boolean | undefined;
|
|
307
307
|
}, {
|
|
308
308
|
name: string;
|
|
309
|
-
type: "string" | "boolean" | "
|
|
309
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
310
310
|
nullable?: boolean | undefined;
|
|
311
311
|
}>, "many">;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
313
|
columns: {
|
|
314
314
|
name: string;
|
|
315
|
-
type: "string" | "boolean" | "
|
|
315
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
316
316
|
nullable?: boolean | undefined;
|
|
317
317
|
}[];
|
|
318
318
|
}, {
|
|
319
319
|
columns: {
|
|
320
320
|
name: string;
|
|
321
|
-
type: "string" | "boolean" | "
|
|
321
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
322
322
|
nullable?: boolean | undefined;
|
|
323
323
|
}[];
|
|
324
324
|
}>;
|
|
@@ -354,7 +354,7 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
354
354
|
schema: {
|
|
355
355
|
columns: {
|
|
356
356
|
name: string;
|
|
357
|
-
type: "string" | "boolean" | "
|
|
357
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
358
358
|
nullable?: boolean | undefined;
|
|
359
359
|
}[];
|
|
360
360
|
};
|
|
@@ -380,7 +380,7 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
380
380
|
schema: {
|
|
381
381
|
columns: {
|
|
382
382
|
name: string;
|
|
383
|
-
type: "string" | "boolean" | "
|
|
383
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
384
384
|
nullable?: boolean | undefined;
|
|
385
385
|
}[];
|
|
386
386
|
};
|
|
@@ -415,23 +415,23 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
415
415
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
416
416
|
}, "strip", z.ZodTypeAny, {
|
|
417
417
|
name: string;
|
|
418
|
-
type: "string" | "boolean" | "
|
|
418
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
419
419
|
nullable?: boolean | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
name: string;
|
|
422
|
-
type: "string" | "boolean" | "
|
|
422
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
423
423
|
nullable?: boolean | undefined;
|
|
424
424
|
}>, "many">;
|
|
425
425
|
}, "strip", z.ZodTypeAny, {
|
|
426
426
|
columns: {
|
|
427
427
|
name: string;
|
|
428
|
-
type: "string" | "boolean" | "
|
|
428
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
429
429
|
nullable?: boolean | undefined;
|
|
430
430
|
}[];
|
|
431
431
|
}, {
|
|
432
432
|
columns: {
|
|
433
433
|
name: string;
|
|
434
|
-
type: "string" | "boolean" | "
|
|
434
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
435
435
|
nullable?: boolean | undefined;
|
|
436
436
|
}[];
|
|
437
437
|
}>;
|
|
@@ -465,7 +465,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
465
465
|
schema: {
|
|
466
466
|
columns: {
|
|
467
467
|
name: string;
|
|
468
|
-
type: "string" | "boolean" | "
|
|
468
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
469
469
|
nullable?: boolean | undefined;
|
|
470
470
|
}[];
|
|
471
471
|
};
|
|
@@ -489,7 +489,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
489
489
|
schema: {
|
|
490
490
|
columns: {
|
|
491
491
|
name: string;
|
|
492
|
-
type: "string" | "boolean" | "
|
|
492
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
493
493
|
nullable?: boolean | undefined;
|
|
494
494
|
}[];
|
|
495
495
|
};
|
|
@@ -517,7 +517,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
517
517
|
schema: {
|
|
518
518
|
columns: {
|
|
519
519
|
name: string;
|
|
520
|
-
type: "string" | "boolean" | "
|
|
520
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
521
521
|
nullable?: boolean | undefined;
|
|
522
522
|
}[];
|
|
523
523
|
};
|
|
@@ -544,7 +544,7 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
544
544
|
schema: {
|
|
545
545
|
columns: {
|
|
546
546
|
name: string;
|
|
547
|
-
type: "string" | "boolean" | "
|
|
547
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
548
548
|
nullable?: boolean | undefined;
|
|
549
549
|
}[];
|
|
550
550
|
};
|
|
@@ -581,23 +581,23 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
581
581
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
582
582
|
}, "strip", z.ZodTypeAny, {
|
|
583
583
|
name: string;
|
|
584
|
-
type: "string" | "boolean" | "
|
|
584
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
585
585
|
nullable?: boolean | undefined;
|
|
586
586
|
}, {
|
|
587
587
|
name: string;
|
|
588
|
-
type: "string" | "boolean" | "
|
|
588
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
589
589
|
nullable?: boolean | undefined;
|
|
590
590
|
}>, "many">;
|
|
591
591
|
}, "strip", z.ZodTypeAny, {
|
|
592
592
|
columns: {
|
|
593
593
|
name: string;
|
|
594
|
-
type: "string" | "boolean" | "
|
|
594
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
595
595
|
nullable?: boolean | undefined;
|
|
596
596
|
}[];
|
|
597
597
|
}, {
|
|
598
598
|
columns: {
|
|
599
599
|
name: string;
|
|
600
|
-
type: "string" | "boolean" | "
|
|
600
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
601
601
|
nullable?: boolean | undefined;
|
|
602
602
|
}[];
|
|
603
603
|
}>;
|
|
@@ -631,7 +631,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
631
631
|
schema: {
|
|
632
632
|
columns: {
|
|
633
633
|
name: string;
|
|
634
|
-
type: "string" | "boolean" | "
|
|
634
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
635
635
|
nullable?: boolean | undefined;
|
|
636
636
|
}[];
|
|
637
637
|
};
|
|
@@ -655,7 +655,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
655
655
|
schema: {
|
|
656
656
|
columns: {
|
|
657
657
|
name: string;
|
|
658
|
-
type: "string" | "boolean" | "
|
|
658
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
659
659
|
nullable?: boolean | undefined;
|
|
660
660
|
}[];
|
|
661
661
|
};
|
|
@@ -675,7 +675,16 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
675
675
|
}[] | undefined;
|
|
676
676
|
rowCount?: number | undefined;
|
|
677
677
|
}>;
|
|
678
|
+
/** Returned columns. Redacted columns are left out. */
|
|
678
679
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
680
|
+
/** Columns omitted because the caller lacks a clearance for their markings. */
|
|
681
|
+
redactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
682
|
+
reason: z.ZodLiteral<"missing_clearance">;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
reason: "missing_clearance";
|
|
685
|
+
}, {
|
|
686
|
+
reason: "missing_clearance";
|
|
687
|
+
}>>>;
|
|
679
688
|
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
680
689
|
count: z.ZodNumber;
|
|
681
690
|
limit: z.ZodNumber;
|
|
@@ -689,7 +698,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
689
698
|
schema: {
|
|
690
699
|
columns: {
|
|
691
700
|
name: string;
|
|
692
|
-
type: "string" | "boolean" | "
|
|
701
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
693
702
|
nullable?: boolean | undefined;
|
|
694
703
|
}[];
|
|
695
704
|
};
|
|
@@ -717,6 +726,9 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
717
726
|
columns: string[];
|
|
718
727
|
rows: Record<string, unknown>[];
|
|
719
728
|
total?: number | undefined;
|
|
729
|
+
redactions?: Record<string, {
|
|
730
|
+
reason: "missing_clearance";
|
|
731
|
+
}> | undefined;
|
|
720
732
|
}, {
|
|
721
733
|
count: number;
|
|
722
734
|
version: {
|
|
@@ -724,7 +736,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
724
736
|
schema: {
|
|
725
737
|
columns: {
|
|
726
738
|
name: string;
|
|
727
|
-
type: "string" | "boolean" | "
|
|
739
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
728
740
|
nullable?: boolean | undefined;
|
|
729
741
|
}[];
|
|
730
742
|
};
|
|
@@ -752,5 +764,8 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
752
764
|
columns: string[];
|
|
753
765
|
rows: Record<string, unknown>[];
|
|
754
766
|
total?: number | undefined;
|
|
767
|
+
redactions?: Record<string, {
|
|
768
|
+
reason: "missing_clearance";
|
|
769
|
+
}> | undefined;
|
|
755
770
|
}>;
|
|
756
771
|
//# sourceMappingURL=datasets.d.ts.map
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/schemas/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAoBF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAc9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;EAExB,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIpC,uDAAuD;;IAEvD,+EAA+E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/E,CAAA"}
|
|
@@ -39,6 +39,13 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
39
39
|
after: import("./common").JsonValue;
|
|
40
40
|
before: import("./common").JsonValue;
|
|
41
41
|
}>]>>;
|
|
42
|
+
redactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
43
|
+
reason: z.ZodLiteral<"missing_clearance">;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
reason: "missing_clearance";
|
|
46
|
+
}, {
|
|
47
|
+
reason: "missing_clearance";
|
|
48
|
+
}>>>;
|
|
42
49
|
}, "strip", z.ZodTypeAny, {
|
|
43
50
|
properties: Record<string, import("./common").JsonValue>;
|
|
44
51
|
objectTypeId: string;
|
|
@@ -55,6 +62,9 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
55
62
|
after: null;
|
|
56
63
|
before: import("./common").JsonValue;
|
|
57
64
|
}>;
|
|
65
|
+
redactions?: Record<string, {
|
|
66
|
+
reason: "missing_clearance";
|
|
67
|
+
}> | undefined;
|
|
58
68
|
}, {
|
|
59
69
|
properties: Record<string, import("./common").JsonValue>;
|
|
60
70
|
objectTypeId: string;
|
|
@@ -71,6 +81,9 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
71
81
|
after: import("./common").JsonValue;
|
|
72
82
|
before: import("./common").JsonValue;
|
|
73
83
|
}>;
|
|
84
|
+
redactions?: Record<string, {
|
|
85
|
+
reason: "missing_clearance";
|
|
86
|
+
}> | undefined;
|
|
74
87
|
}>;
|
|
75
88
|
"object.updated": z.ZodObject<{
|
|
76
89
|
objectTypeId: z.ZodString;
|
|
@@ -110,6 +123,13 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
110
123
|
after: import("./common").JsonValue;
|
|
111
124
|
before: import("./common").JsonValue;
|
|
112
125
|
}>]>>;
|
|
126
|
+
redactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
127
|
+
reason: z.ZodLiteral<"missing_clearance">;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
reason: "missing_clearance";
|
|
130
|
+
}, {
|
|
131
|
+
reason: "missing_clearance";
|
|
132
|
+
}>>>;
|
|
113
133
|
}, "strip", z.ZodTypeAny, {
|
|
114
134
|
properties: Record<string, import("./common").JsonValue>;
|
|
115
135
|
objectTypeId: string;
|
|
@@ -126,6 +146,9 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
126
146
|
after: null;
|
|
127
147
|
before: import("./common").JsonValue;
|
|
128
148
|
}>;
|
|
149
|
+
redactions?: Record<string, {
|
|
150
|
+
reason: "missing_clearance";
|
|
151
|
+
}> | undefined;
|
|
129
152
|
}, {
|
|
130
153
|
properties: Record<string, import("./common").JsonValue>;
|
|
131
154
|
objectTypeId: string;
|
|
@@ -142,6 +165,9 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
142
165
|
after: import("./common").JsonValue;
|
|
143
166
|
before: import("./common").JsonValue;
|
|
144
167
|
}>;
|
|
168
|
+
redactions?: Record<string, {
|
|
169
|
+
reason: "missing_clearance";
|
|
170
|
+
}> | undefined;
|
|
145
171
|
}>;
|
|
146
172
|
"object.deleted": z.ZodObject<{
|
|
147
173
|
objectTypeId: z.ZodString;
|
|
@@ -180,6 +206,13 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
180
206
|
after: import("./common").JsonValue;
|
|
181
207
|
before: import("./common").JsonValue;
|
|
182
208
|
}>]>>;
|
|
209
|
+
redactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
210
|
+
reason: z.ZodLiteral<"missing_clearance">;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
reason: "missing_clearance";
|
|
213
|
+
}, {
|
|
214
|
+
reason: "missing_clearance";
|
|
215
|
+
}>>>;
|
|
183
216
|
}, "strip", z.ZodTypeAny, {
|
|
184
217
|
objectTypeId: string;
|
|
185
218
|
primaryId: string;
|
|
@@ -195,6 +228,9 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
195
228
|
after: null;
|
|
196
229
|
before: import("./common").JsonValue;
|
|
197
230
|
}>;
|
|
231
|
+
redactions?: Record<string, {
|
|
232
|
+
reason: "missing_clearance";
|
|
233
|
+
}> | undefined;
|
|
198
234
|
}, {
|
|
199
235
|
objectTypeId: string;
|
|
200
236
|
primaryId: string;
|
|
@@ -210,6 +246,9 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
210
246
|
after: import("./common").JsonValue;
|
|
211
247
|
before: import("./common").JsonValue;
|
|
212
248
|
}>;
|
|
249
|
+
redactions?: Record<string, {
|
|
250
|
+
reason: "missing_clearance";
|
|
251
|
+
}> | undefined;
|
|
213
252
|
}>;
|
|
214
253
|
"link.created": z.ZodObject<{
|
|
215
254
|
sourceTypeId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-payloads.d.ts","sourceRoot":"","sources":["../../src/schemas/event-payloads.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"event-payloads.d.ts","sourceRoot":"","sources":["../../src/schemas/event-payloads.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+DvB,oEAAoE;AACpE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeJ,CAAA"}
|