@ourofoundation/ouro-js 3.6.0 → 3.7.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-2BABFO5H.js +2 -0
- package/dist/chunk-2BABFO5H.js.map +1 -0
- package/dist/{chunk-DBEBXFQI.cjs → chunk-2KXX5JF6.cjs} +2 -2
- package/dist/{chunk-DBEBXFQI.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
- package/dist/chunk-G5V2WTN5.cjs +2 -0
- package/dist/chunk-G5V2WTN5.cjs.map +1 -0
- package/dist/{chunk-WNYOQITO.js → chunk-IL3WA4D7.js} +2 -2
- package/dist/{chunk-WNYOQITO.js.map → chunk-IL3WA4D7.js.map} +1 -1
- package/dist/chunk-KHERHT26.cjs +2 -0
- package/dist/chunk-KHERHT26.cjs.map +1 -0
- package/dist/{chunk-IWOXGKK4.js → chunk-LYP7DPZ3.js} +2 -2
- package/dist/{chunk-IWOXGKK4.js.map → chunk-LYP7DPZ3.js.map} +1 -1
- package/dist/chunk-N74Y47X7.js +2 -0
- package/dist/chunk-N74Y47X7.js.map +1 -0
- package/dist/{chunk-IBRRR3T2.cjs → chunk-O5CY3JW3.cjs} +2 -2
- package/dist/{chunk-IBRRR3T2.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
- package/dist/chunk-OBXAWON7.js +2 -0
- package/dist/{chunk-4UE3XIYR.js.map → chunk-OBXAWON7.js.map} +1 -1
- package/dist/chunk-OU4JKY4M.js +2 -0
- package/dist/chunk-OU4JKY4M.js.map +1 -0
- package/dist/chunk-OWS6VJJ2.js +2 -0
- package/dist/{chunk-NGN2PI7X.js.map → chunk-OWS6VJJ2.js.map} +1 -1
- package/dist/{chunk-F5CWCYOP.cjs → chunk-PN763DHR.cjs} +2 -2
- package/dist/{chunk-F5CWCYOP.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
- package/dist/chunk-PPZZKUF6.cjs +2 -0
- package/dist/chunk-PPZZKUF6.cjs.map +1 -0
- package/dist/chunk-QJG6O5OT.cjs +2 -0
- package/dist/chunk-QJG6O5OT.cjs.map +1 -0
- package/dist/chunk-R7YOQNVS.js +2 -0
- package/dist/chunk-R7YOQNVS.js.map +1 -0
- package/dist/{chunk-TYOQ32UV.js → chunk-S5VZHGMV.js} +2 -2
- package/dist/{chunk-TYOQ32UV.js.map → chunk-S5VZHGMV.js.map} +1 -1
- package/dist/{chunk-6ZJQTECB.cjs → chunk-VPYKCTVU.cjs} +2 -2
- package/dist/{chunk-6ZJQTECB.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
- package/dist/{chunk-YKA3RUTN.cjs → chunk-Y6EN5F74.cjs} +2 -2
- package/dist/{chunk-YKA3RUTN.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
- package/dist/{chunk-6GPIZJ4T.cjs → chunk-YCK6Y3BF.cjs} +2 -2
- package/dist/{chunk-6GPIZJ4T.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
- package/dist/chunk-YXVAFJZH.js +2 -0
- package/dist/{chunk-KCVE35IO.js.map → chunk-YXVAFJZH.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +215 -46
- package/dist/schema/assets.d.ts +215 -46
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +132 -28
- package/dist/schema/comments.d.ts +132 -28
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +235 -47
- package/dist/schema/conversations.d.ts +235 -47
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +302 -66
- package/dist/schema/datasets.d.ts +302 -66
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +302 -66
- package/dist/schema/files.d.ts +302 -66
- package/dist/schema/files.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +286 -74
- package/dist/schema/posts.d.ts +286 -74
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +199 -47
- package/dist/schema/quests.d.ts +199 -47
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +286 -74
- package/dist/schema/services.d.ts +286 -74
- package/dist/schema/services.js +1 -1
- package/dist/utils/files.cjs +2 -0
- package/dist/utils/files.cjs.map +1 -0
- package/dist/utils/files.d.cts +18 -0
- package/dist/utils/files.d.ts +18 -0
- package/dist/utils/files.js +2 -0
- package/dist/utils/files.js.map +1 -0
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4UE3XIYR.js +0 -2
- package/dist/chunk-FRMPLGE4.cjs +0 -2
- package/dist/chunk-FRMPLGE4.cjs.map +0 -1
- package/dist/chunk-G3VMEPTP.js +0 -2
- package/dist/chunk-G3VMEPTP.js.map +0 -1
- package/dist/chunk-KCVE35IO.js +0 -2
- package/dist/chunk-MLTO7TMM.js +0 -2
- package/dist/chunk-MLTO7TMM.js.map +0 -1
- package/dist/chunk-NGN2PI7X.js +0 -2
- package/dist/chunk-ROMY5WNQ.cjs +0 -2
- package/dist/chunk-ROMY5WNQ.cjs.map +0 -1
- package/dist/chunk-SR5UZ4NP.js +0 -2
- package/dist/chunk-SR5UZ4NP.js.map +0 -1
- package/dist/chunk-V73EW77Y.cjs +0 -2
- package/dist/chunk-V73EW77Y.cjs.map +0 -1
|
@@ -206,6 +206,35 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
206
206
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
207
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
208
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
attribution: z.ZodObject<{
|
|
210
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
211
|
+
original: "original";
|
|
212
|
+
derivative: "derivative";
|
|
213
|
+
"third-party": "third-party";
|
|
214
|
+
}>>>;
|
|
215
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
220
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
223
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
224
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
230
|
+
IsSupplementTo: "IsSupplementTo";
|
|
231
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
232
|
+
References: "References";
|
|
233
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
234
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
235
|
+
}>>>;
|
|
236
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
}, z.core.$strip>;
|
|
209
238
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
210
239
|
state: z.ZodEnum<{
|
|
211
240
|
success: "success";
|
|
@@ -237,15 +266,6 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
237
266
|
name: z.ZodNullable<z.ZodString>;
|
|
238
267
|
metadata: z.ZodObject<{
|
|
239
268
|
members: z.ZodArray<z.ZodString>;
|
|
240
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
243
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
244
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
245
|
-
original: "original";
|
|
246
|
-
derivative: "derivative";
|
|
247
|
-
"third-party": "third-party";
|
|
248
|
-
}>>;
|
|
249
269
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
250
270
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
271
|
}, z.core.$strip>;
|
|
@@ -312,6 +332,71 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
312
332
|
api: "api";
|
|
313
333
|
web: "web";
|
|
314
334
|
}>>;
|
|
335
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
336
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
337
|
+
original: "original";
|
|
338
|
+
derivative: "derivative";
|
|
339
|
+
"third-party": "third-party";
|
|
340
|
+
}>>>;
|
|
341
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
343
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
345
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
346
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
349
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
350
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
351
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
352
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
+
}, z.core.$strip>>>;
|
|
355
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
356
|
+
IsSupplementTo: "IsSupplementTo";
|
|
357
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
358
|
+
References: "References";
|
|
359
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
360
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
361
|
+
}>>>;
|
|
362
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
364
|
+
originality: "original" | "derivative" | "third-party";
|
|
365
|
+
external_url?: string | null | undefined;
|
|
366
|
+
github_url?: string | null | undefined;
|
|
367
|
+
paper_url?: string | null | undefined;
|
|
368
|
+
doi_url?: string | null | undefined;
|
|
369
|
+
citation?: {
|
|
370
|
+
doi?: string | null | undefined;
|
|
371
|
+
title?: string | null | undefined;
|
|
372
|
+
authors?: string[] | null | undefined;
|
|
373
|
+
year?: number | null | undefined;
|
|
374
|
+
venue?: string | null | undefined;
|
|
375
|
+
url?: string | null | undefined;
|
|
376
|
+
bibtex?: string | null | undefined;
|
|
377
|
+
source?: string | null | undefined;
|
|
378
|
+
} | null | undefined;
|
|
379
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
380
|
+
doi?: string | null | undefined;
|
|
381
|
+
}, {
|
|
382
|
+
originality: "original" | "derivative" | "third-party";
|
|
383
|
+
external_url?: string | null | undefined;
|
|
384
|
+
github_url?: string | null | undefined;
|
|
385
|
+
paper_url?: string | null | undefined;
|
|
386
|
+
doi_url?: string | null | undefined;
|
|
387
|
+
citation?: {
|
|
388
|
+
doi?: string | null | undefined;
|
|
389
|
+
title?: string | null | undefined;
|
|
390
|
+
authors?: string[] | null | undefined;
|
|
391
|
+
year?: number | null | undefined;
|
|
392
|
+
venue?: string | null | undefined;
|
|
393
|
+
url?: string | null | undefined;
|
|
394
|
+
bibtex?: string | null | undefined;
|
|
395
|
+
source?: string | null | undefined;
|
|
396
|
+
} | null | undefined;
|
|
397
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
398
|
+
doi?: string | null | undefined;
|
|
399
|
+
} | null | undefined>>;
|
|
315
400
|
created_at: z.ZodDefault<z.ZodString>;
|
|
316
401
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
317
402
|
asset_type: z.ZodDefault<z.ZodLiteral<"conversation">>;
|
|
@@ -330,15 +415,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
330
415
|
name: z.ZodPipe<z.ZodPipe<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, z.ZodTransform<string | undefined, string | null>>, z.ZodTransform<string | null, string | undefined>>;
|
|
331
416
|
metadata: z.ZodObject<{
|
|
332
417
|
members: z.ZodArray<z.ZodString>;
|
|
333
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
334
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
335
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
336
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
337
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
338
|
-
original: "original";
|
|
339
|
-
derivative: "derivative";
|
|
340
|
-
"third-party": "third-party";
|
|
341
|
-
}>>;
|
|
342
418
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
343
419
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
344
420
|
}, z.core.$strip>;
|
|
@@ -348,6 +424,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
348
424
|
org_id: string | null;
|
|
349
425
|
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
350
426
|
source: "api" | "web";
|
|
427
|
+
attribution: {
|
|
428
|
+
originality: "original" | "derivative" | "third-party";
|
|
429
|
+
external_url?: string | null | undefined;
|
|
430
|
+
github_url?: string | null | undefined;
|
|
431
|
+
paper_url?: string | null | undefined;
|
|
432
|
+
doi_url?: string | null | undefined;
|
|
433
|
+
citation?: {
|
|
434
|
+
doi?: string | null | undefined;
|
|
435
|
+
title?: string | null | undefined;
|
|
436
|
+
authors?: string[] | null | undefined;
|
|
437
|
+
year?: number | null | undefined;
|
|
438
|
+
venue?: string | null | undefined;
|
|
439
|
+
url?: string | null | undefined;
|
|
440
|
+
bibtex?: string | null | undefined;
|
|
441
|
+
source?: string | null | undefined;
|
|
442
|
+
} | null | undefined;
|
|
443
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
444
|
+
doi?: string | null | undefined;
|
|
445
|
+
};
|
|
351
446
|
created_at: string;
|
|
352
447
|
last_updated: string;
|
|
353
448
|
asset_type: "conversation";
|
|
@@ -356,11 +451,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
356
451
|
name: string | null;
|
|
357
452
|
metadata: {
|
|
358
453
|
members: string[];
|
|
359
|
-
doi_url?: string | null | undefined;
|
|
360
|
-
external_url?: string | null | undefined;
|
|
361
|
-
paper_url?: string | null | undefined;
|
|
362
|
-
github_url?: string | null | undefined;
|
|
363
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
364
454
|
source?: string | null | undefined;
|
|
365
455
|
reply_to_comment_id?: string | null | undefined;
|
|
366
456
|
};
|
|
@@ -387,6 +477,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
387
477
|
org_id: string | null;
|
|
388
478
|
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
389
479
|
source: "api" | "web";
|
|
480
|
+
attribution: {
|
|
481
|
+
originality: "original" | "derivative" | "third-party";
|
|
482
|
+
external_url?: string | null | undefined;
|
|
483
|
+
github_url?: string | null | undefined;
|
|
484
|
+
paper_url?: string | null | undefined;
|
|
485
|
+
doi_url?: string | null | undefined;
|
|
486
|
+
citation?: {
|
|
487
|
+
doi?: string | null | undefined;
|
|
488
|
+
title?: string | null | undefined;
|
|
489
|
+
authors?: string[] | null | undefined;
|
|
490
|
+
year?: number | null | undefined;
|
|
491
|
+
venue?: string | null | undefined;
|
|
492
|
+
url?: string | null | undefined;
|
|
493
|
+
bibtex?: string | null | undefined;
|
|
494
|
+
source?: string | null | undefined;
|
|
495
|
+
} | null | undefined;
|
|
496
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
497
|
+
doi?: string | null | undefined;
|
|
498
|
+
};
|
|
390
499
|
created_at: string;
|
|
391
500
|
last_updated: string;
|
|
392
501
|
asset_type: "conversation";
|
|
@@ -395,11 +504,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
395
504
|
name: string | null;
|
|
396
505
|
metadata: {
|
|
397
506
|
members: string[];
|
|
398
|
-
doi_url?: string | null | undefined;
|
|
399
|
-
external_url?: string | null | undefined;
|
|
400
|
-
paper_url?: string | null | undefined;
|
|
401
|
-
github_url?: string | null | undefined;
|
|
402
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
403
507
|
source?: string | null | undefined;
|
|
404
508
|
reply_to_comment_id?: string | null | undefined;
|
|
405
509
|
};
|
|
@@ -426,15 +530,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
426
530
|
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
427
531
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
428
532
|
members: z.ZodArray<z.ZodString>;
|
|
429
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
430
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
431
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
432
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
433
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
434
|
-
original: "original";
|
|
435
|
-
derivative: "derivative";
|
|
436
|
-
"third-party": "third-party";
|
|
437
|
-
}>>;
|
|
438
533
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
439
534
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
440
535
|
}, z.core.$strip>>;
|
|
@@ -461,6 +556,71 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
461
556
|
"pay-to-unlock": "pay-to-unlock";
|
|
462
557
|
"pay-per-use": "pay-per-use";
|
|
463
558
|
}>>>;
|
|
559
|
+
attribution: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
560
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
561
|
+
original: "original";
|
|
562
|
+
derivative: "derivative";
|
|
563
|
+
"third-party": "third-party";
|
|
564
|
+
}>>>;
|
|
565
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
567
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
568
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
569
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
570
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
572
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
573
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
574
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
578
|
+
}, z.core.$strip>>>;
|
|
579
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
580
|
+
IsSupplementTo: "IsSupplementTo";
|
|
581
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
582
|
+
References: "References";
|
|
583
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
584
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
585
|
+
}>>>;
|
|
586
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
588
|
+
originality: "original" | "derivative" | "third-party";
|
|
589
|
+
external_url?: string | null | undefined;
|
|
590
|
+
github_url?: string | null | undefined;
|
|
591
|
+
paper_url?: string | null | undefined;
|
|
592
|
+
doi_url?: string | null | undefined;
|
|
593
|
+
citation?: {
|
|
594
|
+
doi?: string | null | undefined;
|
|
595
|
+
title?: string | null | undefined;
|
|
596
|
+
authors?: string[] | null | undefined;
|
|
597
|
+
year?: number | null | undefined;
|
|
598
|
+
venue?: string | null | undefined;
|
|
599
|
+
url?: string | null | undefined;
|
|
600
|
+
bibtex?: string | null | undefined;
|
|
601
|
+
source?: string | null | undefined;
|
|
602
|
+
} | null | undefined;
|
|
603
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
604
|
+
doi?: string | null | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
originality: "original" | "derivative" | "third-party";
|
|
607
|
+
external_url?: string | null | undefined;
|
|
608
|
+
github_url?: string | null | undefined;
|
|
609
|
+
paper_url?: string | null | undefined;
|
|
610
|
+
doi_url?: string | null | undefined;
|
|
611
|
+
citation?: {
|
|
612
|
+
doi?: string | null | undefined;
|
|
613
|
+
title?: string | null | undefined;
|
|
614
|
+
authors?: string[] | null | undefined;
|
|
615
|
+
year?: number | null | undefined;
|
|
616
|
+
venue?: string | null | undefined;
|
|
617
|
+
url?: string | null | undefined;
|
|
618
|
+
bibtex?: string | null | undefined;
|
|
619
|
+
source?: string | null | undefined;
|
|
620
|
+
} | null | undefined;
|
|
621
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
622
|
+
doi?: string | null | undefined;
|
|
623
|
+
} | null | undefined>>>;
|
|
464
624
|
state: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
465
625
|
success: "success";
|
|
466
626
|
queued: "queued";
|
|
@@ -491,11 +651,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
491
651
|
parent?: Record<string, any> | undefined;
|
|
492
652
|
metadata?: {
|
|
493
653
|
members: string[];
|
|
494
|
-
doi_url?: string | null | undefined;
|
|
495
|
-
external_url?: string | null | undefined;
|
|
496
|
-
paper_url?: string | null | undefined;
|
|
497
|
-
github_url?: string | null | undefined;
|
|
498
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
499
654
|
source?: string | null | undefined;
|
|
500
655
|
reply_to_comment_id?: string | null | undefined;
|
|
501
656
|
} | undefined;
|
|
@@ -509,6 +664,25 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
509
664
|
} | null | undefined;
|
|
510
665
|
source?: "api" | "web" | undefined;
|
|
511
666
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
667
|
+
attribution?: {
|
|
668
|
+
originality: "original" | "derivative" | "third-party";
|
|
669
|
+
external_url?: string | null | undefined;
|
|
670
|
+
github_url?: string | null | undefined;
|
|
671
|
+
paper_url?: string | null | undefined;
|
|
672
|
+
doi_url?: string | null | undefined;
|
|
673
|
+
citation?: {
|
|
674
|
+
doi?: string | null | undefined;
|
|
675
|
+
title?: string | null | undefined;
|
|
676
|
+
authors?: string[] | null | undefined;
|
|
677
|
+
year?: number | null | undefined;
|
|
678
|
+
venue?: string | null | undefined;
|
|
679
|
+
url?: string | null | undefined;
|
|
680
|
+
bibtex?: string | null | undefined;
|
|
681
|
+
source?: string | null | undefined;
|
|
682
|
+
} | null | undefined;
|
|
683
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
684
|
+
doi?: string | null | undefined;
|
|
685
|
+
} | undefined;
|
|
512
686
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
513
687
|
parent_id?: string | null | undefined;
|
|
514
688
|
license_id?: string | undefined;
|
|
@@ -527,11 +701,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
527
701
|
parent?: Record<string, any> | undefined;
|
|
528
702
|
metadata?: {
|
|
529
703
|
members: string[];
|
|
530
|
-
doi_url?: string | null | undefined;
|
|
531
|
-
external_url?: string | null | undefined;
|
|
532
|
-
paper_url?: string | null | undefined;
|
|
533
|
-
github_url?: string | null | undefined;
|
|
534
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
535
704
|
source?: string | null | undefined;
|
|
536
705
|
reply_to_comment_id?: string | null | undefined;
|
|
537
706
|
} | undefined;
|
|
@@ -545,6 +714,25 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
545
714
|
} | null | undefined;
|
|
546
715
|
source?: "api" | "web" | undefined;
|
|
547
716
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
717
|
+
attribution?: {
|
|
718
|
+
originality: "original" | "derivative" | "third-party";
|
|
719
|
+
external_url?: string | null | undefined;
|
|
720
|
+
github_url?: string | null | undefined;
|
|
721
|
+
paper_url?: string | null | undefined;
|
|
722
|
+
doi_url?: string | null | undefined;
|
|
723
|
+
citation?: {
|
|
724
|
+
doi?: string | null | undefined;
|
|
725
|
+
title?: string | null | undefined;
|
|
726
|
+
authors?: string[] | null | undefined;
|
|
727
|
+
year?: number | null | undefined;
|
|
728
|
+
venue?: string | null | undefined;
|
|
729
|
+
url?: string | null | undefined;
|
|
730
|
+
bibtex?: string | null | undefined;
|
|
731
|
+
source?: string | null | undefined;
|
|
732
|
+
} | null | undefined;
|
|
733
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
734
|
+
doi?: string | null | undefined;
|
|
735
|
+
} | undefined;
|
|
548
736
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
549
737
|
parent_id?: string | null | undefined;
|
|
550
738
|
license_id?: string | undefined;
|
|
@@ -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-OBXAWON7.js';import'../chunk-LYP7DPZ3.js';import'../chunk-2BABFO5H.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 chunkY6EN5F74_cjs=require('../chunk-Y6EN5F74.cjs');require('../chunk-PPZZKUF6.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 chunkY6EN5F74_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkY6EN5F74_cjs.j}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|