@ourofoundation/ouro-js 3.7.3 → 3.7.8
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-WRHPQNEL.js → chunk-3BZRQYRC.js} +2 -2
- package/dist/chunk-3BZRQYRC.js.map +1 -0
- package/dist/{chunk-F7W5ETUD.js → chunk-3C7PGJ33.js} +2 -2
- package/dist/{chunk-F7W5ETUD.js.map → chunk-3C7PGJ33.js.map} +1 -1
- package/dist/{chunk-ODFKZL7T.js → chunk-3OUJXTJZ.js} +2 -2
- package/dist/{chunk-ODFKZL7T.js.map → chunk-3OUJXTJZ.js.map} +1 -1
- package/dist/chunk-3RFYEL3A.cjs +2 -0
- package/dist/chunk-3RFYEL3A.cjs.map +1 -0
- package/dist/chunk-42ADEGDM.js +2 -0
- package/dist/chunk-42ADEGDM.js.map +1 -0
- package/dist/{chunk-4IMLVBKS.js → chunk-42WKTHH5.js} +2 -2
- package/dist/{chunk-4IMLVBKS.js.map → chunk-42WKTHH5.js.map} +1 -1
- package/dist/chunk-4NAPVNIX.js +2 -0
- package/dist/chunk-4NAPVNIX.js.map +1 -0
- package/dist/chunk-66AAHP6X.cjs +2 -0
- package/dist/chunk-66AAHP6X.cjs.map +1 -0
- package/dist/{chunk-Q6VQANTI.cjs → chunk-7YG2YDXN.cjs} +2 -2
- package/dist/{chunk-Q6VQANTI.cjs.map → chunk-7YG2YDXN.cjs.map} +1 -1
- package/dist/{chunk-4BJJ7VCS.js → chunk-ASLHRT77.js} +2 -2
- package/dist/{chunk-4BJJ7VCS.js.map → chunk-ASLHRT77.js.map} +1 -1
- package/dist/chunk-B3OK6NNR.cjs +2 -0
- package/dist/chunk-B3OK6NNR.cjs.map +1 -0
- package/dist/chunk-CRUIBV5F.js +2 -0
- package/dist/chunk-CRUIBV5F.js.map +1 -0
- package/dist/chunk-CW4TV3DY.js +2 -0
- package/dist/chunk-CW4TV3DY.js.map +1 -0
- package/dist/chunk-EMDUI7HF.js +2 -0
- package/dist/chunk-EMDUI7HF.js.map +1 -0
- package/dist/chunk-EVQAA7RQ.cjs +2 -0
- package/dist/chunk-EVQAA7RQ.cjs.map +1 -0
- package/dist/chunk-FJTFM3ML.cjs +2 -0
- package/dist/chunk-FJTFM3ML.cjs.map +1 -0
- package/dist/chunk-JRBBNFFI.cjs +2 -0
- package/dist/chunk-JRBBNFFI.cjs.map +1 -0
- package/dist/chunk-KHUEMWG2.js +2 -0
- package/dist/chunk-KHUEMWG2.js.map +1 -0
- package/dist/chunk-LD5G6GFH.cjs +2 -0
- package/dist/chunk-LD5G6GFH.cjs.map +1 -0
- package/dist/chunk-LGJ2LLH6.js +2 -0
- package/dist/chunk-LGJ2LLH6.js.map +1 -0
- package/dist/{chunk-43KB23BA.cjs → chunk-MNECKGIP.cjs} +2 -2
- package/dist/chunk-MNECKGIP.cjs.map +1 -0
- package/dist/chunk-NAISOUTE.cjs +2 -0
- package/dist/chunk-NAISOUTE.cjs.map +1 -0
- package/dist/{chunk-PE7JS2HJ.js → chunk-PB4XG5WM.js} +2 -2
- package/dist/{chunk-PE7JS2HJ.js.map → chunk-PB4XG5WM.js.map} +1 -1
- package/dist/{chunk-SAREC2M2.cjs → chunk-QWD7POET.cjs} +2 -2
- package/dist/{chunk-SAREC2M2.cjs.map → chunk-QWD7POET.cjs.map} +1 -1
- package/dist/{chunk-FPZA5343.cjs → chunk-UDTRH3OQ.cjs} +2 -2
- package/dist/{chunk-FPZA5343.cjs.map → chunk-UDTRH3OQ.cjs.map} +1 -1
- package/dist/chunk-UVVPXYJA.cjs +2 -0
- package/dist/chunk-UVVPXYJA.cjs.map +1 -0
- package/dist/chunk-W3N744QV.js +2 -0
- package/dist/chunk-W3N744QV.js.map +1 -0
- package/dist/chunk-W6AKVS4L.cjs +2 -0
- package/dist/chunk-W6AKVS4L.cjs.map +1 -0
- package/dist/{chunk-RJX57RHG.cjs → chunk-W6MBAIKZ.cjs} +2 -2
- package/dist/{chunk-RJX57RHG.cjs.map → chunk-W6MBAIKZ.cjs.map} +1 -1
- package/dist/chunk-XVN3DFMT.js +2 -0
- package/dist/chunk-XVN3DFMT.js.map +1 -0
- package/dist/chunk-Y6TOO6ET.js +2 -0
- package/dist/chunk-Y6TOO6ET.js.map +1 -0
- package/dist/chunk-YTIUJ72Q.js +2 -0
- package/dist/chunk-YTIUJ72Q.js.map +1 -0
- package/dist/chunk-Z66O3S3W.cjs +2 -0
- package/dist/chunk-Z66O3S3W.cjs.map +1 -0
- package/dist/{chunk-R736Q46O.cjs → chunk-ZRJUBEIK.cjs} +2 -2
- package/dist/{chunk-R736Q46O.cjs.map → chunk-ZRJUBEIK.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.cjs +2 -0
- package/dist/schema/asset-filters.cjs.map +1 -0
- package/dist/schema/asset-filters.d.cts +145 -0
- package/dist/schema/asset-filters.d.ts +145 -0
- package/dist/schema/asset-filters.js +2 -0
- package/dist/schema/asset-filters.js.map +1 -0
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +63 -63
- package/dist/schema/assets.d.ts +63 -63
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +654 -55
- package/dist/schema/comments.d.ts +654 -55
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +18 -10
- package/dist/schema/common.d.ts +18 -10
- package/dist/schema/common.js +1 -1
- package/dist/schema/content-refs.cjs +2 -0
- package/dist/schema/content-refs.cjs.map +1 -0
- package/dist/schema/content-refs.d.cts +18 -0
- package/dist/schema/content-refs.d.ts +18 -0
- package/dist/schema/content-refs.js +2 -0
- package/dist/schema/content-refs.js.map +1 -0
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +360 -54
- package/dist/schema/conversations.d.ts +360 -54
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +137 -137
- package/dist/schema/datasets.d.ts +137 -137
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +88 -88
- package/dist/schema/files.d.ts +88 -88
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +3417 -41
- package/dist/schema/notifications.d.ts +3417 -41
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +697 -85
- package/dist/schema/posts.d.ts +697 -85
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +278 -289
- package/dist/schema/quests.d.ts +278 -289
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +2197 -118
- package/dist/schema/services.d.ts +2197 -118
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +29 -15
- package/dist/schema/teams.d.ts +29 -15
- package/dist/schema/teams.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +13 -1
- package/dist/utils/air/index.d.ts +13 -1
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/asset-filters.cjs +2 -0
- package/dist/utils/asset-filters.cjs.map +1 -0
- package/dist/utils/asset-filters.d.cts +15 -0
- package/dist/utils/asset-filters.d.ts +15 -0
- package/dist/utils/asset-filters.js +2 -0
- package/dist/utils/asset-filters.js.map +1 -0
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +6 -6
- package/dist/utils/quest-submission.d.ts +6 -6
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2EXUO67W.cjs +0 -2
- package/dist/chunk-2EXUO67W.cjs.map +0 -1
- package/dist/chunk-43KB23BA.cjs.map +0 -1
- package/dist/chunk-4K6R6FZD.cjs +0 -2
- package/dist/chunk-4K6R6FZD.cjs.map +0 -1
- package/dist/chunk-AWBCE7ME.cjs +0 -2
- package/dist/chunk-AWBCE7ME.cjs.map +0 -1
- package/dist/chunk-E4ZLYXHD.cjs +0 -2
- package/dist/chunk-E4ZLYXHD.cjs.map +0 -1
- package/dist/chunk-G5YNDO2B.cjs +0 -2
- package/dist/chunk-G5YNDO2B.cjs.map +0 -1
- package/dist/chunk-GSUGFBTH.js +0 -2
- package/dist/chunk-GSUGFBTH.js.map +0 -1
- package/dist/chunk-GTFGYJSD.js +0 -2
- package/dist/chunk-GTFGYJSD.js.map +0 -1
- package/dist/chunk-HBCNAVZP.js +0 -2
- package/dist/chunk-HBCNAVZP.js.map +0 -1
- package/dist/chunk-J2BGBOOC.cjs +0 -2
- package/dist/chunk-J2BGBOOC.cjs.map +0 -1
- package/dist/chunk-JISPX5A6.js +0 -2
- package/dist/chunk-JISPX5A6.js.map +0 -1
- package/dist/chunk-P7N5DY3B.cjs +0 -2
- package/dist/chunk-P7N5DY3B.cjs.map +0 -1
- package/dist/chunk-PAACMXYE.cjs +0 -2
- package/dist/chunk-PAACMXYE.cjs.map +0 -1
- package/dist/chunk-T3HVRQBB.js +0 -2
- package/dist/chunk-T3HVRQBB.js.map +0 -1
- package/dist/chunk-WFGZLHG2.js +0 -2
- package/dist/chunk-WFGZLHG2.js.map +0 -1
- package/dist/chunk-WRHPQNEL.js.map +0 -1
- package/dist/chunk-YSWB7HAZ.js +0 -2
- package/dist/chunk-YSWB7HAZ.js.map +0 -1
- package/dist/chunk-ZNN4S4KJ.js +0 -2
- package/dist/chunk-ZNN4S4KJ.js.map +0 -1
package/dist/schema/assets.d.ts
CHANGED
|
@@ -238,10 +238,10 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
238
238
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
239
239
|
asset_type: z.ZodEnum<{
|
|
240
240
|
user: "user";
|
|
241
|
+
file: "file";
|
|
241
242
|
organization: "organization";
|
|
242
243
|
team: "team";
|
|
243
244
|
dataset: "dataset";
|
|
244
|
-
file: "file";
|
|
245
245
|
service: "service";
|
|
246
246
|
route: "route";
|
|
247
247
|
post: "post";
|
|
@@ -318,14 +318,14 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
318
318
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
319
319
|
state: z.ZodEnum<{
|
|
320
320
|
success: "success";
|
|
321
|
+
error: "error";
|
|
321
322
|
queued: "queued";
|
|
322
323
|
"in-progress": "in-progress";
|
|
323
324
|
"timed-out": "timed-out";
|
|
324
|
-
error: "error";
|
|
325
325
|
}>;
|
|
326
326
|
source: z.ZodEnum<{
|
|
327
|
-
api: "api";
|
|
328
327
|
web: "web";
|
|
328
|
+
api: "api";
|
|
329
329
|
}>;
|
|
330
330
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
331
331
|
created_at: z.ZodString;
|
|
@@ -337,10 +337,10 @@ declare const DEFAULT_ATTRIBUTION: {
|
|
|
337
337
|
declare const CreateAssetSchema: z.ZodObject<{
|
|
338
338
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
339
339
|
user: "user";
|
|
340
|
+
file: "file";
|
|
340
341
|
organization: "organization";
|
|
341
342
|
team: "team";
|
|
342
343
|
dataset: "dataset";
|
|
343
|
-
file: "file";
|
|
344
344
|
service: "service";
|
|
345
345
|
route: "route";
|
|
346
346
|
post: "post";
|
|
@@ -348,20 +348,16 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
348
348
|
comment: "comment";
|
|
349
349
|
conversation: "conversation";
|
|
350
350
|
}>>;
|
|
351
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
352
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
353
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
-
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
355
|
-
}, z.core.$strip>>>>;
|
|
356
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
357
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
358
|
-
text: z.ZodString;
|
|
359
|
-
}, z.core.$strip>>>>;
|
|
360
351
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
361
352
|
none: "none";
|
|
362
353
|
"pay-to-unlock": "pay-to-unlock";
|
|
363
354
|
"pay-per-use": "pay-per-use";
|
|
364
355
|
}>>;
|
|
356
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
357
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
358
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
359
|
+
text: z.ZodString;
|
|
360
|
+
}, z.core.$strip>>>>;
|
|
365
361
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
366
362
|
license_id: z.ZodOptional<z.ZodString>;
|
|
367
363
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -378,6 +374,10 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
378
374
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
379
375
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
380
376
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
377
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
378
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
379
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
|
+
}, z.core.$strip>>>>;
|
|
381
381
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
382
382
|
id: z.ZodDefault<z.ZodUUID>;
|
|
383
383
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -386,14 +386,14 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
386
386
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
387
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
388
388
|
success: "success";
|
|
389
|
+
error: "error";
|
|
389
390
|
queued: "queued";
|
|
390
391
|
"in-progress": "in-progress";
|
|
391
392
|
"timed-out": "timed-out";
|
|
392
|
-
error: "error";
|
|
393
393
|
}>>>;
|
|
394
394
|
source: z.ZodDefault<z.ZodEnum<{
|
|
395
|
-
api: "api";
|
|
396
395
|
web: "web";
|
|
396
|
+
api: "api";
|
|
397
397
|
}>>;
|
|
398
398
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
399
399
|
organization: "organization";
|
|
@@ -473,10 +473,10 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
473
473
|
declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
474
474
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
475
475
|
user: "user";
|
|
476
|
+
file: "file";
|
|
476
477
|
organization: "organization";
|
|
477
478
|
team: "team";
|
|
478
479
|
dataset: "dataset";
|
|
479
|
-
file: "file";
|
|
480
480
|
service: "service";
|
|
481
481
|
route: "route";
|
|
482
482
|
post: "post";
|
|
@@ -484,15 +484,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
484
484
|
comment: "comment";
|
|
485
485
|
conversation: "conversation";
|
|
486
486
|
}>>;
|
|
487
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
488
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
489
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
490
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
491
|
-
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
492
|
-
}, z.core.$strip>>>>;
|
|
493
|
-
last_updated: z.ZodOptional<z.ZodString>;
|
|
494
|
-
name: z.ZodOptional<z.ZodString>;
|
|
495
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
496
487
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
497
488
|
organization: "organization";
|
|
498
489
|
public: "public";
|
|
@@ -500,14 +491,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
500
491
|
monetized: "monetized";
|
|
501
492
|
inherit: "inherit";
|
|
502
493
|
}>>;
|
|
503
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
504
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
505
|
-
text: z.ZodString;
|
|
506
|
-
}, z.core.$strip>>>>;
|
|
507
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
508
|
-
api: "api";
|
|
509
|
-
web: "web";
|
|
510
|
-
}>>;
|
|
511
494
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
512
495
|
none: "none";
|
|
513
496
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -544,11 +527,23 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
544
527
|
}, z.core.$strip>>;
|
|
545
528
|
state: z.ZodOptional<z.ZodEnum<{
|
|
546
529
|
success: "success";
|
|
530
|
+
error: "error";
|
|
547
531
|
queued: "queued";
|
|
548
532
|
"in-progress": "in-progress";
|
|
549
533
|
"timed-out": "timed-out";
|
|
550
|
-
error: "error";
|
|
551
534
|
}>>;
|
|
535
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
536
|
+
web: "web";
|
|
537
|
+
api: "api";
|
|
538
|
+
}>>;
|
|
539
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
540
|
+
name: z.ZodOptional<z.ZodString>;
|
|
541
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
542
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
543
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
544
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
545
|
+
text: z.ZodString;
|
|
546
|
+
}, z.core.$strip>>>>;
|
|
552
547
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
553
548
|
license_id: z.ZodOptional<z.ZodString>;
|
|
554
549
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -567,24 +562,15 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
567
562
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
568
563
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
569
564
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
565
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
566
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
567
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
568
|
+
}, z.core.$strip>>>>;
|
|
570
569
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
570
|
+
last_updated: z.ZodOptional<z.ZodString>;
|
|
571
571
|
}, z.core.$strip>, z.ZodTransform<{
|
|
572
|
-
asset_type?: "user" | "
|
|
573
|
-
org_id?: string | undefined;
|
|
574
|
-
parent?: Record<string, any> | undefined;
|
|
575
|
-
metadata?: {
|
|
576
|
-
source?: string | null | undefined;
|
|
577
|
-
reply_to_comment_id?: string | null | undefined;
|
|
578
|
-
} | null | undefined;
|
|
579
|
-
last_updated?: string | undefined;
|
|
580
|
-
name?: string | undefined;
|
|
581
|
-
team_id?: string | undefined;
|
|
572
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
582
573
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
583
|
-
description?: {
|
|
584
|
-
json: Record<string, any>;
|
|
585
|
-
text: string;
|
|
586
|
-
} | null | undefined;
|
|
587
|
-
source?: "api" | "web" | undefined;
|
|
588
574
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
589
575
|
attribution?: {
|
|
590
576
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -605,7 +591,16 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
605
591
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
606
592
|
doi?: string | null | undefined;
|
|
607
593
|
} | undefined;
|
|
608
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" |
|
|
594
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
595
|
+
source?: "web" | "api" | undefined;
|
|
596
|
+
parent?: Record<string, any> | undefined;
|
|
597
|
+
name?: string | undefined;
|
|
598
|
+
org_id?: string | undefined;
|
|
599
|
+
team_id?: string | undefined;
|
|
600
|
+
description?: {
|
|
601
|
+
json: Record<string, any>;
|
|
602
|
+
text: string;
|
|
603
|
+
} | null | undefined;
|
|
609
604
|
parent_id?: string | null | undefined;
|
|
610
605
|
license_id?: string | undefined;
|
|
611
606
|
license?: Record<string, any> | undefined;
|
|
@@ -618,24 +613,15 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
618
613
|
stripe_product_id?: string | null | undefined;
|
|
619
614
|
stripe_price_id?: string | null | undefined;
|
|
620
615
|
stripe_meter_id?: string | null | undefined;
|
|
621
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
622
|
-
}, {
|
|
623
|
-
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
624
|
-
org_id?: string | undefined;
|
|
625
|
-
parent?: Record<string, any> | undefined;
|
|
626
616
|
metadata?: {
|
|
627
617
|
source?: string | null | undefined;
|
|
628
618
|
reply_to_comment_id?: string | null | undefined;
|
|
629
619
|
} | null | undefined;
|
|
620
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
630
621
|
last_updated?: string | undefined;
|
|
631
|
-
|
|
632
|
-
|
|
622
|
+
}, {
|
|
623
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
633
624
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
634
|
-
description?: {
|
|
635
|
-
json: Record<string, any>;
|
|
636
|
-
text: string;
|
|
637
|
-
} | null | undefined;
|
|
638
|
-
source?: "api" | "web" | undefined;
|
|
639
625
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
640
626
|
attribution?: {
|
|
641
627
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -656,7 +642,16 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
656
642
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
657
643
|
doi?: string | null | undefined;
|
|
658
644
|
} | undefined;
|
|
659
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" |
|
|
645
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
646
|
+
source?: "web" | "api" | undefined;
|
|
647
|
+
parent?: Record<string, any> | undefined;
|
|
648
|
+
name?: string | undefined;
|
|
649
|
+
org_id?: string | undefined;
|
|
650
|
+
team_id?: string | undefined;
|
|
651
|
+
description?: {
|
|
652
|
+
json: Record<string, any>;
|
|
653
|
+
text: string;
|
|
654
|
+
} | null | undefined;
|
|
660
655
|
parent_id?: string | null | undefined;
|
|
661
656
|
license_id?: string | undefined;
|
|
662
657
|
license?: Record<string, any> | undefined;
|
|
@@ -669,7 +664,12 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
669
664
|
stripe_product_id?: string | null | undefined;
|
|
670
665
|
stripe_price_id?: string | null | undefined;
|
|
671
666
|
stripe_meter_id?: string | null | undefined;
|
|
667
|
+
metadata?: {
|
|
668
|
+
source?: string | null | undefined;
|
|
669
|
+
reply_to_comment_id?: string | null | undefined;
|
|
670
|
+
} | null | undefined;
|
|
672
671
|
preview?: Record<string, any>[] | null | undefined;
|
|
672
|
+
last_updated?: string | undefined;
|
|
673
673
|
}>>;
|
|
674
674
|
|
|
675
675
|
type AssetMetadata = z.infer<typeof AssetMetadataSchema>;
|
package/dist/schema/assets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-PB4XG5WM.js';import'../chunk-YTIUJ72Q.js';import'../chunk-42WKTHH5.js';import'../chunk-G6GCUGMM.js';import'../chunk-3BZRQYRC.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.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 chunk3RFYEL3A_cjs=require('../chunk-3RFYEL3A.cjs');require('../chunk-T4BUMCXS.cjs'),require('../chunk-66AAHP6X.cjs'),require('../chunk-7YG2YDXN.cjs'),require('../chunk-LD5G6GFH.cjs'),require('../chunk-ZRJUBEIK.cjs'),require('../chunk-L6SVUDFH.cjs'),require('../chunk-MNECKGIP.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunk3RFYEL3A_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunk3RFYEL3A_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunk3RFYEL3A_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunk3RFYEL3A_cjs.d}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|