@ourofoundation/ouro-js 1.1.1 → 1.1.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/index.d.ts +18 -19
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +2 -81
- package/dist/index.js.map +1 -1
- package/dist/schema/assets.d.ts +111 -100
- package/dist/schema/assets.esm.js +2 -0
- package/dist/schema/assets.esm.js.map +1 -0
- package/dist/schema/assets.js +2 -95
- package/dist/schema/assets.js.map +1 -1
- package/dist/schema/blueprints.d.ts +105 -95
- package/dist/schema/blueprints.esm.js +2 -0
- package/dist/schema/blueprints.esm.js.map +1 -0
- package/dist/schema/blueprints.js +2 -38
- package/dist/schema/blueprints.js.map +1 -1
- package/dist/schema/comments.d.ts +91 -81
- package/dist/schema/comments.esm.js +2 -0
- package/dist/schema/comments.esm.js.map +1 -0
- package/dist/schema/comments.js +2 -32
- package/dist/schema/comments.js.map +1 -1
- package/dist/schema/common.d.ts +32 -32
- package/dist/schema/common.esm.js +2 -0
- package/dist/schema/common.esm.js.map +1 -0
- package/dist/schema/common.js +2 -87
- package/dist/schema/common.js.map +1 -1
- package/dist/schema/conversations.d.ts +149 -139
- package/dist/schema/conversations.esm.js +2 -0
- package/dist/schema/conversations.esm.js.map +1 -0
- package/dist/schema/conversations.js +2 -54
- package/dist/schema/conversations.js.map +1 -1
- package/dist/schema/datasets.d.ts +218 -202
- package/dist/schema/datasets.esm.js +2 -0
- package/dist/schema/datasets.esm.js.map +1 -0
- package/dist/schema/datasets.js +2 -49
- package/dist/schema/datasets.js.map +1 -1
- package/dist/schema/files.d.ts +201 -185
- package/dist/schema/files.esm.js +2 -0
- package/dist/schema/files.esm.js.map +1 -0
- package/dist/schema/files.js +2 -50
- package/dist/schema/files.js.map +1 -1
- package/dist/schema/index.d.ts +14 -80
- package/dist/schema/notifications.d.ts +22 -22
- package/dist/schema/notifications.esm.js +2 -0
- package/dist/schema/notifications.esm.js.map +1 -0
- package/dist/schema/notifications.js +2 -46
- package/dist/schema/notifications.js.map +1 -1
- package/dist/schema/organizations.d.ts +11 -11
- package/dist/schema/organizations.esm.js +2 -0
- package/dist/schema/organizations.esm.js.map +1 -0
- package/dist/schema/organizations.js +2 -33
- package/dist/schema/organizations.js.map +1 -1
- package/dist/schema/posts.d.ts +326 -298
- package/dist/schema/posts.esm.js +2 -0
- package/dist/schema/posts.esm.js.map +1 -0
- package/dist/schema/posts.js +2 -81
- package/dist/schema/posts.js.map +1 -1
- package/dist/schema/replications.d.ts +125 -115
- package/dist/schema/replications.esm.js +2 -0
- package/dist/schema/replications.esm.js.map +1 -0
- package/dist/schema/replications.js +2 -42
- package/dist/schema/replications.js.map +1 -1
- package/dist/schema/services.d.ts +14 -14
- package/dist/schema/services.esm.js +2 -0
- package/dist/schema/services.esm.js.map +1 -0
- package/dist/schema/services.js +2 -39
- package/dist/schema/services.js.map +1 -1
- package/dist/schema/teams.d.ts +99 -85
- package/dist/schema/teams.esm.js +2 -0
- package/dist/schema/teams.esm.js.map +1 -0
- package/dist/schema/teams.js +2 -57
- package/dist/schema/teams.js.map +1 -1
- package/dist/schema/users.d.ts +13 -4
- package/dist/schema/users.esm.js +2 -0
- package/dist/schema/users.esm.js.map +1 -0
- package/dist/schema/users.js +2 -35
- package/dist/schema/users.js.map +1 -1
- package/dist/types/index.d.ts +14 -0
- package/dist/utils/air/index.d.ts +1 -1
- package/dist/utils/air/index.esm.js +2 -0
- package/dist/utils/air/index.esm.js.map +1 -0
- package/dist/utils/air/index.js +2 -51
- package/dist/utils/air/index.js.map +1 -1
- package/dist/utils/air/markdown-parser.esm.js +2 -0
- package/dist/utils/air/markdown-parser.esm.js.map +1 -0
- package/dist/utils/air/markdown-parser.js +2 -118
- package/dist/utils/air/markdown-parser.js.map +1 -1
- package/dist/utils/dataset.esm.js +2 -0
- package/dist/utils/dataset.esm.js.map +1 -0
- package/dist/utils/dataset.js +2 -19
- package/dist/utils/dataset.js.map +1 -1
- package/dist/utils/navigate.esm.js +2 -0
- package/dist/utils/navigate.esm.js.map +1 -0
- package/dist/utils/navigate.js +2 -56
- package/dist/utils/navigate.js.map +1 -1
- package/package.json +21 -4
- package/rollup.config.js +52 -0
|
@@ -15,6 +15,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -57,27 +60,27 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
57
60
|
}, "strip", z.ZodTypeAny, {
|
|
58
61
|
id?: string | undefined;
|
|
59
62
|
name?: string | undefined;
|
|
60
|
-
size?: string | undefined;
|
|
61
|
-
email?: string | null | undefined;
|
|
62
63
|
avatar_path?: string | null | undefined;
|
|
63
64
|
mission?: string | null | undefined;
|
|
65
|
+
size?: string | undefined;
|
|
66
|
+
email?: string | null | undefined;
|
|
64
67
|
domain?: string | null | undefined;
|
|
65
68
|
urls?: {
|
|
66
69
|
value: string;
|
|
67
70
|
}[] | null | undefined;
|
|
68
|
-
base_role?: "
|
|
71
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
69
72
|
}, {
|
|
70
73
|
id?: string | undefined;
|
|
71
74
|
name?: string | undefined;
|
|
72
|
-
size?: string | undefined;
|
|
73
|
-
email?: string | null | undefined;
|
|
74
75
|
avatar_path?: string | null | undefined;
|
|
75
76
|
mission?: string | null | undefined;
|
|
77
|
+
size?: string | undefined;
|
|
78
|
+
email?: string | null | undefined;
|
|
76
79
|
domain?: string | null | undefined;
|
|
77
80
|
urls?: {
|
|
78
81
|
value: string;
|
|
79
82
|
}[] | null | undefined;
|
|
80
|
-
base_role?: "
|
|
83
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
81
84
|
}>>;
|
|
82
85
|
team_id: z.ZodString;
|
|
83
86
|
team: z.ZodOptional<z.ZodObject<{
|
|
@@ -90,20 +93,20 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
90
93
|
created_at: z.ZodOptional<z.ZodString>;
|
|
91
94
|
}, "strip", z.ZodTypeAny, {
|
|
92
95
|
id?: string | undefined;
|
|
93
|
-
name?: string | undefined;
|
|
94
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
95
|
-
description?: string | null | undefined;
|
|
96
96
|
org_id?: string | undefined;
|
|
97
97
|
created_at?: string | undefined;
|
|
98
|
-
default_role?: "none" | "admin" | "read" | "write" | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
id?: string | undefined;
|
|
101
98
|
name?: string | undefined;
|
|
102
|
-
visibility?: "
|
|
99
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
103
100
|
description?: string | null | undefined;
|
|
101
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
id?: string | undefined;
|
|
104
104
|
org_id?: string | undefined;
|
|
105
105
|
created_at?: string | undefined;
|
|
106
|
-
|
|
106
|
+
name?: string | undefined;
|
|
107
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
108
|
+
description?: string | null | undefined;
|
|
109
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
107
110
|
}>>;
|
|
108
111
|
parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
109
112
|
parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -139,53 +142,50 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
142
|
id: z.ZodOptional<z.ZodString>;
|
|
140
143
|
bucket: z.ZodOptional<z.ZodEnum<["public-files", "files"]>>;
|
|
141
144
|
}>, "strip", z.ZodTypeAny, {
|
|
142
|
-
columns: string[];
|
|
143
|
-
schema: "datasets";
|
|
144
145
|
table_name: string;
|
|
145
|
-
|
|
146
|
+
schema: "datasets";
|
|
147
|
+
columns: string[];
|
|
146
148
|
id?: string | undefined;
|
|
147
|
-
name?: string | undefined;
|
|
148
149
|
path?: string | undefined;
|
|
150
|
+
type?: string | undefined;
|
|
151
|
+
name?: string | undefined;
|
|
149
152
|
size?: number | undefined;
|
|
150
153
|
bucket?: "public-files" | "files" | undefined;
|
|
151
154
|
}, {
|
|
152
|
-
columns: string[];
|
|
153
155
|
table_name: string;
|
|
154
|
-
|
|
156
|
+
columns: string[];
|
|
155
157
|
id?: string | undefined;
|
|
156
|
-
name?: string | undefined;
|
|
157
158
|
path?: string | undefined;
|
|
159
|
+
type?: string | undefined;
|
|
160
|
+
name?: string | undefined;
|
|
158
161
|
size?: number | undefined;
|
|
159
|
-
schema?: "datasets" | undefined;
|
|
160
162
|
bucket?: "public-files" | "files" | undefined;
|
|
163
|
+
schema?: "datasets" | undefined;
|
|
161
164
|
}>;
|
|
162
165
|
preview: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
163
166
|
}>, "strip", z.ZodTypeAny, {
|
|
164
167
|
id: string;
|
|
165
|
-
|
|
166
|
-
|
|
168
|
+
user_id: string;
|
|
169
|
+
org_id: string;
|
|
170
|
+
asset_type: "dataset";
|
|
167
171
|
metadata: {
|
|
168
|
-
columns: string[];
|
|
169
|
-
schema: "datasets";
|
|
170
172
|
table_name: string;
|
|
171
|
-
|
|
173
|
+
schema: "datasets";
|
|
174
|
+
columns: string[];
|
|
172
175
|
id?: string | undefined;
|
|
173
|
-
name?: string | undefined;
|
|
174
176
|
path?: string | undefined;
|
|
177
|
+
type?: string | undefined;
|
|
178
|
+
name?: string | undefined;
|
|
175
179
|
size?: number | undefined;
|
|
176
180
|
bucket?: "public-files" | "files" | undefined;
|
|
177
181
|
};
|
|
178
|
-
user_id: string;
|
|
179
|
-
org_id: string;
|
|
180
|
-
asset_type: "dataset";
|
|
181
182
|
created_at: string;
|
|
182
183
|
last_updated: string;
|
|
184
|
+
name: string;
|
|
183
185
|
team_id: string;
|
|
186
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
184
187
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
185
188
|
preview: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
186
|
-
state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
|
|
187
|
-
description?: string | null | undefined;
|
|
188
|
-
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
189
189
|
user?: {
|
|
190
190
|
id?: string | undefined;
|
|
191
191
|
user_id?: string | undefined;
|
|
@@ -195,31 +195,34 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
195
195
|
}[] | undefined;
|
|
196
196
|
username?: string | null | undefined;
|
|
197
197
|
bio?: string | null | undefined;
|
|
198
|
+
post_id?: string | null | undefined;
|
|
198
199
|
last_active?: string | undefined;
|
|
199
200
|
} | undefined;
|
|
200
201
|
organization?: {
|
|
201
202
|
id?: string | undefined;
|
|
202
203
|
name?: string | undefined;
|
|
203
|
-
size?: string | undefined;
|
|
204
|
-
email?: string | null | undefined;
|
|
205
204
|
avatar_path?: string | null | undefined;
|
|
206
205
|
mission?: string | null | undefined;
|
|
206
|
+
size?: string | undefined;
|
|
207
|
+
email?: string | null | undefined;
|
|
207
208
|
domain?: string | null | undefined;
|
|
208
209
|
urls?: {
|
|
209
210
|
value: string;
|
|
210
211
|
}[] | null | undefined;
|
|
211
|
-
base_role?: "
|
|
212
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
212
213
|
} | undefined;
|
|
213
214
|
team?: {
|
|
214
215
|
id?: string | undefined;
|
|
215
|
-
name?: string | undefined;
|
|
216
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
217
|
-
description?: string | null | undefined;
|
|
218
216
|
org_id?: string | undefined;
|
|
219
217
|
created_at?: string | undefined;
|
|
220
|
-
|
|
218
|
+
name?: string | undefined;
|
|
219
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
220
|
+
description?: string | null | undefined;
|
|
221
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
221
222
|
} | undefined;
|
|
223
|
+
description?: string | null | undefined;
|
|
222
224
|
parent_id?: string | null | undefined;
|
|
225
|
+
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
223
226
|
name_url_slug?: string | null | undefined;
|
|
224
227
|
slug?: string | null | undefined;
|
|
225
228
|
price?: number | null | undefined;
|
|
@@ -228,31 +231,29 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
228
231
|
cost_unit?: string | null | undefined;
|
|
229
232
|
product_id?: string | null | undefined;
|
|
230
233
|
price_id?: string | null | undefined;
|
|
234
|
+
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
231
235
|
}, {
|
|
232
236
|
id: string;
|
|
233
|
-
|
|
234
|
-
|
|
237
|
+
user_id: string;
|
|
238
|
+
org_id: string;
|
|
235
239
|
metadata: {
|
|
236
|
-
columns: string[];
|
|
237
240
|
table_name: string;
|
|
238
|
-
|
|
241
|
+
columns: string[];
|
|
239
242
|
id?: string | undefined;
|
|
240
|
-
name?: string | undefined;
|
|
241
243
|
path?: string | undefined;
|
|
244
|
+
type?: string | undefined;
|
|
245
|
+
name?: string | undefined;
|
|
242
246
|
size?: number | undefined;
|
|
243
|
-
schema?: "datasets" | undefined;
|
|
244
247
|
bucket?: "public-files" | "files" | undefined;
|
|
248
|
+
schema?: "datasets" | undefined;
|
|
245
249
|
};
|
|
246
|
-
user_id: string;
|
|
247
|
-
org_id: string;
|
|
248
250
|
created_at: string;
|
|
249
251
|
last_updated: string;
|
|
252
|
+
name: string;
|
|
250
253
|
team_id: string;
|
|
254
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
251
255
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
252
256
|
preview: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
253
|
-
state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
|
|
254
|
-
description?: string | null | undefined;
|
|
255
|
-
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
256
257
|
user?: {
|
|
257
258
|
id?: string | undefined;
|
|
258
259
|
user_id?: string | undefined;
|
|
@@ -262,32 +263,35 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
262
263
|
}[] | undefined;
|
|
263
264
|
username?: string | null | undefined;
|
|
264
265
|
bio?: string | null | undefined;
|
|
266
|
+
post_id?: string | null | undefined;
|
|
265
267
|
last_active?: string | undefined;
|
|
266
268
|
} | undefined;
|
|
267
269
|
organization?: {
|
|
268
270
|
id?: string | undefined;
|
|
269
271
|
name?: string | undefined;
|
|
270
|
-
size?: string | undefined;
|
|
271
|
-
email?: string | null | undefined;
|
|
272
272
|
avatar_path?: string | null | undefined;
|
|
273
273
|
mission?: string | null | undefined;
|
|
274
|
+
size?: string | undefined;
|
|
275
|
+
email?: string | null | undefined;
|
|
274
276
|
domain?: string | null | undefined;
|
|
275
277
|
urls?: {
|
|
276
278
|
value: string;
|
|
277
279
|
}[] | null | undefined;
|
|
278
|
-
base_role?: "
|
|
280
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
279
281
|
} | undefined;
|
|
280
282
|
team?: {
|
|
281
283
|
id?: string | undefined;
|
|
282
|
-
name?: string | undefined;
|
|
283
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
284
|
-
description?: string | null | undefined;
|
|
285
284
|
org_id?: string | undefined;
|
|
286
285
|
created_at?: string | undefined;
|
|
287
|
-
|
|
286
|
+
name?: string | undefined;
|
|
287
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
288
|
+
description?: string | null | undefined;
|
|
289
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
288
290
|
} | undefined;
|
|
289
291
|
asset_type?: "dataset" | undefined;
|
|
292
|
+
description?: string | null | undefined;
|
|
290
293
|
parent_id?: string | null | undefined;
|
|
294
|
+
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
291
295
|
name_url_slug?: string | null | undefined;
|
|
292
296
|
slug?: string | null | undefined;
|
|
293
297
|
price?: number | null | undefined;
|
|
@@ -296,6 +300,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
296
300
|
cost_unit?: string | null | undefined;
|
|
297
301
|
product_id?: string | null | undefined;
|
|
298
302
|
price_id?: string | null | undefined;
|
|
303
|
+
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
299
304
|
}>;
|
|
300
305
|
declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
301
306
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -313,6 +318,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
313
318
|
}, {
|
|
314
319
|
value: string;
|
|
315
320
|
}>, "many">>>;
|
|
321
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
316
322
|
last_active: z.ZodOptional<z.ZodString>;
|
|
317
323
|
}, "strip", z.ZodTypeAny, {
|
|
318
324
|
id?: string | undefined;
|
|
@@ -323,6 +329,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
323
329
|
}[] | undefined;
|
|
324
330
|
username?: string | null | undefined;
|
|
325
331
|
bio?: string | null | undefined;
|
|
332
|
+
post_id?: string | null | undefined;
|
|
326
333
|
last_active?: string | undefined;
|
|
327
334
|
}, {
|
|
328
335
|
id?: string | undefined;
|
|
@@ -333,6 +340,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
333
340
|
}[] | undefined;
|
|
334
341
|
username?: string | null | undefined;
|
|
335
342
|
bio?: string | null | undefined;
|
|
343
|
+
post_id?: string | null | undefined;
|
|
336
344
|
last_active?: string | undefined;
|
|
337
345
|
}>>>;
|
|
338
346
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -355,27 +363,27 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
355
363
|
}, "strip", z.ZodTypeAny, {
|
|
356
364
|
id?: string | undefined;
|
|
357
365
|
name?: string | undefined;
|
|
358
|
-
size?: string | undefined;
|
|
359
|
-
email?: string | null | undefined;
|
|
360
366
|
avatar_path?: string | null | undefined;
|
|
361
367
|
mission?: string | null | undefined;
|
|
368
|
+
size?: string | undefined;
|
|
369
|
+
email?: string | null | undefined;
|
|
362
370
|
domain?: string | null | undefined;
|
|
363
371
|
urls?: {
|
|
364
372
|
value: string;
|
|
365
373
|
}[] | null | undefined;
|
|
366
|
-
base_role?: "
|
|
374
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
367
375
|
}, {
|
|
368
376
|
id?: string | undefined;
|
|
369
377
|
name?: string | undefined;
|
|
370
|
-
size?: string | undefined;
|
|
371
|
-
email?: string | null | undefined;
|
|
372
378
|
avatar_path?: string | null | undefined;
|
|
373
379
|
mission?: string | null | undefined;
|
|
380
|
+
size?: string | undefined;
|
|
381
|
+
email?: string | null | undefined;
|
|
374
382
|
domain?: string | null | undefined;
|
|
375
383
|
urls?: {
|
|
376
384
|
value: string;
|
|
377
385
|
}[] | null | undefined;
|
|
378
|
-
base_role?: "
|
|
386
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
379
387
|
}>>>;
|
|
380
388
|
team_id: z.ZodOptional<z.ZodString>;
|
|
381
389
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -388,20 +396,20 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
388
396
|
created_at: z.ZodOptional<z.ZodString>;
|
|
389
397
|
}, "strip", z.ZodTypeAny, {
|
|
390
398
|
id?: string | undefined;
|
|
391
|
-
name?: string | undefined;
|
|
392
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
393
|
-
description?: string | null | undefined;
|
|
394
399
|
org_id?: string | undefined;
|
|
395
400
|
created_at?: string | undefined;
|
|
396
|
-
default_role?: "none" | "admin" | "read" | "write" | undefined;
|
|
397
|
-
}, {
|
|
398
|
-
id?: string | undefined;
|
|
399
401
|
name?: string | undefined;
|
|
400
|
-
visibility?: "
|
|
402
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
401
403
|
description?: string | null | undefined;
|
|
404
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
405
|
+
}, {
|
|
406
|
+
id?: string | undefined;
|
|
402
407
|
org_id?: string | undefined;
|
|
403
408
|
created_at?: string | undefined;
|
|
404
|
-
|
|
409
|
+
name?: string | undefined;
|
|
410
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
411
|
+
description?: string | null | undefined;
|
|
412
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
405
413
|
}>>>;
|
|
406
414
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
407
415
|
parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -447,52 +455,52 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
447
455
|
id: z.ZodString;
|
|
448
456
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
449
457
|
}>, "strip", z.ZodTypeAny, {
|
|
450
|
-
type: string;
|
|
451
458
|
id: string;
|
|
452
|
-
name: string;
|
|
453
|
-
columns: string[];
|
|
454
459
|
path: string;
|
|
460
|
+
type: string;
|
|
461
|
+
name: string;
|
|
455
462
|
size: number;
|
|
456
|
-
schema: "datasets";
|
|
457
463
|
bucket: "public-files" | "files";
|
|
458
464
|
table_name: string;
|
|
465
|
+
schema: "datasets";
|
|
466
|
+
columns: string[];
|
|
459
467
|
}, {
|
|
460
|
-
type: string;
|
|
461
468
|
id: string;
|
|
462
|
-
name: string;
|
|
463
|
-
columns: string[];
|
|
464
469
|
path: string;
|
|
470
|
+
type: string;
|
|
471
|
+
name: string;
|
|
465
472
|
size: number;
|
|
466
473
|
bucket: "public-files" | "files";
|
|
467
474
|
table_name: string;
|
|
475
|
+
columns: string[];
|
|
468
476
|
schema?: "datasets" | undefined;
|
|
469
477
|
}>;
|
|
470
478
|
preview: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
471
479
|
}>, "strip", z.ZodTypeAny, {
|
|
472
480
|
id: string;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
visibility: "inherit" | "private" | "public" | "organization" | "monetized";
|
|
481
|
+
org_id: string | null;
|
|
482
|
+
asset_type: "dataset";
|
|
476
483
|
metadata: {
|
|
477
|
-
type: string;
|
|
478
484
|
id: string;
|
|
479
|
-
name: string;
|
|
480
|
-
columns: string[];
|
|
481
485
|
path: string;
|
|
486
|
+
type: string;
|
|
487
|
+
name: string;
|
|
482
488
|
size: number;
|
|
483
|
-
schema: "datasets";
|
|
484
489
|
bucket: "public-files" | "files";
|
|
485
490
|
table_name: string;
|
|
491
|
+
schema: "datasets";
|
|
492
|
+
columns: string[];
|
|
486
493
|
};
|
|
487
|
-
org_id: string | null;
|
|
488
|
-
asset_type: "dataset";
|
|
489
494
|
created_at: string;
|
|
490
495
|
last_updated: string;
|
|
496
|
+
name: string;
|
|
491
497
|
team_id: string | null;
|
|
498
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
492
499
|
preview: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
500
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
493
501
|
description?: string | null | undefined;
|
|
494
|
-
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
495
502
|
parent_id?: string | null | undefined;
|
|
503
|
+
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
496
504
|
name_url_slug?: string | null | undefined;
|
|
497
505
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
498
506
|
price?: number | null | undefined;
|
|
@@ -502,30 +510,29 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
502
510
|
product_id?: string | null | undefined;
|
|
503
511
|
price_id?: string | null | undefined;
|
|
504
512
|
}, {
|
|
505
|
-
name: string;
|
|
506
513
|
metadata: {
|
|
507
|
-
type: string;
|
|
508
514
|
id: string;
|
|
509
|
-
name: string;
|
|
510
|
-
columns: string[];
|
|
511
515
|
path: string;
|
|
516
|
+
type: string;
|
|
517
|
+
name: string;
|
|
512
518
|
size: number;
|
|
513
519
|
bucket: "public-files" | "files";
|
|
514
520
|
table_name: string;
|
|
521
|
+
columns: string[];
|
|
515
522
|
schema?: "datasets" | undefined;
|
|
516
523
|
};
|
|
524
|
+
name: string;
|
|
517
525
|
preview: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
518
526
|
id?: string | undefined;
|
|
519
|
-
state?: "error" | "in-progress" | "success" | "queued" | undefined;
|
|
520
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
521
|
-
description?: string | null | undefined;
|
|
522
|
-
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
523
527
|
org_id?: string | null | undefined;
|
|
524
528
|
asset_type?: "dataset" | undefined;
|
|
525
529
|
created_at?: string | undefined;
|
|
526
530
|
last_updated?: string | undefined;
|
|
527
531
|
team_id?: string | null | undefined;
|
|
532
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
533
|
+
description?: string | null | undefined;
|
|
528
534
|
parent_id?: string | null | undefined;
|
|
535
|
+
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
529
536
|
name_url_slug?: string | null | undefined;
|
|
530
537
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
531
538
|
price?: number | null | undefined;
|
|
@@ -534,6 +541,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
534
541
|
cost_unit?: string | null | undefined;
|
|
535
542
|
product_id?: string | null | undefined;
|
|
536
543
|
price_id?: string | null | undefined;
|
|
544
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
537
545
|
}>;
|
|
538
546
|
declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
539
547
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -551,6 +559,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
551
559
|
}, {
|
|
552
560
|
value: string;
|
|
553
561
|
}>, "many">>>;
|
|
562
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
554
563
|
last_active: z.ZodOptional<z.ZodString>;
|
|
555
564
|
}, "strip", z.ZodTypeAny, {
|
|
556
565
|
id?: string | undefined;
|
|
@@ -561,6 +570,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
561
570
|
}[] | undefined;
|
|
562
571
|
username?: string | null | undefined;
|
|
563
572
|
bio?: string | null | undefined;
|
|
573
|
+
post_id?: string | null | undefined;
|
|
564
574
|
last_active?: string | undefined;
|
|
565
575
|
}, {
|
|
566
576
|
id?: string | undefined;
|
|
@@ -571,6 +581,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
571
581
|
}[] | undefined;
|
|
572
582
|
username?: string | null | undefined;
|
|
573
583
|
bio?: string | null | undefined;
|
|
584
|
+
post_id?: string | null | undefined;
|
|
574
585
|
last_active?: string | undefined;
|
|
575
586
|
}>>>;
|
|
576
587
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -593,27 +604,27 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
593
604
|
}, "strip", z.ZodTypeAny, {
|
|
594
605
|
id?: string | undefined;
|
|
595
606
|
name?: string | undefined;
|
|
596
|
-
size?: string | undefined;
|
|
597
|
-
email?: string | null | undefined;
|
|
598
607
|
avatar_path?: string | null | undefined;
|
|
599
608
|
mission?: string | null | undefined;
|
|
609
|
+
size?: string | undefined;
|
|
610
|
+
email?: string | null | undefined;
|
|
600
611
|
domain?: string | null | undefined;
|
|
601
612
|
urls?: {
|
|
602
613
|
value: string;
|
|
603
614
|
}[] | null | undefined;
|
|
604
|
-
base_role?: "
|
|
615
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
605
616
|
}, {
|
|
606
617
|
id?: string | undefined;
|
|
607
618
|
name?: string | undefined;
|
|
608
|
-
size?: string | undefined;
|
|
609
|
-
email?: string | null | undefined;
|
|
610
619
|
avatar_path?: string | null | undefined;
|
|
611
620
|
mission?: string | null | undefined;
|
|
621
|
+
size?: string | undefined;
|
|
622
|
+
email?: string | null | undefined;
|
|
612
623
|
domain?: string | null | undefined;
|
|
613
624
|
urls?: {
|
|
614
625
|
value: string;
|
|
615
626
|
}[] | null | undefined;
|
|
616
|
-
base_role?: "
|
|
627
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
617
628
|
}>>>;
|
|
618
629
|
team_id: z.ZodOptional<z.ZodString>;
|
|
619
630
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -626,20 +637,20 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
626
637
|
created_at: z.ZodOptional<z.ZodString>;
|
|
627
638
|
}, "strip", z.ZodTypeAny, {
|
|
628
639
|
id?: string | undefined;
|
|
629
|
-
name?: string | undefined;
|
|
630
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
631
|
-
description?: string | null | undefined;
|
|
632
640
|
org_id?: string | undefined;
|
|
633
641
|
created_at?: string | undefined;
|
|
634
|
-
default_role?: "none" | "admin" | "read" | "write" | undefined;
|
|
635
|
-
}, {
|
|
636
|
-
id?: string | undefined;
|
|
637
642
|
name?: string | undefined;
|
|
638
|
-
visibility?: "
|
|
643
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
639
644
|
description?: string | null | undefined;
|
|
645
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
646
|
+
}, {
|
|
647
|
+
id?: string | undefined;
|
|
640
648
|
org_id?: string | undefined;
|
|
641
649
|
created_at?: string | undefined;
|
|
642
|
-
|
|
650
|
+
name?: string | undefined;
|
|
651
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
652
|
+
description?: string | null | undefined;
|
|
653
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
643
654
|
}>>>;
|
|
644
655
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
645
656
|
parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -678,34 +689,34 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
678
689
|
schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
|
|
679
690
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
680
691
|
}, "strip", z.ZodTypeAny, {
|
|
681
|
-
columns: string[];
|
|
682
|
-
schema: "datasets";
|
|
683
692
|
table_name: string;
|
|
684
|
-
|
|
693
|
+
schema: "datasets";
|
|
685
694
|
columns: string[];
|
|
695
|
+
}, {
|
|
686
696
|
table_name: string;
|
|
697
|
+
columns: string[];
|
|
687
698
|
schema?: "datasets" | undefined;
|
|
688
699
|
}>;
|
|
689
700
|
preview: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
690
701
|
}>, "strip", z.ZodTypeAny, {
|
|
691
702
|
id: string;
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
visibility: "inherit" | "private" | "public" | "organization" | "monetized";
|
|
703
|
+
org_id: string | null;
|
|
704
|
+
asset_type: "dataset";
|
|
695
705
|
metadata: {
|
|
696
|
-
columns: string[];
|
|
697
|
-
schema: "datasets";
|
|
698
706
|
table_name: string;
|
|
707
|
+
schema: "datasets";
|
|
708
|
+
columns: string[];
|
|
699
709
|
};
|
|
700
|
-
org_id: string | null;
|
|
701
|
-
asset_type: "dataset";
|
|
702
710
|
created_at: string;
|
|
703
711
|
last_updated: string;
|
|
712
|
+
name: string;
|
|
704
713
|
team_id: string | null;
|
|
714
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
705
715
|
preview: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
716
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
706
717
|
description?: string | null | undefined;
|
|
707
|
-
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
708
718
|
parent_id?: string | null | undefined;
|
|
719
|
+
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
709
720
|
name_url_slug?: string | null | undefined;
|
|
710
721
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
711
722
|
price?: number | null | undefined;
|
|
@@ -715,24 +726,23 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
715
726
|
product_id?: string | null | undefined;
|
|
716
727
|
price_id?: string | null | undefined;
|
|
717
728
|
}, {
|
|
718
|
-
name: string;
|
|
719
729
|
metadata: {
|
|
720
|
-
columns: string[];
|
|
721
730
|
table_name: string;
|
|
731
|
+
columns: string[];
|
|
722
732
|
schema?: "datasets" | undefined;
|
|
723
733
|
};
|
|
734
|
+
name: string;
|
|
724
735
|
preview: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
725
736
|
id?: string | undefined;
|
|
726
|
-
state?: "error" | "in-progress" | "success" | "queued" | undefined;
|
|
727
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
728
|
-
description?: string | null | undefined;
|
|
729
|
-
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
730
737
|
org_id?: string | null | undefined;
|
|
731
738
|
asset_type?: "dataset" | undefined;
|
|
732
739
|
created_at?: string | undefined;
|
|
733
740
|
last_updated?: string | undefined;
|
|
734
741
|
team_id?: string | null | undefined;
|
|
742
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
743
|
+
description?: string | null | undefined;
|
|
735
744
|
parent_id?: string | null | undefined;
|
|
745
|
+
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
736
746
|
name_url_slug?: string | null | undefined;
|
|
737
747
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
738
748
|
price?: number | null | undefined;
|
|
@@ -741,6 +751,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
741
751
|
cost_unit?: string | null | undefined;
|
|
742
752
|
product_id?: string | null | undefined;
|
|
743
753
|
price_id?: string | null | undefined;
|
|
754
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
744
755
|
}>;
|
|
745
756
|
declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
746
757
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -758,6 +769,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
758
769
|
}, {
|
|
759
770
|
value: string;
|
|
760
771
|
}>, "many">>>;
|
|
772
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
761
773
|
last_active: z.ZodOptional<z.ZodString>;
|
|
762
774
|
}, "strip", z.ZodTypeAny, {
|
|
763
775
|
id?: string | undefined;
|
|
@@ -768,6 +780,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
768
780
|
}[] | undefined;
|
|
769
781
|
username?: string | null | undefined;
|
|
770
782
|
bio?: string | null | undefined;
|
|
783
|
+
post_id?: string | null | undefined;
|
|
771
784
|
last_active?: string | undefined;
|
|
772
785
|
}, {
|
|
773
786
|
id?: string | undefined;
|
|
@@ -778,6 +791,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
778
791
|
}[] | undefined;
|
|
779
792
|
username?: string | null | undefined;
|
|
780
793
|
bio?: string | null | undefined;
|
|
794
|
+
post_id?: string | null | undefined;
|
|
781
795
|
last_active?: string | undefined;
|
|
782
796
|
}>>>;
|
|
783
797
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -800,27 +814,27 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
800
814
|
}, "strip", z.ZodTypeAny, {
|
|
801
815
|
id?: string | undefined;
|
|
802
816
|
name?: string | undefined;
|
|
803
|
-
size?: string | undefined;
|
|
804
|
-
email?: string | null | undefined;
|
|
805
817
|
avatar_path?: string | null | undefined;
|
|
806
818
|
mission?: string | null | undefined;
|
|
819
|
+
size?: string | undefined;
|
|
820
|
+
email?: string | null | undefined;
|
|
807
821
|
domain?: string | null | undefined;
|
|
808
822
|
urls?: {
|
|
809
823
|
value: string;
|
|
810
824
|
}[] | null | undefined;
|
|
811
|
-
base_role?: "
|
|
825
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
812
826
|
}, {
|
|
813
827
|
id?: string | undefined;
|
|
814
828
|
name?: string | undefined;
|
|
815
|
-
size?: string | undefined;
|
|
816
|
-
email?: string | null | undefined;
|
|
817
829
|
avatar_path?: string | null | undefined;
|
|
818
830
|
mission?: string | null | undefined;
|
|
831
|
+
size?: string | undefined;
|
|
832
|
+
email?: string | null | undefined;
|
|
819
833
|
domain?: string | null | undefined;
|
|
820
834
|
urls?: {
|
|
821
835
|
value: string;
|
|
822
836
|
}[] | null | undefined;
|
|
823
|
-
base_role?: "
|
|
837
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
824
838
|
}>>>;
|
|
825
839
|
team_id: z.ZodOptional<z.ZodString>;
|
|
826
840
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -833,20 +847,20 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
833
847
|
created_at: z.ZodOptional<z.ZodString>;
|
|
834
848
|
}, "strip", z.ZodTypeAny, {
|
|
835
849
|
id?: string | undefined;
|
|
836
|
-
name?: string | undefined;
|
|
837
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
838
|
-
description?: string | null | undefined;
|
|
839
850
|
org_id?: string | undefined;
|
|
840
851
|
created_at?: string | undefined;
|
|
841
|
-
default_role?: "none" | "admin" | "read" | "write" | undefined;
|
|
842
|
-
}, {
|
|
843
|
-
id?: string | undefined;
|
|
844
852
|
name?: string | undefined;
|
|
845
|
-
visibility?: "
|
|
853
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
846
854
|
description?: string | null | undefined;
|
|
855
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
856
|
+
}, {
|
|
857
|
+
id?: string | undefined;
|
|
847
858
|
org_id?: string | undefined;
|
|
848
859
|
created_at?: string | undefined;
|
|
849
|
-
|
|
860
|
+
name?: string | undefined;
|
|
861
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
862
|
+
description?: string | null | undefined;
|
|
863
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
850
864
|
}>>>;
|
|
851
865
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
852
866
|
parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -878,25 +892,25 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
878
892
|
id: z.ZodOptional<z.ZodString>;
|
|
879
893
|
bucket: z.ZodOptional<z.ZodEnum<["public-files", "files"]>>;
|
|
880
894
|
}>, "strip", z.ZodTypeAny, {
|
|
881
|
-
columns: string[];
|
|
882
|
-
schema: "datasets";
|
|
883
895
|
table_name: string;
|
|
884
|
-
|
|
896
|
+
schema: "datasets";
|
|
897
|
+
columns: string[];
|
|
885
898
|
id?: string | undefined;
|
|
886
|
-
name?: string | undefined;
|
|
887
899
|
path?: string | undefined;
|
|
900
|
+
type?: string | undefined;
|
|
901
|
+
name?: string | undefined;
|
|
888
902
|
size?: number | undefined;
|
|
889
903
|
bucket?: "public-files" | "files" | undefined;
|
|
890
904
|
}, {
|
|
891
|
-
columns: string[];
|
|
892
905
|
table_name: string;
|
|
893
|
-
|
|
906
|
+
columns: string[];
|
|
894
907
|
id?: string | undefined;
|
|
895
|
-
name?: string | undefined;
|
|
896
908
|
path?: string | undefined;
|
|
909
|
+
type?: string | undefined;
|
|
910
|
+
name?: string | undefined;
|
|
897
911
|
size?: number | undefined;
|
|
898
|
-
schema?: "datasets" | undefined;
|
|
899
912
|
bucket?: "public-files" | "files" | undefined;
|
|
913
|
+
schema?: "datasets" | undefined;
|
|
900
914
|
}>>;
|
|
901
915
|
preview: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
902
916
|
}, "id" | "user_id" | "created_at" | "last_updated">, {
|
|
@@ -905,22 +919,6 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
905
919
|
}>, "strip", z.ZodTypeAny, {
|
|
906
920
|
asset_type: "dataset";
|
|
907
921
|
last_updated: string;
|
|
908
|
-
state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
|
|
909
|
-
name?: string | undefined;
|
|
910
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
911
|
-
metadata?: {
|
|
912
|
-
columns: string[];
|
|
913
|
-
schema: "datasets";
|
|
914
|
-
table_name: string;
|
|
915
|
-
type?: string | undefined;
|
|
916
|
-
id?: string | undefined;
|
|
917
|
-
name?: string | undefined;
|
|
918
|
-
path?: string | undefined;
|
|
919
|
-
size?: number | undefined;
|
|
920
|
-
bucket?: "public-files" | "files" | undefined;
|
|
921
|
-
} | undefined;
|
|
922
|
-
description?: string | null | undefined;
|
|
923
|
-
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
924
922
|
user?: {
|
|
925
923
|
id?: string | undefined;
|
|
926
924
|
user_id?: string | undefined;
|
|
@@ -930,33 +928,49 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
930
928
|
}[] | undefined;
|
|
931
929
|
username?: string | null | undefined;
|
|
932
930
|
bio?: string | null | undefined;
|
|
931
|
+
post_id?: string | null | undefined;
|
|
933
932
|
last_active?: string | undefined;
|
|
934
933
|
} | undefined;
|
|
935
934
|
organization?: {
|
|
936
935
|
id?: string | undefined;
|
|
937
936
|
name?: string | undefined;
|
|
938
|
-
size?: string | undefined;
|
|
939
|
-
email?: string | null | undefined;
|
|
940
937
|
avatar_path?: string | null | undefined;
|
|
941
938
|
mission?: string | null | undefined;
|
|
939
|
+
size?: string | undefined;
|
|
940
|
+
email?: string | null | undefined;
|
|
942
941
|
domain?: string | null | undefined;
|
|
943
942
|
urls?: {
|
|
944
943
|
value: string;
|
|
945
944
|
}[] | null | undefined;
|
|
946
|
-
base_role?: "
|
|
945
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
947
946
|
} | undefined;
|
|
948
947
|
team?: {
|
|
949
948
|
id?: string | undefined;
|
|
950
|
-
name?: string | undefined;
|
|
951
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
952
|
-
description?: string | null | undefined;
|
|
953
949
|
org_id?: string | undefined;
|
|
954
950
|
created_at?: string | undefined;
|
|
955
|
-
|
|
951
|
+
name?: string | undefined;
|
|
952
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
953
|
+
description?: string | null | undefined;
|
|
954
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
956
955
|
} | undefined;
|
|
957
956
|
org_id?: string | undefined;
|
|
957
|
+
metadata?: {
|
|
958
|
+
table_name: string;
|
|
959
|
+
schema: "datasets";
|
|
960
|
+
columns: string[];
|
|
961
|
+
id?: string | undefined;
|
|
962
|
+
path?: string | undefined;
|
|
963
|
+
type?: string | undefined;
|
|
964
|
+
name?: string | undefined;
|
|
965
|
+
size?: number | undefined;
|
|
966
|
+
bucket?: "public-files" | "files" | undefined;
|
|
967
|
+
} | undefined;
|
|
968
|
+
name?: string | undefined;
|
|
958
969
|
team_id?: string | undefined;
|
|
970
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
971
|
+
description?: string | null | undefined;
|
|
959
972
|
parent_id?: string | null | undefined;
|
|
973
|
+
parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
960
974
|
name_url_slug?: string | null | undefined;
|
|
961
975
|
slug?: string | null | undefined;
|
|
962
976
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
@@ -967,23 +981,8 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
967
981
|
product_id?: string | null | undefined;
|
|
968
982
|
price_id?: string | null | undefined;
|
|
969
983
|
preview?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
984
|
+
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
970
985
|
}, {
|
|
971
|
-
state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
|
|
972
|
-
name?: string | undefined;
|
|
973
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
974
|
-
metadata?: {
|
|
975
|
-
columns: string[];
|
|
976
|
-
table_name: string;
|
|
977
|
-
type?: string | undefined;
|
|
978
|
-
id?: string | undefined;
|
|
979
|
-
name?: string | undefined;
|
|
980
|
-
path?: string | undefined;
|
|
981
|
-
size?: number | undefined;
|
|
982
|
-
schema?: "datasets" | undefined;
|
|
983
|
-
bucket?: "public-files" | "files" | undefined;
|
|
984
|
-
} | undefined;
|
|
985
|
-
description?: string | null | undefined;
|
|
986
|
-
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
987
986
|
user?: {
|
|
988
987
|
id?: string | undefined;
|
|
989
988
|
user_id?: string | undefined;
|
|
@@ -993,35 +992,51 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
993
992
|
}[] | undefined;
|
|
994
993
|
username?: string | null | undefined;
|
|
995
994
|
bio?: string | null | undefined;
|
|
995
|
+
post_id?: string | null | undefined;
|
|
996
996
|
last_active?: string | undefined;
|
|
997
997
|
} | undefined;
|
|
998
998
|
organization?: {
|
|
999
999
|
id?: string | undefined;
|
|
1000
1000
|
name?: string | undefined;
|
|
1001
|
-
size?: string | undefined;
|
|
1002
|
-
email?: string | null | undefined;
|
|
1003
1001
|
avatar_path?: string | null | undefined;
|
|
1004
1002
|
mission?: string | null | undefined;
|
|
1003
|
+
size?: string | undefined;
|
|
1004
|
+
email?: string | null | undefined;
|
|
1005
1005
|
domain?: string | null | undefined;
|
|
1006
1006
|
urls?: {
|
|
1007
1007
|
value: string;
|
|
1008
1008
|
}[] | null | undefined;
|
|
1009
|
-
base_role?: "
|
|
1009
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
1010
1010
|
} | undefined;
|
|
1011
1011
|
team?: {
|
|
1012
1012
|
id?: string | undefined;
|
|
1013
|
-
name?: string | undefined;
|
|
1014
|
-
visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
|
|
1015
|
-
description?: string | null | undefined;
|
|
1016
1013
|
org_id?: string | undefined;
|
|
1017
1014
|
created_at?: string | undefined;
|
|
1018
|
-
|
|
1015
|
+
name?: string | undefined;
|
|
1016
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
1017
|
+
description?: string | null | undefined;
|
|
1018
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
1019
1019
|
} | undefined;
|
|
1020
1020
|
org_id?: string | undefined;
|
|
1021
1021
|
asset_type?: "dataset" | undefined;
|
|
1022
|
+
metadata?: {
|
|
1023
|
+
table_name: string;
|
|
1024
|
+
columns: string[];
|
|
1025
|
+
id?: string | undefined;
|
|
1026
|
+
path?: string | undefined;
|
|
1027
|
+
type?: string | undefined;
|
|
1028
|
+
name?: string | undefined;
|
|
1029
|
+
size?: number | undefined;
|
|
1030
|
+
bucket?: "public-files" | "files" | undefined;
|
|
1031
|
+
schema?: "datasets" | undefined;
|
|
1032
|
+
} | undefined;
|
|
1022
1033
|
last_updated?: string | undefined;
|
|
1034
|
+
name?: string | undefined;
|
|
1023
1035
|
team_id?: string | undefined;
|
|
1036
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
1037
|
+
description?: string | null | undefined;
|
|
1024
1038
|
parent_id?: string | null | undefined;
|
|
1039
|
+
parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1025
1040
|
name_url_slug?: string | null | undefined;
|
|
1026
1041
|
slug?: string | null | undefined;
|
|
1027
1042
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
@@ -1032,9 +1047,10 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1032
1047
|
product_id?: string | null | undefined;
|
|
1033
1048
|
price_id?: string | null | undefined;
|
|
1034
1049
|
preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1050
|
+
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
1035
1051
|
}>;
|
|
1036
|
-
|
|
1037
|
-
type
|
|
1038
|
-
type
|
|
1039
|
-
type
|
|
1040
|
-
export
|
|
1052
|
+
export { DatasetSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, updateDatasetSchema, };
|
|
1053
|
+
export type Dataset = z.infer<typeof DatasetSchema>;
|
|
1054
|
+
export type CreateFromFileDataset = z.infer<typeof CreateDatasetFromFileSchema>;
|
|
1055
|
+
export type CreateFromSchemaDataset = z.infer<typeof CreateDatasetFromSchemaSchema>;
|
|
1056
|
+
export type UpdateDataset = z.infer<typeof updateDatasetSchema>;
|