@ourofoundation/ouro-js 3.7.7 → 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-F6PWGWDJ.js → chunk-3C7PGJ33.js} +2 -2
- package/dist/{chunk-F6PWGWDJ.js.map → chunk-3C7PGJ33.js.map} +1 -1
- package/dist/{chunk-HZDBAPRY.js → chunk-3OUJXTJZ.js} +2 -2
- package/dist/{chunk-HZDBAPRY.js.map → chunk-3OUJXTJZ.js.map} +1 -1
- package/dist/{chunk-SZ5PIWEE.cjs → chunk-3RFYEL3A.cjs} +2 -2
- package/dist/{chunk-SZ5PIWEE.cjs.map → chunk-3RFYEL3A.cjs.map} +1 -1
- package/dist/{chunk-SIZVKGUT.js → chunk-4NAPVNIX.js} +2 -2
- package/dist/{chunk-SIZVKGUT.js.map → chunk-4NAPVNIX.js.map} +1 -1
- package/dist/{chunk-4CXHZFX4.cjs → chunk-66AAHP6X.cjs} +2 -2
- package/dist/{chunk-4CXHZFX4.cjs.map → chunk-66AAHP6X.cjs.map} +1 -1
- package/dist/{chunk-TB7MTWMO.cjs → chunk-7YG2YDXN.cjs} +2 -2
- package/dist/{chunk-TB7MTWMO.cjs.map → chunk-7YG2YDXN.cjs.map} +1 -1
- package/dist/{chunk-4TQRYYVQ.js → chunk-ASLHRT77.js} +2 -2
- package/dist/{chunk-4TQRYYVQ.js.map → chunk-ASLHRT77.js.map} +1 -1
- package/dist/{chunk-EP5DBAZQ.cjs → chunk-B3OK6NNR.cjs} +2 -2
- package/dist/{chunk-EP5DBAZQ.cjs.map → chunk-B3OK6NNR.cjs.map} +1 -1
- package/dist/{chunk-JAVIKBEC.js → chunk-EMDUI7HF.js} +2 -2
- package/dist/{chunk-JAVIKBEC.js.map → chunk-EMDUI7HF.js.map} +1 -1
- package/dist/{chunk-BUO2Y3O3.js → chunk-KHUEMWG2.js} +2 -2
- package/dist/{chunk-BUO2Y3O3.js.map → chunk-KHUEMWG2.js.map} +1 -1
- package/dist/{chunk-ICEXKHCC.cjs → chunk-LD5G6GFH.cjs} +2 -2
- package/dist/{chunk-ICEXKHCC.cjs.map → chunk-LD5G6GFH.cjs.map} +1 -1
- package/dist/{chunk-FDCVNMMO.js → chunk-PB4XG5WM.js} +2 -2
- package/dist/{chunk-FDCVNMMO.js.map → chunk-PB4XG5WM.js.map} +1 -1
- package/dist/{chunk-2KQZYT5W.cjs → chunk-QWD7POET.cjs} +2 -2
- package/dist/{chunk-2KQZYT5W.cjs.map → chunk-QWD7POET.cjs.map} +1 -1
- package/dist/{chunk-QJ3DLN2Y.cjs → chunk-UDTRH3OQ.cjs} +2 -2
- package/dist/{chunk-QJ3DLN2Y.cjs.map → chunk-UDTRH3OQ.cjs.map} +1 -1
- package/dist/{chunk-6DS2XXIF.cjs → chunk-UVVPXYJA.cjs} +2 -2
- package/dist/{chunk-6DS2XXIF.cjs.map → chunk-UVVPXYJA.cjs.map} +1 -1
- package/dist/chunk-W6AKVS4L.cjs +2 -0
- package/dist/chunk-W6AKVS4L.cjs.map +1 -0
- package/dist/{chunk-PXT4NFAJ.cjs → chunk-W6MBAIKZ.cjs} +2 -2
- package/dist/{chunk-PXT4NFAJ.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-732QBVGP.js → chunk-Y6TOO6ET.js} +2 -2
- package/dist/{chunk-732QBVGP.js.map → chunk-Y6TOO6ET.js.map} +1 -1
- package/dist/{chunk-VC4DZZ3C.js → chunk-YTIUJ72Q.js} +2 -2
- package/dist/{chunk-VC4DZZ3C.js.map → chunk-YTIUJ72Q.js.map} +1 -1
- package/dist/index.cjs +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 +262 -273
- package/dist/schema/quests.d.ts +262 -273
- 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-BTHFK5MC.js +0 -2
- package/dist/chunk-BTHFK5MC.js.map +0 -1
- package/dist/chunk-ZTTLI5V5.cjs +0 -2
- package/dist/chunk-ZTTLI5V5.cjs.map +0 -1
package/dist/schema/posts.d.ts
CHANGED
|
@@ -252,14 +252,14 @@ declare const PostSchema: z.ZodObject<{
|
|
|
252
252
|
}, z.core.$strip>;
|
|
253
253
|
state: z.ZodEnum<{
|
|
254
254
|
success: "success";
|
|
255
|
+
error: "error";
|
|
255
256
|
queued: "queued";
|
|
256
257
|
"in-progress": "in-progress";
|
|
257
258
|
"timed-out": "timed-out";
|
|
258
|
-
error: "error";
|
|
259
259
|
}>;
|
|
260
260
|
source: z.ZodEnum<{
|
|
261
|
-
api: "api";
|
|
262
261
|
web: "web";
|
|
262
|
+
api: "api";
|
|
263
263
|
}>;
|
|
264
264
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
265
265
|
created_at: z.ZodString;
|
|
@@ -267,10 +267,10 @@ declare const PostSchema: z.ZodObject<{
|
|
|
267
267
|
name: z.ZodNullable<z.ZodString>;
|
|
268
268
|
asset_type: z.ZodEnum<{
|
|
269
269
|
user: "user";
|
|
270
|
+
file: "file";
|
|
270
271
|
organization: "organization";
|
|
271
272
|
team: "team";
|
|
272
273
|
dataset: "dataset";
|
|
273
|
-
file: "file";
|
|
274
274
|
service: "service";
|
|
275
275
|
route: "route";
|
|
276
276
|
post: "post";
|
|
@@ -295,20 +295,16 @@ declare const PostSchema: z.ZodObject<{
|
|
|
295
295
|
}, z.core.$strip>>;
|
|
296
296
|
}, z.core.$strip>;
|
|
297
297
|
declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
298
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
299
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
300
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
301
|
-
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
-
}, z.core.$strip>>>>;
|
|
303
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
304
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
305
|
-
text: z.ZodString;
|
|
306
|
-
}, z.core.$strip>>>>;
|
|
307
298
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
308
299
|
none: "none";
|
|
309
300
|
"pay-to-unlock": "pay-to-unlock";
|
|
310
301
|
"pay-per-use": "pay-per-use";
|
|
311
302
|
}>>;
|
|
303
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
304
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
305
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
306
|
+
text: z.ZodString;
|
|
307
|
+
}, z.core.$strip>>>>;
|
|
312
308
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
313
309
|
license_id: z.ZodOptional<z.ZodString>;
|
|
314
310
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -325,20 +321,24 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
325
321
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
326
322
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
327
323
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
324
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
325
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
}, z.core.$strip>>>>;
|
|
328
328
|
id: z.ZodDefault<z.ZodUUID>;
|
|
329
329
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
330
330
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
331
331
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
332
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
333
333
|
success: "success";
|
|
334
|
+
error: "error";
|
|
334
335
|
queued: "queued";
|
|
335
336
|
"in-progress": "in-progress";
|
|
336
337
|
"timed-out": "timed-out";
|
|
337
|
-
error: "error";
|
|
338
338
|
}>>>;
|
|
339
339
|
source: z.ZodDefault<z.ZodEnum<{
|
|
340
|
-
api: "api";
|
|
341
340
|
web: "web";
|
|
341
|
+
api: "api";
|
|
342
342
|
}>>;
|
|
343
343
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
344
344
|
organization: "organization";
|
|
@@ -424,8 +424,8 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
424
424
|
id: string;
|
|
425
425
|
team_id: string | null;
|
|
426
426
|
org_id: string | null;
|
|
427
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
428
|
-
source: "
|
|
427
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
428
|
+
source: "web" | "api";
|
|
429
429
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
430
430
|
attribution: {
|
|
431
431
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -454,16 +454,12 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
454
454
|
type: "doc";
|
|
455
455
|
content: any[];
|
|
456
456
|
};
|
|
457
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
457
458
|
parent?: Record<string, any> | undefined;
|
|
458
|
-
metadata?: {
|
|
459
|
-
source?: string | null | undefined;
|
|
460
|
-
reply_to_comment_id?: string | null | undefined;
|
|
461
|
-
} | null | undefined;
|
|
462
459
|
description?: {
|
|
463
460
|
json: Record<string, any>;
|
|
464
461
|
text: string;
|
|
465
462
|
} | null | undefined;
|
|
466
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
467
463
|
parent_id?: string | null | undefined;
|
|
468
464
|
license_id?: string | undefined;
|
|
469
465
|
price?: number | null | undefined;
|
|
@@ -474,13 +470,17 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
474
470
|
stripe_product_id?: string | null | undefined;
|
|
475
471
|
stripe_price_id?: string | null | undefined;
|
|
476
472
|
stripe_meter_id?: string | null | undefined;
|
|
473
|
+
metadata?: {
|
|
474
|
+
source?: string | null | undefined;
|
|
475
|
+
reply_to_comment_id?: string | null | undefined;
|
|
476
|
+
} | null | undefined;
|
|
477
477
|
name_url_slug?: string | null | undefined;
|
|
478
478
|
}, {
|
|
479
479
|
id: string;
|
|
480
480
|
team_id: string | null;
|
|
481
481
|
org_id: string | null;
|
|
482
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
483
|
-
source: "
|
|
482
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
483
|
+
source: "web" | "api";
|
|
484
484
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
485
485
|
attribution: {
|
|
486
486
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -509,16 +509,12 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
509
509
|
type: "doc";
|
|
510
510
|
content: any[];
|
|
511
511
|
};
|
|
512
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
512
513
|
parent?: Record<string, any> | undefined;
|
|
513
|
-
metadata?: {
|
|
514
|
-
source?: string | null | undefined;
|
|
515
|
-
reply_to_comment_id?: string | null | undefined;
|
|
516
|
-
} | null | undefined;
|
|
517
514
|
description?: {
|
|
518
515
|
json: Record<string, any>;
|
|
519
516
|
text: string;
|
|
520
517
|
} | null | undefined;
|
|
521
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
522
518
|
parent_id?: string | null | undefined;
|
|
523
519
|
license_id?: string | undefined;
|
|
524
520
|
price?: number | null | undefined;
|
|
@@ -529,6 +525,10 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
529
525
|
stripe_product_id?: string | null | undefined;
|
|
530
526
|
stripe_price_id?: string | null | undefined;
|
|
531
527
|
stripe_meter_id?: string | null | undefined;
|
|
528
|
+
metadata?: {
|
|
529
|
+
source?: string | null | undefined;
|
|
530
|
+
reply_to_comment_id?: string | null | undefined;
|
|
531
|
+
} | null | undefined;
|
|
532
532
|
name_url_slug?: string | null | undefined;
|
|
533
533
|
}>>;
|
|
534
534
|
declare const ReadPostSchema: z.ZodObject<{
|
|
@@ -772,14 +772,14 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
772
772
|
}, z.core.$strip>;
|
|
773
773
|
state: z.ZodEnum<{
|
|
774
774
|
success: "success";
|
|
775
|
+
error: "error";
|
|
775
776
|
queued: "queued";
|
|
776
777
|
"in-progress": "in-progress";
|
|
777
778
|
"timed-out": "timed-out";
|
|
778
|
-
error: "error";
|
|
779
779
|
}>;
|
|
780
780
|
source: z.ZodEnum<{
|
|
781
|
-
api: "api";
|
|
782
781
|
web: "web";
|
|
782
|
+
api: "api";
|
|
783
783
|
}>;
|
|
784
784
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
785
785
|
created_at: z.ZodString;
|
|
@@ -787,10 +787,10 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
787
787
|
name: z.ZodNullable<z.ZodString>;
|
|
788
788
|
asset_type: z.ZodEnum<{
|
|
789
789
|
user: "user";
|
|
790
|
+
file: "file";
|
|
790
791
|
organization: "organization";
|
|
791
792
|
team: "team";
|
|
792
793
|
dataset: "dataset";
|
|
793
|
-
file: "file";
|
|
794
794
|
service: "service";
|
|
795
795
|
route: "route";
|
|
796
796
|
post: "post";
|
|
@@ -996,10 +996,10 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
996
996
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
997
997
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
998
998
|
user: "user";
|
|
999
|
+
file: "file";
|
|
999
1000
|
organization: "organization";
|
|
1000
1001
|
team: "team";
|
|
1001
1002
|
dataset: "dataset";
|
|
1002
|
-
file: "file";
|
|
1003
1003
|
service: "service";
|
|
1004
1004
|
route: "route";
|
|
1005
1005
|
post: "post";
|
|
@@ -1076,14 +1076,14 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
1076
1076
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
1077
1077
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1078
1078
|
success: "success";
|
|
1079
|
+
error: "error";
|
|
1079
1080
|
queued: "queued";
|
|
1080
1081
|
"in-progress": "in-progress";
|
|
1081
1082
|
"timed-out": "timed-out";
|
|
1082
|
-
error: "error";
|
|
1083
1083
|
}>>;
|
|
1084
1084
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1085
|
-
api: "api";
|
|
1086
1085
|
web: "web";
|
|
1086
|
+
api: "api";
|
|
1087
1087
|
}>>;
|
|
1088
1088
|
is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
1089
1089
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1364,14 +1364,14 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1364
1364
|
}, z.core.$strip>;
|
|
1365
1365
|
state: z.ZodEnum<{
|
|
1366
1366
|
success: "success";
|
|
1367
|
+
error: "error";
|
|
1367
1368
|
queued: "queued";
|
|
1368
1369
|
"in-progress": "in-progress";
|
|
1369
1370
|
"timed-out": "timed-out";
|
|
1370
|
-
error: "error";
|
|
1371
1371
|
}>;
|
|
1372
1372
|
source: z.ZodEnum<{
|
|
1373
|
-
api: "api";
|
|
1374
1373
|
web: "web";
|
|
1374
|
+
api: "api";
|
|
1375
1375
|
}>;
|
|
1376
1376
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1377
1377
|
created_at: z.ZodString;
|
|
@@ -1379,10 +1379,10 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1379
1379
|
name: z.ZodNullable<z.ZodString>;
|
|
1380
1380
|
asset_type: z.ZodEnum<{
|
|
1381
1381
|
user: "user";
|
|
1382
|
+
file: "file";
|
|
1382
1383
|
organization: "organization";
|
|
1383
1384
|
team: "team";
|
|
1384
1385
|
dataset: "dataset";
|
|
1385
|
-
file: "file";
|
|
1386
1386
|
service: "service";
|
|
1387
1387
|
route: "route";
|
|
1388
1388
|
post: "post";
|
|
@@ -1588,10 +1588,10 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1588
1588
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1589
1589
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
1590
1590
|
user: "user";
|
|
1591
|
+
file: "file";
|
|
1591
1592
|
organization: "organization";
|
|
1592
1593
|
team: "team";
|
|
1593
1594
|
dataset: "dataset";
|
|
1594
|
-
file: "file";
|
|
1595
1595
|
service: "service";
|
|
1596
1596
|
route: "route";
|
|
1597
1597
|
post: "post";
|
|
@@ -1668,14 +1668,14 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1668
1668
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
1669
1669
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1670
1670
|
success: "success";
|
|
1671
|
+
error: "error";
|
|
1671
1672
|
queued: "queued";
|
|
1672
1673
|
"in-progress": "in-progress";
|
|
1673
1674
|
"timed-out": "timed-out";
|
|
1674
|
-
error: "error";
|
|
1675
1675
|
}>>;
|
|
1676
1676
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1677
|
-
api: "api";
|
|
1678
1677
|
web: "web";
|
|
1678
|
+
api: "api";
|
|
1679
1679
|
}>>;
|
|
1680
1680
|
is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
1681
1681
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1956,14 +1956,14 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1956
1956
|
}, z.core.$strip>;
|
|
1957
1957
|
state: z.ZodEnum<{
|
|
1958
1958
|
success: "success";
|
|
1959
|
+
error: "error";
|
|
1959
1960
|
queued: "queued";
|
|
1960
1961
|
"in-progress": "in-progress";
|
|
1961
1962
|
"timed-out": "timed-out";
|
|
1962
|
-
error: "error";
|
|
1963
1963
|
}>;
|
|
1964
1964
|
source: z.ZodEnum<{
|
|
1965
|
-
api: "api";
|
|
1966
1965
|
web: "web";
|
|
1966
|
+
api: "api";
|
|
1967
1967
|
}>;
|
|
1968
1968
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1969
1969
|
created_at: z.ZodString;
|
|
@@ -1971,10 +1971,10 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1971
1971
|
name: z.ZodNullable<z.ZodString>;
|
|
1972
1972
|
asset_type: z.ZodEnum<{
|
|
1973
1973
|
user: "user";
|
|
1974
|
+
file: "file";
|
|
1974
1975
|
organization: "organization";
|
|
1975
1976
|
team: "team";
|
|
1976
1977
|
dataset: "dataset";
|
|
1977
|
-
file: "file";
|
|
1978
1978
|
service: "service";
|
|
1979
1979
|
route: "route";
|
|
1980
1980
|
post: "post";
|
|
@@ -2001,10 +2001,10 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
2001
2001
|
declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
2002
2002
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
2003
2003
|
user: "user";
|
|
2004
|
+
file: "file";
|
|
2004
2005
|
organization: "organization";
|
|
2005
2006
|
team: "team";
|
|
2006
2007
|
dataset: "dataset";
|
|
2007
|
-
file: "file";
|
|
2008
2008
|
service: "service";
|
|
2009
2009
|
route: "route";
|
|
2010
2010
|
post: "post";
|
|
@@ -2012,14 +2012,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2012
2012
|
comment: "comment";
|
|
2013
2013
|
conversation: "conversation";
|
|
2014
2014
|
}>>;
|
|
2015
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
2016
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2017
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
2018
|
-
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2019
|
-
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2020
|
-
}, z.core.$strip>>;
|
|
2021
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2022
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
2023
2015
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2024
2016
|
organization: "organization";
|
|
2025
2017
|
public: "public";
|
|
@@ -2027,14 +2019,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2027
2019
|
monetized: "monetized";
|
|
2028
2020
|
inherit: "inherit";
|
|
2029
2021
|
}>>;
|
|
2030
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2031
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2032
|
-
text: z.ZodString;
|
|
2033
|
-
}, z.core.$strip>>>>;
|
|
2034
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
2035
|
-
api: "api";
|
|
2036
|
-
web: "web";
|
|
2037
|
-
}>>;
|
|
2038
2022
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
2039
2023
|
none: "none";
|
|
2040
2024
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -2071,11 +2055,23 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2071
2055
|
}, z.core.$strip>>;
|
|
2072
2056
|
state: z.ZodOptional<z.ZodEnum<{
|
|
2073
2057
|
success: "success";
|
|
2058
|
+
error: "error";
|
|
2074
2059
|
queued: "queued";
|
|
2075
2060
|
"in-progress": "in-progress";
|
|
2076
2061
|
"timed-out": "timed-out";
|
|
2077
|
-
error: "error";
|
|
2078
2062
|
}>>;
|
|
2063
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2064
|
+
web: "web";
|
|
2065
|
+
api: "api";
|
|
2066
|
+
}>>;
|
|
2067
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2068
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2069
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
2070
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
2071
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2072
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2073
|
+
text: z.ZodString;
|
|
2074
|
+
}, z.core.$strip>>>>;
|
|
2079
2075
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
2080
2076
|
license_id: z.ZodOptional<z.ZodString>;
|
|
2081
2077
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -2094,6 +2090,10 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2094
2090
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2095
2091
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2096
2092
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2093
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
2094
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2095
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2096
|
+
}, z.core.$strip>>;
|
|
2097
2097
|
preview: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
2098
2098
|
type: z.ZodLiteral<"doc">;
|
|
2099
2099
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2101,21 +2101,8 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2101
2101
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
2102
2102
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2103
2103
|
last_updated: string;
|
|
2104
|
-
asset_type?: "user" | "
|
|
2105
|
-
org_id?: string | undefined;
|
|
2106
|
-
parent?: Record<string, any> | undefined;
|
|
2107
|
-
metadata?: {
|
|
2108
|
-
source?: string | null | undefined;
|
|
2109
|
-
reply_to_comment_id?: string | null | undefined;
|
|
2110
|
-
} | undefined;
|
|
2111
|
-
name?: string | null | undefined;
|
|
2112
|
-
team_id?: string | undefined;
|
|
2104
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
2113
2105
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
2114
|
-
description?: {
|
|
2115
|
-
json: Record<string, any>;
|
|
2116
|
-
text: string;
|
|
2117
|
-
} | null | undefined;
|
|
2118
|
-
source?: "api" | "web" | undefined;
|
|
2119
2106
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
2120
2107
|
attribution?: {
|
|
2121
2108
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -2136,7 +2123,16 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2136
2123
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
2137
2124
|
doi?: string | null | undefined;
|
|
2138
2125
|
} | undefined;
|
|
2139
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" |
|
|
2126
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
2127
|
+
source?: "web" | "api" | undefined;
|
|
2128
|
+
parent?: Record<string, any> | undefined;
|
|
2129
|
+
name?: string | null | undefined;
|
|
2130
|
+
org_id?: string | undefined;
|
|
2131
|
+
team_id?: string | undefined;
|
|
2132
|
+
description?: {
|
|
2133
|
+
json: Record<string, any>;
|
|
2134
|
+
text: string;
|
|
2135
|
+
} | null | undefined;
|
|
2140
2136
|
parent_id?: string | null | undefined;
|
|
2141
2137
|
license_id?: string | undefined;
|
|
2142
2138
|
license?: Record<string, any> | undefined;
|
|
@@ -2149,27 +2145,18 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2149
2145
|
stripe_product_id?: string | null | undefined;
|
|
2150
2146
|
stripe_price_id?: string | null | undefined;
|
|
2151
2147
|
stripe_meter_id?: string | null | undefined;
|
|
2148
|
+
metadata?: {
|
|
2149
|
+
source?: string | null | undefined;
|
|
2150
|
+
reply_to_comment_id?: string | null | undefined;
|
|
2151
|
+
} | undefined;
|
|
2152
2152
|
preview?: {
|
|
2153
2153
|
type: "doc";
|
|
2154
2154
|
content: any[];
|
|
2155
2155
|
} | undefined;
|
|
2156
2156
|
}, {
|
|
2157
2157
|
last_updated: string;
|
|
2158
|
-
asset_type?: "user" | "
|
|
2159
|
-
org_id?: string | undefined;
|
|
2160
|
-
parent?: Record<string, any> | undefined;
|
|
2161
|
-
metadata?: {
|
|
2162
|
-
source?: string | null | undefined;
|
|
2163
|
-
reply_to_comment_id?: string | null | undefined;
|
|
2164
|
-
} | undefined;
|
|
2165
|
-
name?: string | null | undefined;
|
|
2166
|
-
team_id?: string | undefined;
|
|
2158
|
+
asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
2167
2159
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
2168
|
-
description?: {
|
|
2169
|
-
json: Record<string, any>;
|
|
2170
|
-
text: string;
|
|
2171
|
-
} | null | undefined;
|
|
2172
|
-
source?: "api" | "web" | undefined;
|
|
2173
2160
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
2174
2161
|
attribution?: {
|
|
2175
2162
|
originality: "original" | "derivative" | "third-party";
|
|
@@ -2190,7 +2177,16 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2190
2177
|
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
2191
2178
|
doi?: string | null | undefined;
|
|
2192
2179
|
} | undefined;
|
|
2193
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" |
|
|
2180
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
2181
|
+
source?: "web" | "api" | undefined;
|
|
2182
|
+
parent?: Record<string, any> | undefined;
|
|
2183
|
+
name?: string | null | undefined;
|
|
2184
|
+
org_id?: string | undefined;
|
|
2185
|
+
team_id?: string | undefined;
|
|
2186
|
+
description?: {
|
|
2187
|
+
json: Record<string, any>;
|
|
2188
|
+
text: string;
|
|
2189
|
+
} | null | undefined;
|
|
2194
2190
|
parent_id?: string | null | undefined;
|
|
2195
2191
|
license_id?: string | undefined;
|
|
2196
2192
|
license?: Record<string, any> | undefined;
|
|
@@ -2203,6 +2199,10 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2203
2199
|
stripe_product_id?: string | null | undefined;
|
|
2204
2200
|
stripe_price_id?: string | null | undefined;
|
|
2205
2201
|
stripe_meter_id?: string | null | undefined;
|
|
2202
|
+
metadata?: {
|
|
2203
|
+
source?: string | null | undefined;
|
|
2204
|
+
reply_to_comment_id?: string | null | undefined;
|
|
2205
|
+
} | undefined;
|
|
2206
2206
|
preview?: {
|
|
2207
2207
|
type: "doc";
|
|
2208
2208
|
content: any[];
|
package/dist/schema/posts.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../chunk-
|
|
1
|
+
export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../chunk-KHUEMWG2.js';import'../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=posts.js.map
|
|
2
2
|
//# sourceMappingURL=posts.js.map
|
package/dist/schema/quests.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkW6AKVS4L_cjs=require('../chunk-W6AKVS4L.cjs'),chunkUDTRH3OQ_cjs=require('../chunk-UDTRH3OQ.cjs');require('../chunk-B3OK6NNR.cjs'),require('../chunk-KHERHT26.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,"CreateEntrySchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.p}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.i}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.j}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.l}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.o}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.f}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.g}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.h}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.k}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.q}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.n}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkW6AKVS4L_cjs.m}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkUDTRH3OQ_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkUDTRH3OQ_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkUDTRH3OQ_cjs.d}});//# sourceMappingURL=quests.cjs.map
|
|
2
2
|
//# sourceMappingURL=quests.cjs.map
|