@ourofoundation/ouro-js 3.7.3 → 3.7.8
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-WRHPQNEL.js → chunk-3BZRQYRC.js} +2 -2
- package/dist/chunk-3BZRQYRC.js.map +1 -0
- package/dist/{chunk-F7W5ETUD.js → chunk-3C7PGJ33.js} +2 -2
- package/dist/{chunk-F7W5ETUD.js.map → chunk-3C7PGJ33.js.map} +1 -1
- package/dist/{chunk-ODFKZL7T.js → chunk-3OUJXTJZ.js} +2 -2
- package/dist/{chunk-ODFKZL7T.js.map → chunk-3OUJXTJZ.js.map} +1 -1
- package/dist/chunk-3RFYEL3A.cjs +2 -0
- package/dist/chunk-3RFYEL3A.cjs.map +1 -0
- package/dist/chunk-42ADEGDM.js +2 -0
- package/dist/chunk-42ADEGDM.js.map +1 -0
- package/dist/{chunk-4IMLVBKS.js → chunk-42WKTHH5.js} +2 -2
- package/dist/{chunk-4IMLVBKS.js.map → chunk-42WKTHH5.js.map} +1 -1
- package/dist/chunk-4NAPVNIX.js +2 -0
- package/dist/chunk-4NAPVNIX.js.map +1 -0
- package/dist/chunk-66AAHP6X.cjs +2 -0
- package/dist/chunk-66AAHP6X.cjs.map +1 -0
- package/dist/{chunk-Q6VQANTI.cjs → chunk-7YG2YDXN.cjs} +2 -2
- package/dist/{chunk-Q6VQANTI.cjs.map → chunk-7YG2YDXN.cjs.map} +1 -1
- package/dist/{chunk-4BJJ7VCS.js → chunk-ASLHRT77.js} +2 -2
- package/dist/{chunk-4BJJ7VCS.js.map → chunk-ASLHRT77.js.map} +1 -1
- package/dist/chunk-B3OK6NNR.cjs +2 -0
- package/dist/chunk-B3OK6NNR.cjs.map +1 -0
- package/dist/chunk-CRUIBV5F.js +2 -0
- package/dist/chunk-CRUIBV5F.js.map +1 -0
- package/dist/chunk-CW4TV3DY.js +2 -0
- package/dist/chunk-CW4TV3DY.js.map +1 -0
- package/dist/chunk-EMDUI7HF.js +2 -0
- package/dist/chunk-EMDUI7HF.js.map +1 -0
- package/dist/chunk-EVQAA7RQ.cjs +2 -0
- package/dist/chunk-EVQAA7RQ.cjs.map +1 -0
- package/dist/chunk-FJTFM3ML.cjs +2 -0
- package/dist/chunk-FJTFM3ML.cjs.map +1 -0
- package/dist/chunk-JRBBNFFI.cjs +2 -0
- package/dist/chunk-JRBBNFFI.cjs.map +1 -0
- package/dist/chunk-KHUEMWG2.js +2 -0
- package/dist/chunk-KHUEMWG2.js.map +1 -0
- package/dist/chunk-LD5G6GFH.cjs +2 -0
- package/dist/chunk-LD5G6GFH.cjs.map +1 -0
- package/dist/chunk-LGJ2LLH6.js +2 -0
- package/dist/chunk-LGJ2LLH6.js.map +1 -0
- package/dist/{chunk-43KB23BA.cjs → chunk-MNECKGIP.cjs} +2 -2
- package/dist/chunk-MNECKGIP.cjs.map +1 -0
- package/dist/chunk-NAISOUTE.cjs +2 -0
- package/dist/chunk-NAISOUTE.cjs.map +1 -0
- package/dist/{chunk-PE7JS2HJ.js → chunk-PB4XG5WM.js} +2 -2
- package/dist/{chunk-PE7JS2HJ.js.map → chunk-PB4XG5WM.js.map} +1 -1
- package/dist/{chunk-SAREC2M2.cjs → chunk-QWD7POET.cjs} +2 -2
- package/dist/{chunk-SAREC2M2.cjs.map → chunk-QWD7POET.cjs.map} +1 -1
- package/dist/{chunk-FPZA5343.cjs → chunk-UDTRH3OQ.cjs} +2 -2
- package/dist/{chunk-FPZA5343.cjs.map → chunk-UDTRH3OQ.cjs.map} +1 -1
- package/dist/chunk-UVVPXYJA.cjs +2 -0
- package/dist/chunk-UVVPXYJA.cjs.map +1 -0
- package/dist/chunk-W3N744QV.js +2 -0
- package/dist/chunk-W3N744QV.js.map +1 -0
- package/dist/chunk-W6AKVS4L.cjs +2 -0
- package/dist/chunk-W6AKVS4L.cjs.map +1 -0
- package/dist/{chunk-RJX57RHG.cjs → chunk-W6MBAIKZ.cjs} +2 -2
- package/dist/{chunk-RJX57RHG.cjs.map → chunk-W6MBAIKZ.cjs.map} +1 -1
- package/dist/chunk-XVN3DFMT.js +2 -0
- package/dist/chunk-XVN3DFMT.js.map +1 -0
- package/dist/chunk-Y6TOO6ET.js +2 -0
- package/dist/chunk-Y6TOO6ET.js.map +1 -0
- package/dist/chunk-YTIUJ72Q.js +2 -0
- package/dist/chunk-YTIUJ72Q.js.map +1 -0
- package/dist/chunk-Z66O3S3W.cjs +2 -0
- package/dist/chunk-Z66O3S3W.cjs.map +1 -0
- package/dist/{chunk-R736Q46O.cjs → chunk-ZRJUBEIK.cjs} +2 -2
- package/dist/{chunk-R736Q46O.cjs.map → chunk-ZRJUBEIK.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.cjs +2 -0
- package/dist/schema/asset-filters.cjs.map +1 -0
- package/dist/schema/asset-filters.d.cts +145 -0
- package/dist/schema/asset-filters.d.ts +145 -0
- package/dist/schema/asset-filters.js +2 -0
- package/dist/schema/asset-filters.js.map +1 -0
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +63 -63
- package/dist/schema/assets.d.ts +63 -63
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +654 -55
- package/dist/schema/comments.d.ts +654 -55
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +18 -10
- package/dist/schema/common.d.ts +18 -10
- package/dist/schema/common.js +1 -1
- package/dist/schema/content-refs.cjs +2 -0
- package/dist/schema/content-refs.cjs.map +1 -0
- package/dist/schema/content-refs.d.cts +18 -0
- package/dist/schema/content-refs.d.ts +18 -0
- package/dist/schema/content-refs.js +2 -0
- package/dist/schema/content-refs.js.map +1 -0
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +360 -54
- package/dist/schema/conversations.d.ts +360 -54
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +137 -137
- package/dist/schema/datasets.d.ts +137 -137
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +88 -88
- package/dist/schema/files.d.ts +88 -88
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +3417 -41
- package/dist/schema/notifications.d.ts +3417 -41
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +697 -85
- package/dist/schema/posts.d.ts +697 -85
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +278 -289
- package/dist/schema/quests.d.ts +278 -289
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +2197 -118
- package/dist/schema/services.d.ts +2197 -118
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +29 -15
- package/dist/schema/teams.d.ts +29 -15
- package/dist/schema/teams.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +13 -1
- package/dist/utils/air/index.d.ts +13 -1
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/asset-filters.cjs +2 -0
- package/dist/utils/asset-filters.cjs.map +1 -0
- package/dist/utils/asset-filters.d.cts +15 -0
- package/dist/utils/asset-filters.d.ts +15 -0
- package/dist/utils/asset-filters.js +2 -0
- package/dist/utils/asset-filters.js.map +1 -0
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +6 -6
- package/dist/utils/quest-submission.d.ts +6 -6
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2EXUO67W.cjs +0 -2
- package/dist/chunk-2EXUO67W.cjs.map +0 -1
- package/dist/chunk-43KB23BA.cjs.map +0 -1
- package/dist/chunk-4K6R6FZD.cjs +0 -2
- package/dist/chunk-4K6R6FZD.cjs.map +0 -1
- package/dist/chunk-AWBCE7ME.cjs +0 -2
- package/dist/chunk-AWBCE7ME.cjs.map +0 -1
- package/dist/chunk-E4ZLYXHD.cjs +0 -2
- package/dist/chunk-E4ZLYXHD.cjs.map +0 -1
- package/dist/chunk-G5YNDO2B.cjs +0 -2
- package/dist/chunk-G5YNDO2B.cjs.map +0 -1
- package/dist/chunk-GSUGFBTH.js +0 -2
- package/dist/chunk-GSUGFBTH.js.map +0 -1
- package/dist/chunk-GTFGYJSD.js +0 -2
- package/dist/chunk-GTFGYJSD.js.map +0 -1
- package/dist/chunk-HBCNAVZP.js +0 -2
- package/dist/chunk-HBCNAVZP.js.map +0 -1
- package/dist/chunk-J2BGBOOC.cjs +0 -2
- package/dist/chunk-J2BGBOOC.cjs.map +0 -1
- package/dist/chunk-JISPX5A6.js +0 -2
- package/dist/chunk-JISPX5A6.js.map +0 -1
- package/dist/chunk-P7N5DY3B.cjs +0 -2
- package/dist/chunk-P7N5DY3B.cjs.map +0 -1
- package/dist/chunk-PAACMXYE.cjs +0 -2
- package/dist/chunk-PAACMXYE.cjs.map +0 -1
- package/dist/chunk-T3HVRQBB.js +0 -2
- package/dist/chunk-T3HVRQBB.js.map +0 -1
- package/dist/chunk-WFGZLHG2.js +0 -2
- package/dist/chunk-WFGZLHG2.js.map +0 -1
- package/dist/chunk-WRHPQNEL.js.map +0 -1
- package/dist/chunk-YSWB7HAZ.js +0 -2
- package/dist/chunk-YSWB7HAZ.js.map +0 -1
- package/dist/chunk-ZNN4S4KJ.js +0 -2
- package/dist/chunk-ZNN4S4KJ.js.map +0 -1
|
@@ -22,10 +22,10 @@ declare const DatasetRefsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
22
22
|
}>;
|
|
23
23
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
24
24
|
user: "user";
|
|
25
|
+
file: "file";
|
|
25
26
|
organization: "organization";
|
|
26
27
|
team: "team";
|
|
27
28
|
dataset: "dataset";
|
|
28
|
-
file: "file";
|
|
29
29
|
service: "service";
|
|
30
30
|
route: "route";
|
|
31
31
|
post: "post";
|
|
@@ -71,10 +71,10 @@ declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
|
71
71
|
}>>>;
|
|
72
72
|
asset_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73
73
|
user: "user";
|
|
74
|
+
file: "file";
|
|
74
75
|
organization: "organization";
|
|
75
76
|
team: "team";
|
|
76
77
|
dataset: "dataset";
|
|
77
|
-
file: "file";
|
|
78
78
|
service: "service";
|
|
79
79
|
route: "route";
|
|
80
80
|
post: "post";
|
|
@@ -89,10 +89,10 @@ declare const ResolvedRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
89
89
|
id: z.ZodUUID;
|
|
90
90
|
asset_type: z.ZodEnum<{
|
|
91
91
|
user: "user";
|
|
92
|
+
file: "file";
|
|
92
93
|
organization: "organization";
|
|
93
94
|
team: "team";
|
|
94
95
|
dataset: "dataset";
|
|
95
|
-
file: "file";
|
|
96
96
|
service: "service";
|
|
97
97
|
route: "route";
|
|
98
98
|
post: "post";
|
|
@@ -118,10 +118,10 @@ declare const ResolvedRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodStri
|
|
|
118
118
|
id: z.ZodUUID;
|
|
119
119
|
asset_type: z.ZodEnum<{
|
|
120
120
|
user: "user";
|
|
121
|
+
file: "file";
|
|
121
122
|
organization: "organization";
|
|
122
123
|
team: "team";
|
|
123
124
|
dataset: "dataset";
|
|
124
|
-
file: "file";
|
|
125
125
|
service: "service";
|
|
126
126
|
route: "route";
|
|
127
127
|
post: "post";
|
|
@@ -383,14 +383,14 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
383
383
|
}, z.core.$strip>;
|
|
384
384
|
state: z.ZodEnum<{
|
|
385
385
|
success: "success";
|
|
386
|
+
error: "error";
|
|
386
387
|
queued: "queued";
|
|
387
388
|
"in-progress": "in-progress";
|
|
388
389
|
"timed-out": "timed-out";
|
|
389
|
-
error: "error";
|
|
390
390
|
}>;
|
|
391
391
|
source: z.ZodEnum<{
|
|
392
|
-
api: "api";
|
|
393
392
|
web: "web";
|
|
393
|
+
api: "api";
|
|
394
394
|
}>;
|
|
395
395
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
396
396
|
created_at: z.ZodString;
|
|
@@ -407,10 +407,10 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
407
407
|
}>;
|
|
408
408
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
409
409
|
user: "user";
|
|
410
|
+
file: "file";
|
|
410
411
|
organization: "organization";
|
|
411
412
|
team: "team";
|
|
412
413
|
dataset: "dataset";
|
|
413
|
-
file: "file";
|
|
414
414
|
service: "service";
|
|
415
415
|
route: "route";
|
|
416
416
|
post: "post";
|
|
@@ -438,16 +438,16 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
438
438
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
439
439
|
}, z.core.$strip>;
|
|
440
440
|
declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
441
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
442
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
443
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
444
|
-
text: z.ZodString;
|
|
445
|
-
}, z.core.$strip>>>>;
|
|
446
441
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
447
442
|
none: "none";
|
|
448
443
|
"pay-to-unlock": "pay-to-unlock";
|
|
449
444
|
"pay-per-use": "pay-per-use";
|
|
450
445
|
}>>;
|
|
446
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
447
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
448
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
449
|
+
text: z.ZodString;
|
|
450
|
+
}, z.core.$strip>>>>;
|
|
451
451
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
452
452
|
license_id: z.ZodOptional<z.ZodString>;
|
|
453
453
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -471,14 +471,14 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
471
471
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
472
472
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
473
473
|
success: "success";
|
|
474
|
+
error: "error";
|
|
474
475
|
queued: "queued";
|
|
475
476
|
"in-progress": "in-progress";
|
|
476
477
|
"timed-out": "timed-out";
|
|
477
|
-
error: "error";
|
|
478
478
|
}>>>;
|
|
479
479
|
source: z.ZodDefault<z.ZodEnum<{
|
|
480
|
-
api: "api";
|
|
481
480
|
web: "web";
|
|
481
|
+
api: "api";
|
|
482
482
|
}>>;
|
|
483
483
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
484
484
|
organization: "organization";
|
|
@@ -566,10 +566,10 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
566
566
|
}>;
|
|
567
567
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
568
568
|
user: "user";
|
|
569
|
+
file: "file";
|
|
569
570
|
organization: "organization";
|
|
570
571
|
team: "team";
|
|
571
572
|
dataset: "dataset";
|
|
572
|
-
file: "file";
|
|
573
573
|
service: "service";
|
|
574
574
|
route: "route";
|
|
575
575
|
post: "post";
|
|
@@ -600,8 +600,8 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
600
600
|
team_id: string | null;
|
|
601
601
|
org_id: string | null;
|
|
602
602
|
name: string;
|
|
603
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
604
|
-
source: "
|
|
603
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
604
|
+
source: "web" | "api";
|
|
605
605
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
606
606
|
attribution: {
|
|
607
607
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -638,7 +638,7 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
638
638
|
bucket: "public-files" | "files";
|
|
639
639
|
refs?: Record<string, {
|
|
640
640
|
kind: "action" | "asset";
|
|
641
|
-
asset_type?: "user" | "
|
|
641
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
642
642
|
}> | null | undefined;
|
|
643
643
|
enum_columns?: Record<string, {
|
|
644
644
|
values: string[];
|
|
@@ -647,12 +647,12 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
647
647
|
reply_to_comment_id?: string | null | undefined;
|
|
648
648
|
};
|
|
649
649
|
preview: Record<string, any>[];
|
|
650
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
650
651
|
parent?: Record<string, any> | undefined;
|
|
651
652
|
description?: {
|
|
652
653
|
json: Record<string, any>;
|
|
653
654
|
text: string;
|
|
654
655
|
} | null | undefined;
|
|
655
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
656
656
|
parent_id?: string | null | undefined;
|
|
657
657
|
license_id?: string | undefined;
|
|
658
658
|
price?: number | null | undefined;
|
|
@@ -669,8 +669,8 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
669
669
|
team_id: string | null;
|
|
670
670
|
org_id: string | null;
|
|
671
671
|
name: string;
|
|
672
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
673
|
-
source: "
|
|
672
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
673
|
+
source: "web" | "api";
|
|
674
674
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
675
675
|
attribution: {
|
|
676
676
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -707,7 +707,7 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
707
707
|
bucket: "public-files" | "files";
|
|
708
708
|
refs?: Record<string, {
|
|
709
709
|
kind: "action" | "asset";
|
|
710
|
-
asset_type?: "user" | "
|
|
710
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
711
711
|
}> | null | undefined;
|
|
712
712
|
enum_columns?: Record<string, {
|
|
713
713
|
values: string[];
|
|
@@ -716,12 +716,12 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
716
716
|
reply_to_comment_id?: string | null | undefined;
|
|
717
717
|
};
|
|
718
718
|
preview: Record<string, any>[];
|
|
719
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
719
720
|
parent?: Record<string, any> | undefined;
|
|
720
721
|
description?: {
|
|
721
722
|
json: Record<string, any>;
|
|
722
723
|
text: string;
|
|
723
724
|
} | null | undefined;
|
|
724
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
725
725
|
parent_id?: string | null | undefined;
|
|
726
726
|
license_id?: string | undefined;
|
|
727
727
|
price?: number | null | undefined;
|
|
@@ -735,16 +735,16 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
735
735
|
name_url_slug?: string | null | undefined;
|
|
736
736
|
}>>;
|
|
737
737
|
declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
738
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
739
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
740
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
741
|
-
text: z.ZodString;
|
|
742
|
-
}, z.core.$strip>>>>;
|
|
743
738
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
744
739
|
none: "none";
|
|
745
740
|
"pay-to-unlock": "pay-to-unlock";
|
|
746
741
|
"pay-per-use": "pay-per-use";
|
|
747
742
|
}>>;
|
|
743
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
744
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
745
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
746
|
+
text: z.ZodString;
|
|
747
|
+
}, z.core.$strip>>>>;
|
|
748
748
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
749
749
|
license_id: z.ZodOptional<z.ZodString>;
|
|
750
750
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -768,14 +768,14 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
768
768
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
769
769
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
770
770
|
success: "success";
|
|
771
|
+
error: "error";
|
|
771
772
|
queued: "queued";
|
|
772
773
|
"in-progress": "in-progress";
|
|
773
774
|
"timed-out": "timed-out";
|
|
774
|
-
error: "error";
|
|
775
775
|
}>>>;
|
|
776
776
|
source: z.ZodDefault<z.ZodEnum<{
|
|
777
|
-
api: "api";
|
|
778
777
|
web: "web";
|
|
778
|
+
api: "api";
|
|
779
779
|
}>>;
|
|
780
780
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
781
781
|
organization: "organization";
|
|
@@ -863,10 +863,10 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
863
863
|
}>;
|
|
864
864
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
865
865
|
user: "user";
|
|
866
|
+
file: "file";
|
|
866
867
|
organization: "organization";
|
|
867
868
|
team: "team";
|
|
868
869
|
dataset: "dataset";
|
|
869
|
-
file: "file";
|
|
870
870
|
service: "service";
|
|
871
871
|
route: "route";
|
|
872
872
|
post: "post";
|
|
@@ -887,8 +887,8 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
887
887
|
team_id: string | null;
|
|
888
888
|
org_id: string | null;
|
|
889
889
|
name: string;
|
|
890
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
891
|
-
source: "
|
|
890
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
891
|
+
source: "web" | "api";
|
|
892
892
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
893
893
|
attribution: {
|
|
894
894
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -918,7 +918,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
918
918
|
columns: string[];
|
|
919
919
|
refs?: Record<string, {
|
|
920
920
|
kind: "action" | "asset";
|
|
921
|
-
asset_type?: "user" | "
|
|
921
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
922
922
|
}> | null | undefined;
|
|
923
923
|
enum_columns?: Record<string, {
|
|
924
924
|
values: string[];
|
|
@@ -927,12 +927,12 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
927
927
|
reply_to_comment_id?: string | null | undefined;
|
|
928
928
|
};
|
|
929
929
|
preview: Record<string, any>[];
|
|
930
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
930
931
|
parent?: Record<string, any> | undefined;
|
|
931
932
|
description?: {
|
|
932
933
|
json: Record<string, any>;
|
|
933
934
|
text: string;
|
|
934
935
|
} | null | undefined;
|
|
935
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
936
936
|
parent_id?: string | null | undefined;
|
|
937
937
|
license_id?: string | undefined;
|
|
938
938
|
price?: number | null | undefined;
|
|
@@ -949,8 +949,8 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
949
949
|
team_id: string | null;
|
|
950
950
|
org_id: string | null;
|
|
951
951
|
name: string;
|
|
952
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
953
|
-
source: "
|
|
952
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
953
|
+
source: "web" | "api";
|
|
954
954
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
955
955
|
attribution: {
|
|
956
956
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -980,7 +980,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
980
980
|
columns: string[];
|
|
981
981
|
refs?: Record<string, {
|
|
982
982
|
kind: "action" | "asset";
|
|
983
|
-
asset_type?: "user" | "
|
|
983
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
984
984
|
}> | null | undefined;
|
|
985
985
|
enum_columns?: Record<string, {
|
|
986
986
|
values: string[];
|
|
@@ -989,12 +989,12 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
989
989
|
reply_to_comment_id?: string | null | undefined;
|
|
990
990
|
};
|
|
991
991
|
preview: Record<string, any>[];
|
|
992
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
992
993
|
parent?: Record<string, any> | undefined;
|
|
993
994
|
description?: {
|
|
994
995
|
json: Record<string, any>;
|
|
995
996
|
text: string;
|
|
996
997
|
} | null | undefined;
|
|
997
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
998
998
|
parent_id?: string | null | undefined;
|
|
999
999
|
license_id?: string | undefined;
|
|
1000
1000
|
price?: number | null | undefined;
|
|
@@ -1008,49 +1008,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1008
1008
|
name_url_slug?: string | null | undefined;
|
|
1009
1009
|
}>>;
|
|
1010
1010
|
declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
1011
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
1012
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1013
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
1014
|
-
table_name: z.ZodString;
|
|
1015
|
-
schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
|
|
1016
|
-
columns: z.ZodArray<z.ZodString>;
|
|
1017
|
-
refs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1018
|
-
kind: z.ZodEnum<{
|
|
1019
|
-
action: "action";
|
|
1020
|
-
asset: "asset";
|
|
1021
|
-
}>;
|
|
1022
|
-
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
1023
|
-
user: "user";
|
|
1024
|
-
organization: "organization";
|
|
1025
|
-
team: "team";
|
|
1026
|
-
dataset: "dataset";
|
|
1027
|
-
file: "file";
|
|
1028
|
-
service: "service";
|
|
1029
|
-
route: "route";
|
|
1030
|
-
post: "post";
|
|
1031
|
-
quest: "quest";
|
|
1032
|
-
comment: "comment";
|
|
1033
|
-
conversation: "conversation";
|
|
1034
|
-
}>>;
|
|
1035
|
-
}, z.core.$strip>>>>;
|
|
1036
|
-
enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1037
|
-
values: z.ZodArray<z.ZodString>;
|
|
1038
|
-
}, z.core.$strip>>>>;
|
|
1039
|
-
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1040
|
-
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1041
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1042
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
1043
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1044
|
-
extension: z.ZodOptional<z.ZodString>;
|
|
1045
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1046
|
-
id: z.ZodOptional<z.ZodUUID>;
|
|
1047
|
-
bucket: z.ZodOptional<z.ZodEnum<{
|
|
1048
|
-
"public-files": "public-files";
|
|
1049
|
-
files: "files";
|
|
1050
|
-
}>>;
|
|
1051
|
-
}, z.core.$strip>>;
|
|
1052
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1053
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
1054
1011
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1055
1012
|
organization: "organization";
|
|
1056
1013
|
public: "public";
|
|
@@ -1058,14 +1015,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1058
1015
|
monetized: "monetized";
|
|
1059
1016
|
inherit: "inherit";
|
|
1060
1017
|
}>>;
|
|
1061
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1062
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1063
|
-
text: z.ZodString;
|
|
1064
|
-
}, z.core.$strip>>>>;
|
|
1065
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
1066
|
-
api: "api";
|
|
1067
|
-
web: "web";
|
|
1068
|
-
}>>;
|
|
1069
1018
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
1070
1019
|
none: "none";
|
|
1071
1020
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -1102,11 +1051,23 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1102
1051
|
}, z.core.$strip>>;
|
|
1103
1052
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1104
1053
|
success: "success";
|
|
1054
|
+
error: "error";
|
|
1105
1055
|
queued: "queued";
|
|
1106
1056
|
"in-progress": "in-progress";
|
|
1107
1057
|
"timed-out": "timed-out";
|
|
1108
|
-
error: "error";
|
|
1109
1058
|
}>>;
|
|
1059
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1060
|
+
web: "web";
|
|
1061
|
+
api: "api";
|
|
1062
|
+
}>>;
|
|
1063
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1064
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
1066
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
1067
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1068
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1069
|
+
text: z.ZodString;
|
|
1070
|
+
}, z.core.$strip>>>>;
|
|
1110
1071
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
1111
1072
|
license_id: z.ZodOptional<z.ZodString>;
|
|
1112
1073
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -1125,43 +1086,52 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1125
1086
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1126
1087
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1127
1088
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1089
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1090
|
+
table_name: z.ZodString;
|
|
1091
|
+
schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
|
|
1092
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1093
|
+
refs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1094
|
+
kind: z.ZodEnum<{
|
|
1095
|
+
action: "action";
|
|
1096
|
+
asset: "asset";
|
|
1097
|
+
}>;
|
|
1098
|
+
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
1099
|
+
user: "user";
|
|
1100
|
+
file: "file";
|
|
1101
|
+
organization: "organization";
|
|
1102
|
+
team: "team";
|
|
1103
|
+
dataset: "dataset";
|
|
1104
|
+
service: "service";
|
|
1105
|
+
route: "route";
|
|
1106
|
+
post: "post";
|
|
1107
|
+
quest: "quest";
|
|
1108
|
+
comment: "comment";
|
|
1109
|
+
conversation: "conversation";
|
|
1110
|
+
}>>;
|
|
1111
|
+
}, z.core.$strip>>>>;
|
|
1112
|
+
enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1113
|
+
values: z.ZodArray<z.ZodString>;
|
|
1114
|
+
}, z.core.$strip>>>>;
|
|
1115
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1116
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1117
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1119
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
1123
|
+
bucket: z.ZodOptional<z.ZodEnum<{
|
|
1124
|
+
"public-files": "public-files";
|
|
1125
|
+
files: "files";
|
|
1126
|
+
}>>;
|
|
1127
|
+
}, z.core.$strip>>;
|
|
1128
1128
|
preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1129
1129
|
asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
|
|
1130
1130
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
1131
1131
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1132
1132
|
asset_type: "dataset";
|
|
1133
1133
|
last_updated: string;
|
|
1134
|
-
org_id?: string | undefined;
|
|
1135
|
-
parent?: Record<string, any> | undefined;
|
|
1136
|
-
metadata?: {
|
|
1137
|
-
table_name: string;
|
|
1138
|
-
schema: "datasets";
|
|
1139
|
-
columns: string[];
|
|
1140
|
-
refs?: Record<string, {
|
|
1141
|
-
kind: "action" | "asset";
|
|
1142
|
-
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
1143
|
-
}> | null | undefined;
|
|
1144
|
-
enum_columns?: Record<string, {
|
|
1145
|
-
values: string[];
|
|
1146
|
-
}> | null | undefined;
|
|
1147
|
-
source?: string | null | undefined;
|
|
1148
|
-
reply_to_comment_id?: string | null | undefined;
|
|
1149
|
-
type?: string | undefined;
|
|
1150
|
-
size?: number | undefined;
|
|
1151
|
-
path?: string | undefined;
|
|
1152
|
-
extension?: string | undefined;
|
|
1153
|
-
name?: string | undefined;
|
|
1154
|
-
id?: string | undefined;
|
|
1155
|
-
bucket?: "public-files" | "files" | undefined;
|
|
1156
|
-
} | undefined;
|
|
1157
|
-
name?: string | undefined;
|
|
1158
|
-
team_id?: string | undefined;
|
|
1159
1134
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
1160
|
-
description?: {
|
|
1161
|
-
json: Record<string, any>;
|
|
1162
|
-
text: string;
|
|
1163
|
-
} | null | undefined;
|
|
1164
|
-
source?: "api" | "web" | undefined;
|
|
1165
1135
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1166
1136
|
attribution?: {
|
|
1167
1137
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -1182,7 +1152,16 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1182
1152
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
1183
1153
|
doi?: string | null | undefined;
|
|
1184
1154
|
} | undefined;
|
|
1185
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" |
|
|
1155
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
1156
|
+
source?: "web" | "api" | undefined;
|
|
1157
|
+
parent?: Record<string, any> | undefined;
|
|
1158
|
+
name?: string | undefined;
|
|
1159
|
+
org_id?: string | undefined;
|
|
1160
|
+
team_id?: string | undefined;
|
|
1161
|
+
description?: {
|
|
1162
|
+
json: Record<string, any>;
|
|
1163
|
+
text: string;
|
|
1164
|
+
} | null | undefined;
|
|
1186
1165
|
parent_id?: string | null | undefined;
|
|
1187
1166
|
license_id?: string | undefined;
|
|
1188
1167
|
license?: Record<string, any> | undefined;
|
|
@@ -1195,19 +1174,13 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1195
1174
|
stripe_product_id?: string | null | undefined;
|
|
1196
1175
|
stripe_price_id?: string | null | undefined;
|
|
1197
1176
|
stripe_meter_id?: string | null | undefined;
|
|
1198
|
-
preview?: Record<string, any>[] | undefined;
|
|
1199
|
-
}, {
|
|
1200
|
-
asset_type: "dataset";
|
|
1201
|
-
last_updated: string;
|
|
1202
|
-
org_id?: string | undefined;
|
|
1203
|
-
parent?: Record<string, any> | undefined;
|
|
1204
1177
|
metadata?: {
|
|
1205
1178
|
table_name: string;
|
|
1206
1179
|
schema: "datasets";
|
|
1207
1180
|
columns: string[];
|
|
1208
1181
|
refs?: Record<string, {
|
|
1209
1182
|
kind: "action" | "asset";
|
|
1210
|
-
asset_type?: "user" | "
|
|
1183
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
1211
1184
|
}> | null | undefined;
|
|
1212
1185
|
enum_columns?: Record<string, {
|
|
1213
1186
|
values: string[];
|
|
@@ -1222,14 +1195,11 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1222
1195
|
id?: string | undefined;
|
|
1223
1196
|
bucket?: "public-files" | "files" | undefined;
|
|
1224
1197
|
} | undefined;
|
|
1225
|
-
|
|
1226
|
-
|
|
1198
|
+
preview?: Record<string, any>[] | undefined;
|
|
1199
|
+
}, {
|
|
1200
|
+
asset_type: "dataset";
|
|
1201
|
+
last_updated: string;
|
|
1227
1202
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
1228
|
-
description?: {
|
|
1229
|
-
json: Record<string, any>;
|
|
1230
|
-
text: string;
|
|
1231
|
-
} | null | undefined;
|
|
1232
|
-
source?: "api" | "web" | undefined;
|
|
1233
1203
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1234
1204
|
attribution?: {
|
|
1235
1205
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -1250,7 +1220,16 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1250
1220
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
1251
1221
|
doi?: string | null | undefined;
|
|
1252
1222
|
} | undefined;
|
|
1253
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" |
|
|
1223
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
1224
|
+
source?: "web" | "api" | undefined;
|
|
1225
|
+
parent?: Record<string, any> | undefined;
|
|
1226
|
+
name?: string | undefined;
|
|
1227
|
+
org_id?: string | undefined;
|
|
1228
|
+
team_id?: string | undefined;
|
|
1229
|
+
description?: {
|
|
1230
|
+
json: Record<string, any>;
|
|
1231
|
+
text: string;
|
|
1232
|
+
} | null | undefined;
|
|
1254
1233
|
parent_id?: string | null | undefined;
|
|
1255
1234
|
license_id?: string | undefined;
|
|
1256
1235
|
license?: Record<string, any> | undefined;
|
|
@@ -1263,6 +1242,27 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1263
1242
|
stripe_product_id?: string | null | undefined;
|
|
1264
1243
|
stripe_price_id?: string | null | undefined;
|
|
1265
1244
|
stripe_meter_id?: string | null | undefined;
|
|
1245
|
+
metadata?: {
|
|
1246
|
+
table_name: string;
|
|
1247
|
+
schema: "datasets";
|
|
1248
|
+
columns: string[];
|
|
1249
|
+
refs?: Record<string, {
|
|
1250
|
+
kind: "action" | "asset";
|
|
1251
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
1252
|
+
}> | null | undefined;
|
|
1253
|
+
enum_columns?: Record<string, {
|
|
1254
|
+
values: string[];
|
|
1255
|
+
}> | null | undefined;
|
|
1256
|
+
source?: string | null | undefined;
|
|
1257
|
+
reply_to_comment_id?: string | null | undefined;
|
|
1258
|
+
type?: string | undefined;
|
|
1259
|
+
size?: number | undefined;
|
|
1260
|
+
path?: string | undefined;
|
|
1261
|
+
extension?: string | undefined;
|
|
1262
|
+
name?: string | undefined;
|
|
1263
|
+
id?: string | undefined;
|
|
1264
|
+
bucket?: "public-files" | "files" | undefined;
|
|
1265
|
+
} | undefined;
|
|
1266
1266
|
preview?: Record<string, any>[] | undefined;
|
|
1267
1267
|
}>>;
|
|
1268
1268
|
|