@sixb/server 0.1.26 → 0.2.0
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 +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2495 -1845
- package/dist/index.js.map +29 -27
- package/dist/routes/actions.d.ts +1 -1
- package/dist/routes/agent-approvals.d.ts +11 -5
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +214 -10
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +230 -24
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +9 -0
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +93 -17
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/links.d.ts +121 -81
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/objects.d.ts +149 -58
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +23 -5
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -2
- package/dist/routes/projections.d.ts +122 -122
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/telemetry.d.ts +0 -50
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +21 -10
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +4 -1
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +3 -3
- package/dist/schemas/activity.d.ts +4 -4
- package/dist/schemas/agent-approvals.d.ts +21 -21
- package/dist/schemas/agents.d.ts +760 -107
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1114 -6
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +47 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +303 -60
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +8 -8
- package/dist/schemas/lineage.d.ts +1272 -0
- package/dist/schemas/lineage.d.ts.map +1 -0
- package/dist/schemas/links.d.ts +4 -27
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +7 -26
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +12 -12
- package/dist/schemas/projections.d.ts +733 -733
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/telemetry.d.ts +0 -13
- package/dist/schemas/telemetry.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +2 -2
- package/dist/schemas/workflows.d.ts +133 -44
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +4 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/request-body.d.ts +5 -0
- package/dist/utils/request-body.d.ts.map +1 -1
- package/dist/utils/request-timing.d.ts +18 -0
- package/dist/utils/request-timing.d.ts.map +1 -0
- package/package.json +7 -7
- package/src/index.ts +1 -0
- package/src/routes/agent-approvals.ts +2 -2
- package/src/routes/agent-computers.ts +309 -87
- package/src/routes/agent-runners.ts +30 -6
- package/src/routes/agents.ts +187 -25
- package/src/routes/ai-accounting.ts +149 -12
- package/src/routes/auth.ts +24 -2
- package/src/routes/datasets.ts +55 -5
- package/src/routes/links.ts +43 -76
- package/src/routes/objects.ts +49 -42
- package/src/routes/observed-agent-threads.ts +2 -2
- package/src/routes/telemetry.ts +1 -42
- package/src/routes/ws/agents.ts +10 -1
- package/src/schemas/agents.ts +121 -6
- package/src/schemas/ai-accounting.ts +78 -15
- package/src/schemas/auth.ts +19 -0
- package/src/schemas/datasets.ts +36 -0
- package/src/schemas/lineage.ts +115 -0
- package/src/schemas/links.ts +3 -11
- package/src/schemas/objects.ts +6 -10
- package/src/schemas/telemetry.ts +0 -6
- package/src/server.ts +18 -2
- package/src/utils/request-body.ts +10 -4
- package/src/utils/request-timing.ts +136 -0
|
@@ -24,6 +24,13 @@ export declare const DatasetVersionsQuerySchema: z.ZodObject<{
|
|
|
24
24
|
}, {
|
|
25
25
|
limit?: string | undefined;
|
|
26
26
|
}>;
|
|
27
|
+
export declare const DatasetLineageQuerySchema: z.ZodObject<{
|
|
28
|
+
depth: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
depth?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
depth?: string | undefined;
|
|
33
|
+
}>;
|
|
27
34
|
export declare const DatasetRowsQuerySchema: z.ZodObject<{
|
|
28
35
|
versionId: z.ZodOptional<z.ZodString>;
|
|
29
36
|
columns: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], unknown>>;
|
|
@@ -150,18 +157,31 @@ export declare const DatasetVersionRefSchema: z.ZodObject<{
|
|
|
150
157
|
datasetId: string;
|
|
151
158
|
versionId: string;
|
|
152
159
|
}>;
|
|
160
|
+
export declare const DatasetColumnRefSchema: z.ZodObject<{
|
|
161
|
+
datasetId: z.ZodString;
|
|
162
|
+
column: z.ZodString;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
datasetId: string;
|
|
165
|
+
column: string;
|
|
166
|
+
}, {
|
|
167
|
+
datasetId: string;
|
|
168
|
+
column: string;
|
|
169
|
+
}>;
|
|
153
170
|
export declare const DatasetProducerSchema: z.ZodObject<{
|
|
154
171
|
kind: z.ZodEnum<["sync", "pipeline", "ingest"]>;
|
|
155
172
|
id: z.ZodOptional<z.ZodString>;
|
|
156
173
|
runId: z.ZodOptional<z.ZodString>;
|
|
174
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
157
175
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
kind: "
|
|
176
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
159
177
|
id?: string | undefined;
|
|
160
178
|
runId?: string | undefined;
|
|
179
|
+
stepId?: string | undefined;
|
|
161
180
|
}, {
|
|
162
|
-
kind: "
|
|
181
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
163
182
|
id?: string | undefined;
|
|
164
183
|
runId?: string | undefined;
|
|
184
|
+
stepId?: string | undefined;
|
|
165
185
|
}>;
|
|
166
186
|
export declare const DatasetVersionSchema: z.ZodObject<{
|
|
167
187
|
datasetId: z.ZodString;
|
|
@@ -200,14 +220,17 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
200
220
|
kind: z.ZodEnum<["sync", "pipeline", "ingest"]>;
|
|
201
221
|
id: z.ZodOptional<z.ZodString>;
|
|
202
222
|
runId: z.ZodOptional<z.ZodString>;
|
|
223
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
203
224
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
kind: "
|
|
225
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
205
226
|
id?: string | undefined;
|
|
206
227
|
runId?: string | undefined;
|
|
228
|
+
stepId?: string | undefined;
|
|
207
229
|
}, {
|
|
208
|
-
kind: "
|
|
230
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
209
231
|
id?: string | undefined;
|
|
210
232
|
runId?: string | undefined;
|
|
233
|
+
stepId?: string | undefined;
|
|
211
234
|
}>>;
|
|
212
235
|
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
236
|
datasetId: z.ZodString;
|
|
@@ -234,16 +257,17 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
234
257
|
datasetId: string;
|
|
235
258
|
versionId: string;
|
|
236
259
|
sizeBytes?: number | undefined;
|
|
237
|
-
inputs?: {
|
|
238
|
-
datasetId: string;
|
|
239
|
-
versionId: string;
|
|
240
|
-
}[] | undefined;
|
|
241
260
|
parentVersionId?: string | undefined;
|
|
242
261
|
producer?: {
|
|
243
|
-
kind: "
|
|
262
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
244
263
|
id?: string | undefined;
|
|
245
264
|
runId?: string | undefined;
|
|
265
|
+
stepId?: string | undefined;
|
|
246
266
|
} | undefined;
|
|
267
|
+
inputs?: {
|
|
268
|
+
datasetId: string;
|
|
269
|
+
versionId: string;
|
|
270
|
+
}[] | undefined;
|
|
247
271
|
rowCount?: number | undefined;
|
|
248
272
|
}, {
|
|
249
273
|
mode: "append" | "schema" | "merge" | "snapshot";
|
|
@@ -258,16 +282,17 @@ export declare const DatasetVersionSchema: z.ZodObject<{
|
|
|
258
282
|
datasetId: string;
|
|
259
283
|
versionId: string;
|
|
260
284
|
sizeBytes?: number | undefined;
|
|
261
|
-
inputs?: {
|
|
262
|
-
datasetId: string;
|
|
263
|
-
versionId: string;
|
|
264
|
-
}[] | undefined;
|
|
265
285
|
parentVersionId?: string | undefined;
|
|
266
286
|
producer?: {
|
|
267
|
-
kind: "
|
|
287
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
268
288
|
id?: string | undefined;
|
|
269
289
|
runId?: string | undefined;
|
|
290
|
+
stepId?: string | undefined;
|
|
270
291
|
} | undefined;
|
|
292
|
+
inputs?: {
|
|
293
|
+
datasetId: string;
|
|
294
|
+
versionId: string;
|
|
295
|
+
}[] | undefined;
|
|
271
296
|
rowCount?: number | undefined;
|
|
272
297
|
}>;
|
|
273
298
|
export declare const DatasetLatestVersionSummarySchema: z.ZodObject<{
|
|
@@ -365,8 +390,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
365
390
|
versionId: string;
|
|
366
391
|
rowCount?: number | undefined;
|
|
367
392
|
} | null;
|
|
368
|
-
syncIds: string[];
|
|
369
393
|
materialized: boolean;
|
|
394
|
+
syncIds: string[];
|
|
370
395
|
sourcePipelineIds: string[];
|
|
371
396
|
targetPipelineIds: string[];
|
|
372
397
|
projectionIds: string[];
|
|
@@ -391,8 +416,8 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
391
416
|
versionId: string;
|
|
392
417
|
rowCount?: number | undefined;
|
|
393
418
|
} | null;
|
|
394
|
-
syncIds: string[];
|
|
395
419
|
materialized: boolean;
|
|
420
|
+
syncIds: string[];
|
|
396
421
|
sourcePipelineIds: string[];
|
|
397
422
|
targetPipelineIds: string[];
|
|
398
423
|
projectionIds: string[];
|
|
@@ -401,6 +426,210 @@ export declare const DatasetCatalogItemSchema: z.ZodObject<{
|
|
|
401
426
|
sequenceBy?: string | undefined;
|
|
402
427
|
partitionBy?: string[] | undefined;
|
|
403
428
|
}>;
|
|
429
|
+
/** Mirrors the core `DatasetLineage`: the starting version first, then upstream, nearest first. */
|
|
430
|
+
export declare const DatasetLineageResponseSchema: z.ZodObject<{
|
|
431
|
+
nodes: z.ZodArray<z.ZodUnion<[z.ZodObject<Pick<{
|
|
432
|
+
datasetId: z.ZodString;
|
|
433
|
+
versionId: z.ZodString;
|
|
434
|
+
parentVersionId: z.ZodOptional<z.ZodString>;
|
|
435
|
+
mode: z.ZodEnum<["snapshot", "append", "merge", "schema"]>;
|
|
436
|
+
createdAt: z.ZodString;
|
|
437
|
+
schema: z.ZodObject<{
|
|
438
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
439
|
+
name: z.ZodString;
|
|
440
|
+
type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
|
|
441
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
+
}, "strip", z.ZodTypeAny, {
|
|
443
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
444
|
+
name: string;
|
|
445
|
+
nullable?: boolean | undefined;
|
|
446
|
+
}, {
|
|
447
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
448
|
+
name: string;
|
|
449
|
+
nullable?: boolean | undefined;
|
|
450
|
+
}>, "many">;
|
|
451
|
+
}, "strip", z.ZodTypeAny, {
|
|
452
|
+
columns: {
|
|
453
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
454
|
+
name: string;
|
|
455
|
+
nullable?: boolean | undefined;
|
|
456
|
+
}[];
|
|
457
|
+
}, {
|
|
458
|
+
columns: {
|
|
459
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
460
|
+
name: string;
|
|
461
|
+
nullable?: boolean | undefined;
|
|
462
|
+
}[];
|
|
463
|
+
}>;
|
|
464
|
+
producer: z.ZodOptional<z.ZodObject<{
|
|
465
|
+
kind: z.ZodEnum<["sync", "pipeline", "ingest"]>;
|
|
466
|
+
id: z.ZodOptional<z.ZodString>;
|
|
467
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
468
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
471
|
+
id?: string | undefined;
|
|
472
|
+
runId?: string | undefined;
|
|
473
|
+
stepId?: string | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
476
|
+
id?: string | undefined;
|
|
477
|
+
runId?: string | undefined;
|
|
478
|
+
stepId?: string | undefined;
|
|
479
|
+
}>>;
|
|
480
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
481
|
+
datasetId: z.ZodString;
|
|
482
|
+
versionId: z.ZodString;
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
datasetId: string;
|
|
485
|
+
versionId: string;
|
|
486
|
+
}, {
|
|
487
|
+
datasetId: string;
|
|
488
|
+
versionId: string;
|
|
489
|
+
}>, "many">>;
|
|
490
|
+
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
491
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
492
|
+
}, "mode" | "createdAt" | "datasetId" | "versionId" | "parentVersionId" | "producer">, "strip", z.ZodTypeAny, {
|
|
493
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
494
|
+
createdAt: string;
|
|
495
|
+
datasetId: string;
|
|
496
|
+
versionId: string;
|
|
497
|
+
parentVersionId?: string | undefined;
|
|
498
|
+
producer?: {
|
|
499
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
500
|
+
id?: string | undefined;
|
|
501
|
+
runId?: string | undefined;
|
|
502
|
+
stepId?: string | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
}, {
|
|
505
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
506
|
+
createdAt: string;
|
|
507
|
+
datasetId: string;
|
|
508
|
+
versionId: string;
|
|
509
|
+
parentVersionId?: string | undefined;
|
|
510
|
+
producer?: {
|
|
511
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
512
|
+
id?: string | undefined;
|
|
513
|
+
runId?: string | undefined;
|
|
514
|
+
stepId?: string | undefined;
|
|
515
|
+
} | undefined;
|
|
516
|
+
}>, z.ZodObject<{
|
|
517
|
+
datasetId: z.ZodString;
|
|
518
|
+
versionId: z.ZodString;
|
|
519
|
+
} & {
|
|
520
|
+
expired: z.ZodLiteral<true>;
|
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
|
522
|
+
expired: true;
|
|
523
|
+
datasetId: string;
|
|
524
|
+
versionId: string;
|
|
525
|
+
}, {
|
|
526
|
+
expired: true;
|
|
527
|
+
datasetId: string;
|
|
528
|
+
versionId: string;
|
|
529
|
+
}>]>, "many">;
|
|
530
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
531
|
+
from: z.ZodObject<{
|
|
532
|
+
datasetId: z.ZodString;
|
|
533
|
+
versionId: z.ZodString;
|
|
534
|
+
}, "strip", z.ZodTypeAny, {
|
|
535
|
+
datasetId: string;
|
|
536
|
+
versionId: string;
|
|
537
|
+
}, {
|
|
538
|
+
datasetId: string;
|
|
539
|
+
versionId: string;
|
|
540
|
+
}>;
|
|
541
|
+
to: z.ZodObject<{
|
|
542
|
+
datasetId: z.ZodString;
|
|
543
|
+
versionId: z.ZodString;
|
|
544
|
+
}, "strip", z.ZodTypeAny, {
|
|
545
|
+
datasetId: string;
|
|
546
|
+
versionId: string;
|
|
547
|
+
}, {
|
|
548
|
+
datasetId: string;
|
|
549
|
+
versionId: string;
|
|
550
|
+
}>;
|
|
551
|
+
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
from: {
|
|
553
|
+
datasetId: string;
|
|
554
|
+
versionId: string;
|
|
555
|
+
};
|
|
556
|
+
to: {
|
|
557
|
+
datasetId: string;
|
|
558
|
+
versionId: string;
|
|
559
|
+
};
|
|
560
|
+
}, {
|
|
561
|
+
from: {
|
|
562
|
+
datasetId: string;
|
|
563
|
+
versionId: string;
|
|
564
|
+
};
|
|
565
|
+
to: {
|
|
566
|
+
datasetId: string;
|
|
567
|
+
versionId: string;
|
|
568
|
+
};
|
|
569
|
+
}>, "many">;
|
|
570
|
+
restricted: z.ZodNumber;
|
|
571
|
+
truncated: z.ZodBoolean;
|
|
572
|
+
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
truncated: boolean;
|
|
574
|
+
nodes: ({
|
|
575
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
576
|
+
createdAt: string;
|
|
577
|
+
datasetId: string;
|
|
578
|
+
versionId: string;
|
|
579
|
+
parentVersionId?: string | undefined;
|
|
580
|
+
producer?: {
|
|
581
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
582
|
+
id?: string | undefined;
|
|
583
|
+
runId?: string | undefined;
|
|
584
|
+
stepId?: string | undefined;
|
|
585
|
+
} | undefined;
|
|
586
|
+
} | {
|
|
587
|
+
expired: true;
|
|
588
|
+
datasetId: string;
|
|
589
|
+
versionId: string;
|
|
590
|
+
})[];
|
|
591
|
+
edges: {
|
|
592
|
+
from: {
|
|
593
|
+
datasetId: string;
|
|
594
|
+
versionId: string;
|
|
595
|
+
};
|
|
596
|
+
to: {
|
|
597
|
+
datasetId: string;
|
|
598
|
+
versionId: string;
|
|
599
|
+
};
|
|
600
|
+
}[];
|
|
601
|
+
restricted: number;
|
|
602
|
+
}, {
|
|
603
|
+
truncated: boolean;
|
|
604
|
+
nodes: ({
|
|
605
|
+
mode: "append" | "schema" | "merge" | "snapshot";
|
|
606
|
+
createdAt: string;
|
|
607
|
+
datasetId: string;
|
|
608
|
+
versionId: string;
|
|
609
|
+
parentVersionId?: string | undefined;
|
|
610
|
+
producer?: {
|
|
611
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
612
|
+
id?: string | undefined;
|
|
613
|
+
runId?: string | undefined;
|
|
614
|
+
stepId?: string | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
} | {
|
|
617
|
+
expired: true;
|
|
618
|
+
datasetId: string;
|
|
619
|
+
versionId: string;
|
|
620
|
+
})[];
|
|
621
|
+
edges: {
|
|
622
|
+
from: {
|
|
623
|
+
datasetId: string;
|
|
624
|
+
versionId: string;
|
|
625
|
+
};
|
|
626
|
+
to: {
|
|
627
|
+
datasetId: string;
|
|
628
|
+
versionId: string;
|
|
629
|
+
};
|
|
630
|
+
}[];
|
|
631
|
+
restricted: number;
|
|
632
|
+
}>;
|
|
404
633
|
export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
405
634
|
versions: z.ZodArray<z.ZodObject<{
|
|
406
635
|
datasetId: z.ZodString;
|
|
@@ -439,14 +668,17 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
439
668
|
kind: z.ZodEnum<["sync", "pipeline", "ingest"]>;
|
|
440
669
|
id: z.ZodOptional<z.ZodString>;
|
|
441
670
|
runId: z.ZodOptional<z.ZodString>;
|
|
671
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
442
672
|
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
kind: "
|
|
673
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
444
674
|
id?: string | undefined;
|
|
445
675
|
runId?: string | undefined;
|
|
676
|
+
stepId?: string | undefined;
|
|
446
677
|
}, {
|
|
447
|
-
kind: "
|
|
678
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
448
679
|
id?: string | undefined;
|
|
449
680
|
runId?: string | undefined;
|
|
681
|
+
stepId?: string | undefined;
|
|
450
682
|
}>>;
|
|
451
683
|
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
684
|
datasetId: z.ZodString;
|
|
@@ -473,16 +705,17 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
473
705
|
datasetId: string;
|
|
474
706
|
versionId: string;
|
|
475
707
|
sizeBytes?: number | undefined;
|
|
476
|
-
inputs?: {
|
|
477
|
-
datasetId: string;
|
|
478
|
-
versionId: string;
|
|
479
|
-
}[] | undefined;
|
|
480
708
|
parentVersionId?: string | undefined;
|
|
481
709
|
producer?: {
|
|
482
|
-
kind: "
|
|
710
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
483
711
|
id?: string | undefined;
|
|
484
712
|
runId?: string | undefined;
|
|
713
|
+
stepId?: string | undefined;
|
|
485
714
|
} | undefined;
|
|
715
|
+
inputs?: {
|
|
716
|
+
datasetId: string;
|
|
717
|
+
versionId: string;
|
|
718
|
+
}[] | undefined;
|
|
486
719
|
rowCount?: number | undefined;
|
|
487
720
|
}, {
|
|
488
721
|
mode: "append" | "schema" | "merge" | "snapshot";
|
|
@@ -497,16 +730,17 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
497
730
|
datasetId: string;
|
|
498
731
|
versionId: string;
|
|
499
732
|
sizeBytes?: number | undefined;
|
|
500
|
-
inputs?: {
|
|
501
|
-
datasetId: string;
|
|
502
|
-
versionId: string;
|
|
503
|
-
}[] | undefined;
|
|
504
733
|
parentVersionId?: string | undefined;
|
|
505
734
|
producer?: {
|
|
506
|
-
kind: "
|
|
735
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
507
736
|
id?: string | undefined;
|
|
508
737
|
runId?: string | undefined;
|
|
738
|
+
stepId?: string | undefined;
|
|
509
739
|
} | undefined;
|
|
740
|
+
inputs?: {
|
|
741
|
+
datasetId: string;
|
|
742
|
+
versionId: string;
|
|
743
|
+
}[] | undefined;
|
|
510
744
|
rowCount?: number | undefined;
|
|
511
745
|
}>, "many">;
|
|
512
746
|
count: z.ZodNumber;
|
|
@@ -525,16 +759,17 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
525
759
|
datasetId: string;
|
|
526
760
|
versionId: string;
|
|
527
761
|
sizeBytes?: number | undefined;
|
|
528
|
-
inputs?: {
|
|
529
|
-
datasetId: string;
|
|
530
|
-
versionId: string;
|
|
531
|
-
}[] | undefined;
|
|
532
762
|
parentVersionId?: string | undefined;
|
|
533
763
|
producer?: {
|
|
534
|
-
kind: "
|
|
764
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
535
765
|
id?: string | undefined;
|
|
536
766
|
runId?: string | undefined;
|
|
767
|
+
stepId?: string | undefined;
|
|
537
768
|
} | undefined;
|
|
769
|
+
inputs?: {
|
|
770
|
+
datasetId: string;
|
|
771
|
+
versionId: string;
|
|
772
|
+
}[] | undefined;
|
|
538
773
|
rowCount?: number | undefined;
|
|
539
774
|
}[];
|
|
540
775
|
}, {
|
|
@@ -552,16 +787,17 @@ export declare const DatasetVersionListResponseSchema: z.ZodObject<{
|
|
|
552
787
|
datasetId: string;
|
|
553
788
|
versionId: string;
|
|
554
789
|
sizeBytes?: number | undefined;
|
|
555
|
-
inputs?: {
|
|
556
|
-
datasetId: string;
|
|
557
|
-
versionId: string;
|
|
558
|
-
}[] | undefined;
|
|
559
790
|
parentVersionId?: string | undefined;
|
|
560
791
|
producer?: {
|
|
561
|
-
kind: "
|
|
792
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
562
793
|
id?: string | undefined;
|
|
563
794
|
runId?: string | undefined;
|
|
795
|
+
stepId?: string | undefined;
|
|
564
796
|
} | undefined;
|
|
797
|
+
inputs?: {
|
|
798
|
+
datasetId: string;
|
|
799
|
+
versionId: string;
|
|
800
|
+
}[] | undefined;
|
|
565
801
|
rowCount?: number | undefined;
|
|
566
802
|
}[];
|
|
567
803
|
}>;
|
|
@@ -605,14 +841,17 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
605
841
|
kind: z.ZodEnum<["sync", "pipeline", "ingest"]>;
|
|
606
842
|
id: z.ZodOptional<z.ZodString>;
|
|
607
843
|
runId: z.ZodOptional<z.ZodString>;
|
|
844
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
608
845
|
}, "strip", z.ZodTypeAny, {
|
|
609
|
-
kind: "
|
|
846
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
610
847
|
id?: string | undefined;
|
|
611
848
|
runId?: string | undefined;
|
|
849
|
+
stepId?: string | undefined;
|
|
612
850
|
}, {
|
|
613
|
-
kind: "
|
|
851
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
614
852
|
id?: string | undefined;
|
|
615
853
|
runId?: string | undefined;
|
|
854
|
+
stepId?: string | undefined;
|
|
616
855
|
}>>;
|
|
617
856
|
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
618
857
|
datasetId: z.ZodString;
|
|
@@ -639,16 +878,17 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
639
878
|
datasetId: string;
|
|
640
879
|
versionId: string;
|
|
641
880
|
sizeBytes?: number | undefined;
|
|
642
|
-
inputs?: {
|
|
643
|
-
datasetId: string;
|
|
644
|
-
versionId: string;
|
|
645
|
-
}[] | undefined;
|
|
646
881
|
parentVersionId?: string | undefined;
|
|
647
882
|
producer?: {
|
|
648
|
-
kind: "
|
|
883
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
649
884
|
id?: string | undefined;
|
|
650
885
|
runId?: string | undefined;
|
|
886
|
+
stepId?: string | undefined;
|
|
651
887
|
} | undefined;
|
|
888
|
+
inputs?: {
|
|
889
|
+
datasetId: string;
|
|
890
|
+
versionId: string;
|
|
891
|
+
}[] | undefined;
|
|
652
892
|
rowCount?: number | undefined;
|
|
653
893
|
}, {
|
|
654
894
|
mode: "append" | "schema" | "merge" | "snapshot";
|
|
@@ -663,16 +903,17 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
663
903
|
datasetId: string;
|
|
664
904
|
versionId: string;
|
|
665
905
|
sizeBytes?: number | undefined;
|
|
666
|
-
inputs?: {
|
|
667
|
-
datasetId: string;
|
|
668
|
-
versionId: string;
|
|
669
|
-
}[] | undefined;
|
|
670
906
|
parentVersionId?: string | undefined;
|
|
671
907
|
producer?: {
|
|
672
|
-
kind: "
|
|
908
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
673
909
|
id?: string | undefined;
|
|
674
910
|
runId?: string | undefined;
|
|
911
|
+
stepId?: string | undefined;
|
|
675
912
|
} | undefined;
|
|
913
|
+
inputs?: {
|
|
914
|
+
datasetId: string;
|
|
915
|
+
versionId: string;
|
|
916
|
+
}[] | undefined;
|
|
676
917
|
rowCount?: number | undefined;
|
|
677
918
|
}>;
|
|
678
919
|
/** Returned columns. Redacted columns are left out. */
|
|
@@ -706,16 +947,17 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
706
947
|
datasetId: string;
|
|
707
948
|
versionId: string;
|
|
708
949
|
sizeBytes?: number | undefined;
|
|
709
|
-
inputs?: {
|
|
710
|
-
datasetId: string;
|
|
711
|
-
versionId: string;
|
|
712
|
-
}[] | undefined;
|
|
713
950
|
parentVersionId?: string | undefined;
|
|
714
951
|
producer?: {
|
|
715
|
-
kind: "
|
|
952
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
716
953
|
id?: string | undefined;
|
|
717
954
|
runId?: string | undefined;
|
|
955
|
+
stepId?: string | undefined;
|
|
718
956
|
} | undefined;
|
|
957
|
+
inputs?: {
|
|
958
|
+
datasetId: string;
|
|
959
|
+
versionId: string;
|
|
960
|
+
}[] | undefined;
|
|
719
961
|
rowCount?: number | undefined;
|
|
720
962
|
};
|
|
721
963
|
limit: number;
|
|
@@ -744,16 +986,17 @@ export declare const DatasetRowsResponseSchema: z.ZodObject<{
|
|
|
744
986
|
datasetId: string;
|
|
745
987
|
versionId: string;
|
|
746
988
|
sizeBytes?: number | undefined;
|
|
747
|
-
inputs?: {
|
|
748
|
-
datasetId: string;
|
|
749
|
-
versionId: string;
|
|
750
|
-
}[] | undefined;
|
|
751
989
|
parentVersionId?: string | undefined;
|
|
752
990
|
producer?: {
|
|
753
|
-
kind: "
|
|
991
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
754
992
|
id?: string | undefined;
|
|
755
993
|
runId?: string | undefined;
|
|
994
|
+
stepId?: string | undefined;
|
|
756
995
|
} | undefined;
|
|
996
|
+
inputs?: {
|
|
997
|
+
datasetId: string;
|
|
998
|
+
versionId: string;
|
|
999
|
+
}[] | undefined;
|
|
757
1000
|
rowCount?: number | undefined;
|
|
758
1001
|
};
|
|
759
1002
|
limit: number;
|
|
@@ -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;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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, {
|
|
299
298
|
operation: "created";
|
|
300
299
|
after: import("./common").JsonValue;
|
|
@@ -308,12 +307,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
308
307
|
before: import("./common").JsonValue;
|
|
309
308
|
}>;
|
|
310
309
|
sourceTypeId: string;
|
|
310
|
+
linkId: string;
|
|
311
311
|
targetTypeId: string;
|
|
312
312
|
targetId: string;
|
|
313
313
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
314
314
|
}, {
|
|
315
315
|
sourceId: string;
|
|
316
|
-
linkId: string;
|
|
317
316
|
propertyChanges: Record<string, {
|
|
318
317
|
operation: "created";
|
|
319
318
|
after: import("./common").JsonValue;
|
|
@@ -327,6 +326,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
327
326
|
before: import("./common").JsonValue;
|
|
328
327
|
}>;
|
|
329
328
|
sourceTypeId: string;
|
|
329
|
+
linkId: string;
|
|
330
330
|
targetTypeId: string;
|
|
331
331
|
targetId: string;
|
|
332
332
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -375,7 +375,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
375
375
|
}>]>>;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
sourceId: string;
|
|
378
|
-
linkId: string;
|
|
379
378
|
propertyChanges: Record<string, {
|
|
380
379
|
operation: "created";
|
|
381
380
|
after: import("./common").JsonValue;
|
|
@@ -389,12 +388,12 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
389
388
|
before: import("./common").JsonValue;
|
|
390
389
|
}>;
|
|
391
390
|
sourceTypeId: string;
|
|
391
|
+
linkId: string;
|
|
392
392
|
targetTypeId: string;
|
|
393
393
|
targetId: string;
|
|
394
394
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
395
395
|
}, {
|
|
396
396
|
sourceId: string;
|
|
397
|
-
linkId: string;
|
|
398
397
|
propertyChanges: Record<string, {
|
|
399
398
|
operation: "created";
|
|
400
399
|
after: import("./common").JsonValue;
|
|
@@ -408,6 +407,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
408
407
|
before: import("./common").JsonValue;
|
|
409
408
|
}>;
|
|
410
409
|
sourceTypeId: string;
|
|
410
|
+
linkId: string;
|
|
411
411
|
targetTypeId: string;
|
|
412
412
|
targetId: string;
|
|
413
413
|
properties?: Record<string, import("./common").JsonValue> | undefined;
|
|
@@ -455,7 +455,6 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
455
455
|
}>]>>;
|
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
|
457
457
|
sourceId: string;
|
|
458
|
-
linkId: string;
|
|
459
458
|
propertyChanges: Record<string, {
|
|
460
459
|
operation: "created";
|
|
461
460
|
after: import("./common").JsonValue;
|
|
@@ -469,11 +468,11 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
469
468
|
before: import("./common").JsonValue;
|
|
470
469
|
}>;
|
|
471
470
|
sourceTypeId: string;
|
|
471
|
+
linkId: string;
|
|
472
472
|
targetTypeId: string;
|
|
473
473
|
targetId: string;
|
|
474
474
|
}, {
|
|
475
475
|
sourceId: string;
|
|
476
|
-
linkId: string;
|
|
477
476
|
propertyChanges: Record<string, {
|
|
478
477
|
operation: "created";
|
|
479
478
|
after: import("./common").JsonValue;
|
|
@@ -487,6 +486,7 @@ export declare const ONTOLOGY_EVENT_PAYLOAD_SCHEMAS: {
|
|
|
487
486
|
before: import("./common").JsonValue;
|
|
488
487
|
}>;
|
|
489
488
|
sourceTypeId: string;
|
|
489
|
+
linkId: string;
|
|
490
490
|
targetTypeId: string;
|
|
491
491
|
targetId: string;
|
|
492
492
|
}>;
|