@ourofoundation/ouro-js 3.0.5 → 3.1.1
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-2JCUJKLB.js +3 -0
- package/dist/chunk-2JCUJKLB.js.map +1 -0
- package/dist/chunk-3N56ERWF.js +2 -0
- package/dist/chunk-3N56ERWF.js.map +1 -0
- package/dist/{chunk-FPRFE54S.cjs → chunk-4KUHOXA5.cjs} +2 -2
- package/dist/{chunk-FPRFE54S.cjs.map → chunk-4KUHOXA5.cjs.map} +1 -1
- package/dist/chunk-4VEWTZNL.js +2 -0
- package/dist/chunk-4VEWTZNL.js.map +1 -0
- package/dist/chunk-6DQ5ZEGV.js +2 -0
- package/dist/chunk-6DQ5ZEGV.js.map +1 -0
- package/dist/chunk-6RGIIOOP.js +2 -0
- package/dist/chunk-6RGIIOOP.js.map +1 -0
- package/dist/chunk-7BEEJS6W.js +2 -0
- package/dist/chunk-7BEEJS6W.js.map +1 -0
- package/dist/chunk-7HF5VHUN.cjs +2 -0
- package/dist/chunk-7HF5VHUN.cjs.map +1 -0
- package/dist/chunk-ACWMAF3H.cjs +2 -0
- package/dist/chunk-ACWMAF3H.cjs.map +1 -0
- package/dist/chunk-AKXQDI77.cjs +2 -0
- package/dist/chunk-AKXQDI77.cjs.map +1 -0
- package/dist/chunk-ALQBCU4T.js +2 -0
- package/dist/chunk-ALQBCU4T.js.map +1 -0
- package/dist/chunk-B7NJYI4N.cjs +2 -0
- package/dist/{chunk-IIKZ5DYT.cjs.map → chunk-B7NJYI4N.cjs.map} +1 -1
- package/dist/chunk-BUSTKLOI.cjs +2 -0
- package/dist/chunk-BUSTKLOI.cjs.map +1 -0
- package/dist/chunk-BXNIUQ5W.js +2 -0
- package/dist/chunk-BXNIUQ5W.js.map +1 -0
- package/dist/chunk-CBWCC3NJ.js +2 -0
- package/dist/chunk-CBWCC3NJ.js.map +1 -0
- package/dist/chunk-DHQJ2FCF.cjs +2 -0
- package/dist/chunk-DHQJ2FCF.cjs.map +1 -0
- package/dist/chunk-DUBPWSCA.js +2 -0
- package/dist/chunk-DUBPWSCA.js.map +1 -0
- package/dist/chunk-FJZO6R7B.cjs +2 -0
- package/dist/chunk-FJZO6R7B.cjs.map +1 -0
- package/dist/{chunk-NUGG4SK2.js → chunk-FS5P754F.js} +2 -2
- package/dist/{chunk-NUGG4SK2.js.map → chunk-FS5P754F.js.map} +1 -1
- package/dist/chunk-GY6SLMMJ.cjs +2 -0
- package/dist/chunk-GY6SLMMJ.cjs.map +1 -0
- package/dist/chunk-K2JZZ624.cjs +2 -0
- package/dist/chunk-K2JZZ624.cjs.map +1 -0
- package/dist/chunk-KYQSTVIK.js +2 -0
- package/dist/chunk-KYQSTVIK.js.map +1 -0
- package/dist/chunk-LUAQEXTM.cjs +2 -0
- package/dist/chunk-LUAQEXTM.cjs.map +1 -0
- package/dist/chunk-MAHNRYUV.cjs +2 -0
- package/dist/chunk-MAHNRYUV.cjs.map +1 -0
- package/dist/chunk-OGPYSKWY.cjs +2 -0
- package/dist/chunk-OGPYSKWY.cjs.map +1 -0
- package/dist/chunk-Q5SQSLM7.cjs +2 -0
- package/dist/chunk-Q5SQSLM7.cjs.map +1 -0
- package/dist/chunk-S5TPBKS6.js +2 -0
- package/dist/{chunk-T3J5Y445.js.map → chunk-S5TPBKS6.js.map} +1 -1
- package/dist/chunk-T2FZOXMU.cjs +2 -0
- package/dist/chunk-T2FZOXMU.cjs.map +1 -0
- package/dist/chunk-T3XKETDR.cjs +3 -0
- package/dist/chunk-T3XKETDR.cjs.map +1 -0
- package/dist/chunk-T4BUMCXS.cjs +2 -0
- package/dist/chunk-T4BUMCXS.cjs.map +1 -0
- package/dist/chunk-TYOBHRLP.cjs +2 -0
- package/dist/chunk-TYOBHRLP.cjs.map +1 -0
- package/dist/chunk-UIPFVGSN.js +2 -0
- package/dist/chunk-UIPFVGSN.js.map +1 -0
- package/dist/chunk-UWVZZARS.js +2 -0
- package/dist/chunk-UWVZZARS.js.map +1 -0
- package/dist/chunk-VF2UIROP.cjs +2 -0
- package/dist/chunk-VF2UIROP.cjs.map +1 -0
- package/dist/chunk-WE6CXCEQ.js +2 -0
- package/dist/chunk-WE6CXCEQ.js.map +1 -0
- package/dist/chunk-XQE5MFWC.js +2 -0
- package/dist/chunk-XQE5MFWC.js.map +1 -0
- package/dist/chunk-Z44HJZBF.js +2 -0
- package/dist/chunk-Z44HJZBF.js.map +1 -0
- package/dist/chunk-ZE2OBRXV.js +2 -0
- package/dist/chunk-ZE2OBRXV.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +154 -26
- package/dist/schema/assets.d.ts +154 -26
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +419 -33
- package/dist/schema/blueprints.d.ts +419 -33
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +396 -28
- package/dist/schema/comments.d.ts +396 -28
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +12 -12
- package/dist/schema/common.d.ts +12 -12
- package/dist/schema/common.js +1 -1
- package/dist/schema/constants.cjs +2 -0
- package/dist/schema/constants.cjs.map +1 -0
- package/dist/schema/constants.d.cts +5 -0
- package/dist/schema/constants.d.ts +5 -0
- package/dist/schema/constants.js +2 -0
- package/dist/schema/constants.js.map +1 -0
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +242 -33
- package/dist/schema/conversations.d.ts +242 -33
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +357 -37
- package/dist/schema/datasets.d.ts +357 -37
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +345 -33
- package/dist/schema/files.d.ts +345 -33
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +32 -3
- package/dist/schema/organizations.d.ts +32 -3
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +413 -69
- package/dist/schema/posts.d.ts +413 -69
- package/dist/schema/posts.js +1 -1
- package/dist/schema/reactions.cjs +1 -1
- package/dist/schema/reactions.d.cts +3 -3
- package/dist/schema/reactions.d.ts +3 -3
- package/dist/schema/reactions.js +1 -1
- package/dist/schema/replications.cjs +1 -1
- package/dist/schema/replications.d.cts +421 -33
- package/dist/schema/replications.d.ts +421 -33
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +435 -75
- package/dist/schema/services.d.ts +435 -75
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +147 -28
- package/dist/schema/teams.d.ts +147 -28
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +29 -7
- package/dist/schema/users.d.ts +29 -7
- package/dist/schema/users.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +4 -2
- package/dist/utils/air/index.d.ts +4 -2
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/air/markdown-parser.cjs +1 -1
- package/dist/utils/air/markdown-parser.js +1 -1
- package/dist/utils/navigate.cjs +1 -1
- package/dist/utils/navigate.js +1 -1
- package/package.json +1 -1
- package/tsup.config.ts +16 -16
- package/dist/chunk-2TOV7G54.js +0 -2
- package/dist/chunk-2TOV7G54.js.map +0 -1
- package/dist/chunk-3RRKHJ3K.cjs +0 -2
- package/dist/chunk-3RRKHJ3K.cjs.map +0 -1
- package/dist/chunk-47E5TCNF.js +0 -3
- package/dist/chunk-47E5TCNF.js.map +0 -1
- package/dist/chunk-4RN4XNPV.cjs +0 -2
- package/dist/chunk-4RN4XNPV.cjs.map +0 -1
- package/dist/chunk-6GWDL7RE.cjs +0 -2
- package/dist/chunk-6GWDL7RE.cjs.map +0 -1
- package/dist/chunk-6Q25VZKZ.cjs +0 -2
- package/dist/chunk-6Q25VZKZ.cjs.map +0 -1
- package/dist/chunk-ARSGP6GA.js +0 -2
- package/dist/chunk-ARSGP6GA.js.map +0 -1
- package/dist/chunk-B776YSQ2.cjs +0 -2
- package/dist/chunk-B776YSQ2.cjs.map +0 -1
- package/dist/chunk-C3EY5Q7D.cjs +0 -2
- package/dist/chunk-C3EY5Q7D.cjs.map +0 -1
- package/dist/chunk-C3JUA7VU.js +0 -2
- package/dist/chunk-C3JUA7VU.js.map +0 -1
- package/dist/chunk-C7P6EZ4K.js +0 -2
- package/dist/chunk-C7P6EZ4K.js.map +0 -1
- package/dist/chunk-CEANOLSH.js +0 -2
- package/dist/chunk-CEANOLSH.js.map +0 -1
- package/dist/chunk-D2H3DN4E.cjs +0 -2
- package/dist/chunk-D2H3DN4E.cjs.map +0 -1
- package/dist/chunk-E3BVDCVN.cjs +0 -2
- package/dist/chunk-E3BVDCVN.cjs.map +0 -1
- package/dist/chunk-ENCQWA5V.js +0 -2
- package/dist/chunk-ENCQWA5V.js.map +0 -1
- package/dist/chunk-FWDYNPNC.cjs +0 -2
- package/dist/chunk-FWDYNPNC.cjs.map +0 -1
- package/dist/chunk-HT4JPC5P.js +0 -2
- package/dist/chunk-HT4JPC5P.js.map +0 -1
- package/dist/chunk-HVX2JPYI.js +0 -2
- package/dist/chunk-HVX2JPYI.js.map +0 -1
- package/dist/chunk-IF4N6V66.cjs +0 -2
- package/dist/chunk-IF4N6V66.cjs.map +0 -1
- package/dist/chunk-IIKZ5DYT.cjs +0 -2
- package/dist/chunk-JAAPYGR3.js +0 -2
- package/dist/chunk-JAAPYGR3.js.map +0 -1
- package/dist/chunk-JYZE6VG5.js +0 -2
- package/dist/chunk-JYZE6VG5.js.map +0 -1
- package/dist/chunk-LWSF5AHU.js +0 -2
- package/dist/chunk-LWSF5AHU.js.map +0 -1
- package/dist/chunk-MRSFHKNV.js +0 -2
- package/dist/chunk-MRSFHKNV.js.map +0 -1
- package/dist/chunk-N5ADIAWW.cjs +0 -2
- package/dist/chunk-N5ADIAWW.cjs.map +0 -1
- package/dist/chunk-PDLAKYCI.cjs +0 -2
- package/dist/chunk-PDLAKYCI.cjs.map +0 -1
- package/dist/chunk-QTPX6PU3.cjs +0 -2
- package/dist/chunk-QTPX6PU3.cjs.map +0 -1
- package/dist/chunk-RPUL3U2U.js +0 -2
- package/dist/chunk-RPUL3U2U.js.map +0 -1
- package/dist/chunk-SE3HKRJM.cjs +0 -3
- package/dist/chunk-SE3HKRJM.cjs.map +0 -1
- package/dist/chunk-T3J5Y445.js +0 -2
- package/dist/chunk-TNDFH7NB.js +0 -2
- package/dist/chunk-TNDFH7NB.js.map +0 -1
- package/dist/chunk-UEV6JSU5.cjs +0 -2
- package/dist/chunk-UEV6JSU5.cjs.map +0 -1
- package/dist/chunk-V4FDUFIL.cjs +0 -2
- package/dist/chunk-V4FDUFIL.cjs.map +0 -1
- package/dist/chunk-VOX7A2FD.js +0 -2
- package/dist/chunk-VOX7A2FD.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const DatasetSchema: z.ZodObject<{
|
|
4
|
-
id: z.
|
|
5
|
-
user_id: z.
|
|
4
|
+
id: z.ZodUUID;
|
|
5
|
+
user_id: z.ZodUUID;
|
|
6
6
|
user: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
id: z.ZodOptional<z.ZodUUID>;
|
|
8
8
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -10,18 +10,24 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11
11
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12
12
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13
15
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
16
|
value: z.ZodString;
|
|
15
17
|
}, z.core.$strip>>>>;
|
|
16
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
17
|
-
|
|
18
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
19
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
base: "base";
|
|
21
|
+
agent: "agent";
|
|
22
|
+
verified: "verified";
|
|
23
|
+
}>>;
|
|
18
24
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
19
25
|
free: "free";
|
|
20
26
|
gold: "gold";
|
|
21
27
|
}>>;
|
|
22
28
|
last_active: z.ZodOptional<z.ZodString>;
|
|
23
29
|
}, z.core.$strip>>;
|
|
24
|
-
org_id: z.
|
|
30
|
+
org_id: z.ZodUUID;
|
|
25
31
|
organization: z.ZodOptional<z.ZodObject<{
|
|
26
32
|
id: z.ZodOptional<z.ZodUUID>;
|
|
27
33
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -41,12 +47,23 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
41
47
|
none: "none";
|
|
42
48
|
}>>>;
|
|
43
49
|
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
50
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
44
51
|
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
52
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
any: "any";
|
|
54
|
+
verified_only: "verified_only";
|
|
55
|
+
agents_only: "agents_only";
|
|
56
|
+
}>>>>;
|
|
57
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
any: "any";
|
|
59
|
+
web_only: "web_only";
|
|
60
|
+
api_only: "api_only";
|
|
61
|
+
}>>>>;
|
|
45
62
|
}, z.core.$strip>>;
|
|
46
|
-
team_id: z.
|
|
63
|
+
team_id: z.ZodUUID;
|
|
47
64
|
team: z.ZodOptional<z.ZodObject<{
|
|
48
|
-
id: z.ZodOptional<z.
|
|
49
|
-
org_id: z.ZodOptional<z.
|
|
65
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
66
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
50
67
|
organization: z.ZodOptional<z.ZodObject<{
|
|
51
68
|
id: z.ZodUUID;
|
|
52
69
|
name: z.ZodString;
|
|
@@ -66,7 +83,18 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
66
83
|
none: "none";
|
|
67
84
|
}>>;
|
|
68
85
|
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
86
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
69
87
|
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
88
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
any: "any";
|
|
90
|
+
verified_only: "verified_only";
|
|
91
|
+
agents_only: "agents_only";
|
|
92
|
+
}>>>;
|
|
93
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
any: "any";
|
|
95
|
+
web_only: "web_only";
|
|
96
|
+
api_only: "api_only";
|
|
97
|
+
}>>>;
|
|
70
98
|
}, z.core.$strip>>;
|
|
71
99
|
name: z.ZodOptional<z.ZodString>;
|
|
72
100
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -86,8 +114,18 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
86
114
|
monetized: "monetized";
|
|
87
115
|
inherit: "inherit";
|
|
88
116
|
}>>;
|
|
117
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
118
|
+
any: "any";
|
|
119
|
+
verified_only: "verified_only";
|
|
120
|
+
agents_only: "agents_only";
|
|
121
|
+
}>>>>;
|
|
122
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
123
|
+
any: "any";
|
|
124
|
+
web_only: "web_only";
|
|
125
|
+
api_only: "api_only";
|
|
126
|
+
}>>>>;
|
|
89
127
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
90
|
-
user_id: z.
|
|
128
|
+
user_id: z.ZodUUID;
|
|
91
129
|
role: z.ZodEnum<{
|
|
92
130
|
admin: "admin";
|
|
93
131
|
read: "read";
|
|
@@ -97,7 +135,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
97
135
|
}, z.core.$strip>>>>;
|
|
98
136
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
99
137
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
|
-
user_id: z.
|
|
138
|
+
user_id: z.ZodUUID;
|
|
101
139
|
role: z.ZodEnum<{
|
|
102
140
|
admin: "admin";
|
|
103
141
|
read: "read";
|
|
@@ -112,11 +150,17 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
112
150
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
113
151
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
114
152
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
153
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
154
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
115
155
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
156
|
value: z.ZodString;
|
|
117
157
|
}, z.core.$strip>>>>;
|
|
118
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
119
|
-
|
|
158
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
159
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
base: "base";
|
|
161
|
+
agent: "agent";
|
|
162
|
+
verified: "verified";
|
|
163
|
+
}>>;
|
|
120
164
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
121
165
|
free: "free";
|
|
122
166
|
gold: "gold";
|
|
@@ -126,7 +170,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
126
170
|
}, z.core.$strip>>>;
|
|
127
171
|
created_at: z.ZodOptional<z.ZodString>;
|
|
128
172
|
}, z.core.$strip>>;
|
|
129
|
-
parent_id: z.ZodOptional<z.ZodNullable<z.
|
|
173
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
130
174
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
131
175
|
license_id: z.ZodString;
|
|
132
176
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -165,9 +209,9 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
165
209
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
210
|
state: z.ZodEnum<{
|
|
167
211
|
success: "success";
|
|
168
|
-
error: "error";
|
|
169
212
|
queued: "queued";
|
|
170
213
|
"in-progress": "in-progress";
|
|
214
|
+
error: "error";
|
|
171
215
|
}>;
|
|
172
216
|
source: z.ZodEnum<{
|
|
173
217
|
api: "api";
|
|
@@ -190,12 +234,13 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
190
234
|
"third-party": "third-party";
|
|
191
235
|
}>>;
|
|
192
236
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
237
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
193
238
|
type: z.ZodOptional<z.ZodString>;
|
|
194
239
|
size: z.ZodOptional<z.ZodNumber>;
|
|
195
240
|
path: z.ZodOptional<z.ZodString>;
|
|
196
241
|
extension: z.ZodOptional<z.ZodString>;
|
|
197
242
|
name: z.ZodOptional<z.ZodString>;
|
|
198
|
-
id: z.ZodOptional<z.
|
|
243
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
199
244
|
bucket: z.ZodOptional<z.ZodEnum<{
|
|
200
245
|
"public-files": "public-files";
|
|
201
246
|
files: "files";
|
|
@@ -203,7 +248,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
203
248
|
}, z.core.$strip>;
|
|
204
249
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
205
250
|
}, z.core.$strip>;
|
|
206
|
-
declare const CreateDatasetFromFileSchema: z.ZodObject<{
|
|
251
|
+
declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
|
|
207
252
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
208
253
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
209
254
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -214,7 +259,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<{
|
|
|
214
259
|
"pay-to-unlock": "pay-to-unlock";
|
|
215
260
|
"pay-per-use": "pay-per-use";
|
|
216
261
|
}>>;
|
|
217
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
262
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
218
263
|
license_id: z.ZodOptional<z.ZodString>;
|
|
219
264
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
220
265
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -230,16 +275,16 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<{
|
|
|
230
275
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
231
276
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
232
277
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
233
|
-
id: z.ZodDefault<z.
|
|
234
|
-
team_id: z.ZodDefault<z.ZodNullable<z.
|
|
235
|
-
org_id: z.ZodDefault<z.ZodNullable<z.
|
|
278
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
279
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
280
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
236
281
|
name: z.ZodString;
|
|
237
282
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
283
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
239
284
|
success: "success";
|
|
240
|
-
error: "error";
|
|
241
285
|
queued: "queued";
|
|
242
286
|
"in-progress": "in-progress";
|
|
287
|
+
error: "error";
|
|
243
288
|
}>>>;
|
|
244
289
|
source: z.ZodDefault<z.ZodEnum<{
|
|
245
290
|
api: "api";
|
|
@@ -269,20 +314,117 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<{
|
|
|
269
314
|
"third-party": "third-party";
|
|
270
315
|
}>>;
|
|
271
316
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
317
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
272
318
|
type: z.ZodString;
|
|
273
319
|
size: z.ZodNumber;
|
|
274
320
|
path: z.ZodString;
|
|
275
321
|
extension: z.ZodString;
|
|
276
322
|
name: z.ZodString;
|
|
277
|
-
id: z.
|
|
323
|
+
id: z.ZodUUID;
|
|
278
324
|
bucket: z.ZodEnum<{
|
|
279
325
|
"public-files": "public-files";
|
|
280
326
|
files: "files";
|
|
281
327
|
}>;
|
|
282
328
|
}, z.core.$strip>;
|
|
283
329
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
284
|
-
}, z.core.$strip
|
|
285
|
-
|
|
330
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
331
|
+
id: string;
|
|
332
|
+
team_id: string | null;
|
|
333
|
+
org_id: string | null;
|
|
334
|
+
name: string;
|
|
335
|
+
state: "success" | "queued" | "in-progress" | "error";
|
|
336
|
+
source: "api" | "web";
|
|
337
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
338
|
+
created_at: string;
|
|
339
|
+
last_updated: string;
|
|
340
|
+
asset_type: "dataset";
|
|
341
|
+
metadata: {
|
|
342
|
+
table_name: string;
|
|
343
|
+
schema: "datasets";
|
|
344
|
+
columns: string[];
|
|
345
|
+
type: string;
|
|
346
|
+
size: number;
|
|
347
|
+
path: string;
|
|
348
|
+
extension: string;
|
|
349
|
+
name: string;
|
|
350
|
+
id: string;
|
|
351
|
+
bucket: "public-files" | "files";
|
|
352
|
+
doi_url?: string | null | undefined;
|
|
353
|
+
external_url?: string | null | undefined;
|
|
354
|
+
paper_url?: string | null | undefined;
|
|
355
|
+
github_url?: string | null | undefined;
|
|
356
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
357
|
+
source?: string | null | undefined;
|
|
358
|
+
reply_to_comment_id?: string | null | undefined;
|
|
359
|
+
};
|
|
360
|
+
preview: Record<string, any>[];
|
|
361
|
+
parent?: Record<string, any> | undefined;
|
|
362
|
+
description?: {
|
|
363
|
+
json: Record<string, any>;
|
|
364
|
+
text: string;
|
|
365
|
+
} | null | undefined;
|
|
366
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
367
|
+
parent_id?: string | null | undefined;
|
|
368
|
+
license_id?: string | undefined;
|
|
369
|
+
price?: number | null | undefined;
|
|
370
|
+
unit_cost?: number | null | undefined;
|
|
371
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
372
|
+
cost_unit?: string | null | undefined;
|
|
373
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
374
|
+
stripe_product_id?: string | null | undefined;
|
|
375
|
+
stripe_price_id?: string | null | undefined;
|
|
376
|
+
stripe_meter_id?: string | null | undefined;
|
|
377
|
+
name_url_slug?: string | null | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
id: string;
|
|
380
|
+
team_id: string | null;
|
|
381
|
+
org_id: string | null;
|
|
382
|
+
name: string;
|
|
383
|
+
state: "success" | "queued" | "in-progress" | "error";
|
|
384
|
+
source: "api" | "web";
|
|
385
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
386
|
+
created_at: string;
|
|
387
|
+
last_updated: string;
|
|
388
|
+
asset_type: "dataset";
|
|
389
|
+
metadata: {
|
|
390
|
+
table_name: string;
|
|
391
|
+
schema: "datasets";
|
|
392
|
+
columns: string[];
|
|
393
|
+
type: string;
|
|
394
|
+
size: number;
|
|
395
|
+
path: string;
|
|
396
|
+
extension: string;
|
|
397
|
+
name: string;
|
|
398
|
+
id: string;
|
|
399
|
+
bucket: "public-files" | "files";
|
|
400
|
+
doi_url?: string | null | undefined;
|
|
401
|
+
external_url?: string | null | undefined;
|
|
402
|
+
paper_url?: string | null | undefined;
|
|
403
|
+
github_url?: string | null | undefined;
|
|
404
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
405
|
+
source?: string | null | undefined;
|
|
406
|
+
reply_to_comment_id?: string | null | undefined;
|
|
407
|
+
};
|
|
408
|
+
preview: Record<string, any>[];
|
|
409
|
+
parent?: Record<string, any> | undefined;
|
|
410
|
+
description?: {
|
|
411
|
+
json: Record<string, any>;
|
|
412
|
+
text: string;
|
|
413
|
+
} | null | undefined;
|
|
414
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
415
|
+
parent_id?: string | null | undefined;
|
|
416
|
+
license_id?: string | undefined;
|
|
417
|
+
price?: number | null | undefined;
|
|
418
|
+
unit_cost?: number | null | undefined;
|
|
419
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
420
|
+
cost_unit?: string | null | undefined;
|
|
421
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
422
|
+
stripe_product_id?: string | null | undefined;
|
|
423
|
+
stripe_price_id?: string | null | undefined;
|
|
424
|
+
stripe_meter_id?: string | null | undefined;
|
|
425
|
+
name_url_slug?: string | null | undefined;
|
|
426
|
+
}>>;
|
|
427
|
+
declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
|
|
286
428
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
287
429
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
288
430
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -293,7 +435,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<{
|
|
|
293
435
|
"pay-to-unlock": "pay-to-unlock";
|
|
294
436
|
"pay-per-use": "pay-per-use";
|
|
295
437
|
}>>;
|
|
296
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
438
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
297
439
|
license_id: z.ZodOptional<z.ZodString>;
|
|
298
440
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
299
441
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -309,16 +451,16 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<{
|
|
|
309
451
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
310
452
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
311
453
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
312
|
-
id: z.ZodDefault<z.
|
|
313
|
-
team_id: z.ZodDefault<z.ZodNullable<z.
|
|
314
|
-
org_id: z.ZodDefault<z.ZodNullable<z.
|
|
454
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
455
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
456
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
315
457
|
name: z.ZodString;
|
|
316
458
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
459
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
318
460
|
success: "success";
|
|
319
|
-
error: "error";
|
|
320
461
|
queued: "queued";
|
|
321
462
|
"in-progress": "in-progress";
|
|
463
|
+
error: "error";
|
|
322
464
|
}>>>;
|
|
323
465
|
source: z.ZodDefault<z.ZodEnum<{
|
|
324
466
|
api: "api";
|
|
@@ -348,11 +490,94 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<{
|
|
|
348
490
|
"third-party": "third-party";
|
|
349
491
|
}>>;
|
|
350
492
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
493
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
351
494
|
}, z.core.$strip>;
|
|
352
495
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
353
|
-
}, z.core.$strip
|
|
354
|
-
|
|
355
|
-
|
|
496
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
497
|
+
id: string;
|
|
498
|
+
team_id: string | null;
|
|
499
|
+
org_id: string | null;
|
|
500
|
+
name: string;
|
|
501
|
+
state: "success" | "queued" | "in-progress" | "error";
|
|
502
|
+
source: "api" | "web";
|
|
503
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
504
|
+
created_at: string;
|
|
505
|
+
last_updated: string;
|
|
506
|
+
asset_type: "dataset";
|
|
507
|
+
metadata: {
|
|
508
|
+
table_name: string;
|
|
509
|
+
schema: "datasets";
|
|
510
|
+
columns: string[];
|
|
511
|
+
doi_url?: string | null | undefined;
|
|
512
|
+
external_url?: string | null | undefined;
|
|
513
|
+
paper_url?: string | null | undefined;
|
|
514
|
+
github_url?: string | null | undefined;
|
|
515
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
516
|
+
source?: string | null | undefined;
|
|
517
|
+
reply_to_comment_id?: string | null | undefined;
|
|
518
|
+
};
|
|
519
|
+
preview: Record<string, any>[];
|
|
520
|
+
parent?: Record<string, any> | undefined;
|
|
521
|
+
description?: {
|
|
522
|
+
json: Record<string, any>;
|
|
523
|
+
text: string;
|
|
524
|
+
} | null | undefined;
|
|
525
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
526
|
+
parent_id?: string | null | undefined;
|
|
527
|
+
license_id?: string | undefined;
|
|
528
|
+
price?: number | null | undefined;
|
|
529
|
+
unit_cost?: number | null | undefined;
|
|
530
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
531
|
+
cost_unit?: string | null | undefined;
|
|
532
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
533
|
+
stripe_product_id?: string | null | undefined;
|
|
534
|
+
stripe_price_id?: string | null | undefined;
|
|
535
|
+
stripe_meter_id?: string | null | undefined;
|
|
536
|
+
name_url_slug?: string | null | undefined;
|
|
537
|
+
}, {
|
|
538
|
+
id: string;
|
|
539
|
+
team_id: string | null;
|
|
540
|
+
org_id: string | null;
|
|
541
|
+
name: string;
|
|
542
|
+
state: "success" | "queued" | "in-progress" | "error";
|
|
543
|
+
source: "api" | "web";
|
|
544
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
545
|
+
created_at: string;
|
|
546
|
+
last_updated: string;
|
|
547
|
+
asset_type: "dataset";
|
|
548
|
+
metadata: {
|
|
549
|
+
table_name: string;
|
|
550
|
+
schema: "datasets";
|
|
551
|
+
columns: string[];
|
|
552
|
+
doi_url?: string | null | undefined;
|
|
553
|
+
external_url?: string | null | undefined;
|
|
554
|
+
paper_url?: string | null | undefined;
|
|
555
|
+
github_url?: string | null | undefined;
|
|
556
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
557
|
+
source?: string | null | undefined;
|
|
558
|
+
reply_to_comment_id?: string | null | undefined;
|
|
559
|
+
};
|
|
560
|
+
preview: Record<string, any>[];
|
|
561
|
+
parent?: Record<string, any> | undefined;
|
|
562
|
+
description?: {
|
|
563
|
+
json: Record<string, any>;
|
|
564
|
+
text: string;
|
|
565
|
+
} | null | undefined;
|
|
566
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
567
|
+
parent_id?: string | null | undefined;
|
|
568
|
+
license_id?: string | undefined;
|
|
569
|
+
price?: number | null | undefined;
|
|
570
|
+
unit_cost?: number | null | undefined;
|
|
571
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
572
|
+
cost_unit?: string | null | undefined;
|
|
573
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
574
|
+
stripe_product_id?: string | null | undefined;
|
|
575
|
+
stripe_price_id?: string | null | undefined;
|
|
576
|
+
stripe_meter_id?: string | null | undefined;
|
|
577
|
+
name_url_slug?: string | null | undefined;
|
|
578
|
+
}>>;
|
|
579
|
+
declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
|
|
580
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
356
581
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
357
582
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
358
583
|
table_name: z.ZodString;
|
|
@@ -368,19 +593,20 @@ declare const updateDatasetSchema: z.ZodObject<{
|
|
|
368
593
|
"third-party": "third-party";
|
|
369
594
|
}>>;
|
|
370
595
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
596
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
371
597
|
type: z.ZodOptional<z.ZodString>;
|
|
372
598
|
size: z.ZodOptional<z.ZodNumber>;
|
|
373
599
|
path: z.ZodOptional<z.ZodString>;
|
|
374
600
|
extension: z.ZodOptional<z.ZodString>;
|
|
375
601
|
name: z.ZodOptional<z.ZodString>;
|
|
376
|
-
id: z.ZodOptional<z.
|
|
602
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
377
603
|
bucket: z.ZodOptional<z.ZodEnum<{
|
|
378
604
|
"public-files": "public-files";
|
|
379
605
|
files: "files";
|
|
380
606
|
}>>;
|
|
381
607
|
}, z.core.$strip>>;
|
|
382
608
|
name: z.ZodOptional<z.ZodString>;
|
|
383
|
-
team_id: z.ZodOptional<z.
|
|
609
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
384
610
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
385
611
|
organization: "organization";
|
|
386
612
|
public: "public";
|
|
@@ -403,11 +629,11 @@ declare const updateDatasetSchema: z.ZodObject<{
|
|
|
403
629
|
}>>;
|
|
404
630
|
state: z.ZodOptional<z.ZodEnum<{
|
|
405
631
|
success: "success";
|
|
406
|
-
error: "error";
|
|
407
632
|
queued: "queued";
|
|
408
633
|
"in-progress": "in-progress";
|
|
634
|
+
error: "error";
|
|
409
635
|
}>>;
|
|
410
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
636
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
411
637
|
license_id: z.ZodOptional<z.ZodString>;
|
|
412
638
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
413
639
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -428,7 +654,101 @@ declare const updateDatasetSchema: z.ZodObject<{
|
|
|
428
654
|
preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
429
655
|
asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
|
|
430
656
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
431
|
-
}, z.core.$strip
|
|
657
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
658
|
+
asset_type: "dataset";
|
|
659
|
+
last_updated: string;
|
|
660
|
+
org_id?: string | undefined;
|
|
661
|
+
parent?: Record<string, any> | undefined;
|
|
662
|
+
metadata?: {
|
|
663
|
+
table_name: string;
|
|
664
|
+
schema: "datasets";
|
|
665
|
+
columns: string[];
|
|
666
|
+
doi_url?: string | null | undefined;
|
|
667
|
+
external_url?: string | null | undefined;
|
|
668
|
+
paper_url?: string | null | undefined;
|
|
669
|
+
github_url?: string | null | undefined;
|
|
670
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
671
|
+
source?: string | null | undefined;
|
|
672
|
+
reply_to_comment_id?: string | null | undefined;
|
|
673
|
+
type?: string | undefined;
|
|
674
|
+
size?: number | undefined;
|
|
675
|
+
path?: string | undefined;
|
|
676
|
+
extension?: string | undefined;
|
|
677
|
+
name?: string | undefined;
|
|
678
|
+
id?: string | undefined;
|
|
679
|
+
bucket?: "public-files" | "files" | undefined;
|
|
680
|
+
} | undefined;
|
|
681
|
+
name?: string | undefined;
|
|
682
|
+
team_id?: string | undefined;
|
|
683
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
684
|
+
description?: {
|
|
685
|
+
json: Record<string, any>;
|
|
686
|
+
text: string;
|
|
687
|
+
} | null | undefined;
|
|
688
|
+
source?: "api" | "web" | undefined;
|
|
689
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
690
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
691
|
+
parent_id?: string | null | undefined;
|
|
692
|
+
license_id?: string | undefined;
|
|
693
|
+
license?: Record<string, any> | undefined;
|
|
694
|
+
name_url_slug?: string | null | undefined;
|
|
695
|
+
price?: number | null | undefined;
|
|
696
|
+
unit_cost?: number | null | undefined;
|
|
697
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
698
|
+
cost_unit?: string | null | undefined;
|
|
699
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
700
|
+
stripe_product_id?: string | null | undefined;
|
|
701
|
+
stripe_price_id?: string | null | undefined;
|
|
702
|
+
stripe_meter_id?: string | null | undefined;
|
|
703
|
+
preview?: Record<string, any>[] | undefined;
|
|
704
|
+
}, {
|
|
705
|
+
asset_type: "dataset";
|
|
706
|
+
last_updated: string;
|
|
707
|
+
org_id?: string | undefined;
|
|
708
|
+
parent?: Record<string, any> | undefined;
|
|
709
|
+
metadata?: {
|
|
710
|
+
table_name: string;
|
|
711
|
+
schema: "datasets";
|
|
712
|
+
columns: string[];
|
|
713
|
+
doi_url?: string | null | undefined;
|
|
714
|
+
external_url?: string | null | undefined;
|
|
715
|
+
paper_url?: string | null | undefined;
|
|
716
|
+
github_url?: string | null | undefined;
|
|
717
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
718
|
+
source?: string | null | undefined;
|
|
719
|
+
reply_to_comment_id?: string | null | undefined;
|
|
720
|
+
type?: string | undefined;
|
|
721
|
+
size?: number | undefined;
|
|
722
|
+
path?: string | undefined;
|
|
723
|
+
extension?: string | undefined;
|
|
724
|
+
name?: string | undefined;
|
|
725
|
+
id?: string | undefined;
|
|
726
|
+
bucket?: "public-files" | "files" | undefined;
|
|
727
|
+
} | undefined;
|
|
728
|
+
name?: string | undefined;
|
|
729
|
+
team_id?: string | undefined;
|
|
730
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
731
|
+
description?: {
|
|
732
|
+
json: Record<string, any>;
|
|
733
|
+
text: string;
|
|
734
|
+
} | null | undefined;
|
|
735
|
+
source?: "api" | "web" | undefined;
|
|
736
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
737
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
738
|
+
parent_id?: string | null | undefined;
|
|
739
|
+
license_id?: string | undefined;
|
|
740
|
+
license?: Record<string, any> | undefined;
|
|
741
|
+
name_url_slug?: string | null | undefined;
|
|
742
|
+
price?: number | null | undefined;
|
|
743
|
+
unit_cost?: number | null | undefined;
|
|
744
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
745
|
+
cost_unit?: string | null | undefined;
|
|
746
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
747
|
+
stripe_product_id?: string | null | undefined;
|
|
748
|
+
stripe_price_id?: string | null | undefined;
|
|
749
|
+
stripe_meter_id?: string | null | undefined;
|
|
750
|
+
preview?: Record<string, any>[] | undefined;
|
|
751
|
+
}>>;
|
|
432
752
|
|
|
433
753
|
type Dataset = z.infer<typeof DatasetSchema>;
|
|
434
754
|
type CreateFromFileDataset = z.infer<typeof CreateDatasetFromFileSchema>;
|
package/dist/schema/datasets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as CreateDatasetFromFileSchema,c as CreateDatasetFromSchemaSchema,a as DatasetSchema,d as updateDatasetSchema}from'../chunk-
|
|
1
|
+
export{b as CreateDatasetFromFileSchema,c as CreateDatasetFromSchemaSchema,a as DatasetSchema,d as updateDatasetSchema}from'../chunk-Z44HJZBF.js';import'../chunk-UWVZZARS.js';import'../chunk-6DQ5ZEGV.js';import'../chunk-XQE5MFWC.js';import'../chunk-3N56ERWF.js';import'../chunk-CBWCC3NJ.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=datasets.js.map
|
|
2
2
|
//# sourceMappingURL=datasets.js.map
|
package/dist/schema/files.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkBUSTKLOI_cjs=require('../chunk-BUSTKLOI.cjs');require('../chunk-ACWMAF3H.cjs'),require('../chunk-Q5SQSLM7.cjs'),require('../chunk-T2FZOXMU.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-MAHNRYUV.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkBUSTKLOI_cjs.b}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkBUSTKLOI_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkBUSTKLOI_cjs.c}});//# sourceMappingURL=files.cjs.map
|
|
2
2
|
//# sourceMappingURL=files.cjs.map
|