@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/files.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ declare const FileSchema: z.ZodObject<{
|
|
|
207
207
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
208
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
209
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
-
attribution: z.
|
|
210
|
+
attribution: z.ZodObject<{
|
|
211
211
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
212
212
|
original: "original";
|
|
213
213
|
derivative: "derivative";
|
|
@@ -235,7 +235,7 @@ declare const FileSchema: z.ZodObject<{
|
|
|
235
235
|
IsIdenticalTo: "IsIdenticalTo";
|
|
236
236
|
}>>>;
|
|
237
237
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
-
}, z.core.$strip
|
|
238
|
+
}, z.core.$strip>;
|
|
239
239
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
240
240
|
state: z.ZodEnum<{
|
|
241
241
|
success: "success";
|
|
@@ -296,7 +296,24 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
296
296
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
297
297
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
298
298
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
299
|
-
|
|
299
|
+
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
300
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
301
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
302
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
303
|
+
name: z.ZodString;
|
|
304
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
306
|
+
api: "api";
|
|
307
|
+
web: "web";
|
|
308
|
+
}>>;
|
|
309
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
310
|
+
organization: "organization";
|
|
311
|
+
public: "public";
|
|
312
|
+
private: "private";
|
|
313
|
+
monetized: "monetized";
|
|
314
|
+
inherit: "inherit";
|
|
315
|
+
}>>>;
|
|
316
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
300
317
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
301
318
|
original: "original";
|
|
302
319
|
derivative: "derivative";
|
|
@@ -324,24 +341,43 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
324
341
|
IsIdenticalTo: "IsIdenticalTo";
|
|
325
342
|
}>>>;
|
|
326
343
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
-
}, z.core.$strip
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
344
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
345
|
+
originality: "original" | "derivative" | "third-party";
|
|
346
|
+
external_url?: string | null | undefined;
|
|
347
|
+
github_url?: string | null | undefined;
|
|
348
|
+
paper_url?: string | null | undefined;
|
|
349
|
+
doi_url?: string | null | undefined;
|
|
350
|
+
citation?: {
|
|
351
|
+
doi?: string | null | undefined;
|
|
352
|
+
title?: string | null | undefined;
|
|
353
|
+
authors?: string[] | null | undefined;
|
|
354
|
+
year?: number | null | undefined;
|
|
355
|
+
venue?: string | null | undefined;
|
|
356
|
+
url?: string | null | undefined;
|
|
357
|
+
bibtex?: string | null | undefined;
|
|
358
|
+
source?: string | null | undefined;
|
|
359
|
+
} | null | undefined;
|
|
360
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
361
|
+
doi?: string | null | undefined;
|
|
362
|
+
}, {
|
|
363
|
+
originality: "original" | "derivative" | "third-party";
|
|
364
|
+
external_url?: string | null | undefined;
|
|
365
|
+
github_url?: string | null | undefined;
|
|
366
|
+
paper_url?: string | null | undefined;
|
|
367
|
+
doi_url?: string | null | undefined;
|
|
368
|
+
citation?: {
|
|
369
|
+
doi?: string | null | undefined;
|
|
370
|
+
title?: string | null | undefined;
|
|
371
|
+
authors?: string[] | null | undefined;
|
|
372
|
+
year?: number | null | undefined;
|
|
373
|
+
venue?: string | null | undefined;
|
|
374
|
+
url?: string | null | undefined;
|
|
375
|
+
bibtex?: string | null | undefined;
|
|
376
|
+
source?: string | null | undefined;
|
|
377
|
+
} | null | undefined;
|
|
378
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
379
|
+
doi?: string | null | undefined;
|
|
380
|
+
} | null | undefined>>;
|
|
345
381
|
created_at: z.ZodDefault<z.ZodString>;
|
|
346
382
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
347
383
|
asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
|
|
@@ -389,7 +425,24 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
389
425
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
390
426
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
391
427
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
392
|
-
|
|
428
|
+
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
429
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
430
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
431
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
432
|
+
name: z.ZodString;
|
|
433
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
435
|
+
api: "api";
|
|
436
|
+
web: "web";
|
|
437
|
+
}>>;
|
|
438
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
439
|
+
organization: "organization";
|
|
440
|
+
public: "public";
|
|
441
|
+
private: "private";
|
|
442
|
+
monetized: "monetized";
|
|
443
|
+
inherit: "inherit";
|
|
444
|
+
}>>>;
|
|
445
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
393
446
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
394
447
|
original: "original";
|
|
395
448
|
derivative: "derivative";
|
|
@@ -417,24 +470,43 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
417
470
|
IsIdenticalTo: "IsIdenticalTo";
|
|
418
471
|
}>>>;
|
|
419
472
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
|
-
}, z.core.$strip
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
473
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
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
|
+
}, {
|
|
492
|
+
originality: "original" | "derivative" | "third-party";
|
|
493
|
+
external_url?: string | null | undefined;
|
|
494
|
+
github_url?: string | null | undefined;
|
|
495
|
+
paper_url?: string | null | undefined;
|
|
496
|
+
doi_url?: string | null | undefined;
|
|
497
|
+
citation?: {
|
|
498
|
+
doi?: string | null | undefined;
|
|
499
|
+
title?: string | null | undefined;
|
|
500
|
+
authors?: string[] | null | undefined;
|
|
501
|
+
year?: number | null | undefined;
|
|
502
|
+
venue?: string | null | undefined;
|
|
503
|
+
url?: string | null | undefined;
|
|
504
|
+
bibtex?: string | null | undefined;
|
|
505
|
+
source?: string | null | undefined;
|
|
506
|
+
} | null | undefined;
|
|
507
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
508
|
+
doi?: string | null | undefined;
|
|
509
|
+
} | null | undefined>>;
|
|
438
510
|
created_at: z.ZodDefault<z.ZodString>;
|
|
439
511
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
440
512
|
asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
|
|
@@ -451,6 +523,25 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
451
523
|
name: string;
|
|
452
524
|
source: "api" | "web";
|
|
453
525
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
526
|
+
attribution: {
|
|
527
|
+
originality: "original" | "derivative" | "third-party";
|
|
528
|
+
external_url?: string | null | undefined;
|
|
529
|
+
github_url?: string | null | undefined;
|
|
530
|
+
paper_url?: string | null | undefined;
|
|
531
|
+
doi_url?: string | null | undefined;
|
|
532
|
+
citation?: {
|
|
533
|
+
doi?: string | null | undefined;
|
|
534
|
+
title?: string | null | undefined;
|
|
535
|
+
authors?: string[] | null | undefined;
|
|
536
|
+
year?: number | null | undefined;
|
|
537
|
+
venue?: string | null | undefined;
|
|
538
|
+
url?: string | null | undefined;
|
|
539
|
+
bibtex?: string | null | undefined;
|
|
540
|
+
source?: string | null | undefined;
|
|
541
|
+
} | null | undefined;
|
|
542
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
543
|
+
doi?: string | null | undefined;
|
|
544
|
+
};
|
|
454
545
|
created_at: string;
|
|
455
546
|
last_updated: string;
|
|
456
547
|
asset_type: "file";
|
|
@@ -484,7 +575,16 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
484
575
|
stripe_product_id?: string | null | undefined;
|
|
485
576
|
stripe_price_id?: string | null | undefined;
|
|
486
577
|
stripe_meter_id?: string | null | undefined;
|
|
487
|
-
|
|
578
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
579
|
+
name_url_slug?: string | null | undefined;
|
|
580
|
+
} | {
|
|
581
|
+
id: string;
|
|
582
|
+
team_id: string | null;
|
|
583
|
+
org_id: string | null;
|
|
584
|
+
name: string;
|
|
585
|
+
source: "api" | "web";
|
|
586
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
587
|
+
attribution: {
|
|
488
588
|
originality: "original" | "derivative" | "third-party";
|
|
489
589
|
external_url?: string | null | undefined;
|
|
490
590
|
github_url?: string | null | undefined;
|
|
@@ -502,16 +602,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
502
602
|
} | null | undefined;
|
|
503
603
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
504
604
|
doi?: string | null | undefined;
|
|
505
|
-
}
|
|
506
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
507
|
-
name_url_slug?: string | null | undefined;
|
|
508
|
-
} | {
|
|
509
|
-
id: string;
|
|
510
|
-
team_id: string | null;
|
|
511
|
-
org_id: string | null;
|
|
512
|
-
name: string;
|
|
513
|
-
source: "api" | "web";
|
|
514
|
-
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
605
|
+
};
|
|
515
606
|
created_at: string;
|
|
516
607
|
last_updated: string;
|
|
517
608
|
asset_type: "file";
|
|
@@ -537,7 +628,16 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
537
628
|
stripe_product_id?: string | null | undefined;
|
|
538
629
|
stripe_price_id?: string | null | undefined;
|
|
539
630
|
stripe_meter_id?: string | null | undefined;
|
|
540
|
-
|
|
631
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
632
|
+
name_url_slug?: string | null | undefined;
|
|
633
|
+
}, {
|
|
634
|
+
id: string;
|
|
635
|
+
team_id: string | null;
|
|
636
|
+
org_id: string | null;
|
|
637
|
+
name: string;
|
|
638
|
+
source: "api" | "web";
|
|
639
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
640
|
+
attribution: {
|
|
541
641
|
originality: "original" | "derivative" | "third-party";
|
|
542
642
|
external_url?: string | null | undefined;
|
|
543
643
|
github_url?: string | null | undefined;
|
|
@@ -555,16 +655,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
555
655
|
} | null | undefined;
|
|
556
656
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
557
657
|
doi?: string | null | undefined;
|
|
558
|
-
}
|
|
559
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
560
|
-
name_url_slug?: string | null | undefined;
|
|
561
|
-
}, {
|
|
562
|
-
id: string;
|
|
563
|
-
team_id: string | null;
|
|
564
|
-
org_id: string | null;
|
|
565
|
-
name: string;
|
|
566
|
-
source: "api" | "web";
|
|
567
|
-
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
658
|
+
};
|
|
568
659
|
created_at: string;
|
|
569
660
|
last_updated: string;
|
|
570
661
|
asset_type: "file";
|
|
@@ -598,7 +689,16 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
598
689
|
stripe_product_id?: string | null | undefined;
|
|
599
690
|
stripe_price_id?: string | null | undefined;
|
|
600
691
|
stripe_meter_id?: string | null | undefined;
|
|
601
|
-
|
|
692
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
693
|
+
name_url_slug?: string | null | undefined;
|
|
694
|
+
} | {
|
|
695
|
+
id: string;
|
|
696
|
+
team_id: string | null;
|
|
697
|
+
org_id: string | null;
|
|
698
|
+
name: string;
|
|
699
|
+
source: "api" | "web";
|
|
700
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
701
|
+
attribution: {
|
|
602
702
|
originality: "original" | "derivative" | "third-party";
|
|
603
703
|
external_url?: string | null | undefined;
|
|
604
704
|
github_url?: string | null | undefined;
|
|
@@ -616,16 +716,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
616
716
|
} | null | undefined;
|
|
617
717
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
618
718
|
doi?: string | null | undefined;
|
|
619
|
-
}
|
|
620
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
621
|
-
name_url_slug?: string | null | undefined;
|
|
622
|
-
} | {
|
|
623
|
-
id: string;
|
|
624
|
-
team_id: string | null;
|
|
625
|
-
org_id: string | null;
|
|
626
|
-
name: string;
|
|
627
|
-
source: "api" | "web";
|
|
628
|
-
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
719
|
+
};
|
|
629
720
|
created_at: string;
|
|
630
721
|
last_updated: string;
|
|
631
722
|
asset_type: "file";
|
|
@@ -651,25 +742,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
651
742
|
stripe_product_id?: string | null | undefined;
|
|
652
743
|
stripe_price_id?: string | null | undefined;
|
|
653
744
|
stripe_meter_id?: string | null | undefined;
|
|
654
|
-
attribution?: {
|
|
655
|
-
originality: "original" | "derivative" | "third-party";
|
|
656
|
-
external_url?: string | null | undefined;
|
|
657
|
-
github_url?: string | null | undefined;
|
|
658
|
-
paper_url?: string | null | undefined;
|
|
659
|
-
doi_url?: string | null | undefined;
|
|
660
|
-
citation?: {
|
|
661
|
-
doi?: string | null | undefined;
|
|
662
|
-
title?: string | null | undefined;
|
|
663
|
-
authors?: string[] | null | undefined;
|
|
664
|
-
year?: number | null | undefined;
|
|
665
|
-
venue?: string | null | undefined;
|
|
666
|
-
url?: string | null | undefined;
|
|
667
|
-
bibtex?: string | null | undefined;
|
|
668
|
-
source?: string | null | undefined;
|
|
669
|
-
} | null | undefined;
|
|
670
|
-
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
671
|
-
doi?: string | null | undefined;
|
|
672
|
-
} | null | undefined;
|
|
673
745
|
preview?: Record<string, any>[] | null | undefined;
|
|
674
746
|
name_url_slug?: string | null | undefined;
|
|
675
747
|
}>>;
|
|
@@ -715,32 +787,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
715
787
|
"pay-to-unlock": "pay-to-unlock";
|
|
716
788
|
"pay-per-use": "pay-per-use";
|
|
717
789
|
}>>;
|
|
718
|
-
|
|
719
|
-
success: "success";
|
|
720
|
-
queued: "queued";
|
|
721
|
-
"in-progress": "in-progress";
|
|
722
|
-
"timed-out": "timed-out";
|
|
723
|
-
error: "error";
|
|
724
|
-
}>>;
|
|
725
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
726
|
-
license_id: z.ZodOptional<z.ZodString>;
|
|
727
|
-
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
728
|
-
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
729
|
-
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
730
|
-
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
731
|
-
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
732
|
-
fixed: "fixed";
|
|
733
|
-
variable: "variable";
|
|
734
|
-
}>>>>;
|
|
735
|
-
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
736
|
-
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
737
|
-
usd: "usd";
|
|
738
|
-
btc: "btc";
|
|
739
|
-
}>>>;
|
|
740
|
-
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
741
|
-
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
742
|
-
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
743
|
-
attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
790
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
744
791
|
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
745
792
|
original: "original";
|
|
746
793
|
derivative: "derivative";
|
|
@@ -768,7 +815,32 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
768
815
|
IsIdenticalTo: "IsIdenticalTo";
|
|
769
816
|
}>>>;
|
|
770
817
|
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
|
-
}, z.core.$strip
|
|
818
|
+
}, z.core.$strip>>;
|
|
819
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
820
|
+
success: "success";
|
|
821
|
+
queued: "queued";
|
|
822
|
+
"in-progress": "in-progress";
|
|
823
|
+
"timed-out": "timed-out";
|
|
824
|
+
error: "error";
|
|
825
|
+
}>>;
|
|
826
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
827
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
828
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
829
|
+
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
830
|
+
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
831
|
+
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
832
|
+
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
833
|
+
fixed: "fixed";
|
|
834
|
+
variable: "variable";
|
|
835
|
+
}>>>>;
|
|
836
|
+
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
837
|
+
price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
838
|
+
usd: "usd";
|
|
839
|
+
btc: "btc";
|
|
840
|
+
}>>>;
|
|
841
|
+
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
842
|
+
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
843
|
+
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
772
844
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
773
845
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
774
846
|
}, z.core.$strip>, z.ZodTransform<{
|
|
@@ -798,19 +870,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
798
870
|
} | null | undefined;
|
|
799
871
|
source?: "api" | "web" | undefined;
|
|
800
872
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
801
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
802
|
-
parent_id?: string | null | undefined;
|
|
803
|
-
license_id?: string | undefined;
|
|
804
|
-
license?: Record<string, any> | undefined;
|
|
805
|
-
name_url_slug?: string | null | undefined;
|
|
806
|
-
price?: number | null | undefined;
|
|
807
|
-
unit_cost?: number | null | undefined;
|
|
808
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
809
|
-
cost_unit?: string | null | undefined;
|
|
810
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
811
|
-
stripe_product_id?: string | null | undefined;
|
|
812
|
-
stripe_price_id?: string | null | undefined;
|
|
813
|
-
stripe_meter_id?: string | null | undefined;
|
|
814
873
|
attribution?: {
|
|
815
874
|
originality: "original" | "derivative" | "third-party";
|
|
816
875
|
external_url?: string | null | undefined;
|
|
@@ -829,7 +888,20 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
829
888
|
} | null | undefined;
|
|
830
889
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
831
890
|
doi?: string | null | undefined;
|
|
832
|
-
} |
|
|
891
|
+
} | undefined;
|
|
892
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
893
|
+
parent_id?: string | null | undefined;
|
|
894
|
+
license_id?: string | undefined;
|
|
895
|
+
license?: Record<string, any> | undefined;
|
|
896
|
+
name_url_slug?: string | null | undefined;
|
|
897
|
+
price?: number | null | undefined;
|
|
898
|
+
unit_cost?: number | null | undefined;
|
|
899
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
900
|
+
cost_unit?: string | null | undefined;
|
|
901
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
902
|
+
stripe_product_id?: string | null | undefined;
|
|
903
|
+
stripe_price_id?: string | null | undefined;
|
|
904
|
+
stripe_meter_id?: string | null | undefined;
|
|
833
905
|
preview?: Record<string, any>[] | null | undefined;
|
|
834
906
|
}, {
|
|
835
907
|
last_updated: string;
|
|
@@ -858,19 +930,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
858
930
|
} | null | undefined;
|
|
859
931
|
source?: "api" | "web" | undefined;
|
|
860
932
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
861
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
862
|
-
parent_id?: string | null | undefined;
|
|
863
|
-
license_id?: string | undefined;
|
|
864
|
-
license?: Record<string, any> | undefined;
|
|
865
|
-
name_url_slug?: string | null | undefined;
|
|
866
|
-
price?: number | null | undefined;
|
|
867
|
-
unit_cost?: number | null | undefined;
|
|
868
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
869
|
-
cost_unit?: string | null | undefined;
|
|
870
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
871
|
-
stripe_product_id?: string | null | undefined;
|
|
872
|
-
stripe_price_id?: string | null | undefined;
|
|
873
|
-
stripe_meter_id?: string | null | undefined;
|
|
874
933
|
attribution?: {
|
|
875
934
|
originality: "original" | "derivative" | "third-party";
|
|
876
935
|
external_url?: string | null | undefined;
|
|
@@ -889,7 +948,20 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
889
948
|
} | null | undefined;
|
|
890
949
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
891
950
|
doi?: string | null | undefined;
|
|
892
|
-
} |
|
|
951
|
+
} | undefined;
|
|
952
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
953
|
+
parent_id?: string | null | undefined;
|
|
954
|
+
license_id?: string | undefined;
|
|
955
|
+
license?: Record<string, any> | undefined;
|
|
956
|
+
name_url_slug?: string | null | undefined;
|
|
957
|
+
price?: number | null | undefined;
|
|
958
|
+
unit_cost?: number | null | undefined;
|
|
959
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
960
|
+
cost_unit?: string | null | undefined;
|
|
961
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
962
|
+
stripe_product_id?: string | null | undefined;
|
|
963
|
+
stripe_price_id?: string | null | undefined;
|
|
964
|
+
stripe_meter_id?: string | null | undefined;
|
|
893
965
|
preview?: Record<string, any>[] | null | undefined;
|
|
894
966
|
}>>;
|
|
895
967
|
|
package/dist/schema/files.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-
|
|
1
|
+
export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-YXVAFJZH.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=files.js.map
|
|
2
2
|
//# sourceMappingURL=files.js.map
|
package/dist/schema/posts.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkPN763DHR_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,"ContentSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkPN763DHR_cjs.h}});//# sourceMappingURL=posts.cjs.map
|
|
2
2
|
//# sourceMappingURL=posts.cjs.map
|