@ourofoundation/ouro-js 3.7.0 → 3.7.2
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-CPA7CZ7T.cjs +2 -0
- package/dist/chunk-CPA7CZ7T.cjs.map +1 -0
- 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-MWNVL2DD.js +2 -0
- package/dist/chunk-MWNVL2DD.js.map +1 -0
- 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/events.cjs +1 -1
- package/dist/schema/events.d.cts +6 -1
- package/dist/schema/events.d.ts +6 -1
- package/dist/schema/events.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-FLOHG4H4.cjs +0 -2
- package/dist/chunk-FLOHG4H4.cjs.map +0 -1
- 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-X2PI5PAT.js +0 -2
- package/dist/chunk-X2PI5PAT.js.map +0 -1
- package/dist/chunk-ZC2VDKSH.js +0 -2
package/dist/schema/posts.d.ts
CHANGED
|
@@ -217,7 +217,7 @@ declare const PostSchema: z.ZodObject<{
|
|
|
217
217
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
218
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
219
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
-
attribution: z.
|
|
220
|
+
attribution: z.ZodObject<{
|
|
221
221
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
222
222
|
original: "original";
|
|
223
223
|
derivative: "derivative";
|
|
@@ -245,7 +245,7 @@ declare const PostSchema: z.ZodObject<{
|
|
|
245
245
|
IsIdenticalTo: "IsIdenticalTo";
|
|
246
246
|
}>>>;
|
|
247
247
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
-
}, z.core.$strip
|
|
248
|
+
}, z.core.$strip>;
|
|
249
249
|
state: z.ZodEnum<{
|
|
250
250
|
success: "success";
|
|
251
251
|
queued: "queued";
|
|
@@ -321,7 +321,29 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
321
321
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
322
322
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
323
323
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
324
|
-
|
|
324
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
325
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
326
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
327
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
329
|
+
success: "success";
|
|
330
|
+
queued: "queued";
|
|
331
|
+
"in-progress": "in-progress";
|
|
332
|
+
"timed-out": "timed-out";
|
|
333
|
+
error: "error";
|
|
334
|
+
}>>>;
|
|
335
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
336
|
+
api: "api";
|
|
337
|
+
web: "web";
|
|
338
|
+
}>>;
|
|
339
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
340
|
+
organization: "organization";
|
|
341
|
+
public: "public";
|
|
342
|
+
private: "private";
|
|
343
|
+
monetized: "monetized";
|
|
344
|
+
inherit: "inherit";
|
|
345
|
+
}>>>;
|
|
346
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
325
347
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
326
348
|
original: "original";
|
|
327
349
|
derivative: "derivative";
|
|
@@ -349,29 +371,43 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
349
371
|
IsIdenticalTo: "IsIdenticalTo";
|
|
350
372
|
}>>>;
|
|
351
373
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
352
|
-
}, z.core.$strip
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
374
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
375
|
+
originality: "original" | "derivative" | "third-party";
|
|
376
|
+
external_url?: string | null | undefined;
|
|
377
|
+
github_url?: string | null | undefined;
|
|
378
|
+
paper_url?: string | null | undefined;
|
|
379
|
+
doi_url?: string | null | undefined;
|
|
380
|
+
citation?: {
|
|
381
|
+
doi?: string | null | undefined;
|
|
382
|
+
title?: string | null | undefined;
|
|
383
|
+
authors?: string[] | null | undefined;
|
|
384
|
+
year?: number | null | undefined;
|
|
385
|
+
venue?: string | null | undefined;
|
|
386
|
+
url?: string | null | undefined;
|
|
387
|
+
bibtex?: string | null | undefined;
|
|
388
|
+
source?: string | null | undefined;
|
|
389
|
+
} | null | undefined;
|
|
390
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
391
|
+
doi?: string | null | undefined;
|
|
392
|
+
}, {
|
|
393
|
+
originality: "original" | "derivative" | "third-party";
|
|
394
|
+
external_url?: string | null | undefined;
|
|
395
|
+
github_url?: string | null | undefined;
|
|
396
|
+
paper_url?: string | null | undefined;
|
|
397
|
+
doi_url?: string | null | undefined;
|
|
398
|
+
citation?: {
|
|
399
|
+
doi?: string | null | undefined;
|
|
400
|
+
title?: string | null | undefined;
|
|
401
|
+
authors?: string[] | null | undefined;
|
|
402
|
+
year?: number | null | undefined;
|
|
403
|
+
venue?: string | null | undefined;
|
|
404
|
+
url?: string | null | undefined;
|
|
405
|
+
bibtex?: string | null | undefined;
|
|
406
|
+
source?: string | null | undefined;
|
|
407
|
+
} | null | undefined;
|
|
408
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
409
|
+
doi?: string | null | undefined;
|
|
410
|
+
} | null | undefined>>;
|
|
375
411
|
created_at: z.ZodDefault<z.ZodString>;
|
|
376
412
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
377
413
|
asset_type: z.ZodDefault<z.ZodLiteral<"post">>;
|
|
@@ -387,6 +423,25 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
387
423
|
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
388
424
|
source: "api" | "web";
|
|
389
425
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
426
|
+
attribution: {
|
|
427
|
+
originality: "original" | "derivative" | "third-party";
|
|
428
|
+
external_url?: string | null | undefined;
|
|
429
|
+
github_url?: string | null | undefined;
|
|
430
|
+
paper_url?: string | null | undefined;
|
|
431
|
+
doi_url?: string | null | undefined;
|
|
432
|
+
citation?: {
|
|
433
|
+
doi?: string | null | undefined;
|
|
434
|
+
title?: string | null | undefined;
|
|
435
|
+
authors?: string[] | null | undefined;
|
|
436
|
+
year?: number | null | undefined;
|
|
437
|
+
venue?: string | null | undefined;
|
|
438
|
+
url?: string | null | undefined;
|
|
439
|
+
bibtex?: string | null | undefined;
|
|
440
|
+
source?: string | null | undefined;
|
|
441
|
+
} | null | undefined;
|
|
442
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
443
|
+
doi?: string | null | undefined;
|
|
444
|
+
};
|
|
390
445
|
created_at: string;
|
|
391
446
|
last_updated: string;
|
|
392
447
|
asset_type: "post";
|
|
@@ -415,7 +470,15 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
415
470
|
stripe_product_id?: string | null | undefined;
|
|
416
471
|
stripe_price_id?: string | null | undefined;
|
|
417
472
|
stripe_meter_id?: string | null | undefined;
|
|
418
|
-
|
|
473
|
+
name_url_slug?: string | null | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
id: string;
|
|
476
|
+
team_id: string | null;
|
|
477
|
+
org_id: string | null;
|
|
478
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
479
|
+
source: "api" | "web";
|
|
480
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
481
|
+
attribution: {
|
|
419
482
|
originality: "original" | "derivative" | "third-party";
|
|
420
483
|
external_url?: string | null | undefined;
|
|
421
484
|
github_url?: string | null | undefined;
|
|
@@ -433,15 +496,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
433
496
|
} | null | undefined;
|
|
434
497
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
435
498
|
doi?: string | null | undefined;
|
|
436
|
-
}
|
|
437
|
-
name_url_slug?: string | null | undefined;
|
|
438
|
-
}, {
|
|
439
|
-
id: string;
|
|
440
|
-
team_id: string | null;
|
|
441
|
-
org_id: string | null;
|
|
442
|
-
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
443
|
-
source: "api" | "web";
|
|
444
|
-
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
499
|
+
};
|
|
445
500
|
created_at: string;
|
|
446
501
|
last_updated: string;
|
|
447
502
|
asset_type: "post";
|
|
@@ -470,25 +525,6 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
470
525
|
stripe_product_id?: string | null | undefined;
|
|
471
526
|
stripe_price_id?: string | null | undefined;
|
|
472
527
|
stripe_meter_id?: string | null | undefined;
|
|
473
|
-
attribution?: {
|
|
474
|
-
originality: "original" | "derivative" | "third-party";
|
|
475
|
-
external_url?: string | null | undefined;
|
|
476
|
-
github_url?: string | null | undefined;
|
|
477
|
-
paper_url?: string | null | undefined;
|
|
478
|
-
doi_url?: string | null | undefined;
|
|
479
|
-
citation?: {
|
|
480
|
-
doi?: string | null | undefined;
|
|
481
|
-
title?: string | null | undefined;
|
|
482
|
-
authors?: string[] | null | undefined;
|
|
483
|
-
year?: number | null | undefined;
|
|
484
|
-
venue?: string | null | undefined;
|
|
485
|
-
url?: string | null | undefined;
|
|
486
|
-
bibtex?: string | null | undefined;
|
|
487
|
-
source?: string | null | undefined;
|
|
488
|
-
} | null | undefined;
|
|
489
|
-
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
490
|
-
doi?: string | null | undefined;
|
|
491
|
-
} | null | undefined;
|
|
492
528
|
name_url_slug?: string | null | undefined;
|
|
493
529
|
}>>;
|
|
494
530
|
declare const ReadPostSchema: z.ZodObject<{
|
|
@@ -697,7 +733,7 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
697
733
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
698
734
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
699
735
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
700
|
-
attribution: z.
|
|
736
|
+
attribution: z.ZodObject<{
|
|
701
737
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
702
738
|
original: "original";
|
|
703
739
|
derivative: "derivative";
|
|
@@ -725,7 +761,7 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
725
761
|
IsIdenticalTo: "IsIdenticalTo";
|
|
726
762
|
}>>>;
|
|
727
763
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
728
|
-
}, z.core.$strip
|
|
764
|
+
}, z.core.$strip>;
|
|
729
765
|
state: z.ZodEnum<{
|
|
730
766
|
success: "success";
|
|
731
767
|
queued: "queued";
|
|
@@ -979,7 +1015,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
979
1015
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
980
1016
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
981
1017
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
982
|
-
attribution: z.
|
|
1018
|
+
attribution: z.ZodObject<{
|
|
983
1019
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
984
1020
|
original: "original";
|
|
985
1021
|
derivative: "derivative";
|
|
@@ -1007,7 +1043,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1007
1043
|
IsIdenticalTo: "IsIdenticalTo";
|
|
1008
1044
|
}>>>;
|
|
1009
1045
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1010
|
-
}, z.core.$strip
|
|
1046
|
+
}, z.core.$strip>;
|
|
1011
1047
|
state: z.ZodEnum<{
|
|
1012
1048
|
success: "success";
|
|
1013
1049
|
queued: "queued";
|
|
@@ -1261,7 +1297,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1261
1297
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1262
1298
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1263
1299
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1264
|
-
attribution: z.
|
|
1300
|
+
attribution: z.ZodObject<{
|
|
1265
1301
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1266
1302
|
original: "original";
|
|
1267
1303
|
derivative: "derivative";
|
|
@@ -1289,7 +1325,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1289
1325
|
IsIdenticalTo: "IsIdenticalTo";
|
|
1290
1326
|
}>>>;
|
|
1291
1327
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1292
|
-
}, z.core.$strip
|
|
1328
|
+
}, z.core.$strip>;
|
|
1293
1329
|
state: z.ZodEnum<{
|
|
1294
1330
|
success: "success";
|
|
1295
1331
|
queued: "queued";
|
|
@@ -1376,32 +1412,7 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1376
1412
|
"pay-to-unlock": "pay-to-unlock";
|
|
1377
1413
|
"pay-per-use": "pay-per-use";
|
|
1378
1414
|
}>>;
|
|
1379
|
-
|
|
1380
|
-
success: "success";
|
|
1381
|
-
queued: "queued";
|
|
1382
|
-
"in-progress": "in-progress";
|
|
1383
|
-
"timed-out": "timed-out";
|
|
1384
|
-
error: "error";
|
|
1385
|
-
}>>;
|
|
1386
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
1387
|
-
license_id: z.ZodOptional<z.ZodString>;
|
|
1388
|
-
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1389
|
-
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1390
|
-
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1391
|
-
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1392
|
-
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1393
|
-
fixed: "fixed";
|
|
1394
|
-
variable: "variable";
|
|
1395
|
-
}>>>>;
|
|
1396
|
-
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1397
|
-
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1398
|
-
usd: "usd";
|
|
1399
|
-
btc: "btc";
|
|
1400
|
-
}>>>;
|
|
1401
|
-
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1402
|
-
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1403
|
-
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1404
|
-
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1415
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
1405
1416
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1406
1417
|
original: "original";
|
|
1407
1418
|
derivative: "derivative";
|
|
@@ -1429,7 +1440,32 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1429
1440
|
IsIdenticalTo: "IsIdenticalTo";
|
|
1430
1441
|
}>>>;
|
|
1431
1442
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1432
|
-
}, z.core.$strip
|
|
1443
|
+
}, z.core.$strip>>;
|
|
1444
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
1445
|
+
success: "success";
|
|
1446
|
+
queued: "queued";
|
|
1447
|
+
"in-progress": "in-progress";
|
|
1448
|
+
"timed-out": "timed-out";
|
|
1449
|
+
error: "error";
|
|
1450
|
+
}>>;
|
|
1451
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
1452
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1454
|
+
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1455
|
+
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1456
|
+
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1457
|
+
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1458
|
+
fixed: "fixed";
|
|
1459
|
+
variable: "variable";
|
|
1460
|
+
}>>>>;
|
|
1461
|
+
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1462
|
+
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1463
|
+
usd: "usd";
|
|
1464
|
+
btc: "btc";
|
|
1465
|
+
}>>>;
|
|
1466
|
+
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1467
|
+
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1468
|
+
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1433
1469
|
preview: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1434
1470
|
type: z.ZodLiteral<"doc">;
|
|
1435
1471
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1453,19 +1489,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1453
1489
|
} | null | undefined;
|
|
1454
1490
|
source?: "api" | "web" | undefined;
|
|
1455
1491
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1456
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1457
|
-
parent_id?: string | null | undefined;
|
|
1458
|
-
license_id?: string | undefined;
|
|
1459
|
-
license?: Record<string, any> | undefined;
|
|
1460
|
-
name_url_slug?: string | null | undefined;
|
|
1461
|
-
price?: number | null | undefined;
|
|
1462
|
-
unit_cost?: number | null | undefined;
|
|
1463
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1464
|
-
cost_unit?: string | null | undefined;
|
|
1465
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
1466
|
-
stripe_product_id?: string | null | undefined;
|
|
1467
|
-
stripe_price_id?: string | null | undefined;
|
|
1468
|
-
stripe_meter_id?: string | null | undefined;
|
|
1469
1492
|
attribution?: {
|
|
1470
1493
|
originality: "original" | "derivative" | "third-party";
|
|
1471
1494
|
external_url?: string | null | undefined;
|
|
@@ -1484,7 +1507,20 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1484
1507
|
} | null | undefined;
|
|
1485
1508
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
1486
1509
|
doi?: string | null | undefined;
|
|
1487
|
-
} |
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1512
|
+
parent_id?: string | null | undefined;
|
|
1513
|
+
license_id?: string | undefined;
|
|
1514
|
+
license?: Record<string, any> | undefined;
|
|
1515
|
+
name_url_slug?: string | null | undefined;
|
|
1516
|
+
price?: number | null | undefined;
|
|
1517
|
+
unit_cost?: number | null | undefined;
|
|
1518
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1519
|
+
cost_unit?: string | null | undefined;
|
|
1520
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
1521
|
+
stripe_product_id?: string | null | undefined;
|
|
1522
|
+
stripe_price_id?: string | null | undefined;
|
|
1523
|
+
stripe_meter_id?: string | null | undefined;
|
|
1488
1524
|
preview?: {
|
|
1489
1525
|
type: "doc";
|
|
1490
1526
|
content: any[];
|
|
@@ -1507,19 +1543,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1507
1543
|
} | null | undefined;
|
|
1508
1544
|
source?: "api" | "web" | undefined;
|
|
1509
1545
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1510
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1511
|
-
parent_id?: string | null | undefined;
|
|
1512
|
-
license_id?: string | undefined;
|
|
1513
|
-
license?: Record<string, any> | undefined;
|
|
1514
|
-
name_url_slug?: string | null | undefined;
|
|
1515
|
-
price?: number | null | undefined;
|
|
1516
|
-
unit_cost?: number | null | undefined;
|
|
1517
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1518
|
-
cost_unit?: string | null | undefined;
|
|
1519
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
1520
|
-
stripe_product_id?: string | null | undefined;
|
|
1521
|
-
stripe_price_id?: string | null | undefined;
|
|
1522
|
-
stripe_meter_id?: string | null | undefined;
|
|
1523
1546
|
attribution?: {
|
|
1524
1547
|
originality: "original" | "derivative" | "third-party";
|
|
1525
1548
|
external_url?: string | null | undefined;
|
|
@@ -1538,7 +1561,20 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1538
1561
|
} | null | undefined;
|
|
1539
1562
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
1540
1563
|
doi?: string | null | undefined;
|
|
1541
|
-
} |
|
|
1564
|
+
} | undefined;
|
|
1565
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
1566
|
+
parent_id?: string | null | undefined;
|
|
1567
|
+
license_id?: string | undefined;
|
|
1568
|
+
license?: Record<string, any> | undefined;
|
|
1569
|
+
name_url_slug?: string | null | undefined;
|
|
1570
|
+
price?: number | null | undefined;
|
|
1571
|
+
unit_cost?: number | null | undefined;
|
|
1572
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1573
|
+
cost_unit?: string | null | undefined;
|
|
1574
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
1575
|
+
stripe_product_id?: string | null | undefined;
|
|
1576
|
+
stripe_price_id?: string | null | undefined;
|
|
1577
|
+
stripe_meter_id?: string | null | undefined;
|
|
1542
1578
|
preview?: {
|
|
1543
1579
|
type: "doc";
|
|
1544
1580
|
content: any[];
|
package/dist/schema/posts.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../chunk-
|
|
1
|
+
export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../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=posts.js.map
|
|
2
2
|
//# sourceMappingURL=posts.js.map
|
package/dist/schema/quests.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkO5CY3JW3_cjs=require('../chunk-O5CY3JW3.cjs'),chunkVPYKCTVU_cjs=require('../chunk-VPYKCTVU.cjs');require('../chunk-G5V2WTN5.cjs'),require('../chunk-KHERHT26.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,"CreateEntrySchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.p}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.i}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.j}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.l}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.o}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.f}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.g}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.h}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.k}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.q}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.n}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkO5CY3JW3_cjs.m}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkVPYKCTVU_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkVPYKCTVU_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkVPYKCTVU_cjs.d}});//# sourceMappingURL=quests.cjs.map
|
|
2
2
|
//# sourceMappingURL=quests.cjs.map
|