@ourofoundation/ouro-js 3.7.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-HW6FGPTA.cjs → chunk-2KXX5JF6.cjs} +2 -2
- package/dist/{chunk-HW6FGPTA.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
- package/dist/{chunk-QSOXS57A.cjs → chunk-G5V2WTN5.cjs} +2 -2
- package/dist/{chunk-QSOXS57A.cjs.map → chunk-G5V2WTN5.cjs.map} +1 -1
- package/dist/chunk-IL3WA4D7.js +2 -0
- package/dist/{chunk-QBL6KIST.js.map → chunk-IL3WA4D7.js.map} +1 -1
- package/dist/chunk-LYP7DPZ3.js +2 -0
- package/dist/{chunk-7EKD5NQB.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-IVO3RQUN.cjs → chunk-O5CY3JW3.cjs} +2 -2
- package/dist/{chunk-IVO3RQUN.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
- package/dist/{chunk-JUELSRCY.js → chunk-OBXAWON7.js} +2 -2
- package/dist/{chunk-JUELSRCY.js.map → chunk-OBXAWON7.js.map} +1 -1
- package/dist/{chunk-DY5QSBE4.js → chunk-OWS6VJJ2.js} +2 -2
- package/dist/{chunk-DY5QSBE4.js.map → chunk-OWS6VJJ2.js.map} +1 -1
- package/dist/{chunk-NTWSEN2H.cjs → chunk-PN763DHR.cjs} +2 -2
- package/dist/{chunk-NTWSEN2H.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
- package/dist/{chunk-5EQ5LO7V.cjs → chunk-PPZZKUF6.cjs} +2 -2
- 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-ZC2VDKSH.js.map → chunk-R7YOQNVS.js.map} +1 -1
- package/dist/{chunk-TMNFNVTZ.js → chunk-S5VZHGMV.js} +2 -2
- package/dist/{chunk-TMNFNVTZ.js.map → chunk-S5VZHGMV.js.map} +1 -1
- package/dist/{chunk-QNERXSMJ.cjs → chunk-VPYKCTVU.cjs} +2 -2
- package/dist/{chunk-QNERXSMJ.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
- package/dist/{chunk-AI2FA44G.cjs → chunk-Y6EN5F74.cjs} +2 -2
- package/dist/{chunk-AI2FA44G.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
- package/dist/{chunk-57RRLX7P.cjs → chunk-YCK6Y3BF.cjs} +2 -2
- package/dist/{chunk-57RRLX7P.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
- package/dist/{chunk-RD6EPK44.js → chunk-YXVAFJZH.js} +2 -2
- package/dist/{chunk-RD6EPK44.js.map → chunk-YXVAFJZH.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +123 -84
- package/dist/schema/assets.d.ts +123 -84
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +78 -42
- package/dist/schema/comments.d.ts +78 -42
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +173 -101
- package/dist/schema/conversations.d.ts +173 -101
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +239 -167
- package/dist/schema/datasets.d.ts +239 -167
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +219 -147
- package/dist/schema/files.d.ts +219 -147
- package/dist/schema/files.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +152 -116
- package/dist/schema/posts.d.ts +152 -116
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +156 -120
- package/dist/schema/quests.d.ts +156 -120
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +156 -120
- package/dist/schema/services.d.ts +156 -120
- package/dist/schema/services.js +1 -1
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-5EQ5LO7V.cjs.map +0 -1
- package/dist/chunk-7EKD5NQB.js +0 -2
- package/dist/chunk-ITF5WQQB.js +0 -2
- package/dist/chunk-ITF5WQQB.js.map +0 -1
- package/dist/chunk-QBL6KIST.js +0 -2
- package/dist/chunk-SY5IKIT6.cjs +0 -2
- package/dist/chunk-SY5IKIT6.cjs.map +0 -1
- package/dist/chunk-TGOXRPF5.js +0 -2
- package/dist/chunk-TGOXRPF5.js.map +0 -1
- package/dist/chunk-ZC2VDKSH.js +0 -2
package/dist/schema/assets.d.ts
CHANGED
|
@@ -282,7 +282,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
282
282
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
283
|
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
284
|
}, z.core.$strip>>>;
|
|
285
|
-
attribution: z.
|
|
285
|
+
attribution: z.ZodObject<{
|
|
286
286
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
287
287
|
original: "original";
|
|
288
288
|
derivative: "derivative";
|
|
@@ -310,7 +310,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
310
310
|
IsIdenticalTo: "IsIdenticalTo";
|
|
311
311
|
}>>>;
|
|
312
312
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
|
-
}, z.core.$strip
|
|
313
|
+
}, z.core.$strip>;
|
|
314
314
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
315
315
|
state: z.ZodEnum<{
|
|
316
316
|
success: "success";
|
|
@@ -327,6 +327,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
327
327
|
created_at: z.ZodString;
|
|
328
328
|
last_updated: z.ZodString;
|
|
329
329
|
}, z.core.$strip>;
|
|
330
|
+
declare const DEFAULT_ATTRIBUTION: {
|
|
331
|
+
originality: "original";
|
|
332
|
+
};
|
|
330
333
|
declare const CreateAssetSchema: z.ZodObject<{
|
|
331
334
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
332
335
|
user: "user";
|
|
@@ -371,7 +374,31 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
371
374
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
372
375
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
373
376
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
374
|
-
|
|
377
|
+
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
378
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
379
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
380
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
381
|
+
name: z.ZodString;
|
|
382
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
|
+
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
success: "success";
|
|
385
|
+
queued: "queued";
|
|
386
|
+
"in-progress": "in-progress";
|
|
387
|
+
"timed-out": "timed-out";
|
|
388
|
+
error: "error";
|
|
389
|
+
}>>>;
|
|
390
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
391
|
+
api: "api";
|
|
392
|
+
web: "web";
|
|
393
|
+
}>>;
|
|
394
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
395
|
+
organization: "organization";
|
|
396
|
+
public: "public";
|
|
397
|
+
private: "private";
|
|
398
|
+
monetized: "monetized";
|
|
399
|
+
inherit: "inherit";
|
|
400
|
+
}>>>;
|
|
401
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
375
402
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
376
403
|
original: "original";
|
|
377
404
|
derivative: "derivative";
|
|
@@ -399,31 +426,43 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
399
426
|
IsIdenticalTo: "IsIdenticalTo";
|
|
400
427
|
}>>>;
|
|
401
428
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
-
}, z.core.$strip
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
429
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
430
|
+
originality: "original" | "derivative" | "third-party";
|
|
431
|
+
external_url?: string | null | undefined;
|
|
432
|
+
github_url?: string | null | undefined;
|
|
433
|
+
paper_url?: string | null | undefined;
|
|
434
|
+
doi_url?: string | null | undefined;
|
|
435
|
+
citation?: {
|
|
436
|
+
doi?: string | null | undefined;
|
|
437
|
+
title?: string | null | undefined;
|
|
438
|
+
authors?: string[] | null | undefined;
|
|
439
|
+
year?: number | null | undefined;
|
|
440
|
+
venue?: string | null | undefined;
|
|
441
|
+
url?: string | null | undefined;
|
|
442
|
+
bibtex?: string | null | undefined;
|
|
443
|
+
source?: string | null | undefined;
|
|
444
|
+
} | null | undefined;
|
|
445
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
446
|
+
doi?: string | null | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
originality: "original" | "derivative" | "third-party";
|
|
449
|
+
external_url?: string | null | undefined;
|
|
450
|
+
github_url?: string | null | undefined;
|
|
451
|
+
paper_url?: string | null | undefined;
|
|
452
|
+
doi_url?: string | null | undefined;
|
|
453
|
+
citation?: {
|
|
454
|
+
doi?: string | null | undefined;
|
|
455
|
+
title?: string | null | undefined;
|
|
456
|
+
authors?: string[] | null | undefined;
|
|
457
|
+
year?: number | null | undefined;
|
|
458
|
+
venue?: string | null | undefined;
|
|
459
|
+
url?: string | null | undefined;
|
|
460
|
+
bibtex?: string | null | undefined;
|
|
461
|
+
source?: string | null | undefined;
|
|
462
|
+
} | null | undefined;
|
|
463
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
464
|
+
doi?: string | null | undefined;
|
|
465
|
+
} | null | undefined>>;
|
|
427
466
|
created_at: z.ZodDefault<z.ZodString>;
|
|
428
467
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
429
468
|
}, z.core.$strip>;
|
|
@@ -470,32 +509,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
470
509
|
"pay-to-unlock": "pay-to-unlock";
|
|
471
510
|
"pay-per-use": "pay-per-use";
|
|
472
511
|
}>>;
|
|
473
|
-
|
|
474
|
-
success: "success";
|
|
475
|
-
queued: "queued";
|
|
476
|
-
"in-progress": "in-progress";
|
|
477
|
-
"timed-out": "timed-out";
|
|
478
|
-
error: "error";
|
|
479
|
-
}>>;
|
|
480
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
481
|
-
license_id: z.ZodOptional<z.ZodString>;
|
|
482
|
-
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
483
|
-
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
484
|
-
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
485
|
-
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
486
|
-
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
487
|
-
fixed: "fixed";
|
|
488
|
-
variable: "variable";
|
|
489
|
-
}>>>>;
|
|
490
|
-
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
491
|
-
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
492
|
-
usd: "usd";
|
|
493
|
-
btc: "btc";
|
|
494
|
-
}>>>;
|
|
495
|
-
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
496
|
-
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
497
|
-
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
498
|
-
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
512
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
499
513
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
500
514
|
original: "original";
|
|
501
515
|
derivative: "derivative";
|
|
@@ -523,7 +537,32 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
523
537
|
IsIdenticalTo: "IsIdenticalTo";
|
|
524
538
|
}>>>;
|
|
525
539
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
|
-
}, z.core.$strip
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
542
|
+
success: "success";
|
|
543
|
+
queued: "queued";
|
|
544
|
+
"in-progress": "in-progress";
|
|
545
|
+
"timed-out": "timed-out";
|
|
546
|
+
error: "error";
|
|
547
|
+
}>>;
|
|
548
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
549
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
550
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
551
|
+
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
552
|
+
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
553
|
+
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
554
|
+
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
555
|
+
fixed: "fixed";
|
|
556
|
+
variable: "variable";
|
|
557
|
+
}>>>>;
|
|
558
|
+
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
559
|
+
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
usd: "usd";
|
|
561
|
+
btc: "btc";
|
|
562
|
+
}>>>;
|
|
563
|
+
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
564
|
+
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
565
|
+
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
527
566
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
528
567
|
}, z.core.$strip>, z.ZodTransform<{
|
|
529
568
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
@@ -543,19 +582,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
543
582
|
} | null | undefined;
|
|
544
583
|
source?: "api" | "web" | undefined;
|
|
545
584
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
546
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
547
|
-
parent_id?: string | null | undefined;
|
|
548
|
-
license_id?: string | undefined;
|
|
549
|
-
license?: Record<string, any> | undefined;
|
|
550
|
-
name_url_slug?: string | null | undefined;
|
|
551
|
-
price?: number | null | undefined;
|
|
552
|
-
unit_cost?: number | null | undefined;
|
|
553
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
554
|
-
cost_unit?: string | null | undefined;
|
|
555
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
556
|
-
stripe_product_id?: string | null | undefined;
|
|
557
|
-
stripe_price_id?: string | null | undefined;
|
|
558
|
-
stripe_meter_id?: string | null | undefined;
|
|
559
585
|
attribution?: {
|
|
560
586
|
originality: "original" | "derivative" | "third-party";
|
|
561
587
|
external_url?: string | null | undefined;
|
|
@@ -574,7 +600,20 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
574
600
|
} | null | undefined;
|
|
575
601
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
576
602
|
doi?: string | null | undefined;
|
|
577
|
-
} |
|
|
603
|
+
} | undefined;
|
|
604
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
605
|
+
parent_id?: string | null | undefined;
|
|
606
|
+
license_id?: string | undefined;
|
|
607
|
+
license?: Record<string, any> | undefined;
|
|
608
|
+
name_url_slug?: string | null | undefined;
|
|
609
|
+
price?: number | null | undefined;
|
|
610
|
+
unit_cost?: number | null | undefined;
|
|
611
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
612
|
+
cost_unit?: string | null | undefined;
|
|
613
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
614
|
+
stripe_product_id?: string | null | undefined;
|
|
615
|
+
stripe_price_id?: string | null | undefined;
|
|
616
|
+
stripe_meter_id?: string | null | undefined;
|
|
578
617
|
preview?: Record<string, any>[] | null | undefined;
|
|
579
618
|
}, {
|
|
580
619
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
@@ -594,19 +633,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
594
633
|
} | null | undefined;
|
|
595
634
|
source?: "api" | "web" | undefined;
|
|
596
635
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
597
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
598
|
-
parent_id?: string | null | undefined;
|
|
599
|
-
license_id?: string | undefined;
|
|
600
|
-
license?: Record<string, any> | undefined;
|
|
601
|
-
name_url_slug?: string | null | undefined;
|
|
602
|
-
price?: number | null | undefined;
|
|
603
|
-
unit_cost?: number | null | undefined;
|
|
604
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
605
|
-
cost_unit?: string | null | undefined;
|
|
606
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
607
|
-
stripe_product_id?: string | null | undefined;
|
|
608
|
-
stripe_price_id?: string | null | undefined;
|
|
609
|
-
stripe_meter_id?: string | null | undefined;
|
|
610
636
|
attribution?: {
|
|
611
637
|
originality: "original" | "derivative" | "third-party";
|
|
612
638
|
external_url?: string | null | undefined;
|
|
@@ -625,7 +651,20 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
625
651
|
} | null | undefined;
|
|
626
652
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
627
653
|
doi?: string | null | undefined;
|
|
628
|
-
} |
|
|
654
|
+
} | undefined;
|
|
655
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
656
|
+
parent_id?: string | null | undefined;
|
|
657
|
+
license_id?: string | undefined;
|
|
658
|
+
license?: Record<string, any> | undefined;
|
|
659
|
+
name_url_slug?: string | null | undefined;
|
|
660
|
+
price?: number | null | undefined;
|
|
661
|
+
unit_cost?: number | null | undefined;
|
|
662
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
663
|
+
cost_unit?: string | null | undefined;
|
|
664
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
665
|
+
stripe_product_id?: string | null | undefined;
|
|
666
|
+
stripe_price_id?: string | null | undefined;
|
|
667
|
+
stripe_meter_id?: string | null | undefined;
|
|
629
668
|
preview?: Record<string, any>[] | null | undefined;
|
|
630
669
|
}>>;
|
|
631
670
|
|
|
@@ -637,4 +676,4 @@ type Asset = z.infer<typeof AssetSchema>;
|
|
|
637
676
|
type CreateAsset = z.infer<typeof CreateAssetSchema>;
|
|
638
677
|
type UpdateAsset = z.infer<typeof UpdateAssetSchema>;
|
|
639
678
|
|
|
640
|
-
export { type Asset, type AssetMetadata, AssetMetadataSchema, AssetSchema, type Attribution, AttributionSchema, type Citation, CitationSchema, type CreateAsset, CreateAssetSchema, type RelationType, RelationTypeSchema, type UpdateAsset, UpdateAssetSchema, normalizeAssetConfigForParsing };
|
|
679
|
+
export { type Asset, type AssetMetadata, AssetMetadataSchema, AssetSchema, type Attribution, AttributionSchema, type Citation, CitationSchema, type CreateAsset, CreateAssetSchema, DEFAULT_ATTRIBUTION, type RelationType, RelationTypeSchema, type UpdateAsset, UpdateAssetSchema, normalizeAssetConfigForParsing };
|
package/dist/schema/assets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,
|
|
1
|
+
export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,h as CreateAssetSchema,g as DEFAULT_ATTRIBUTION,c as RelationTypeSchema,i as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-2BABFO5H.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=assets.js.map
|
|
2
2
|
//# sourceMappingURL=assets.js.map
|
package/dist/schema/comments.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkQJG6O5OT_cjs=require('../chunk-QJG6O5OT.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,"CommentSchema",{enumerable:true,get:function(){return chunkQJG6O5OT_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkQJG6O5OT_cjs.b}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|
|
@@ -211,7 +211,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
211
211
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
212
|
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
213
|
}, z.core.$strip>>>;
|
|
214
|
-
attribution: z.
|
|
214
|
+
attribution: z.ZodObject<{
|
|
215
215
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
216
216
|
original: "original";
|
|
217
217
|
derivative: "derivative";
|
|
@@ -239,7 +239,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
239
239
|
IsIdenticalTo: "IsIdenticalTo";
|
|
240
240
|
}>>>;
|
|
241
241
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
-
}, z.core.$strip
|
|
242
|
+
}, z.core.$strip>;
|
|
243
243
|
state: z.ZodEnum<{
|
|
244
244
|
success: "success";
|
|
245
245
|
queued: "queued";
|
|
@@ -479,7 +479,15 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
479
479
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
480
480
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
481
481
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
482
|
-
|
|
482
|
+
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
483
|
+
type: z.ZodString;
|
|
484
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
485
|
+
}, z.core.$strip>>>>>;
|
|
486
|
+
is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
487
|
+
asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
|
|
488
|
+
id: z.ZodDefault<z.ZodString>;
|
|
489
|
+
name: z.ZodDefault<z.ZodString>;
|
|
490
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
483
491
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
484
492
|
original: "original";
|
|
485
493
|
derivative: "derivative";
|
|
@@ -507,21 +515,68 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
507
515
|
IsIdenticalTo: "IsIdenticalTo";
|
|
508
516
|
}>>>;
|
|
509
517
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
-
}, z.core.$strip
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
518
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
519
|
+
originality: "original" | "derivative" | "third-party";
|
|
520
|
+
external_url?: string | null | undefined;
|
|
521
|
+
github_url?: string | null | undefined;
|
|
522
|
+
paper_url?: string | null | undefined;
|
|
523
|
+
doi_url?: string | null | undefined;
|
|
524
|
+
citation?: {
|
|
525
|
+
doi?: string | null | undefined;
|
|
526
|
+
title?: string | null | undefined;
|
|
527
|
+
authors?: string[] | null | undefined;
|
|
528
|
+
year?: number | null | undefined;
|
|
529
|
+
venue?: string | null | undefined;
|
|
530
|
+
url?: string | null | undefined;
|
|
531
|
+
bibtex?: string | null | undefined;
|
|
532
|
+
source?: string | null | undefined;
|
|
533
|
+
} | null | undefined;
|
|
534
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
535
|
+
doi?: string | null | undefined;
|
|
536
|
+
}, {
|
|
537
|
+
originality: "original" | "derivative" | "third-party";
|
|
538
|
+
external_url?: string | null | undefined;
|
|
539
|
+
github_url?: string | null | undefined;
|
|
540
|
+
paper_url?: string | null | undefined;
|
|
541
|
+
doi_url?: string | null | undefined;
|
|
542
|
+
citation?: {
|
|
543
|
+
doi?: string | null | undefined;
|
|
544
|
+
title?: string | null | undefined;
|
|
545
|
+
authors?: string[] | null | undefined;
|
|
546
|
+
year?: number | null | undefined;
|
|
547
|
+
venue?: string | null | undefined;
|
|
548
|
+
url?: string | null | undefined;
|
|
549
|
+
bibtex?: string | null | undefined;
|
|
550
|
+
source?: string | null | undefined;
|
|
551
|
+
} | null | undefined;
|
|
552
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
553
|
+
doi?: string | null | undefined;
|
|
554
|
+
} | null | undefined>>;
|
|
519
555
|
created_at: z.ZodDefault<z.ZodString>;
|
|
520
556
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
521
557
|
}, z.core.$strip>, z.ZodTransform<{
|
|
522
558
|
asset_type: "comment";
|
|
523
559
|
id: string;
|
|
524
560
|
name: string;
|
|
561
|
+
attribution: {
|
|
562
|
+
originality: "original" | "derivative" | "third-party";
|
|
563
|
+
external_url?: string | null | undefined;
|
|
564
|
+
github_url?: string | null | undefined;
|
|
565
|
+
paper_url?: string | null | undefined;
|
|
566
|
+
doi_url?: string | null | undefined;
|
|
567
|
+
citation?: {
|
|
568
|
+
doi?: string | null | undefined;
|
|
569
|
+
title?: string | null | undefined;
|
|
570
|
+
authors?: string[] | null | undefined;
|
|
571
|
+
year?: number | null | undefined;
|
|
572
|
+
venue?: string | null | undefined;
|
|
573
|
+
url?: string | null | undefined;
|
|
574
|
+
bibtex?: string | null | undefined;
|
|
575
|
+
source?: string | null | undefined;
|
|
576
|
+
} | null | undefined;
|
|
577
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
578
|
+
doi?: string | null | undefined;
|
|
579
|
+
};
|
|
525
580
|
created_at: string;
|
|
526
581
|
last_updated: string;
|
|
527
582
|
user?: {
|
|
@@ -648,7 +703,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
648
703
|
stripe_product_id?: string | null | undefined;
|
|
649
704
|
stripe_price_id?: string | null | undefined;
|
|
650
705
|
stripe_meter_id?: string | null | undefined;
|
|
651
|
-
|
|
706
|
+
preview?: {
|
|
707
|
+
type: string;
|
|
708
|
+
content: Record<string, any>[];
|
|
709
|
+
} | null | undefined;
|
|
710
|
+
is_pinned_in_team?: boolean | undefined;
|
|
711
|
+
}, {
|
|
712
|
+
asset_type: "comment";
|
|
713
|
+
id: string;
|
|
714
|
+
name: string;
|
|
715
|
+
attribution: {
|
|
652
716
|
originality: "original" | "derivative" | "third-party";
|
|
653
717
|
external_url?: string | null | undefined;
|
|
654
718
|
github_url?: string | null | undefined;
|
|
@@ -666,16 +730,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
666
730
|
} | null | undefined;
|
|
667
731
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
668
732
|
doi?: string | null | undefined;
|
|
669
|
-
}
|
|
670
|
-
preview?: {
|
|
671
|
-
type: string;
|
|
672
|
-
content: Record<string, any>[];
|
|
673
|
-
} | null | undefined;
|
|
674
|
-
is_pinned_in_team?: boolean | undefined;
|
|
675
|
-
}, {
|
|
676
|
-
asset_type: "comment";
|
|
677
|
-
id: string;
|
|
678
|
-
name: string;
|
|
733
|
+
};
|
|
679
734
|
created_at: string;
|
|
680
735
|
last_updated: string;
|
|
681
736
|
user?: {
|
|
@@ -802,25 +857,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
802
857
|
stripe_product_id?: string | null | undefined;
|
|
803
858
|
stripe_price_id?: string | null | undefined;
|
|
804
859
|
stripe_meter_id?: string | null | undefined;
|
|
805
|
-
attribution?: {
|
|
806
|
-
originality: "original" | "derivative" | "third-party";
|
|
807
|
-
external_url?: string | null | undefined;
|
|
808
|
-
github_url?: string | null | undefined;
|
|
809
|
-
paper_url?: string | null | undefined;
|
|
810
|
-
doi_url?: string | null | undefined;
|
|
811
|
-
citation?: {
|
|
812
|
-
doi?: string | null | undefined;
|
|
813
|
-
title?: string | null | undefined;
|
|
814
|
-
authors?: string[] | null | undefined;
|
|
815
|
-
year?: number | null | undefined;
|
|
816
|
-
venue?: string | null | undefined;
|
|
817
|
-
url?: string | null | undefined;
|
|
818
|
-
bibtex?: string | null | undefined;
|
|
819
|
-
source?: string | null | undefined;
|
|
820
|
-
} | null | undefined;
|
|
821
|
-
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
822
|
-
doi?: string | null | undefined;
|
|
823
|
-
} | null | undefined;
|
|
824
860
|
preview?: {
|
|
825
861
|
type: string;
|
|
826
862
|
content: Record<string, any>[];
|
|
@@ -211,7 +211,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
211
211
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
212
|
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
213
|
}, z.core.$strip>>>;
|
|
214
|
-
attribution: z.
|
|
214
|
+
attribution: z.ZodObject<{
|
|
215
215
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
216
216
|
original: "original";
|
|
217
217
|
derivative: "derivative";
|
|
@@ -239,7 +239,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
239
239
|
IsIdenticalTo: "IsIdenticalTo";
|
|
240
240
|
}>>>;
|
|
241
241
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
-
}, z.core.$strip
|
|
242
|
+
}, z.core.$strip>;
|
|
243
243
|
state: z.ZodEnum<{
|
|
244
244
|
success: "success";
|
|
245
245
|
queued: "queued";
|
|
@@ -479,7 +479,15 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
479
479
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
480
480
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
481
481
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
482
|
-
|
|
482
|
+
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
483
|
+
type: z.ZodString;
|
|
484
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
485
|
+
}, z.core.$strip>>>>>;
|
|
486
|
+
is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
487
|
+
asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
|
|
488
|
+
id: z.ZodDefault<z.ZodString>;
|
|
489
|
+
name: z.ZodDefault<z.ZodString>;
|
|
490
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
483
491
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
484
492
|
original: "original";
|
|
485
493
|
derivative: "derivative";
|
|
@@ -507,21 +515,68 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
507
515
|
IsIdenticalTo: "IsIdenticalTo";
|
|
508
516
|
}>>>;
|
|
509
517
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
-
}, z.core.$strip
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
518
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
519
|
+
originality: "original" | "derivative" | "third-party";
|
|
520
|
+
external_url?: string | null | undefined;
|
|
521
|
+
github_url?: string | null | undefined;
|
|
522
|
+
paper_url?: string | null | undefined;
|
|
523
|
+
doi_url?: string | null | undefined;
|
|
524
|
+
citation?: {
|
|
525
|
+
doi?: string | null | undefined;
|
|
526
|
+
title?: string | null | undefined;
|
|
527
|
+
authors?: string[] | null | undefined;
|
|
528
|
+
year?: number | null | undefined;
|
|
529
|
+
venue?: string | null | undefined;
|
|
530
|
+
url?: string | null | undefined;
|
|
531
|
+
bibtex?: string | null | undefined;
|
|
532
|
+
source?: string | null | undefined;
|
|
533
|
+
} | null | undefined;
|
|
534
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
535
|
+
doi?: string | null | undefined;
|
|
536
|
+
}, {
|
|
537
|
+
originality: "original" | "derivative" | "third-party";
|
|
538
|
+
external_url?: string | null | undefined;
|
|
539
|
+
github_url?: string | null | undefined;
|
|
540
|
+
paper_url?: string | null | undefined;
|
|
541
|
+
doi_url?: string | null | undefined;
|
|
542
|
+
citation?: {
|
|
543
|
+
doi?: string | null | undefined;
|
|
544
|
+
title?: string | null | undefined;
|
|
545
|
+
authors?: string[] | null | undefined;
|
|
546
|
+
year?: number | null | undefined;
|
|
547
|
+
venue?: string | null | undefined;
|
|
548
|
+
url?: string | null | undefined;
|
|
549
|
+
bibtex?: string | null | undefined;
|
|
550
|
+
source?: string | null | undefined;
|
|
551
|
+
} | null | undefined;
|
|
552
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
553
|
+
doi?: string | null | undefined;
|
|
554
|
+
} | null | undefined>>;
|
|
519
555
|
created_at: z.ZodDefault<z.ZodString>;
|
|
520
556
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
521
557
|
}, z.core.$strip>, z.ZodTransform<{
|
|
522
558
|
asset_type: "comment";
|
|
523
559
|
id: string;
|
|
524
560
|
name: string;
|
|
561
|
+
attribution: {
|
|
562
|
+
originality: "original" | "derivative" | "third-party";
|
|
563
|
+
external_url?: string | null | undefined;
|
|
564
|
+
github_url?: string | null | undefined;
|
|
565
|
+
paper_url?: string | null | undefined;
|
|
566
|
+
doi_url?: string | null | undefined;
|
|
567
|
+
citation?: {
|
|
568
|
+
doi?: string | null | undefined;
|
|
569
|
+
title?: string | null | undefined;
|
|
570
|
+
authors?: string[] | null | undefined;
|
|
571
|
+
year?: number | null | undefined;
|
|
572
|
+
venue?: string | null | undefined;
|
|
573
|
+
url?: string | null | undefined;
|
|
574
|
+
bibtex?: string | null | undefined;
|
|
575
|
+
source?: string | null | undefined;
|
|
576
|
+
} | null | undefined;
|
|
577
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
578
|
+
doi?: string | null | undefined;
|
|
579
|
+
};
|
|
525
580
|
created_at: string;
|
|
526
581
|
last_updated: string;
|
|
527
582
|
user?: {
|
|
@@ -648,7 +703,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
648
703
|
stripe_product_id?: string | null | undefined;
|
|
649
704
|
stripe_price_id?: string | null | undefined;
|
|
650
705
|
stripe_meter_id?: string | null | undefined;
|
|
651
|
-
|
|
706
|
+
preview?: {
|
|
707
|
+
type: string;
|
|
708
|
+
content: Record<string, any>[];
|
|
709
|
+
} | null | undefined;
|
|
710
|
+
is_pinned_in_team?: boolean | undefined;
|
|
711
|
+
}, {
|
|
712
|
+
asset_type: "comment";
|
|
713
|
+
id: string;
|
|
714
|
+
name: string;
|
|
715
|
+
attribution: {
|
|
652
716
|
originality: "original" | "derivative" | "third-party";
|
|
653
717
|
external_url?: string | null | undefined;
|
|
654
718
|
github_url?: string | null | undefined;
|
|
@@ -666,16 +730,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
666
730
|
} | null | undefined;
|
|
667
731
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
668
732
|
doi?: string | null | undefined;
|
|
669
|
-
}
|
|
670
|
-
preview?: {
|
|
671
|
-
type: string;
|
|
672
|
-
content: Record<string, any>[];
|
|
673
|
-
} | null | undefined;
|
|
674
|
-
is_pinned_in_team?: boolean | undefined;
|
|
675
|
-
}, {
|
|
676
|
-
asset_type: "comment";
|
|
677
|
-
id: string;
|
|
678
|
-
name: string;
|
|
733
|
+
};
|
|
679
734
|
created_at: string;
|
|
680
735
|
last_updated: string;
|
|
681
736
|
user?: {
|
|
@@ -802,25 +857,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
802
857
|
stripe_product_id?: string | null | undefined;
|
|
803
858
|
stripe_price_id?: string | null | undefined;
|
|
804
859
|
stripe_meter_id?: string | null | undefined;
|
|
805
|
-
attribution?: {
|
|
806
|
-
originality: "original" | "derivative" | "third-party";
|
|
807
|
-
external_url?: string | null | undefined;
|
|
808
|
-
github_url?: string | null | undefined;
|
|
809
|
-
paper_url?: string | null | undefined;
|
|
810
|
-
doi_url?: string | null | undefined;
|
|
811
|
-
citation?: {
|
|
812
|
-
doi?: string | null | undefined;
|
|
813
|
-
title?: string | null | undefined;
|
|
814
|
-
authors?: string[] | null | undefined;
|
|
815
|
-
year?: number | null | undefined;
|
|
816
|
-
venue?: string | null | undefined;
|
|
817
|
-
url?: string | null | undefined;
|
|
818
|
-
bibtex?: string | null | undefined;
|
|
819
|
-
source?: string | null | undefined;
|
|
820
|
-
} | null | undefined;
|
|
821
|
-
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
822
|
-
doi?: string | null | undefined;
|
|
823
|
-
} | null | undefined;
|
|
824
860
|
preview?: {
|
|
825
861
|
type: string;
|
|
826
862
|
content: Record<string, any>[];
|
package/dist/schema/comments.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-
|
|
1
|
+
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-N74Y47X7.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=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk2KXX5JF6_cjs=require('../chunk-2KXX5JF6.cjs');require('../chunk-PN763DHR.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,"ConversationSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.c}});//# sourceMappingURL=conversations.cjs.map
|
|
2
2
|
//# sourceMappingURL=conversations.cjs.map
|