@ourofoundation/ouro-js 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-73DHYPGU.cjs +2 -0
- package/dist/chunk-73DHYPGU.cjs.map +1 -0
- package/dist/chunk-XLJBQ7BU.js +2 -0
- package/dist/chunk-XLJBQ7BU.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.d.cts +84 -84
- package/dist/schema/assets.d.ts +84 -84
- package/dist/schema/comments.d.cts +136 -136
- package/dist/schema/comments.d.ts +136 -136
- package/dist/schema/common.d.cts +16 -16
- package/dist/schema/common.d.ts +16 -16
- package/dist/schema/conversations.d.cts +69 -69
- package/dist/schema/conversations.d.ts +69 -69
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +186 -140
- package/dist/schema/datasets.d.ts +186 -140
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.d.cts +100 -100
- package/dist/schema/files.d.ts +100 -100
- package/dist/schema/notifications.d.cts +2 -2
- package/dist/schema/notifications.d.ts +2 -2
- package/dist/schema/organizations.d.cts +1 -1
- package/dist/schema/organizations.d.ts +1 -1
- package/dist/schema/posts.d.cts +127 -127
- package/dist/schema/posts.d.ts +127 -127
- package/dist/schema/quests.d.cts +177 -177
- package/dist/schema/quests.d.ts +177 -177
- package/dist/schema/services.d.cts +127 -127
- package/dist/schema/services.d.ts +127 -127
- package/dist/schema/teams.d.cts +18 -18
- package/dist/schema/teams.d.ts +18 -18
- package/dist/utils/quest-submission.d.cts +7 -7
- package/dist/utils/quest-submission.d.ts +7 -7
- package/package.json +1 -1
- package/dist/chunk-3UWDQLTN.js +0 -2
- package/dist/chunk-3UWDQLTN.js.map +0 -1
- package/dist/chunk-OBWPO2QT.cjs +0 -2
- package/dist/chunk-OBWPO2QT.cjs.map +0 -1
|
@@ -8,11 +8,11 @@ import { z } from 'zod';
|
|
|
8
8
|
*/
|
|
9
9
|
declare const DatasetAssetRefsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10
10
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
organization: "organization";
|
|
12
|
-
file: "file";
|
|
13
11
|
user: "user";
|
|
12
|
+
organization: "organization";
|
|
14
13
|
team: "team";
|
|
15
14
|
dataset: "dataset";
|
|
15
|
+
file: "file";
|
|
16
16
|
service: "service";
|
|
17
17
|
route: "route";
|
|
18
18
|
post: "post";
|
|
@@ -21,13 +21,24 @@ declare const DatasetAssetRefsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
21
21
|
conversation: "conversation";
|
|
22
22
|
}>>;
|
|
23
23
|
}, z.core.$strip>>;
|
|
24
|
+
/**
|
|
25
|
+
* Per-column enum declarations.
|
|
26
|
+
*
|
|
27
|
+
* Enum columns are stored as ordinary dataset columns plus a Postgres CHECK
|
|
28
|
+
* constraint. The values are surfaced in schema reads so agents can query with
|
|
29
|
+
* known categorical values.
|
|
30
|
+
*/
|
|
31
|
+
declare const DatasetEnumColumnsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
32
|
+
values: z.ZodArray<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
24
34
|
/**
|
|
25
35
|
* A single column from GET /datasets/:id/schema, enriched server-side.
|
|
26
36
|
*
|
|
27
37
|
* The FK fields come straight from get_table_schema. `semantic_type` is pure
|
|
28
38
|
* inference: "asset_ref" when the column has an FK to public.assets. The
|
|
29
39
|
* optional `asset_type` is the declared target-type hint from
|
|
30
|
-
* metadata.asset_refs (display + soft validation only).
|
|
40
|
+
* metadata.asset_refs (display + soft validation only). `semantic_type: "enum"`
|
|
41
|
+
* comes from metadata.enum_columns and exposes its known values.
|
|
31
42
|
*/
|
|
32
43
|
declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
33
44
|
column_name: z.ZodString;
|
|
@@ -36,13 +47,16 @@ declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
|
36
47
|
foreign_table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
48
|
foreign_table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
49
|
foreign_column_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
semantic_type: z.ZodOptional<z.ZodNullable<z.
|
|
50
|
+
semantic_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
51
|
+
enum: "enum";
|
|
52
|
+
asset_ref: "asset_ref";
|
|
53
|
+
}>>>;
|
|
40
54
|
asset_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
41
|
-
organization: "organization";
|
|
42
|
-
file: "file";
|
|
43
55
|
user: "user";
|
|
56
|
+
organization: "organization";
|
|
44
57
|
team: "team";
|
|
45
58
|
dataset: "dataset";
|
|
59
|
+
file: "file";
|
|
46
60
|
service: "service";
|
|
47
61
|
route: "route";
|
|
48
62
|
post: "post";
|
|
@@ -50,6 +64,7 @@ declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
|
50
64
|
comment: "comment";
|
|
51
65
|
conversation: "conversation";
|
|
52
66
|
}>>>;
|
|
67
|
+
enum_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
53
68
|
}, z.core.$strip>;
|
|
54
69
|
/**
|
|
55
70
|
* A resolved asset reference returned in the `resolved_asset_refs` sidecar of
|
|
@@ -59,11 +74,11 @@ declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
|
59
74
|
declare const ResolvedAssetRefSchema: z.ZodObject<{
|
|
60
75
|
asset_id: z.ZodUUID;
|
|
61
76
|
asset_type: z.ZodEnum<{
|
|
62
|
-
organization: "organization";
|
|
63
|
-
file: "file";
|
|
64
77
|
user: "user";
|
|
78
|
+
organization: "organization";
|
|
65
79
|
team: "team";
|
|
66
80
|
dataset: "dataset";
|
|
81
|
+
file: "file";
|
|
67
82
|
service: "service";
|
|
68
83
|
route: "route";
|
|
69
84
|
post: "post";
|
|
@@ -78,11 +93,11 @@ declare const ResolvedAssetRefSchema: z.ZodObject<{
|
|
|
78
93
|
declare const ResolvedAssetRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
79
94
|
asset_id: z.ZodUUID;
|
|
80
95
|
asset_type: z.ZodEnum<{
|
|
81
|
-
organization: "organization";
|
|
82
|
-
file: "file";
|
|
83
96
|
user: "user";
|
|
97
|
+
organization: "organization";
|
|
84
98
|
team: "team";
|
|
85
99
|
dataset: "dataset";
|
|
100
|
+
file: "file";
|
|
86
101
|
service: "service";
|
|
87
102
|
route: "route";
|
|
88
103
|
post: "post";
|
|
@@ -201,9 +216,9 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
201
216
|
none: "none";
|
|
202
217
|
}>>;
|
|
203
218
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
219
|
+
organization: "organization";
|
|
204
220
|
public: "public";
|
|
205
221
|
private: "private";
|
|
206
|
-
organization: "organization";
|
|
207
222
|
monetized: "monetized";
|
|
208
223
|
inherit: "inherit";
|
|
209
224
|
}>>;
|
|
@@ -275,9 +290,9 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
275
290
|
text: z.ZodString;
|
|
276
291
|
}, z.core.$strip>>>;
|
|
277
292
|
visibility: z.ZodEnum<{
|
|
293
|
+
organization: "organization";
|
|
278
294
|
public: "public";
|
|
279
295
|
private: "private";
|
|
280
|
-
organization: "organization";
|
|
281
296
|
monetized: "monetized";
|
|
282
297
|
inherit: "inherit";
|
|
283
298
|
}>;
|
|
@@ -302,14 +317,14 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
302
317
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
318
|
state: z.ZodEnum<{
|
|
304
319
|
success: "success";
|
|
305
|
-
error: "error";
|
|
306
320
|
queued: "queued";
|
|
307
321
|
"in-progress": "in-progress";
|
|
308
322
|
"timed-out": "timed-out";
|
|
323
|
+
error: "error";
|
|
309
324
|
}>;
|
|
310
325
|
source: z.ZodEnum<{
|
|
311
|
-
web: "web";
|
|
312
326
|
api: "api";
|
|
327
|
+
web: "web";
|
|
313
328
|
}>;
|
|
314
329
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
315
330
|
created_at: z.ZodString;
|
|
@@ -321,11 +336,11 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
321
336
|
columns: z.ZodArray<z.ZodString>;
|
|
322
337
|
asset_refs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
323
338
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
324
|
-
organization: "organization";
|
|
325
|
-
file: "file";
|
|
326
339
|
user: "user";
|
|
340
|
+
organization: "organization";
|
|
327
341
|
team: "team";
|
|
328
342
|
dataset: "dataset";
|
|
343
|
+
file: "file";
|
|
329
344
|
service: "service";
|
|
330
345
|
route: "route";
|
|
331
346
|
post: "post";
|
|
@@ -334,6 +349,9 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
334
349
|
conversation: "conversation";
|
|
335
350
|
}>>;
|
|
336
351
|
}, z.core.$strip>>>>;
|
|
352
|
+
enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
353
|
+
values: z.ZodArray<z.ZodString>;
|
|
354
|
+
}, z.core.$strip>>>>;
|
|
337
355
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
338
356
|
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
339
357
|
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -360,15 +378,15 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
360
378
|
}, z.core.$strip>;
|
|
361
379
|
declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
362
380
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
381
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
382
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
383
|
+
text: z.ZodString;
|
|
384
|
+
}, z.core.$strip>>>>;
|
|
363
385
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
364
386
|
none: "none";
|
|
365
387
|
"pay-to-unlock": "pay-to-unlock";
|
|
366
388
|
"pay-per-use": "pay-per-use";
|
|
367
389
|
}>>;
|
|
368
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
369
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
370
|
-
text: z.ZodString;
|
|
371
|
-
}, z.core.$strip>>>>;
|
|
372
390
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
373
391
|
license_id: z.ZodOptional<z.ZodString>;
|
|
374
392
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -392,19 +410,19 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
392
410
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
411
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
394
412
|
success: "success";
|
|
395
|
-
error: "error";
|
|
396
413
|
queued: "queued";
|
|
397
414
|
"in-progress": "in-progress";
|
|
398
415
|
"timed-out": "timed-out";
|
|
416
|
+
error: "error";
|
|
399
417
|
}>>>;
|
|
400
418
|
source: z.ZodDefault<z.ZodEnum<{
|
|
401
|
-
web: "web";
|
|
402
419
|
api: "api";
|
|
420
|
+
web: "web";
|
|
403
421
|
}>>;
|
|
404
422
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
423
|
+
organization: "organization";
|
|
405
424
|
public: "public";
|
|
406
425
|
private: "private";
|
|
407
|
-
organization: "organization";
|
|
408
426
|
monetized: "monetized";
|
|
409
427
|
inherit: "inherit";
|
|
410
428
|
}>>>;
|
|
@@ -417,11 +435,11 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
417
435
|
columns: z.ZodArray<z.ZodString>;
|
|
418
436
|
asset_refs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
419
437
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
420
|
-
organization: "organization";
|
|
421
|
-
file: "file";
|
|
422
438
|
user: "user";
|
|
439
|
+
organization: "organization";
|
|
423
440
|
team: "team";
|
|
424
441
|
dataset: "dataset";
|
|
442
|
+
file: "file";
|
|
425
443
|
service: "service";
|
|
426
444
|
route: "route";
|
|
427
445
|
post: "post";
|
|
@@ -430,6 +448,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
430
448
|
conversation: "conversation";
|
|
431
449
|
}>>;
|
|
432
450
|
}, z.core.$strip>>>>;
|
|
451
|
+
enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
452
|
+
values: z.ZodArray<z.ZodString>;
|
|
453
|
+
}, z.core.$strip>>>>;
|
|
433
454
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
434
455
|
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
435
456
|
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -458,9 +479,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
458
479
|
team_id: string | null;
|
|
459
480
|
org_id: string | null;
|
|
460
481
|
name: string;
|
|
461
|
-
state: "success" | "
|
|
462
|
-
source: "
|
|
463
|
-
visibility: "
|
|
482
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
483
|
+
source: "api" | "web";
|
|
484
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
464
485
|
created_at: string;
|
|
465
486
|
last_updated: string;
|
|
466
487
|
asset_type: "dataset";
|
|
@@ -476,7 +497,10 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
476
497
|
id: string;
|
|
477
498
|
bucket: "public-files" | "files";
|
|
478
499
|
asset_refs?: Record<string, {
|
|
479
|
-
asset_type?: "
|
|
500
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
501
|
+
}> | null | undefined;
|
|
502
|
+
enum_columns?: Record<string, {
|
|
503
|
+
values: string[];
|
|
480
504
|
}> | null | undefined;
|
|
481
505
|
doi_url?: string | null | undefined;
|
|
482
506
|
external_url?: string | null | undefined;
|
|
@@ -488,11 +512,11 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
488
512
|
};
|
|
489
513
|
preview: Record<string, any>[];
|
|
490
514
|
parent?: Record<string, any> | undefined;
|
|
491
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
492
515
|
description?: {
|
|
493
516
|
json: Record<string, any>;
|
|
494
517
|
text: string;
|
|
495
518
|
} | null | undefined;
|
|
519
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
496
520
|
parent_id?: string | null | undefined;
|
|
497
521
|
license_id?: string | undefined;
|
|
498
522
|
price?: number | null | undefined;
|
|
@@ -509,9 +533,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
509
533
|
team_id: string | null;
|
|
510
534
|
org_id: string | null;
|
|
511
535
|
name: string;
|
|
512
|
-
state: "success" | "
|
|
513
|
-
source: "
|
|
514
|
-
visibility: "
|
|
536
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
537
|
+
source: "api" | "web";
|
|
538
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
515
539
|
created_at: string;
|
|
516
540
|
last_updated: string;
|
|
517
541
|
asset_type: "dataset";
|
|
@@ -527,7 +551,10 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
527
551
|
id: string;
|
|
528
552
|
bucket: "public-files" | "files";
|
|
529
553
|
asset_refs?: Record<string, {
|
|
530
|
-
asset_type?: "
|
|
554
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
555
|
+
}> | null | undefined;
|
|
556
|
+
enum_columns?: Record<string, {
|
|
557
|
+
values: string[];
|
|
531
558
|
}> | null | undefined;
|
|
532
559
|
doi_url?: string | null | undefined;
|
|
533
560
|
external_url?: string | null | undefined;
|
|
@@ -539,11 +566,11 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
539
566
|
};
|
|
540
567
|
preview: Record<string, any>[];
|
|
541
568
|
parent?: Record<string, any> | undefined;
|
|
542
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
543
569
|
description?: {
|
|
544
570
|
json: Record<string, any>;
|
|
545
571
|
text: string;
|
|
546
572
|
} | null | undefined;
|
|
573
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
547
574
|
parent_id?: string | null | undefined;
|
|
548
575
|
license_id?: string | undefined;
|
|
549
576
|
price?: number | null | undefined;
|
|
@@ -558,15 +585,15 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
558
585
|
}>>;
|
|
559
586
|
declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
560
587
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
588
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
589
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
590
|
+
text: z.ZodString;
|
|
591
|
+
}, z.core.$strip>>>>;
|
|
561
592
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
562
593
|
none: "none";
|
|
563
594
|
"pay-to-unlock": "pay-to-unlock";
|
|
564
595
|
"pay-per-use": "pay-per-use";
|
|
565
596
|
}>>;
|
|
566
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
567
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
568
|
-
text: z.ZodString;
|
|
569
|
-
}, z.core.$strip>>>>;
|
|
570
597
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
571
598
|
license_id: z.ZodOptional<z.ZodString>;
|
|
572
599
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -590,19 +617,19 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
590
617
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
618
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
592
619
|
success: "success";
|
|
593
|
-
error: "error";
|
|
594
620
|
queued: "queued";
|
|
595
621
|
"in-progress": "in-progress";
|
|
596
622
|
"timed-out": "timed-out";
|
|
623
|
+
error: "error";
|
|
597
624
|
}>>>;
|
|
598
625
|
source: z.ZodDefault<z.ZodEnum<{
|
|
599
|
-
web: "web";
|
|
600
626
|
api: "api";
|
|
627
|
+
web: "web";
|
|
601
628
|
}>>;
|
|
602
629
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
630
|
+
organization: "organization";
|
|
603
631
|
public: "public";
|
|
604
632
|
private: "private";
|
|
605
|
-
organization: "organization";
|
|
606
633
|
monetized: "monetized";
|
|
607
634
|
inherit: "inherit";
|
|
608
635
|
}>>>;
|
|
@@ -615,11 +642,11 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
615
642
|
columns: z.ZodArray<z.ZodString>;
|
|
616
643
|
asset_refs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
617
644
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
618
|
-
organization: "organization";
|
|
619
|
-
file: "file";
|
|
620
645
|
user: "user";
|
|
646
|
+
organization: "organization";
|
|
621
647
|
team: "team";
|
|
622
648
|
dataset: "dataset";
|
|
649
|
+
file: "file";
|
|
623
650
|
service: "service";
|
|
624
651
|
route: "route";
|
|
625
652
|
post: "post";
|
|
@@ -628,6 +655,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
628
655
|
conversation: "conversation";
|
|
629
656
|
}>>;
|
|
630
657
|
}, z.core.$strip>>>>;
|
|
658
|
+
enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
659
|
+
values: z.ZodArray<z.ZodString>;
|
|
660
|
+
}, z.core.$strip>>>>;
|
|
631
661
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
632
662
|
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
633
663
|
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -646,9 +676,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
646
676
|
team_id: string | null;
|
|
647
677
|
org_id: string | null;
|
|
648
678
|
name: string;
|
|
649
|
-
state: "success" | "
|
|
650
|
-
source: "
|
|
651
|
-
visibility: "
|
|
679
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
680
|
+
source: "api" | "web";
|
|
681
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
652
682
|
created_at: string;
|
|
653
683
|
last_updated: string;
|
|
654
684
|
asset_type: "dataset";
|
|
@@ -657,7 +687,10 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
657
687
|
schema: "datasets";
|
|
658
688
|
columns: string[];
|
|
659
689
|
asset_refs?: Record<string, {
|
|
660
|
-
asset_type?: "
|
|
690
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
691
|
+
}> | null | undefined;
|
|
692
|
+
enum_columns?: Record<string, {
|
|
693
|
+
values: string[];
|
|
661
694
|
}> | null | undefined;
|
|
662
695
|
doi_url?: string | null | undefined;
|
|
663
696
|
external_url?: string | null | undefined;
|
|
@@ -669,11 +702,11 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
669
702
|
};
|
|
670
703
|
preview: Record<string, any>[];
|
|
671
704
|
parent?: Record<string, any> | undefined;
|
|
672
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
673
705
|
description?: {
|
|
674
706
|
json: Record<string, any>;
|
|
675
707
|
text: string;
|
|
676
708
|
} | null | undefined;
|
|
709
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
677
710
|
parent_id?: string | null | undefined;
|
|
678
711
|
license_id?: string | undefined;
|
|
679
712
|
price?: number | null | undefined;
|
|
@@ -690,9 +723,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
690
723
|
team_id: string | null;
|
|
691
724
|
org_id: string | null;
|
|
692
725
|
name: string;
|
|
693
|
-
state: "success" | "
|
|
694
|
-
source: "
|
|
695
|
-
visibility: "
|
|
726
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
727
|
+
source: "api" | "web";
|
|
728
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
696
729
|
created_at: string;
|
|
697
730
|
last_updated: string;
|
|
698
731
|
asset_type: "dataset";
|
|
@@ -701,7 +734,10 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
701
734
|
schema: "datasets";
|
|
702
735
|
columns: string[];
|
|
703
736
|
asset_refs?: Record<string, {
|
|
704
|
-
asset_type?: "
|
|
737
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
738
|
+
}> | null | undefined;
|
|
739
|
+
enum_columns?: Record<string, {
|
|
740
|
+
values: string[];
|
|
705
741
|
}> | null | undefined;
|
|
706
742
|
doi_url?: string | null | undefined;
|
|
707
743
|
external_url?: string | null | undefined;
|
|
@@ -713,11 +749,11 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
713
749
|
};
|
|
714
750
|
preview: Record<string, any>[];
|
|
715
751
|
parent?: Record<string, any> | undefined;
|
|
716
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
717
752
|
description?: {
|
|
718
753
|
json: Record<string, any>;
|
|
719
754
|
text: string;
|
|
720
755
|
} | null | undefined;
|
|
756
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
721
757
|
parent_id?: string | null | undefined;
|
|
722
758
|
license_id?: string | undefined;
|
|
723
759
|
price?: number | null | undefined;
|
|
@@ -731,66 +767,19 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
731
767
|
name_url_slug?: string | null | undefined;
|
|
732
768
|
}>>;
|
|
733
769
|
declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
734
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
735
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
736
|
-
web: "web";
|
|
737
|
-
api: "api";
|
|
738
|
-
}>>;
|
|
739
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
740
|
-
public: "public";
|
|
741
|
-
private: "private";
|
|
742
|
-
organization: "organization";
|
|
743
|
-
monetized: "monetized";
|
|
744
|
-
inherit: "inherit";
|
|
745
|
-
}>>;
|
|
746
|
-
monetization: z.ZodOptional<z.ZodEnum<{
|
|
747
|
-
none: "none";
|
|
748
|
-
"pay-to-unlock": "pay-to-unlock";
|
|
749
|
-
"pay-per-use": "pay-per-use";
|
|
750
|
-
}>>;
|
|
751
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
752
|
-
success: "success";
|
|
753
|
-
error: "error";
|
|
754
|
-
queued: "queued";
|
|
755
|
-
"in-progress": "in-progress";
|
|
756
|
-
"timed-out": "timed-out";
|
|
757
|
-
}>>;
|
|
758
|
-
name: z.ZodOptional<z.ZodString>;
|
|
759
770
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
760
|
-
|
|
761
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
762
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
763
|
-
text: z.ZodString;
|
|
764
|
-
}, z.core.$strip>>>>;
|
|
765
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
766
|
-
license_id: z.ZodOptional<z.ZodString>;
|
|
767
|
-
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
768
|
-
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
769
|
-
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
770
|
-
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
771
|
-
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
772
|
-
fixed: "fixed";
|
|
773
|
-
variable: "variable";
|
|
774
|
-
}>>>>;
|
|
775
|
-
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
776
|
-
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
777
|
-
usd: "usd";
|
|
778
|
-
btc: "btc";
|
|
779
|
-
}>>>;
|
|
780
|
-
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
781
|
-
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
782
|
-
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
771
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
783
772
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
784
773
|
table_name: z.ZodString;
|
|
785
774
|
schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
|
|
786
775
|
columns: z.ZodArray<z.ZodString>;
|
|
787
776
|
asset_refs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
788
777
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
789
|
-
organization: "organization";
|
|
790
|
-
file: "file";
|
|
791
778
|
user: "user";
|
|
779
|
+
organization: "organization";
|
|
792
780
|
team: "team";
|
|
793
781
|
dataset: "dataset";
|
|
782
|
+
file: "file";
|
|
794
783
|
service: "service";
|
|
795
784
|
route: "route";
|
|
796
785
|
post: "post";
|
|
@@ -799,6 +788,9 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
799
788
|
conversation: "conversation";
|
|
800
789
|
}>>;
|
|
801
790
|
}, z.core.$strip>>>>;
|
|
791
|
+
enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
792
|
+
values: z.ZodArray<z.ZodString>;
|
|
793
|
+
}, z.core.$strip>>>>;
|
|
802
794
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
803
795
|
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
804
796
|
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -821,42 +813,70 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
821
813
|
files: "files";
|
|
822
814
|
}>>;
|
|
823
815
|
}, z.core.$strip>>;
|
|
816
|
+
name: z.ZodOptional<z.ZodString>;
|
|
817
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
818
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
819
|
+
organization: "organization";
|
|
820
|
+
public: "public";
|
|
821
|
+
private: "private";
|
|
822
|
+
monetized: "monetized";
|
|
823
|
+
inherit: "inherit";
|
|
824
|
+
}>>;
|
|
825
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
826
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
827
|
+
text: z.ZodString;
|
|
828
|
+
}, z.core.$strip>>>>;
|
|
829
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
api: "api";
|
|
831
|
+
web: "web";
|
|
832
|
+
}>>;
|
|
833
|
+
monetization: z.ZodOptional<z.ZodEnum<{
|
|
834
|
+
none: "none";
|
|
835
|
+
"pay-to-unlock": "pay-to-unlock";
|
|
836
|
+
"pay-per-use": "pay-per-use";
|
|
837
|
+
}>>;
|
|
838
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
839
|
+
success: "success";
|
|
840
|
+
queued: "queued";
|
|
841
|
+
"in-progress": "in-progress";
|
|
842
|
+
"timed-out": "timed-out";
|
|
843
|
+
error: "error";
|
|
844
|
+
}>>;
|
|
845
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
846
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
847
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
848
|
+
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
849
|
+
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
850
|
+
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
851
|
+
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
852
|
+
fixed: "fixed";
|
|
853
|
+
variable: "variable";
|
|
854
|
+
}>>>>;
|
|
855
|
+
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
856
|
+
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
857
|
+
usd: "usd";
|
|
858
|
+
btc: "btc";
|
|
859
|
+
}>>>;
|
|
860
|
+
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
861
|
+
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
862
|
+
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
824
863
|
preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
825
864
|
asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
|
|
826
865
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
827
866
|
}, z.core.$strip>, z.ZodTransform<{
|
|
828
867
|
asset_type: "dataset";
|
|
829
868
|
last_updated: string;
|
|
830
|
-
parent?: Record<string, any> | undefined;
|
|
831
|
-
source?: "web" | "api" | undefined;
|
|
832
|
-
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
833
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
834
|
-
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
835
|
-
name?: string | undefined;
|
|
836
869
|
org_id?: string | undefined;
|
|
837
|
-
|
|
838
|
-
description?: {
|
|
839
|
-
json: Record<string, any>;
|
|
840
|
-
text: string;
|
|
841
|
-
} | null | undefined;
|
|
842
|
-
parent_id?: string | null | undefined;
|
|
843
|
-
license_id?: string | undefined;
|
|
844
|
-
license?: Record<string, any> | undefined;
|
|
845
|
-
name_url_slug?: string | null | undefined;
|
|
846
|
-
price?: number | null | undefined;
|
|
847
|
-
unit_cost?: number | null | undefined;
|
|
848
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
849
|
-
cost_unit?: string | null | undefined;
|
|
850
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
851
|
-
stripe_product_id?: string | null | undefined;
|
|
852
|
-
stripe_price_id?: string | null | undefined;
|
|
853
|
-
stripe_meter_id?: string | null | undefined;
|
|
870
|
+
parent?: Record<string, any> | undefined;
|
|
854
871
|
metadata?: {
|
|
855
872
|
table_name: string;
|
|
856
873
|
schema: "datasets";
|
|
857
874
|
columns: string[];
|
|
858
875
|
asset_refs?: Record<string, {
|
|
859
|
-
asset_type?: "
|
|
876
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
877
|
+
}> | null | undefined;
|
|
878
|
+
enum_columns?: Record<string, {
|
|
879
|
+
values: string[];
|
|
860
880
|
}> | null | undefined;
|
|
861
881
|
doi_url?: string | null | undefined;
|
|
862
882
|
external_url?: string | null | undefined;
|
|
@@ -873,22 +893,16 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
873
893
|
id?: string | undefined;
|
|
874
894
|
bucket?: "public-files" | "files" | undefined;
|
|
875
895
|
} | undefined;
|
|
876
|
-
preview?: Record<string, any>[] | undefined;
|
|
877
|
-
}, {
|
|
878
|
-
asset_type: "dataset";
|
|
879
|
-
last_updated: string;
|
|
880
|
-
parent?: Record<string, any> | undefined;
|
|
881
|
-
source?: "web" | "api" | undefined;
|
|
882
|
-
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
883
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
884
|
-
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
885
896
|
name?: string | undefined;
|
|
886
|
-
org_id?: string | undefined;
|
|
887
897
|
team_id?: string | undefined;
|
|
898
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
888
899
|
description?: {
|
|
889
900
|
json: Record<string, any>;
|
|
890
901
|
text: string;
|
|
891
902
|
} | null | undefined;
|
|
903
|
+
source?: "api" | "web" | undefined;
|
|
904
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
905
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
892
906
|
parent_id?: string | null | undefined;
|
|
893
907
|
license_id?: string | undefined;
|
|
894
908
|
license?: Record<string, any> | undefined;
|
|
@@ -901,12 +915,21 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
901
915
|
stripe_product_id?: string | null | undefined;
|
|
902
916
|
stripe_price_id?: string | null | undefined;
|
|
903
917
|
stripe_meter_id?: string | null | undefined;
|
|
918
|
+
preview?: Record<string, any>[] | undefined;
|
|
919
|
+
}, {
|
|
920
|
+
asset_type: "dataset";
|
|
921
|
+
last_updated: string;
|
|
922
|
+
org_id?: string | undefined;
|
|
923
|
+
parent?: Record<string, any> | undefined;
|
|
904
924
|
metadata?: {
|
|
905
925
|
table_name: string;
|
|
906
926
|
schema: "datasets";
|
|
907
927
|
columns: string[];
|
|
908
928
|
asset_refs?: Record<string, {
|
|
909
|
-
asset_type?: "
|
|
929
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
930
|
+
}> | null | undefined;
|
|
931
|
+
enum_columns?: Record<string, {
|
|
932
|
+
values: string[];
|
|
910
933
|
}> | null | undefined;
|
|
911
934
|
doi_url?: string | null | undefined;
|
|
912
935
|
external_url?: string | null | undefined;
|
|
@@ -923,6 +946,28 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
923
946
|
id?: string | undefined;
|
|
924
947
|
bucket?: "public-files" | "files" | undefined;
|
|
925
948
|
} | undefined;
|
|
949
|
+
name?: string | undefined;
|
|
950
|
+
team_id?: string | undefined;
|
|
951
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
952
|
+
description?: {
|
|
953
|
+
json: Record<string, any>;
|
|
954
|
+
text: string;
|
|
955
|
+
} | null | undefined;
|
|
956
|
+
source?: "api" | "web" | undefined;
|
|
957
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
958
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
959
|
+
parent_id?: string | null | undefined;
|
|
960
|
+
license_id?: string | undefined;
|
|
961
|
+
license?: Record<string, any> | undefined;
|
|
962
|
+
name_url_slug?: string | null | undefined;
|
|
963
|
+
price?: number | null | undefined;
|
|
964
|
+
unit_cost?: number | null | undefined;
|
|
965
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
966
|
+
cost_unit?: string | null | undefined;
|
|
967
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
968
|
+
stripe_product_id?: string | null | undefined;
|
|
969
|
+
stripe_price_id?: string | null | undefined;
|
|
970
|
+
stripe_meter_id?: string | null | undefined;
|
|
926
971
|
preview?: Record<string, any>[] | undefined;
|
|
927
972
|
}>>;
|
|
928
973
|
|
|
@@ -931,8 +976,9 @@ type CreateFromFileDataset = z.infer<typeof CreateDatasetFromFileSchema>;
|
|
|
931
976
|
type CreateFromSchemaDataset = z.infer<typeof CreateDatasetFromSchemaSchema>;
|
|
932
977
|
type UpdateDataset = z.infer<typeof updateDatasetSchema>;
|
|
933
978
|
type DatasetAssetRefs = z.infer<typeof DatasetAssetRefsSchema>;
|
|
979
|
+
type DatasetEnumColumns = z.infer<typeof DatasetEnumColumnsSchema>;
|
|
934
980
|
type EnrichedDatasetSchemaField = z.infer<typeof EnrichedDatasetSchemaFieldSchema>;
|
|
935
981
|
type ResolvedAssetRef = z.infer<typeof ResolvedAssetRefSchema>;
|
|
936
982
|
type ResolvedAssetRefs = z.infer<typeof ResolvedAssetRefsSchema>;
|
|
937
983
|
|
|
938
|
-
export { CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, type CreateFromFileDataset, type CreateFromSchemaDataset, type Dataset, type DatasetAssetRefs, DatasetAssetRefsSchema, DatasetSchema, type EnrichedDatasetSchemaField, EnrichedDatasetSchemaFieldSchema, type ResolvedAssetRef, ResolvedAssetRefSchema, type ResolvedAssetRefs, ResolvedAssetRefsSchema, type UpdateDataset, updateDatasetSchema };
|
|
984
|
+
export { CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, type CreateFromFileDataset, type CreateFromSchemaDataset, type Dataset, type DatasetAssetRefs, DatasetAssetRefsSchema, type DatasetEnumColumns, DatasetEnumColumnsSchema, DatasetSchema, type EnrichedDatasetSchemaField, EnrichedDatasetSchemaFieldSchema, type ResolvedAssetRef, ResolvedAssetRefSchema, type ResolvedAssetRefs, ResolvedAssetRefsSchema, type UpdateDataset, updateDatasetSchema };
|