@ourofoundation/ouro-js 3.2.4 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-42EQ7ULD.cjs +2 -0
- package/dist/chunk-42EQ7ULD.cjs.map +1 -0
- package/dist/chunk-43KB23BA.cjs +2 -0
- package/dist/chunk-43KB23BA.cjs.map +1 -0
- package/dist/{chunk-7RF362MN.cjs → chunk-4K6R6FZD.cjs} +2 -2
- package/dist/{chunk-7RF362MN.cjs.map → chunk-4K6R6FZD.cjs.map} +1 -1
- package/dist/{chunk-SKQ6BRPY.js → chunk-6YF2RSXS.js} +2 -2
- package/dist/{chunk-SKQ6BRPY.js.map → chunk-6YF2RSXS.js.map} +1 -1
- package/dist/{chunk-TGAK4B5M.js → chunk-B4225TEG.js} +2 -2
- package/dist/{chunk-TGAK4B5M.js.map → chunk-B4225TEG.js.map} +1 -1
- package/dist/{chunk-Q34MIANF.js → chunk-BFBGVGNF.js} +2 -2
- package/dist/{chunk-Q34MIANF.js.map → chunk-BFBGVGNF.js.map} +1 -1
- package/dist/{chunk-OFSSOFOC.cjs → chunk-BQ5WODME.cjs} +2 -2
- package/dist/{chunk-OFSSOFOC.cjs.map → chunk-BQ5WODME.cjs.map} +1 -1
- package/dist/{chunk-WYHO26N6.js → chunk-CF56NFUG.js} +2 -2
- package/dist/{chunk-WYHO26N6.js.map → chunk-CF56NFUG.js.map} +1 -1
- package/dist/chunk-CIWFH5BJ.js +2 -0
- package/dist/chunk-CIWFH5BJ.js.map +1 -0
- package/dist/chunk-EY4OFSDP.js +2 -0
- package/dist/chunk-EY4OFSDP.js.map +1 -0
- package/dist/chunk-FDKZIS34.js +2 -0
- package/dist/chunk-FDKZIS34.js.map +1 -0
- package/dist/chunk-G24BRDHO.cjs +2 -0
- package/dist/chunk-G24BRDHO.cjs.map +1 -0
- package/dist/{chunk-KZOOYWQ7.js → chunk-G2MXCB7Q.js} +2 -2
- package/dist/{chunk-KZOOYWQ7.js.map → chunk-G2MXCB7Q.js.map} +1 -1
- package/dist/{chunk-FQ4F7DQH.cjs → chunk-IP4OVRZB.cjs} +2 -2
- package/dist/{chunk-FQ4F7DQH.cjs.map → chunk-IP4OVRZB.cjs.map} +1 -1
- package/dist/{chunk-XIH622YH.js → chunk-JISPX5A6.js} +2 -2
- package/dist/{chunk-XIH622YH.js.map → chunk-JISPX5A6.js.map} +1 -1
- package/dist/{chunk-KYK27OHG.cjs → chunk-MH4A7XAY.cjs} +2 -2
- package/dist/{chunk-KYK27OHG.cjs.map → chunk-MH4A7XAY.cjs.map} +1 -1
- package/dist/chunk-MOEVC3KD.cjs +2 -0
- package/dist/chunk-MOEVC3KD.cjs.map +1 -0
- package/dist/chunk-NEINJFFK.cjs +2 -0
- package/dist/{chunk-CVFVOARW.cjs.map → chunk-NEINJFFK.cjs.map} +1 -1
- package/dist/{chunk-P5JYABNP.cjs → chunk-QT3A4ULM.cjs} +2 -2
- package/dist/{chunk-P5JYABNP.cjs.map → chunk-QT3A4ULM.cjs.map} +1 -1
- package/dist/{chunk-7SSENGQL.js → chunk-U3F23ASS.js} +2 -2
- package/dist/{chunk-7SSENGQL.js.map → chunk-U3F23ASS.js.map} +1 -1
- package/dist/chunk-UY43EQTO.cjs +2 -0
- package/dist/{chunk-IW4MZW5P.cjs.map → chunk-UY43EQTO.cjs.map} +1 -1
- package/dist/{chunk-OIPOIY6M.cjs → chunk-VOY623ZD.cjs} +2 -2
- package/dist/{chunk-OIPOIY6M.cjs.map → chunk-VOY623ZD.cjs.map} +1 -1
- package/dist/{chunk-MB4EEZKP.js → chunk-WLGOABHV.js} +2 -2
- package/dist/{chunk-MB4EEZKP.js.map → chunk-WLGOABHV.js.map} +1 -1
- package/dist/chunk-WRHPQNEL.js +2 -0
- package/dist/chunk-WRHPQNEL.js.map +1 -0
- package/dist/{chunk-V5DSXK34.cjs → chunk-WUC5AUUJ.cjs} +2 -2
- package/dist/{chunk-V5DSXK34.cjs.map → chunk-WUC5AUUJ.cjs.map} +1 -1
- package/dist/{chunk-XWUYZSVO.js → chunk-Y6AKG4FJ.js} +2 -2
- package/dist/{chunk-XWUYZSVO.js.map → chunk-Y6AKG4FJ.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +84 -90
- package/dist/schema/assets.d.ts +84 -90
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +136 -136
- package/dist/schema/comments.d.ts +136 -136
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +17 -28
- package/dist/schema/common.d.ts +17 -28
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +69 -71
- package/dist/schema/conversations.d.ts +69 -71
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +106 -106
- package/dist/schema/datasets.d.ts +106 -106
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/events.cjs +2 -0
- package/dist/schema/events.cjs.map +1 -0
- package/dist/schema/events.d.cts +113 -0
- package/dist/schema/events.d.ts +113 -0
- package/dist/schema/events.js +2 -0
- package/dist/schema/events.js.map +1 -0
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +100 -100
- package/dist/schema/files.d.ts +100 -100
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +2 -4
- package/dist/schema/notifications.d.ts +2 -4
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +1 -1
- package/dist/schema/organizations.d.ts +1 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +127 -137
- package/dist/schema/posts.d.ts +127 -137
- package/dist/schema/posts.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +124 -131
- package/dist/schema/services.d.ts +124 -131
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +18 -18
- package/dist/schema/teams.d.ts +18 -18
- package/dist/schema/teams.js +1 -1
- package/dist/utils/navigate.cjs +1 -1
- package/dist/utils/navigate.d.cts +2 -2
- package/dist/utils/navigate.d.ts +2 -2
- package/dist/utils/navigate.js +1 -1
- package/package.json +1 -1
- package/scripts/dump-events.ts +10 -0
- package/dist/chunk-3ZHWBPGA.cjs +0 -2
- package/dist/chunk-3ZHWBPGA.cjs.map +0 -1
- package/dist/chunk-6AK3RVZR.cjs +0 -2
- package/dist/chunk-6AK3RVZR.cjs.map +0 -1
- package/dist/chunk-6RGIIOOP.js +0 -2
- package/dist/chunk-6RGIIOOP.js.map +0 -1
- package/dist/chunk-6TOGDJKP.cjs +0 -2
- package/dist/chunk-6TOGDJKP.cjs.map +0 -1
- package/dist/chunk-7ABFUHWW.js +0 -2
- package/dist/chunk-7ABFUHWW.js.map +0 -1
- package/dist/chunk-BU2S7UEL.js +0 -2
- package/dist/chunk-BU2S7UEL.js.map +0 -1
- package/dist/chunk-CVFVOARW.cjs +0 -2
- package/dist/chunk-DHQJ2FCF.cjs +0 -2
- package/dist/chunk-DHQJ2FCF.cjs.map +0 -1
- package/dist/chunk-FNW6DDNP.cjs +0 -2
- package/dist/chunk-FNW6DDNP.cjs.map +0 -1
- package/dist/chunk-IW4MZW5P.cjs +0 -2
- package/dist/chunk-JPCZIGX2.js +0 -2
- package/dist/chunk-JPCZIGX2.js.map +0 -1
- package/dist/chunk-XMYZV7TD.js +0 -2
- package/dist/chunk-XMYZV7TD.js.map +0 -1
- package/dist/schema/blueprints.cjs +0 -2
- package/dist/schema/blueprints.cjs.map +0 -1
- package/dist/schema/blueprints.d.cts +0 -823
- package/dist/schema/blueprints.d.ts +0 -823
- package/dist/schema/blueprints.js +0 -2
- package/dist/schema/blueprints.js.map +0 -1
- package/dist/schema/replications.cjs +0 -2
- package/dist/schema/replications.cjs.map +0 -1
- package/dist/schema/replications.d.cts +0 -827
- package/dist/schema/replications.d.ts +0 -827
- package/dist/schema/replications.js +0 -2
- package/dist/schema/replications.js.map +0 -1
|
@@ -108,9 +108,9 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
108
108
|
none: "none";
|
|
109
109
|
}>>;
|
|
110
110
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
organization: "organization";
|
|
112
111
|
public: "public";
|
|
113
112
|
private: "private";
|
|
113
|
+
organization: "organization";
|
|
114
114
|
monetized: "monetized";
|
|
115
115
|
inherit: "inherit";
|
|
116
116
|
}>>;
|
|
@@ -182,9 +182,9 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
182
182
|
text: z.ZodString;
|
|
183
183
|
}, z.core.$strip>>>;
|
|
184
184
|
visibility: z.ZodEnum<{
|
|
185
|
-
organization: "organization";
|
|
186
185
|
public: "public";
|
|
187
186
|
private: "private";
|
|
187
|
+
organization: "organization";
|
|
188
188
|
monetized: "monetized";
|
|
189
189
|
inherit: "inherit";
|
|
190
190
|
}>;
|
|
@@ -210,31 +210,29 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
210
210
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
211
211
|
state: z.ZodEnum<{
|
|
212
212
|
success: "success";
|
|
213
|
+
error: "error";
|
|
213
214
|
queued: "queued";
|
|
214
215
|
"in-progress": "in-progress";
|
|
215
216
|
"timed-out": "timed-out";
|
|
216
|
-
error: "error";
|
|
217
217
|
}>;
|
|
218
218
|
source: z.ZodEnum<{
|
|
219
|
-
api: "api";
|
|
220
219
|
web: "web";
|
|
220
|
+
api: "api";
|
|
221
221
|
}>;
|
|
222
222
|
created_at: z.ZodString;
|
|
223
223
|
last_updated: z.ZodString;
|
|
224
224
|
asset_type: z.ZodDefault<z.ZodEnum<{
|
|
225
|
-
user: "user";
|
|
226
225
|
organization: "organization";
|
|
226
|
+
file: "file";
|
|
227
|
+
user: "user";
|
|
227
228
|
team: "team";
|
|
228
229
|
dataset: "dataset";
|
|
229
|
-
file: "file";
|
|
230
230
|
service: "service";
|
|
231
231
|
route: "route";
|
|
232
232
|
post: "post";
|
|
233
233
|
quest: "quest";
|
|
234
234
|
comment: "comment";
|
|
235
235
|
conversation: "conversation";
|
|
236
|
-
blueprint: "blueprint";
|
|
237
|
-
replication: "replication";
|
|
238
236
|
}>>;
|
|
239
237
|
metadata: z.ZodObject<{
|
|
240
238
|
members: z.ZodArray<z.ZodString>;
|
|
@@ -305,14 +303,14 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
305
303
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
304
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
307
305
|
success: "success";
|
|
306
|
+
error: "error";
|
|
308
307
|
queued: "queued";
|
|
309
308
|
"in-progress": "in-progress";
|
|
310
309
|
"timed-out": "timed-out";
|
|
311
|
-
error: "error";
|
|
312
310
|
}>>>;
|
|
313
311
|
source: z.ZodDefault<z.ZodEnum<{
|
|
314
|
-
api: "api";
|
|
315
312
|
web: "web";
|
|
313
|
+
api: "api";
|
|
316
314
|
}>>;
|
|
317
315
|
created_at: z.ZodDefault<z.ZodString>;
|
|
318
316
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
@@ -323,9 +321,9 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
323
321
|
"pay-per-use": "pay-per-use";
|
|
324
322
|
}>>;
|
|
325
323
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
326
|
-
organization: "organization";
|
|
327
324
|
public: "public";
|
|
328
325
|
private: "private";
|
|
326
|
+
organization: "organization";
|
|
329
327
|
monetized: "monetized";
|
|
330
328
|
inherit: "inherit";
|
|
331
329
|
}>>;
|
|
@@ -348,13 +346,13 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
348
346
|
team_id: string | null;
|
|
349
347
|
org_id: string | null;
|
|
350
348
|
name: string;
|
|
351
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
352
|
-
source: "
|
|
349
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
350
|
+
source: "web" | "api";
|
|
353
351
|
created_at: string;
|
|
354
352
|
last_updated: string;
|
|
355
353
|
asset_type: "conversation";
|
|
356
354
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
357
|
-
visibility: "
|
|
355
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
358
356
|
metadata: {
|
|
359
357
|
members: string[];
|
|
360
358
|
doi_url?: string | null | undefined;
|
|
@@ -387,13 +385,13 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
387
385
|
team_id: string | null;
|
|
388
386
|
org_id: string | null;
|
|
389
387
|
name: string;
|
|
390
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
391
|
-
source: "
|
|
388
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
389
|
+
source: "web" | "api";
|
|
392
390
|
created_at: string;
|
|
393
391
|
last_updated: string;
|
|
394
392
|
asset_type: "conversation";
|
|
395
393
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
396
|
-
visibility: "
|
|
394
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
397
395
|
metadata: {
|
|
398
396
|
members: string[];
|
|
399
397
|
doi_url?: string | null | undefined;
|
|
@@ -423,40 +421,19 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
423
421
|
name_url_slug?: string | null | undefined;
|
|
424
422
|
}>>;
|
|
425
423
|
declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
426
|
-
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
|
|
427
424
|
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
434
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
435
|
-
original: "original";
|
|
436
|
-
derivative: "derivative";
|
|
437
|
-
"third-party": "third-party";
|
|
438
|
-
}>>;
|
|
439
|
-
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
440
|
-
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
441
|
-
}, z.core.$strip>>;
|
|
442
|
-
created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
443
|
-
last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
444
|
-
name: z.ZodOptional<z.ZodString>;
|
|
425
|
+
source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
426
|
+
web: "web";
|
|
427
|
+
api: "api";
|
|
428
|
+
}>>>;
|
|
429
|
+
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
|
|
445
430
|
visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
446
|
-
organization: "organization";
|
|
447
431
|
public: "public";
|
|
448
432
|
private: "private";
|
|
433
|
+
organization: "organization";
|
|
449
434
|
monetized: "monetized";
|
|
450
435
|
inherit: "inherit";
|
|
451
436
|
}>>>;
|
|
452
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
453
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
454
|
-
text: z.ZodString;
|
|
455
|
-
}, z.core.$strip>>>>>;
|
|
456
|
-
source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
457
|
-
api: "api";
|
|
458
|
-
web: "web";
|
|
459
|
-
}>>>;
|
|
460
437
|
monetization: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
461
438
|
none: "none";
|
|
462
439
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -464,11 +441,17 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
464
441
|
}>>>;
|
|
465
442
|
state: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
466
443
|
success: "success";
|
|
444
|
+
error: "error";
|
|
467
445
|
queued: "queued";
|
|
468
446
|
"in-progress": "in-progress";
|
|
469
447
|
"timed-out": "timed-out";
|
|
470
|
-
error: "error";
|
|
471
448
|
}>>>>;
|
|
449
|
+
name: z.ZodOptional<z.ZodString>;
|
|
450
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
451
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
452
|
+
text: z.ZodString;
|
|
453
|
+
}, z.core.$strip>>>>>;
|
|
454
|
+
created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
472
455
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
|
|
473
456
|
license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
474
457
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -486,31 +469,35 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
486
469
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
487
470
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
488
471
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
472
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
members: z.ZodArray<z.ZodString>;
|
|
474
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
475
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
476
|
+
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
477
|
+
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
478
|
+
originality: z.ZodOptional<z.ZodEnum<{
|
|
479
|
+
original: "original";
|
|
480
|
+
derivative: "derivative";
|
|
481
|
+
"third-party": "third-party";
|
|
482
|
+
}>>;
|
|
483
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
484
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
485
|
+
}, z.core.$strip>>;
|
|
489
486
|
preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
|
|
487
|
+
last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
490
488
|
}, z.core.$strip>, z.ZodTransform<{
|
|
491
|
-
asset_type?: "conversation" | undefined;
|
|
492
489
|
parent?: Record<string, any> | undefined;
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
github_url?: string | null | undefined;
|
|
499
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
500
|
-
source?: string | null | undefined;
|
|
501
|
-
reply_to_comment_id?: string | null | undefined;
|
|
502
|
-
} | undefined;
|
|
503
|
-
created_at?: string | undefined;
|
|
504
|
-
last_updated?: string | undefined;
|
|
490
|
+
source?: "web" | "api" | undefined;
|
|
491
|
+
asset_type?: "conversation" | undefined;
|
|
492
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
493
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
494
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
505
495
|
name?: string | undefined;
|
|
506
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
507
496
|
description?: {
|
|
508
497
|
json: Record<string, any>;
|
|
509
498
|
text: string;
|
|
510
499
|
} | null | undefined;
|
|
511
|
-
|
|
512
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
513
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
500
|
+
created_at?: string | undefined;
|
|
514
501
|
parent_id?: string | null | undefined;
|
|
515
502
|
license_id?: string | undefined;
|
|
516
503
|
name_url_slug?: string | null | undefined;
|
|
@@ -522,10 +509,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
522
509
|
stripe_product_id?: string | null | undefined;
|
|
523
510
|
stripe_price_id?: string | null | undefined;
|
|
524
511
|
stripe_meter_id?: string | null | undefined;
|
|
525
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
526
|
-
}, {
|
|
527
|
-
asset_type?: "conversation" | undefined;
|
|
528
|
-
parent?: Record<string, any> | undefined;
|
|
529
512
|
metadata?: {
|
|
530
513
|
members: string[];
|
|
531
514
|
doi_url?: string | null | undefined;
|
|
@@ -536,17 +519,21 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
536
519
|
source?: string | null | undefined;
|
|
537
520
|
reply_to_comment_id?: string | null | undefined;
|
|
538
521
|
} | undefined;
|
|
539
|
-
|
|
522
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
540
523
|
last_updated?: string | undefined;
|
|
524
|
+
}, {
|
|
525
|
+
parent?: Record<string, any> | undefined;
|
|
526
|
+
source?: "web" | "api" | undefined;
|
|
527
|
+
asset_type?: "conversation" | undefined;
|
|
528
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
529
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
530
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
541
531
|
name?: string | undefined;
|
|
542
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
543
532
|
description?: {
|
|
544
533
|
json: Record<string, any>;
|
|
545
534
|
text: string;
|
|
546
535
|
} | null | undefined;
|
|
547
|
-
|
|
548
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
549
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
536
|
+
created_at?: string | undefined;
|
|
550
537
|
parent_id?: string | null | undefined;
|
|
551
538
|
license_id?: string | undefined;
|
|
552
539
|
name_url_slug?: string | null | undefined;
|
|
@@ -558,7 +545,18 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
558
545
|
stripe_product_id?: string | null | undefined;
|
|
559
546
|
stripe_price_id?: string | null | undefined;
|
|
560
547
|
stripe_meter_id?: string | null | undefined;
|
|
548
|
+
metadata?: {
|
|
549
|
+
members: string[];
|
|
550
|
+
doi_url?: string | null | undefined;
|
|
551
|
+
external_url?: string | null | undefined;
|
|
552
|
+
paper_url?: string | null | undefined;
|
|
553
|
+
github_url?: string | null | undefined;
|
|
554
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
555
|
+
source?: string | null | undefined;
|
|
556
|
+
reply_to_comment_id?: string | null | undefined;
|
|
557
|
+
} | undefined;
|
|
561
558
|
preview?: Record<string, any>[] | null | undefined;
|
|
559
|
+
last_updated?: string | undefined;
|
|
562
560
|
}>>;
|
|
563
561
|
declare const MessageSchema: z.ZodObject<{
|
|
564
562
|
id: z.ZodUUID;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-BFBGVGNF.js';import'../chunk-Y6AKG4FJ.js';import'../chunk-G2MXCB7Q.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=conversations.js.map
|
|
2
2
|
//# sourceMappingURL=conversations.js.map
|
package/dist/schema/datasets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkMH4A7XAY_cjs=require('../chunk-MH4A7XAY.cjs');require('../chunk-IP4OVRZB.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkMH4A7XAY_cjs.b}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkMH4A7XAY_cjs.c}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkMH4A7XAY_cjs.a}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkMH4A7XAY_cjs.d}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|