@sixb/server 0.1.18 → 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/index.js +660 -685
- package/dist/index.js.map +14 -13
- 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 +20 -20
- 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 +5 -5
- 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/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +16 -16
- 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 +48 -48
- package/dist/routes/ws/events.d.ts +6 -9
- package/dist/routes/ws/events.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 +20 -20
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/connectors.d.ts +8 -8
- package/dist/schemas/datasets.d.ts +40 -40
- package/dist/schemas/events.d.ts +24 -24
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +4 -4
- package/dist/schemas/ontology.d.ts +40 -40
- package/dist/schemas/pipelines.d.ts +92 -92
- 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 +160 -160
- 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 +5 -5
- package/src/actions/serialize.ts +55 -0
- 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/files.ts +15 -63
- package/src/routes/ws/events.ts +2 -12
- package/src/schemas/actions.ts +21 -18
- package/src/server.ts +21 -3
- package/src/utils/http.ts +2 -0
- package/src/utils/request-body.ts +55 -6
|
@@ -108,14 +108,14 @@ export declare const ConnectorWebhookSchema: z.ZodObject<{
|
|
|
108
108
|
id: string;
|
|
109
109
|
method: "POST";
|
|
110
110
|
route: string;
|
|
111
|
-
bodyFormat: "
|
|
111
|
+
bodyFormat: "text" | "json" | "raw";
|
|
112
112
|
hasVerify: boolean;
|
|
113
113
|
hasIdempotency: boolean;
|
|
114
114
|
}, {
|
|
115
115
|
id: string;
|
|
116
116
|
method: "POST";
|
|
117
117
|
route: string;
|
|
118
|
-
bodyFormat: "
|
|
118
|
+
bodyFormat: "text" | "json" | "raw";
|
|
119
119
|
hasVerify: boolean;
|
|
120
120
|
hasIdempotency: boolean;
|
|
121
121
|
}>;
|
|
@@ -141,14 +141,14 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
141
141
|
id: string;
|
|
142
142
|
method: "POST";
|
|
143
143
|
route: string;
|
|
144
|
-
bodyFormat: "
|
|
144
|
+
bodyFormat: "text" | "json" | "raw";
|
|
145
145
|
hasVerify: boolean;
|
|
146
146
|
hasIdempotency: boolean;
|
|
147
147
|
}, {
|
|
148
148
|
id: string;
|
|
149
149
|
method: "POST";
|
|
150
150
|
route: string;
|
|
151
|
-
bodyFormat: "
|
|
151
|
+
bodyFormat: "text" | "json" | "raw";
|
|
152
152
|
hasVerify: boolean;
|
|
153
153
|
hasIdempotency: boolean;
|
|
154
154
|
}>, "many">;
|
|
@@ -158,7 +158,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
158
158
|
id: string;
|
|
159
159
|
method: "POST";
|
|
160
160
|
route: string;
|
|
161
|
-
bodyFormat: "
|
|
161
|
+
bodyFormat: "text" | "json" | "raw";
|
|
162
162
|
hasVerify: boolean;
|
|
163
163
|
hasIdempotency: boolean;
|
|
164
164
|
}[];
|
|
@@ -173,7 +173,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
173
173
|
id: string;
|
|
174
174
|
method: "POST";
|
|
175
175
|
route: string;
|
|
176
|
-
bodyFormat: "
|
|
176
|
+
bodyFormat: "text" | "json" | "raw";
|
|
177
177
|
hasVerify: boolean;
|
|
178
178
|
hasIdempotency: boolean;
|
|
179
179
|
}[];
|
|
@@ -597,7 +597,7 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
597
597
|
status: z.ZodEnum<["cancelled", "expired"]>;
|
|
598
598
|
finishedAt: z.ZodString;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
status: "
|
|
600
|
+
status: "expired" | "cancelled";
|
|
601
601
|
id: string;
|
|
602
602
|
kind: "connect" | "reauthorize";
|
|
603
603
|
finishedAt: string;
|
|
@@ -609,7 +609,7 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
609
609
|
};
|
|
610
610
|
slot: string;
|
|
611
611
|
}, {
|
|
612
|
-
status: "
|
|
612
|
+
status: "expired" | "cancelled";
|
|
613
613
|
id: string;
|
|
614
614
|
kind: "connect" | "reauthorize";
|
|
615
615
|
finishedAt: string;
|
|
@@ -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
|
};
|
|
@@ -698,7 +698,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
698
698
|
schema: {
|
|
699
699
|
columns: {
|
|
700
700
|
name: string;
|
|
701
|
-
type: "string" | "boolean" | "
|
|
701
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
702
702
|
nullable?: boolean | undefined;
|
|
703
703
|
}[];
|
|
704
704
|
};
|
|
@@ -736,7 +736,7 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
736
736
|
schema: {
|
|
737
737
|
columns: {
|
|
738
738
|
name: string;
|
|
739
|
-
type: "string" | "boolean" | "
|
|
739
|
+
type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
|
|
740
740
|
nullable?: boolean | undefined;
|
|
741
741
|
}[];
|
|
742
742
|
};
|
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<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
6
|
-
export declare const EventTypeSchema: z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "
|
|
5
|
+
export declare const EventTopicSchema: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>;
|
|
6
|
+
export declare const EventTypeSchema: z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[]]>;
|
|
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<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
110
|
-
type: z.ZodOptional<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "
|
|
109
|
+
topic: z.ZodOptional<z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>>;
|
|
110
|
+
type: z.ZodOptional<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[]]>>;
|
|
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" | "
|
|
114
|
+
type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | undefined;
|
|
115
115
|
limit?: string | undefined;
|
|
116
|
-
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
116
|
+
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "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" | "
|
|
119
|
+
type?: "object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | undefined;
|
|
120
120
|
limit?: string | undefined;
|
|
121
|
-
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
121
|
+
topic?: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules" | undefined;
|
|
122
122
|
afterCursor?: string | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
/** Mirrors the core `EventExecutor`: the workload that made an ontology change. */
|
|
@@ -309,16 +309,16 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
309
309
|
}>]>>;
|
|
310
310
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
311
311
|
} & {
|
|
312
|
-
type: z.ZodEnum<["
|
|
313
|
-
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
312
|
+
type: z.ZodEnum<["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", ...("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")[]]>;
|
|
313
|
+
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>;
|
|
314
314
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
316
|
projectId: string;
|
|
317
317
|
id: string;
|
|
318
|
-
type: "
|
|
318
|
+
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
319
319
|
occurredAt: string;
|
|
320
320
|
payload: Record<string, unknown>;
|
|
321
|
-
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
321
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
322
322
|
partitionKey: string;
|
|
323
323
|
schemaVersion: 1;
|
|
324
324
|
cursor: string;
|
|
@@ -356,10 +356,10 @@ export declare const EventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [E
|
|
|
356
356
|
}, {
|
|
357
357
|
projectId: string;
|
|
358
358
|
id: string;
|
|
359
|
-
type: "
|
|
359
|
+
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
360
360
|
occurredAt: string;
|
|
361
361
|
payload: Record<string, unknown>;
|
|
362
|
-
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
362
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
363
363
|
partitionKey: string;
|
|
364
364
|
schemaVersion: 1;
|
|
365
365
|
cursor: string;
|
|
@@ -510,16 +510,16 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
510
510
|
}>]>>;
|
|
511
511
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
512
512
|
} & {
|
|
513
|
-
type: z.ZodEnum<["
|
|
514
|
-
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
513
|
+
type: z.ZodEnum<["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", ...("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")[]]>;
|
|
514
|
+
topic: z.ZodEnum<["datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules", ...("datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules")[]]>;
|
|
515
515
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
projectId: string;
|
|
518
518
|
id: string;
|
|
519
|
-
type: "
|
|
519
|
+
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
520
520
|
occurredAt: string;
|
|
521
521
|
payload: Record<string, unknown>;
|
|
522
|
-
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
522
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
523
523
|
partitionKey: string;
|
|
524
524
|
schemaVersion: 1;
|
|
525
525
|
cursor: string;
|
|
@@ -557,10 +557,10 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
557
557
|
}, {
|
|
558
558
|
projectId: string;
|
|
559
559
|
id: string;
|
|
560
|
-
type: "
|
|
560
|
+
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
561
561
|
occurredAt: string;
|
|
562
562
|
payload: Record<string, unknown>;
|
|
563
|
-
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
563
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
564
564
|
partitionKey: string;
|
|
565
565
|
schemaVersion: 1;
|
|
566
566
|
cursor: string;
|
|
@@ -603,10 +603,10 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
603
603
|
} | {
|
|
604
604
|
projectId: string;
|
|
605
605
|
id: string;
|
|
606
|
-
type: "
|
|
606
|
+
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
607
607
|
occurredAt: string;
|
|
608
608
|
payload: Record<string, unknown>;
|
|
609
|
-
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
609
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
610
610
|
partitionKey: string;
|
|
611
611
|
schemaVersion: 1;
|
|
612
612
|
cursor: string;
|
|
@@ -650,10 +650,10 @@ export declare const EventsResponseSchema: z.ZodObject<{
|
|
|
650
650
|
} | {
|
|
651
651
|
projectId: string;
|
|
652
652
|
id: string;
|
|
653
|
-
type: "
|
|
653
|
+
type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
|
|
654
654
|
occurredAt: string;
|
|
655
655
|
payload: Record<string, unknown>;
|
|
656
|
-
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "
|
|
656
|
+
topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
|
|
657
657
|
partitionKey: string;
|
|
658
658
|
schemaVersion: 1;
|
|
659
659
|
cursor: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/schemas/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAwB,MAAM,YAAY,CAAA;AAOnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,YAAY,EAAwB,SAAS,CACxD,WAAW,CAAC,OAAO,CAAC,EACpB,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,CAC1B,CAAA;AACD,eAAO,MAAM,WAAW,EAAuB,SAAS,CACtD,WAAW,CAAC,MAAM,CAAC,EACnB,GAAG,WAAW,CAAC,MAAM,CAAC,EAAE,CACzB,CAAA;AAED,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/schemas/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAwB,MAAM,YAAY,CAAA;AAOnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,YAAY,EAAwB,SAAS,CACxD,WAAW,CAAC,OAAO,CAAC,EACpB,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,CAC1B,CAAA;AACD,eAAO,MAAM,WAAW,EAAuB,SAAS,CACtD,WAAW,CAAC,MAAM,CAAC,EACnB,GAAG,WAAW,CAAC,MAAM,CAAC,EAAE,CACzB,CAAA;AAED,eAAO,MAAM,gBAAgB,gPAAuB,CAAA;AACpD,eAAO,MAAM,eAAe,45CAAsB,CAAA;AASlD,iFAAiF;AACjF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAe5B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAA;AAqBF,mFAAmF;AACnF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB9B,CAAA;AA0CF,KAAK,iBAAiB,GAAG,CAAC,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAA;AAK9D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoE,CAAA;AAE5F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA"}
|
package/dist/schemas/files.d.ts
CHANGED
|
@@ -110,13 +110,13 @@ export declare const MultipartFileUploadSchema: z.ZodObject<{
|
|
|
110
110
|
uploadId: string;
|
|
111
111
|
strategy: "multipart";
|
|
112
112
|
expiresAt: string;
|
|
113
|
-
partReceipt: "
|
|
113
|
+
partReceipt: "none" | "etag";
|
|
114
114
|
partSizeBytes: number;
|
|
115
115
|
}, {
|
|
116
116
|
uploadId: string;
|
|
117
117
|
strategy: "multipart";
|
|
118
118
|
expiresAt: string;
|
|
119
|
-
partReceipt: "
|
|
119
|
+
partReceipt: "none" | "etag";
|
|
120
120
|
partSizeBytes: number;
|
|
121
121
|
}>;
|
|
122
122
|
export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"strategy", [z.ZodObject<{
|
|
@@ -168,13 +168,13 @@ export declare const CreateFileUploadResponseSchema: z.ZodDiscriminatedUnion<"st
|
|
|
168
168
|
uploadId: string;
|
|
169
169
|
strategy: "multipart";
|
|
170
170
|
expiresAt: string;
|
|
171
|
-
partReceipt: "
|
|
171
|
+
partReceipt: "none" | "etag";
|
|
172
172
|
partSizeBytes: number;
|
|
173
173
|
}, {
|
|
174
174
|
uploadId: string;
|
|
175
175
|
strategy: "multipart";
|
|
176
176
|
expiresAt: string;
|
|
177
|
-
partReceipt: "
|
|
177
|
+
partReceipt: "none" | "etag";
|
|
178
178
|
partSizeBytes: number;
|
|
179
179
|
}>]>;
|
|
180
180
|
export declare const SignedFileUploadPartSchema: z.ZodObject<{
|