@ourofoundation/ouro-js 3.2.5 → 3.4.0
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-36UOEIZN.js +2 -0
- package/dist/chunk-36UOEIZN.js.map +1 -0
- package/dist/chunk-43KB23BA.cjs +2 -0
- package/dist/chunk-43KB23BA.cjs.map +1 -0
- package/dist/{chunk-7RF362MN.cjs → chunk-4K6R6FZD.cjs} +2 -2
- package/dist/{chunk-7RF362MN.cjs.map → chunk-4K6R6FZD.cjs.map} +1 -1
- package/dist/chunk-4KDHR4VP.js +2 -0
- package/dist/chunk-4KDHR4VP.js.map +1 -0
- package/dist/{chunk-SKQ6BRPY.js → chunk-6YF2RSXS.js} +2 -2
- package/dist/{chunk-SKQ6BRPY.js.map → chunk-6YF2RSXS.js.map} +1 -1
- package/dist/{chunk-TGAK4B5M.js → chunk-B4225TEG.js} +2 -2
- package/dist/{chunk-TGAK4B5M.js.map → chunk-B4225TEG.js.map} +1 -1
- package/dist/{chunk-Q34MIANF.js → chunk-BFBGVGNF.js} +2 -2
- package/dist/{chunk-Q34MIANF.js.map → chunk-BFBGVGNF.js.map} +1 -1
- package/dist/{chunk-OFSSOFOC.cjs → chunk-BQ5WODME.cjs} +2 -2
- package/dist/{chunk-OFSSOFOC.cjs.map → chunk-BQ5WODME.cjs.map} +1 -1
- package/dist/{chunk-WYHO26N6.js → chunk-CF56NFUG.js} +2 -2
- package/dist/{chunk-WYHO26N6.js.map → chunk-CF56NFUG.js.map} +1 -1
- package/dist/chunk-CIWFH5BJ.js +2 -0
- package/dist/chunk-CIWFH5BJ.js.map +1 -0
- package/dist/chunk-G24BRDHO.cjs +2 -0
- package/dist/chunk-G24BRDHO.cjs.map +1 -0
- package/dist/{chunk-KZOOYWQ7.js → chunk-G2MXCB7Q.js} +2 -2
- package/dist/{chunk-KZOOYWQ7.js.map → chunk-G2MXCB7Q.js.map} +1 -1
- package/dist/{chunk-FQ4F7DQH.cjs → chunk-IP4OVRZB.cjs} +2 -2
- package/dist/{chunk-FQ4F7DQH.cjs.map → chunk-IP4OVRZB.cjs.map} +1 -1
- package/dist/chunk-IU7AKVYI.cjs +2 -0
- package/dist/chunk-IU7AKVYI.cjs.map +1 -0
- package/dist/{chunk-XIH622YH.js → chunk-JISPX5A6.js} +2 -2
- package/dist/{chunk-XIH622YH.js.map → chunk-JISPX5A6.js.map} +1 -1
- package/dist/{chunk-KYK27OHG.cjs → chunk-MH4A7XAY.cjs} +2 -2
- package/dist/{chunk-KYK27OHG.cjs.map → chunk-MH4A7XAY.cjs.map} +1 -1
- package/dist/chunk-NEINJFFK.cjs +2 -0
- package/dist/{chunk-CVFVOARW.cjs.map → chunk-NEINJFFK.cjs.map} +1 -1
- package/dist/chunk-NRZCTFCQ.cjs +2 -0
- package/dist/chunk-NRZCTFCQ.cjs.map +1 -0
- package/dist/{chunk-P5JYABNP.cjs → chunk-QT3A4ULM.cjs} +2 -2
- package/dist/{chunk-P5JYABNP.cjs.map → chunk-QT3A4ULM.cjs.map} +1 -1
- package/dist/{chunk-7SSENGQL.js → chunk-U3F23ASS.js} +2 -2
- package/dist/{chunk-7SSENGQL.js.map → chunk-U3F23ASS.js.map} +1 -1
- package/dist/chunk-UY43EQTO.cjs +2 -0
- package/dist/{chunk-IW4MZW5P.cjs.map → chunk-UY43EQTO.cjs.map} +1 -1
- package/dist/{chunk-OIPOIY6M.cjs → chunk-VOY623ZD.cjs} +2 -2
- package/dist/{chunk-OIPOIY6M.cjs.map → chunk-VOY623ZD.cjs.map} +1 -1
- package/dist/{chunk-MB4EEZKP.js → chunk-WLGOABHV.js} +2 -2
- package/dist/{chunk-MB4EEZKP.js.map → chunk-WLGOABHV.js.map} +1 -1
- package/dist/chunk-WRHPQNEL.js +2 -0
- package/dist/chunk-WRHPQNEL.js.map +1 -0
- package/dist/{chunk-V5DSXK34.cjs → chunk-WUC5AUUJ.cjs} +2 -2
- package/dist/{chunk-V5DSXK34.cjs.map → chunk-WUC5AUUJ.cjs.map} +1 -1
- package/dist/{chunk-XWUYZSVO.js → chunk-Y6AKG4FJ.js} +2 -2
- package/dist/{chunk-XWUYZSVO.js.map → chunk-Y6AKG4FJ.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +77 -83
- package/dist/schema/assets.d.ts +77 -83
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +73 -73
- package/dist/schema/comments.d.ts +73 -73
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +10 -21
- package/dist/schema/common.d.ts +10 -21
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +62 -64
- package/dist/schema/conversations.d.ts +62 -64
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +97 -97
- package/dist/schema/datasets.d.ts +97 -97
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/events.cjs +2 -0
- package/dist/schema/events.cjs.map +1 -0
- package/dist/schema/events.d.cts +113 -0
- package/dist/schema/events.d.ts +113 -0
- package/dist/schema/events.js +2 -0
- package/dist/schema/events.js.map +1 -0
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +91 -91
- package/dist/schema/files.d.ts +91 -91
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +1 -3
- package/dist/schema/notifications.d.ts +1 -3
- 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 +110 -120
- package/dist/schema/posts.d.ts +110 -120
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +2 -0
- package/dist/schema/quests.cjs.map +1 -0
- package/dist/schema/quests.d.cts +1140 -0
- package/dist/schema/quests.d.ts +1140 -0
- package/dist/schema/quests.js +2 -0
- package/dist/schema/quests.js.map +1 -0
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +141 -114
- package/dist/schema/services.d.ts +141 -114
- package/dist/schema/services.js +1 -1
- package/dist/schema/tags.d.cts +7 -7
- package/dist/schema/tags.d.ts +7 -7
- 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/package.json +1 -1
- package/scripts/dump-events.ts +10 -0
- package/dist/chunk-3ZHWBPGA.cjs +0 -2
- package/dist/chunk-3ZHWBPGA.cjs.map +0 -1
- package/dist/chunk-5V7HPXUK.js +0 -2
- package/dist/chunk-5V7HPXUK.js.map +0 -1
- package/dist/chunk-6AK3RVZR.cjs +0 -2
- package/dist/chunk-6AK3RVZR.cjs.map +0 -1
- package/dist/chunk-6TOGDJKP.cjs +0 -2
- package/dist/chunk-6TOGDJKP.cjs.map +0 -1
- package/dist/chunk-7ABFUHWW.js +0 -2
- package/dist/chunk-7ABFUHWW.js.map +0 -1
- package/dist/chunk-BU2S7UEL.js +0 -2
- package/dist/chunk-BU2S7UEL.js.map +0 -1
- package/dist/chunk-CVFVOARW.cjs +0 -2
- package/dist/chunk-D7S2GB7Z.cjs +0 -2
- package/dist/chunk-D7S2GB7Z.cjs.map +0 -1
- package/dist/chunk-IW4MZW5P.cjs +0 -2
- package/dist/chunk-JPCZIGX2.js +0 -2
- package/dist/chunk-JPCZIGX2.js.map +0 -1
- package/dist/schema/blueprints.cjs +0 -2
- package/dist/schema/blueprints.cjs.map +0 -1
- package/dist/schema/blueprints.d.cts +0 -823
- package/dist/schema/blueprints.d.ts +0 -823
- package/dist/schema/blueprints.js +0 -2
- package/dist/schema/blueprints.js.map +0 -1
- package/dist/schema/replications.cjs +0 -2
- package/dist/schema/replications.cjs.map +0 -1
- package/dist/schema/replications.d.cts +0 -827
- package/dist/schema/replications.d.ts +0 -827
- package/dist/schema/replications.js +0 -2
- package/dist/schema/replications.js.map +0 -1
package/dist/schema/files.d.ts
CHANGED
|
@@ -210,14 +210,14 @@ declare const FileSchema: z.ZodObject<{
|
|
|
210
210
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
211
211
|
state: z.ZodEnum<{
|
|
212
212
|
success: "success";
|
|
213
|
-
error: "error";
|
|
214
213
|
queued: "queued";
|
|
215
214
|
"in-progress": "in-progress";
|
|
216
215
|
"timed-out": "timed-out";
|
|
216
|
+
error: "error";
|
|
217
217
|
}>;
|
|
218
218
|
source: z.ZodEnum<{
|
|
219
|
-
web: "web";
|
|
220
219
|
api: "api";
|
|
220
|
+
web: "web";
|
|
221
221
|
}>;
|
|
222
222
|
created_at: z.ZodString;
|
|
223
223
|
last_updated: z.ZodString;
|
|
@@ -250,15 +250,15 @@ declare const FileSchema: z.ZodObject<{
|
|
|
250
250
|
}, z.core.$strip>;
|
|
251
251
|
declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
252
252
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
253
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
254
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
255
|
+
text: z.ZodString;
|
|
256
|
+
}, z.core.$strip>>>>;
|
|
253
257
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
254
258
|
none: "none";
|
|
255
259
|
"pay-to-unlock": "pay-to-unlock";
|
|
256
260
|
"pay-per-use": "pay-per-use";
|
|
257
261
|
}>>;
|
|
258
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
259
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
260
|
-
text: z.ZodString;
|
|
261
|
-
}, z.core.$strip>>>>;
|
|
262
262
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
263
263
|
license_id: z.ZodOptional<z.ZodString>;
|
|
264
264
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -282,8 +282,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
282
282
|
name: z.ZodString;
|
|
283
283
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
284
|
source: z.ZodDefault<z.ZodEnum<{
|
|
285
|
-
web: "web";
|
|
286
285
|
api: "api";
|
|
286
|
+
web: "web";
|
|
287
287
|
}>>;
|
|
288
288
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
289
289
|
organization: "organization";
|
|
@@ -323,15 +323,15 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
323
323
|
}, z.core.$strip>;
|
|
324
324
|
}, z.core.$strip>, z.ZodObject<{
|
|
325
325
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
326
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
327
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
328
|
+
text: z.ZodString;
|
|
329
|
+
}, z.core.$strip>>>>;
|
|
326
330
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
327
331
|
none: "none";
|
|
328
332
|
"pay-to-unlock": "pay-to-unlock";
|
|
329
333
|
"pay-per-use": "pay-per-use";
|
|
330
334
|
}>>;
|
|
331
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
332
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
333
|
-
text: z.ZodString;
|
|
334
|
-
}, z.core.$strip>>>>;
|
|
335
335
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
336
336
|
license_id: z.ZodOptional<z.ZodString>;
|
|
337
337
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -355,8 +355,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
355
355
|
name: z.ZodString;
|
|
356
356
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
357
357
|
source: z.ZodDefault<z.ZodEnum<{
|
|
358
|
-
web: "web";
|
|
359
358
|
api: "api";
|
|
359
|
+
web: "web";
|
|
360
360
|
}>>;
|
|
361
361
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
362
362
|
organization: "organization";
|
|
@@ -388,7 +388,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
388
388
|
team_id: string | null;
|
|
389
389
|
org_id: string | null;
|
|
390
390
|
name: string;
|
|
391
|
-
source: "
|
|
391
|
+
source: "api" | "web";
|
|
392
392
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
393
393
|
created_at: string;
|
|
394
394
|
last_updated: string;
|
|
@@ -413,11 +413,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
413
413
|
reply_to_comment_id?: string | null | undefined;
|
|
414
414
|
};
|
|
415
415
|
parent?: Record<string, any> | undefined;
|
|
416
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
417
416
|
description?: {
|
|
418
417
|
json: Record<string, any>;
|
|
419
418
|
text: string;
|
|
420
419
|
} | null | undefined;
|
|
420
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
421
421
|
parent_id?: string | null | undefined;
|
|
422
422
|
license_id?: string | undefined;
|
|
423
423
|
price?: number | null | undefined;
|
|
@@ -435,7 +435,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
435
435
|
team_id: string | null;
|
|
436
436
|
org_id: string | null;
|
|
437
437
|
name: string;
|
|
438
|
-
source: "
|
|
438
|
+
source: "api" | "web";
|
|
439
439
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
440
440
|
created_at: string;
|
|
441
441
|
last_updated: string;
|
|
@@ -452,11 +452,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
452
452
|
reply_to_comment_id?: string | null | undefined;
|
|
453
453
|
};
|
|
454
454
|
parent?: Record<string, any> | undefined;
|
|
455
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
456
455
|
description?: {
|
|
457
456
|
json: Record<string, any>;
|
|
458
457
|
text: string;
|
|
459
458
|
} | null | undefined;
|
|
459
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
460
460
|
parent_id?: string | null | undefined;
|
|
461
461
|
license_id?: string | undefined;
|
|
462
462
|
price?: number | null | undefined;
|
|
@@ -474,7 +474,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
474
474
|
team_id: string | null;
|
|
475
475
|
org_id: string | null;
|
|
476
476
|
name: string;
|
|
477
|
-
source: "
|
|
477
|
+
source: "api" | "web";
|
|
478
478
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
479
479
|
created_at: string;
|
|
480
480
|
last_updated: string;
|
|
@@ -499,11 +499,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
499
499
|
reply_to_comment_id?: string | null | undefined;
|
|
500
500
|
};
|
|
501
501
|
parent?: Record<string, any> | undefined;
|
|
502
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
503
502
|
description?: {
|
|
504
503
|
json: Record<string, any>;
|
|
505
504
|
text: string;
|
|
506
505
|
} | null | undefined;
|
|
506
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
507
507
|
parent_id?: string | null | undefined;
|
|
508
508
|
license_id?: string | undefined;
|
|
509
509
|
price?: number | null | undefined;
|
|
@@ -521,7 +521,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
521
521
|
team_id: string | null;
|
|
522
522
|
org_id: string | null;
|
|
523
523
|
name: string;
|
|
524
|
-
source: "
|
|
524
|
+
source: "api" | "web";
|
|
525
525
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
526
526
|
created_at: string;
|
|
527
527
|
last_updated: string;
|
|
@@ -538,11 +538,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
538
538
|
reply_to_comment_id?: string | null | undefined;
|
|
539
539
|
};
|
|
540
540
|
parent?: Record<string, any> | undefined;
|
|
541
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
542
541
|
description?: {
|
|
543
542
|
json: Record<string, any>;
|
|
544
543
|
text: string;
|
|
545
544
|
} | null | undefined;
|
|
545
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
546
546
|
parent_id?: string | null | undefined;
|
|
547
547
|
license_id?: string | undefined;
|
|
548
548
|
price?: number | null | undefined;
|
|
@@ -557,12 +557,36 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
557
557
|
name_url_slug?: string | null | undefined;
|
|
558
558
|
}>>;
|
|
559
559
|
declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
560
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
561
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
562
|
-
web: "web";
|
|
563
|
-
api: "api";
|
|
564
|
-
}>>;
|
|
565
560
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
|
|
561
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
562
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
563
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
id: z.ZodUUID;
|
|
565
|
+
path: z.ZodString;
|
|
566
|
+
bucket: z.ZodEnum<{
|
|
567
|
+
"public-files": "public-files";
|
|
568
|
+
files: "files";
|
|
569
|
+
}>;
|
|
570
|
+
name: z.ZodString;
|
|
571
|
+
type: z.ZodString;
|
|
572
|
+
extension: z.ZodString;
|
|
573
|
+
size: z.ZodNumber;
|
|
574
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
576
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
577
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
578
|
+
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
579
|
+
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
580
|
+
originality: z.ZodOptional<z.ZodEnum<{
|
|
581
|
+
original: "original";
|
|
582
|
+
derivative: "derivative";
|
|
583
|
+
"third-party": "third-party";
|
|
584
|
+
}>>;
|
|
585
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
586
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
587
|
+
}, z.core.$strip>>;
|
|
588
|
+
name: z.ZodOptional<z.ZodString>;
|
|
589
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
566
590
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
567
591
|
organization: "organization";
|
|
568
592
|
public: "public";
|
|
@@ -570,6 +594,14 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
570
594
|
monetized: "monetized";
|
|
571
595
|
inherit: "inherit";
|
|
572
596
|
}>>;
|
|
597
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
598
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
599
|
+
text: z.ZodString;
|
|
600
|
+
}, z.core.$strip>>>>;
|
|
601
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
602
|
+
api: "api";
|
|
603
|
+
web: "web";
|
|
604
|
+
}>>;
|
|
573
605
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
574
606
|
none: "none";
|
|
575
607
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -577,18 +609,11 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
577
609
|
}>>;
|
|
578
610
|
state: z.ZodOptional<z.ZodEnum<{
|
|
579
611
|
success: "success";
|
|
580
|
-
error: "error";
|
|
581
612
|
queued: "queued";
|
|
582
613
|
"in-progress": "in-progress";
|
|
583
614
|
"timed-out": "timed-out";
|
|
615
|
+
error: "error";
|
|
584
616
|
}>>;
|
|
585
|
-
name: z.ZodOptional<z.ZodString>;
|
|
586
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
587
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
588
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
589
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
590
|
-
text: z.ZodString;
|
|
591
|
-
}, z.core.$strip>>>>;
|
|
592
617
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
593
618
|
license_id: z.ZodOptional<z.ZodString>;
|
|
594
619
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -607,60 +632,13 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
607
632
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
608
633
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
609
634
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
610
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
611
|
-
id: z.ZodUUID;
|
|
612
|
-
path: z.ZodString;
|
|
613
|
-
bucket: z.ZodEnum<{
|
|
614
|
-
"public-files": "public-files";
|
|
615
|
-
files: "files";
|
|
616
|
-
}>;
|
|
617
|
-
name: z.ZodString;
|
|
618
|
-
type: z.ZodString;
|
|
619
|
-
extension: z.ZodString;
|
|
620
|
-
size: z.ZodNumber;
|
|
621
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
622
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
623
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
624
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
625
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
626
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
627
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
628
|
-
original: "original";
|
|
629
|
-
derivative: "derivative";
|
|
630
|
-
"third-party": "third-party";
|
|
631
|
-
}>>;
|
|
632
|
-
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
633
|
-
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
634
|
-
}, z.core.$strip>>;
|
|
635
635
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
636
636
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
637
637
|
}, z.core.$strip>, z.ZodTransform<{
|
|
638
638
|
last_updated: string;
|
|
639
|
-
parent?: Record<string, any> | undefined;
|
|
640
|
-
source?: "web" | "api" | undefined;
|
|
641
639
|
asset_type?: "file" | undefined;
|
|
642
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
643
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
644
|
-
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
645
|
-
name?: string | undefined;
|
|
646
640
|
org_id?: string | undefined;
|
|
647
|
-
|
|
648
|
-
description?: {
|
|
649
|
-
json: Record<string, any>;
|
|
650
|
-
text: string;
|
|
651
|
-
} | null | undefined;
|
|
652
|
-
parent_id?: string | null | undefined;
|
|
653
|
-
license_id?: string | undefined;
|
|
654
|
-
license?: Record<string, any> | undefined;
|
|
655
|
-
name_url_slug?: string | null | undefined;
|
|
656
|
-
price?: number | null | undefined;
|
|
657
|
-
unit_cost?: number | null | undefined;
|
|
658
|
-
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
659
|
-
cost_unit?: string | null | undefined;
|
|
660
|
-
price_currency?: "usd" | "btc" | undefined;
|
|
661
|
-
stripe_product_id?: string | null | undefined;
|
|
662
|
-
stripe_price_id?: string | null | undefined;
|
|
663
|
-
stripe_meter_id?: string | null | undefined;
|
|
641
|
+
parent?: Record<string, any> | undefined;
|
|
664
642
|
metadata?: {
|
|
665
643
|
id: string;
|
|
666
644
|
path: string;
|
|
@@ -679,22 +657,16 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
679
657
|
source?: string | null | undefined;
|
|
680
658
|
reply_to_comment_id?: string | null | undefined;
|
|
681
659
|
} | undefined;
|
|
682
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
683
|
-
}, {
|
|
684
|
-
last_updated: string;
|
|
685
|
-
parent?: Record<string, any> | undefined;
|
|
686
|
-
source?: "web" | "api" | undefined;
|
|
687
|
-
asset_type?: "file" | undefined;
|
|
688
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
689
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
690
|
-
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
691
660
|
name?: string | undefined;
|
|
692
|
-
org_id?: string | undefined;
|
|
693
661
|
team_id?: string | undefined;
|
|
662
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
694
663
|
description?: {
|
|
695
664
|
json: Record<string, any>;
|
|
696
665
|
text: string;
|
|
697
666
|
} | null | undefined;
|
|
667
|
+
source?: "api" | "web" | undefined;
|
|
668
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
669
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
698
670
|
parent_id?: string | null | undefined;
|
|
699
671
|
license_id?: string | undefined;
|
|
700
672
|
license?: Record<string, any> | undefined;
|
|
@@ -707,6 +679,12 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
707
679
|
stripe_product_id?: string | null | undefined;
|
|
708
680
|
stripe_price_id?: string | null | undefined;
|
|
709
681
|
stripe_meter_id?: string | null | undefined;
|
|
682
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
683
|
+
}, {
|
|
684
|
+
last_updated: string;
|
|
685
|
+
asset_type?: "file" | undefined;
|
|
686
|
+
org_id?: string | undefined;
|
|
687
|
+
parent?: Record<string, any> | undefined;
|
|
710
688
|
metadata?: {
|
|
711
689
|
id: string;
|
|
712
690
|
path: string;
|
|
@@ -725,6 +703,28 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
725
703
|
source?: string | null | undefined;
|
|
726
704
|
reply_to_comment_id?: string | null | undefined;
|
|
727
705
|
} | undefined;
|
|
706
|
+
name?: string | undefined;
|
|
707
|
+
team_id?: string | undefined;
|
|
708
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
709
|
+
description?: {
|
|
710
|
+
json: Record<string, any>;
|
|
711
|
+
text: string;
|
|
712
|
+
} | null | undefined;
|
|
713
|
+
source?: "api" | "web" | undefined;
|
|
714
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
715
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
716
|
+
parent_id?: string | null | undefined;
|
|
717
|
+
license_id?: string | undefined;
|
|
718
|
+
license?: Record<string, any> | undefined;
|
|
719
|
+
name_url_slug?: string | null | undefined;
|
|
720
|
+
price?: number | null | undefined;
|
|
721
|
+
unit_cost?: number | null | undefined;
|
|
722
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
723
|
+
cost_unit?: string | null | undefined;
|
|
724
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
725
|
+
stripe_product_id?: string | null | undefined;
|
|
726
|
+
stripe_price_id?: string | null | undefined;
|
|
727
|
+
stripe_meter_id?: string | null | undefined;
|
|
728
728
|
preview?: Record<string, any>[] | null | undefined;
|
|
729
729
|
}>>;
|
|
730
730
|
|
package/dist/schema/files.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-
|
|
1
|
+
export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-B4225TEG.js';import'../chunk-G2MXCB7Q.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=files.js.map
|
|
2
2
|
//# sourceMappingURL=files.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk4K6R6FZD_cjs=require('../chunk-4K6R6FZD.cjs');require('../chunk-43KB23BA.cjs');Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunk4K6R6FZD_cjs.a}});//# sourceMappingURL=notifications.cjs.map
|
|
2
2
|
//# sourceMappingURL=notifications.cjs.map
|
|
@@ -38,19 +38,17 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
38
38
|
asset: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
assetId: z.ZodString;
|
|
40
40
|
assetType: z.ZodEnum<{
|
|
41
|
-
file: "file";
|
|
42
41
|
user: "user";
|
|
43
42
|
organization: "organization";
|
|
44
43
|
team: "team";
|
|
45
44
|
dataset: "dataset";
|
|
45
|
+
file: "file";
|
|
46
46
|
service: "service";
|
|
47
47
|
route: "route";
|
|
48
48
|
post: "post";
|
|
49
49
|
quest: "quest";
|
|
50
50
|
comment: "comment";
|
|
51
51
|
conversation: "conversation";
|
|
52
|
-
blueprint: "blueprint";
|
|
53
|
-
replication: "replication";
|
|
54
52
|
}>;
|
|
55
53
|
}, z.core.$strip>>;
|
|
56
54
|
mention: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
@@ -38,19 +38,17 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
38
38
|
asset: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
assetId: z.ZodString;
|
|
40
40
|
assetType: z.ZodEnum<{
|
|
41
|
-
file: "file";
|
|
42
41
|
user: "user";
|
|
43
42
|
organization: "organization";
|
|
44
43
|
team: "team";
|
|
45
44
|
dataset: "dataset";
|
|
45
|
+
file: "file";
|
|
46
46
|
service: "service";
|
|
47
47
|
route: "route";
|
|
48
48
|
post: "post";
|
|
49
49
|
quest: "quest";
|
|
50
50
|
comment: "comment";
|
|
51
51
|
conversation: "conversation";
|
|
52
|
-
blueprint: "blueprint";
|
|
53
|
-
replication: "replication";
|
|
54
52
|
}>;
|
|
55
53
|
}, z.core.$strip>>;
|
|
56
54
|
mention: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as NotificationSchema}from'../chunk-
|
|
1
|
+
export{a as NotificationSchema}from'../chunk-JISPX5A6.js';import'../chunk-WRHPQNEL.js';//# sourceMappingURL=notifications.js.map
|
|
2
2
|
//# sourceMappingURL=notifications.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkVOY623ZD_cjs=require('../chunk-VOY623ZD.cjs');require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs');Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunkVOY623ZD_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunkVOY623ZD_cjs.d}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunkVOY623ZD_cjs.c}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunkVOY623ZD_cjs.b}});//# sourceMappingURL=organizations.cjs.map
|
|
2
2
|
//# sourceMappingURL=organizations.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ActorTypePolicySchema,d as MembershipSchema,c as OrganizationsSchema,b as SourcePolicySchema}from'../chunk-
|
|
1
|
+
export{a as ActorTypePolicySchema,d as MembershipSchema,c as OrganizationsSchema,b as SourcePolicySchema}from'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';//# sourceMappingURL=organizations.js.map
|
|
2
2
|
//# sourceMappingURL=organizations.js.map
|
package/dist/schema/posts.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkWUC5AUUJ_cjs=require('../chunk-WUC5AUUJ.cjs');require('../chunk-IP4OVRZB.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.h}});//# sourceMappingURL=posts.cjs.map
|
|
2
2
|
//# sourceMappingURL=posts.cjs.map
|