@ourofoundation/ouro-js 3.7.8 → 3.7.9
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-QWD7POET.cjs → chunk-2KQZYT5W.cjs} +2 -2
- package/dist/{chunk-QWD7POET.cjs.map → chunk-2KQZYT5W.cjs.map} +1 -1
- package/dist/{chunk-66AAHP6X.cjs → chunk-4CXHZFX4.cjs} +2 -2
- package/dist/{chunk-66AAHP6X.cjs.map → chunk-4CXHZFX4.cjs.map} +1 -1
- package/dist/{chunk-ASLHRT77.js → chunk-4TQRYYVQ.js} +2 -2
- package/dist/{chunk-ASLHRT77.js.map → chunk-4TQRYYVQ.js.map} +1 -1
- package/dist/chunk-5CSPQ2RL.cjs +2 -0
- package/dist/chunk-5CSPQ2RL.cjs.map +1 -0
- package/dist/{chunk-UVVPXYJA.cjs → chunk-6DS2XXIF.cjs} +2 -2
- package/dist/{chunk-UVVPXYJA.cjs.map → chunk-6DS2XXIF.cjs.map} +1 -1
- package/dist/{chunk-Y6TOO6ET.js → chunk-732QBVGP.js} +2 -2
- package/dist/{chunk-Y6TOO6ET.js.map → chunk-732QBVGP.js.map} +1 -1
- package/dist/{chunk-KHUEMWG2.js → chunk-BUO2Y3O3.js} +2 -2
- package/dist/{chunk-KHUEMWG2.js.map → chunk-BUO2Y3O3.js.map} +1 -1
- package/dist/{chunk-B3OK6NNR.cjs → chunk-EP5DBAZQ.cjs} +2 -2
- package/dist/{chunk-B3OK6NNR.cjs.map → chunk-EP5DBAZQ.cjs.map} +1 -1
- package/dist/{chunk-3C7PGJ33.js → chunk-F6PWGWDJ.js} +2 -2
- package/dist/{chunk-3C7PGJ33.js.map → chunk-F6PWGWDJ.js.map} +1 -1
- package/dist/{chunk-PB4XG5WM.js → chunk-FDCVNMMO.js} +2 -2
- package/dist/{chunk-PB4XG5WM.js.map → chunk-FDCVNMMO.js.map} +1 -1
- package/dist/{chunk-3OUJXTJZ.js → chunk-HZDBAPRY.js} +2 -2
- package/dist/{chunk-3OUJXTJZ.js.map → chunk-HZDBAPRY.js.map} +1 -1
- package/dist/{chunk-LD5G6GFH.cjs → chunk-ICEXKHCC.cjs} +2 -2
- package/dist/{chunk-LD5G6GFH.cjs.map → chunk-ICEXKHCC.cjs.map} +1 -1
- package/dist/{chunk-EMDUI7HF.js → chunk-JAVIKBEC.js} +2 -2
- package/dist/{chunk-EMDUI7HF.js.map → chunk-JAVIKBEC.js.map} +1 -1
- package/dist/{chunk-W6MBAIKZ.cjs → chunk-PXT4NFAJ.cjs} +2 -2
- package/dist/{chunk-W6MBAIKZ.cjs.map → chunk-PXT4NFAJ.cjs.map} +1 -1
- package/dist/{chunk-UDTRH3OQ.cjs → chunk-QJ3DLN2Y.cjs} +2 -2
- package/dist/{chunk-UDTRH3OQ.cjs.map → chunk-QJ3DLN2Y.cjs.map} +1 -1
- package/dist/{chunk-4NAPVNIX.js → chunk-SIZVKGUT.js} +2 -2
- package/dist/{chunk-4NAPVNIX.js.map → chunk-SIZVKGUT.js.map} +1 -1
- package/dist/{chunk-3RFYEL3A.cjs → chunk-SZ5PIWEE.cjs} +2 -2
- package/dist/{chunk-3RFYEL3A.cjs.map → chunk-SZ5PIWEE.cjs.map} +1 -1
- package/dist/{chunk-7YG2YDXN.cjs → chunk-TB7MTWMO.cjs} +2 -2
- package/dist/{chunk-7YG2YDXN.cjs.map → chunk-TB7MTWMO.cjs.map} +1 -1
- package/dist/chunk-V3QRQO6H.js +2 -0
- package/dist/chunk-V3QRQO6H.js.map +1 -0
- package/dist/{chunk-YTIUJ72Q.js → chunk-VC4DZZ3C.js} +2 -2
- package/dist/{chunk-YTIUJ72Q.js.map → chunk-VC4DZZ3C.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/asset-filters.d.cts +7 -7
- package/dist/schema/asset-filters.d.ts +7 -7
- 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 +59 -59
- package/dist/schema/comments.d.ts +59 -59
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.d.cts +9 -9
- package/dist/schema/common.d.ts +9 -9
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +57 -57
- package/dist/schema/conversations.d.ts +57 -57
- 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.d.cts +106 -106
- package/dist/schema/notifications.d.ts +106 -106
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +91 -91
- package/dist/schema/posts.d.ts +91 -91
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +192 -131
- package/dist/schema/quests.d.ts +192 -131
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +132 -132
- package/dist/schema/services.d.ts +132 -132
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +15 -15
- package/dist/schema/teams.d.ts +15 -15
- package/dist/schema/teams.js +1 -1
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +4 -4
- package/dist/utils/quest-submission.d.ts +4 -4
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-W6AKVS4L.cjs +0 -2
- package/dist/chunk-W6AKVS4L.cjs.map +0 -1
- package/dist/chunk-XVN3DFMT.js +0 -2
- package/dist/chunk-XVN3DFMT.js.map +0 -1
|
@@ -29,8 +29,8 @@ declare const AssetFiltersSchema: z.ZodObject<{
|
|
|
29
29
|
}>>;
|
|
30
30
|
top_level_only: z.ZodOptional<z.ZodBoolean>;
|
|
31
31
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
32
|
-
file: "file";
|
|
33
32
|
dataset: "dataset";
|
|
33
|
+
file: "file";
|
|
34
34
|
}>>;
|
|
35
35
|
file_type: z.ZodOptional<z.ZodEnum<{
|
|
36
36
|
image: "image";
|
|
@@ -48,14 +48,14 @@ declare const AssetFiltersSchema: z.ZodObject<{
|
|
|
48
48
|
}>>;
|
|
49
49
|
status: z.ZodOptional<z.ZodEnum<{
|
|
50
50
|
success: "success";
|
|
51
|
-
error: "error";
|
|
52
51
|
queued: "queued";
|
|
53
52
|
"in-progress": "in-progress";
|
|
54
53
|
"timed-out": "timed-out";
|
|
54
|
+
error: "error";
|
|
55
55
|
}>>;
|
|
56
56
|
source: z.ZodOptional<z.ZodEnum<{
|
|
57
|
-
web: "web";
|
|
58
57
|
api: "api";
|
|
58
|
+
web: "web";
|
|
59
59
|
}>>;
|
|
60
60
|
has_reactions: z.ZodOptional<z.ZodBoolean>;
|
|
61
61
|
has_comments: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -67,10 +67,10 @@ declare const AssetFiltersSchema: z.ZodObject<{
|
|
|
67
67
|
declare const AssetSearchFiltersSchema: z.ZodObject<{
|
|
68
68
|
asset_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
69
69
|
user: "user";
|
|
70
|
-
file: "file";
|
|
71
70
|
organization: "organization";
|
|
72
71
|
team: "team";
|
|
73
72
|
dataset: "dataset";
|
|
73
|
+
file: "file";
|
|
74
74
|
service: "service";
|
|
75
75
|
route: "route";
|
|
76
76
|
post: "post";
|
|
@@ -79,10 +79,10 @@ declare const AssetSearchFiltersSchema: z.ZodObject<{
|
|
|
79
79
|
conversation: "conversation";
|
|
80
80
|
}>, z.ZodArray<z.ZodEnum<{
|
|
81
81
|
user: "user";
|
|
82
|
-
file: "file";
|
|
83
82
|
organization: "organization";
|
|
84
83
|
team: "team";
|
|
85
84
|
dataset: "dataset";
|
|
85
|
+
file: "file";
|
|
86
86
|
service: "service";
|
|
87
87
|
route: "route";
|
|
88
88
|
post: "post";
|
|
@@ -106,8 +106,8 @@ declare const AssetSearchFiltersSchema: z.ZodObject<{
|
|
|
106
106
|
}>>]>>;
|
|
107
107
|
license_id: z.ZodOptional<z.ZodString>;
|
|
108
108
|
source: z.ZodOptional<z.ZodEnum<{
|
|
109
|
-
web: "web";
|
|
110
109
|
api: "api";
|
|
110
|
+
web: "web";
|
|
111
111
|
}>>;
|
|
112
112
|
top_level_only: z.ZodOptional<z.ZodBoolean>;
|
|
113
113
|
method: z.ZodOptional<z.ZodEnum<{
|
|
@@ -119,10 +119,10 @@ declare const AssetSearchFiltersSchema: z.ZodObject<{
|
|
|
119
119
|
}>>;
|
|
120
120
|
status: z.ZodOptional<z.ZodEnum<{
|
|
121
121
|
success: "success";
|
|
122
|
-
error: "error";
|
|
123
122
|
queued: "queued";
|
|
124
123
|
"in-progress": "in-progress";
|
|
125
124
|
"timed-out": "timed-out";
|
|
125
|
+
error: "error";
|
|
126
126
|
}>>;
|
|
127
127
|
exclude_user_id: z.ZodOptional<z.ZodUUID>;
|
|
128
128
|
exclude_org_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
package/dist/schema/assets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkTB7MTWMO_cjs=require('../chunk-TB7MTWMO.cjs');require('../chunk-ICEXKHCC.cjs'),require('../chunk-ZRJUBEIK.cjs'),require('../chunk-L6SVUDFH.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-MNECKGIP.cjs');Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.f}});Object.defineProperty(exports,"AttributionSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.e}});Object.defineProperty(exports,"CitationSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.d}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.h}});Object.defineProperty(exports,"DEFAULT_ATTRIBUTION",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.g}});Object.defineProperty(exports,"RelationTypeSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.c}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.i}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkTB7MTWMO_cjs.a}});//# sourceMappingURL=assets.cjs.map
|
|
2
2
|
//# sourceMappingURL=assets.cjs.map
|
package/dist/schema/assets.d.cts
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";
|
|
242
241
|
organization: "organization";
|
|
243
242
|
team: "team";
|
|
244
243
|
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";
|
|
322
321
|
queued: "queued";
|
|
323
322
|
"in-progress": "in-progress";
|
|
324
323
|
"timed-out": "timed-out";
|
|
324
|
+
error: "error";
|
|
325
325
|
}>;
|
|
326
326
|
source: z.ZodEnum<{
|
|
327
|
-
web: "web";
|
|
328
327
|
api: "api";
|
|
328
|
+
web: "web";
|
|
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";
|
|
341
340
|
organization: "organization";
|
|
342
341
|
team: "team";
|
|
343
342
|
dataset: "dataset";
|
|
343
|
+
file: "file";
|
|
344
344
|
service: "service";
|
|
345
345
|
route: "route";
|
|
346
346
|
post: "post";
|
|
@@ -348,16 +348,20 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
348
348
|
comment: "comment";
|
|
349
349
|
conversation: "conversation";
|
|
350
350
|
}>>;
|
|
351
|
-
monetization: z.ZodOptional<z.ZodEnum<{
|
|
352
|
-
none: "none";
|
|
353
|
-
"pay-to-unlock": "pay-to-unlock";
|
|
354
|
-
"pay-per-use": "pay-per-use";
|
|
355
|
-
}>>;
|
|
356
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>>>>;
|
|
357
356
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
358
357
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
359
358
|
text: z.ZodString;
|
|
360
359
|
}, z.core.$strip>>>>;
|
|
360
|
+
monetization: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
none: "none";
|
|
362
|
+
"pay-to-unlock": "pay-to-unlock";
|
|
363
|
+
"pay-per-use": "pay-per-use";
|
|
364
|
+
}>>;
|
|
361
365
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
362
366
|
license_id: z.ZodOptional<z.ZodString>;
|
|
363
367
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -374,10 +378,6 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
374
378
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
375
379
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
376
380
|
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";
|
|
390
389
|
queued: "queued";
|
|
391
390
|
"in-progress": "in-progress";
|
|
392
391
|
"timed-out": "timed-out";
|
|
392
|
+
error: "error";
|
|
393
393
|
}>>>;
|
|
394
394
|
source: z.ZodDefault<z.ZodEnum<{
|
|
395
|
-
web: "web";
|
|
396
395
|
api: "api";
|
|
396
|
+
web: "web";
|
|
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";
|
|
477
476
|
organization: "organization";
|
|
478
477
|
team: "team";
|
|
479
478
|
dataset: "dataset";
|
|
479
|
+
file: "file";
|
|
480
480
|
service: "service";
|
|
481
481
|
route: "route";
|
|
482
482
|
post: "post";
|
|
@@ -484,6 +484,15 @@ 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>;
|
|
487
496
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
488
497
|
organization: "organization";
|
|
489
498
|
public: "public";
|
|
@@ -491,6 +500,14 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
491
500
|
monetized: "monetized";
|
|
492
501
|
inherit: "inherit";
|
|
493
502
|
}>>;
|
|
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
|
+
}>>;
|
|
494
511
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
495
512
|
none: "none";
|
|
496
513
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -527,23 +544,11 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
527
544
|
}, z.core.$strip>>;
|
|
528
545
|
state: z.ZodOptional<z.ZodEnum<{
|
|
529
546
|
success: "success";
|
|
530
|
-
error: "error";
|
|
531
547
|
queued: "queued";
|
|
532
548
|
"in-progress": "in-progress";
|
|
533
549
|
"timed-out": "timed-out";
|
|
550
|
+
error: "error";
|
|
534
551
|
}>>;
|
|
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>>>>;
|
|
547
552
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
548
553
|
license_id: z.ZodOptional<z.ZodString>;
|
|
549
554
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -562,15 +567,24 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
562
567
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
563
568
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
564
569
|
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>>>>;
|
|
569
570
|
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" | "
|
|
572
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
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;
|
|
573
582
|
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;
|
|
574
588
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
575
589
|
attribution?: {
|
|
576
590
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -591,16 +605,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
591
605
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
592
606
|
doi?: string | null | undefined;
|
|
593
607
|
} | undefined;
|
|
594
|
-
state?: "success" | "
|
|
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;
|
|
608
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
604
609
|
parent_id?: string | null | undefined;
|
|
605
610
|
license_id?: string | undefined;
|
|
606
611
|
license?: Record<string, any> | undefined;
|
|
@@ -613,15 +618,24 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
613
618
|
stripe_product_id?: string | null | undefined;
|
|
614
619
|
stripe_price_id?: string | null | undefined;
|
|
615
620
|
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;
|
|
616
626
|
metadata?: {
|
|
617
627
|
source?: string | null | undefined;
|
|
618
628
|
reply_to_comment_id?: string | null | undefined;
|
|
619
629
|
} | null | undefined;
|
|
620
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
621
630
|
last_updated?: string | undefined;
|
|
622
|
-
|
|
623
|
-
|
|
631
|
+
name?: string | undefined;
|
|
632
|
+
team_id?: string | undefined;
|
|
624
633
|
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;
|
|
625
639
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
626
640
|
attribution?: {
|
|
627
641
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -642,16 +656,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
642
656
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
643
657
|
doi?: string | null | undefined;
|
|
644
658
|
} | undefined;
|
|
645
|
-
state?: "success" | "
|
|
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;
|
|
659
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
655
660
|
parent_id?: string | null | undefined;
|
|
656
661
|
license_id?: string | undefined;
|
|
657
662
|
license?: Record<string, any> | undefined;
|
|
@@ -664,12 +669,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
664
669
|
stripe_product_id?: string | null | undefined;
|
|
665
670
|
stripe_price_id?: string | null | undefined;
|
|
666
671
|
stripe_meter_id?: string | null | undefined;
|
|
667
|
-
metadata?: {
|
|
668
|
-
source?: string | null | undefined;
|
|
669
|
-
reply_to_comment_id?: string | null | undefined;
|
|
670
|
-
} | null | undefined;
|
|
671
672
|
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.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";
|
|
242
241
|
organization: "organization";
|
|
243
242
|
team: "team";
|
|
244
243
|
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";
|
|
322
321
|
queued: "queued";
|
|
323
322
|
"in-progress": "in-progress";
|
|
324
323
|
"timed-out": "timed-out";
|
|
324
|
+
error: "error";
|
|
325
325
|
}>;
|
|
326
326
|
source: z.ZodEnum<{
|
|
327
|
-
web: "web";
|
|
328
327
|
api: "api";
|
|
328
|
+
web: "web";
|
|
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";
|
|
341
340
|
organization: "organization";
|
|
342
341
|
team: "team";
|
|
343
342
|
dataset: "dataset";
|
|
343
|
+
file: "file";
|
|
344
344
|
service: "service";
|
|
345
345
|
route: "route";
|
|
346
346
|
post: "post";
|
|
@@ -348,16 +348,20 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
348
348
|
comment: "comment";
|
|
349
349
|
conversation: "conversation";
|
|
350
350
|
}>>;
|
|
351
|
-
monetization: z.ZodOptional<z.ZodEnum<{
|
|
352
|
-
none: "none";
|
|
353
|
-
"pay-to-unlock": "pay-to-unlock";
|
|
354
|
-
"pay-per-use": "pay-per-use";
|
|
355
|
-
}>>;
|
|
356
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>>>>;
|
|
357
356
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
358
357
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
359
358
|
text: z.ZodString;
|
|
360
359
|
}, z.core.$strip>>>>;
|
|
360
|
+
monetization: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
none: "none";
|
|
362
|
+
"pay-to-unlock": "pay-to-unlock";
|
|
363
|
+
"pay-per-use": "pay-per-use";
|
|
364
|
+
}>>;
|
|
361
365
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
362
366
|
license_id: z.ZodOptional<z.ZodString>;
|
|
363
367
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -374,10 +378,6 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
374
378
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
375
379
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
376
380
|
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";
|
|
390
389
|
queued: "queued";
|
|
391
390
|
"in-progress": "in-progress";
|
|
392
391
|
"timed-out": "timed-out";
|
|
392
|
+
error: "error";
|
|
393
393
|
}>>>;
|
|
394
394
|
source: z.ZodDefault<z.ZodEnum<{
|
|
395
|
-
web: "web";
|
|
396
395
|
api: "api";
|
|
396
|
+
web: "web";
|
|
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";
|
|
477
476
|
organization: "organization";
|
|
478
477
|
team: "team";
|
|
479
478
|
dataset: "dataset";
|
|
479
|
+
file: "file";
|
|
480
480
|
service: "service";
|
|
481
481
|
route: "route";
|
|
482
482
|
post: "post";
|
|
@@ -484,6 +484,15 @@ 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>;
|
|
487
496
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
488
497
|
organization: "organization";
|
|
489
498
|
public: "public";
|
|
@@ -491,6 +500,14 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
491
500
|
monetized: "monetized";
|
|
492
501
|
inherit: "inherit";
|
|
493
502
|
}>>;
|
|
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
|
+
}>>;
|
|
494
511
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
495
512
|
none: "none";
|
|
496
513
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -527,23 +544,11 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
527
544
|
}, z.core.$strip>>;
|
|
528
545
|
state: z.ZodOptional<z.ZodEnum<{
|
|
529
546
|
success: "success";
|
|
530
|
-
error: "error";
|
|
531
547
|
queued: "queued";
|
|
532
548
|
"in-progress": "in-progress";
|
|
533
549
|
"timed-out": "timed-out";
|
|
550
|
+
error: "error";
|
|
534
551
|
}>>;
|
|
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>>>>;
|
|
547
552
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
548
553
|
license_id: z.ZodOptional<z.ZodString>;
|
|
549
554
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -562,15 +567,24 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
562
567
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
563
568
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
564
569
|
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>>>>;
|
|
569
570
|
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" | "
|
|
572
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
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;
|
|
573
582
|
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;
|
|
574
588
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
575
589
|
attribution?: {
|
|
576
590
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -591,16 +605,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
591
605
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
592
606
|
doi?: string | null | undefined;
|
|
593
607
|
} | undefined;
|
|
594
|
-
state?: "success" | "
|
|
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;
|
|
608
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
604
609
|
parent_id?: string | null | undefined;
|
|
605
610
|
license_id?: string | undefined;
|
|
606
611
|
license?: Record<string, any> | undefined;
|
|
@@ -613,15 +618,24 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
613
618
|
stripe_product_id?: string | null | undefined;
|
|
614
619
|
stripe_price_id?: string | null | undefined;
|
|
615
620
|
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;
|
|
616
626
|
metadata?: {
|
|
617
627
|
source?: string | null | undefined;
|
|
618
628
|
reply_to_comment_id?: string | null | undefined;
|
|
619
629
|
} | null | undefined;
|
|
620
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
621
630
|
last_updated?: string | undefined;
|
|
622
|
-
|
|
623
|
-
|
|
631
|
+
name?: string | undefined;
|
|
632
|
+
team_id?: string | undefined;
|
|
624
633
|
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;
|
|
625
639
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
626
640
|
attribution?: {
|
|
627
641
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -642,16 +656,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
642
656
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
643
657
|
doi?: string | null | undefined;
|
|
644
658
|
} | undefined;
|
|
645
|
-
state?: "success" | "
|
|
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;
|
|
659
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
655
660
|
parent_id?: string | null | undefined;
|
|
656
661
|
license_id?: string | undefined;
|
|
657
662
|
license?: Record<string, any> | undefined;
|
|
@@ -664,12 +669,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
664
669
|
stripe_product_id?: string | null | undefined;
|
|
665
670
|
stripe_price_id?: string | null | undefined;
|
|
666
671
|
stripe_meter_id?: string | null | undefined;
|
|
667
|
-
metadata?: {
|
|
668
|
-
source?: string | null | undefined;
|
|
669
|
-
reply_to_comment_id?: string | null | undefined;
|
|
670
|
-
} | null | undefined;
|
|
671
672
|
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-FDCVNMMO.js';import'../chunk-VC4DZZ3C.js';import'../chunk-42WKTHH5.js';import'../chunk-G6GCUGMM.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-3BZRQYRC.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 chunkSZ5PIWEE_cjs=require('../chunk-SZ5PIWEE.cjs');require('../chunk-T4BUMCXS.cjs'),require('../chunk-4CXHZFX4.cjs'),require('../chunk-TB7MTWMO.cjs'),require('../chunk-ICEXKHCC.cjs'),require('../chunk-ZRJUBEIK.cjs'),require('../chunk-L6SVUDFH.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-MNECKGIP.cjs');Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunkSZ5PIWEE_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkSZ5PIWEE_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkSZ5PIWEE_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunkSZ5PIWEE_cjs.d}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|