@ourofoundation/ouro-js 3.2.5 → 3.3.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-D7S2GB7Z.cjs → chunk-42EQ7ULD.cjs} +2 -2
- package/dist/{chunk-D7S2GB7Z.cjs.map → chunk-42EQ7ULD.cjs.map} +1 -1
- 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-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-5V7HPXUK.js → chunk-FDKZIS34.js} +2 -2
- package/dist/{chunk-5V7HPXUK.js.map → chunk-FDKZIS34.js.map} +1 -1
- 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-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-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 +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +11 -17
- package/dist/schema/assets.d.ts +11 -17
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +78 -78
- package/dist/schema/comments.d.ts +78 -78
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +8 -19
- package/dist/schema/common.d.ts +8 -19
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +9 -11
- package/dist/schema/conversations.d.ts +9 -11
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +11 -11
- package/dist/schema/datasets.d.ts +11 -11
- 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 +11 -11
- package/dist/schema/files.d.ts +11 -11
- 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.d.cts +1 -1
- package/dist/schema/organizations.d.ts +1 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +21 -31
- package/dist/schema/posts.d.ts +21 -31
- package/dist/schema/posts.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +24 -36
- package/dist/schema/services.d.ts +24 -36
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +5 -5
- package/dist/schema/teams.d.ts +5 -5
- 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-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-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.cts
CHANGED
|
@@ -108,9 +108,9 @@ declare const FileSchema: z.ZodObject<{
|
|
|
108
108
|
none: "none";
|
|
109
109
|
}>>;
|
|
110
110
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
organization: "organization";
|
|
112
111
|
public: "public";
|
|
113
112
|
private: "private";
|
|
113
|
+
organization: "organization";
|
|
114
114
|
monetized: "monetized";
|
|
115
115
|
inherit: "inherit";
|
|
116
116
|
}>>;
|
|
@@ -182,9 +182,9 @@ declare const FileSchema: z.ZodObject<{
|
|
|
182
182
|
text: z.ZodString;
|
|
183
183
|
}, z.core.$strip>>>;
|
|
184
184
|
visibility: z.ZodEnum<{
|
|
185
|
-
organization: "organization";
|
|
186
185
|
public: "public";
|
|
187
186
|
private: "private";
|
|
187
|
+
organization: "organization";
|
|
188
188
|
monetized: "monetized";
|
|
189
189
|
inherit: "inherit";
|
|
190
190
|
}>;
|
|
@@ -286,9 +286,9 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
286
286
|
api: "api";
|
|
287
287
|
}>>;
|
|
288
288
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
289
|
-
organization: "organization";
|
|
290
289
|
public: "public";
|
|
291
290
|
private: "private";
|
|
291
|
+
organization: "organization";
|
|
292
292
|
monetized: "monetized";
|
|
293
293
|
inherit: "inherit";
|
|
294
294
|
}>>>;
|
|
@@ -359,9 +359,9 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
359
359
|
api: "api";
|
|
360
360
|
}>>;
|
|
361
361
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
362
|
-
organization: "organization";
|
|
363
362
|
public: "public";
|
|
364
363
|
private: "private";
|
|
364
|
+
organization: "organization";
|
|
365
365
|
monetized: "monetized";
|
|
366
366
|
inherit: "inherit";
|
|
367
367
|
}>>>;
|
|
@@ -389,7 +389,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
389
389
|
org_id: string | null;
|
|
390
390
|
name: string;
|
|
391
391
|
source: "web" | "api";
|
|
392
|
-
visibility: "
|
|
392
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
393
393
|
created_at: string;
|
|
394
394
|
last_updated: string;
|
|
395
395
|
asset_type: "file";
|
|
@@ -436,7 +436,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
436
|
org_id: string | null;
|
|
437
437
|
name: string;
|
|
438
438
|
source: "web" | "api";
|
|
439
|
-
visibility: "
|
|
439
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
440
440
|
created_at: string;
|
|
441
441
|
last_updated: string;
|
|
442
442
|
asset_type: "file";
|
|
@@ -475,7 +475,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
475
475
|
org_id: string | null;
|
|
476
476
|
name: string;
|
|
477
477
|
source: "web" | "api";
|
|
478
|
-
visibility: "
|
|
478
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
479
479
|
created_at: string;
|
|
480
480
|
last_updated: string;
|
|
481
481
|
asset_type: "file";
|
|
@@ -522,7 +522,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
522
522
|
org_id: string | null;
|
|
523
523
|
name: string;
|
|
524
524
|
source: "web" | "api";
|
|
525
|
-
visibility: "
|
|
525
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
526
526
|
created_at: string;
|
|
527
527
|
last_updated: string;
|
|
528
528
|
asset_type: "file";
|
|
@@ -564,9 +564,9 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
564
564
|
}>>;
|
|
565
565
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
|
|
566
566
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
567
|
-
organization: "organization";
|
|
568
567
|
public: "public";
|
|
569
568
|
private: "private";
|
|
569
|
+
organization: "organization";
|
|
570
570
|
monetized: "monetized";
|
|
571
571
|
inherit: "inherit";
|
|
572
572
|
}>>;
|
|
@@ -639,7 +639,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
639
639
|
parent?: Record<string, any> | undefined;
|
|
640
640
|
source?: "web" | "api" | undefined;
|
|
641
641
|
asset_type?: "file" | undefined;
|
|
642
|
-
visibility?: "
|
|
642
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
643
643
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
644
644
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
645
645
|
name?: string | undefined;
|
|
@@ -685,7 +685,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
685
685
|
parent?: Record<string, any> | undefined;
|
|
686
686
|
source?: "web" | "api" | undefined;
|
|
687
687
|
asset_type?: "file" | undefined;
|
|
688
|
-
visibility?: "
|
|
688
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
689
689
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
690
690
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
691
691
|
name?: string | undefined;
|
package/dist/schema/files.d.ts
CHANGED
|
@@ -108,9 +108,9 @@ declare const FileSchema: z.ZodObject<{
|
|
|
108
108
|
none: "none";
|
|
109
109
|
}>>;
|
|
110
110
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
organization: "organization";
|
|
112
111
|
public: "public";
|
|
113
112
|
private: "private";
|
|
113
|
+
organization: "organization";
|
|
114
114
|
monetized: "monetized";
|
|
115
115
|
inherit: "inherit";
|
|
116
116
|
}>>;
|
|
@@ -182,9 +182,9 @@ declare const FileSchema: z.ZodObject<{
|
|
|
182
182
|
text: z.ZodString;
|
|
183
183
|
}, z.core.$strip>>>;
|
|
184
184
|
visibility: z.ZodEnum<{
|
|
185
|
-
organization: "organization";
|
|
186
185
|
public: "public";
|
|
187
186
|
private: "private";
|
|
187
|
+
organization: "organization";
|
|
188
188
|
monetized: "monetized";
|
|
189
189
|
inherit: "inherit";
|
|
190
190
|
}>;
|
|
@@ -286,9 +286,9 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
286
286
|
api: "api";
|
|
287
287
|
}>>;
|
|
288
288
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
289
|
-
organization: "organization";
|
|
290
289
|
public: "public";
|
|
291
290
|
private: "private";
|
|
291
|
+
organization: "organization";
|
|
292
292
|
monetized: "monetized";
|
|
293
293
|
inherit: "inherit";
|
|
294
294
|
}>>>;
|
|
@@ -359,9 +359,9 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
359
359
|
api: "api";
|
|
360
360
|
}>>;
|
|
361
361
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
362
|
-
organization: "organization";
|
|
363
362
|
public: "public";
|
|
364
363
|
private: "private";
|
|
364
|
+
organization: "organization";
|
|
365
365
|
monetized: "monetized";
|
|
366
366
|
inherit: "inherit";
|
|
367
367
|
}>>>;
|
|
@@ -389,7 +389,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
389
389
|
org_id: string | null;
|
|
390
390
|
name: string;
|
|
391
391
|
source: "web" | "api";
|
|
392
|
-
visibility: "
|
|
392
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
393
393
|
created_at: string;
|
|
394
394
|
last_updated: string;
|
|
395
395
|
asset_type: "file";
|
|
@@ -436,7 +436,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
436
|
org_id: string | null;
|
|
437
437
|
name: string;
|
|
438
438
|
source: "web" | "api";
|
|
439
|
-
visibility: "
|
|
439
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
440
440
|
created_at: string;
|
|
441
441
|
last_updated: string;
|
|
442
442
|
asset_type: "file";
|
|
@@ -475,7 +475,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
475
475
|
org_id: string | null;
|
|
476
476
|
name: string;
|
|
477
477
|
source: "web" | "api";
|
|
478
|
-
visibility: "
|
|
478
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
479
479
|
created_at: string;
|
|
480
480
|
last_updated: string;
|
|
481
481
|
asset_type: "file";
|
|
@@ -522,7 +522,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
522
522
|
org_id: string | null;
|
|
523
523
|
name: string;
|
|
524
524
|
source: "web" | "api";
|
|
525
|
-
visibility: "
|
|
525
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
526
526
|
created_at: string;
|
|
527
527
|
last_updated: string;
|
|
528
528
|
asset_type: "file";
|
|
@@ -564,9 +564,9 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
564
564
|
}>>;
|
|
565
565
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
|
|
566
566
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
567
|
-
organization: "organization";
|
|
568
567
|
public: "public";
|
|
569
568
|
private: "private";
|
|
569
|
+
organization: "organization";
|
|
570
570
|
monetized: "monetized";
|
|
571
571
|
inherit: "inherit";
|
|
572
572
|
}>>;
|
|
@@ -639,7 +639,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
639
639
|
parent?: Record<string, any> | undefined;
|
|
640
640
|
source?: "web" | "api" | undefined;
|
|
641
641
|
asset_type?: "file" | undefined;
|
|
642
|
-
visibility?: "
|
|
642
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
643
643
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
644
644
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
645
645
|
name?: string | undefined;
|
|
@@ -685,7 +685,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
685
685
|
parent?: Record<string, any> | undefined;
|
|
686
686
|
source?: "web" | "api" | undefined;
|
|
687
687
|
asset_type?: "file" | undefined;
|
|
688
|
-
visibility?: "
|
|
688
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
689
689
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
690
690
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
691
691
|
name?: string | undefined;
|
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,9 +38,9 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
38
38
|
asset: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
assetId: z.ZodString;
|
|
40
40
|
assetType: z.ZodEnum<{
|
|
41
|
+
organization: "organization";
|
|
41
42
|
file: "file";
|
|
42
43
|
user: "user";
|
|
43
|
-
organization: "organization";
|
|
44
44
|
team: "team";
|
|
45
45
|
dataset: "dataset";
|
|
46
46
|
service: "service";
|
|
@@ -49,8 +49,6 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
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,9 +38,9 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
38
38
|
asset: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
assetId: z.ZodString;
|
|
40
40
|
assetType: z.ZodEnum<{
|
|
41
|
+
organization: "organization";
|
|
41
42
|
file: "file";
|
|
42
43
|
user: "user";
|
|
43
|
-
organization: "organization";
|
|
44
44
|
team: "team";
|
|
45
45
|
dataset: "dataset";
|
|
46
46
|
service: "service";
|
|
@@ -49,8 +49,6 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
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
|
|
@@ -80,9 +80,9 @@ declare const MembershipSchema: z.ZodObject<{
|
|
|
80
80
|
membership_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
81
81
|
added_at: z.ZodDefault<z.ZodString>;
|
|
82
82
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
83
|
-
organization: "organization";
|
|
84
83
|
public: "public";
|
|
85
84
|
private: "private";
|
|
85
|
+
organization: "organization";
|
|
86
86
|
monetized: "monetized";
|
|
87
87
|
inherit: "inherit";
|
|
88
88
|
}>>;
|
|
@@ -80,9 +80,9 @@ declare const MembershipSchema: z.ZodObject<{
|
|
|
80
80
|
membership_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
81
81
|
added_at: z.ZodDefault<z.ZodString>;
|
|
82
82
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
83
|
-
organization: "organization";
|
|
84
83
|
public: "public";
|
|
85
84
|
private: "private";
|
|
85
|
+
organization: "organization";
|
|
86
86
|
monetized: "monetized";
|
|
87
87
|
inherit: "inherit";
|
|
88
88
|
}>>;
|
|
@@ -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
|
package/dist/schema/posts.d.cts
CHANGED
|
@@ -119,9 +119,9 @@ declare const PostSchema: z.ZodObject<{
|
|
|
119
119
|
none: "none";
|
|
120
120
|
}>>;
|
|
121
121
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
122
|
-
organization: "organization";
|
|
123
122
|
public: "public";
|
|
124
123
|
private: "private";
|
|
124
|
+
organization: "organization";
|
|
125
125
|
monetized: "monetized";
|
|
126
126
|
inherit: "inherit";
|
|
127
127
|
}>>;
|
|
@@ -192,9 +192,9 @@ declare const PostSchema: z.ZodObject<{
|
|
|
192
192
|
text: z.ZodString;
|
|
193
193
|
}, z.core.$strip>>>;
|
|
194
194
|
visibility: z.ZodEnum<{
|
|
195
|
-
organization: "organization";
|
|
196
195
|
public: "public";
|
|
197
196
|
private: "private";
|
|
197
|
+
organization: "organization";
|
|
198
198
|
monetized: "monetized";
|
|
199
199
|
inherit: "inherit";
|
|
200
200
|
}>;
|
|
@@ -232,9 +232,9 @@ declare const PostSchema: z.ZodObject<{
|
|
|
232
232
|
last_updated: z.ZodString;
|
|
233
233
|
name: z.ZodNullable<z.ZodString>;
|
|
234
234
|
asset_type: z.ZodEnum<{
|
|
235
|
+
organization: "organization";
|
|
235
236
|
file: "file";
|
|
236
237
|
user: "user";
|
|
237
|
-
organization: "organization";
|
|
238
238
|
team: "team";
|
|
239
239
|
dataset: "dataset";
|
|
240
240
|
service: "service";
|
|
@@ -243,8 +243,6 @@ declare const PostSchema: z.ZodObject<{
|
|
|
243
243
|
quest: "quest";
|
|
244
244
|
comment: "comment";
|
|
245
245
|
conversation: "conversation";
|
|
246
|
-
blueprint: "blueprint";
|
|
247
|
-
replication: "replication";
|
|
248
246
|
}>;
|
|
249
247
|
metadata: z.ZodObject<{
|
|
250
248
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -327,9 +325,9 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
327
325
|
api: "api";
|
|
328
326
|
}>>;
|
|
329
327
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
330
|
-
organization: "organization";
|
|
331
328
|
public: "public";
|
|
332
329
|
private: "private";
|
|
330
|
+
organization: "organization";
|
|
333
331
|
monetized: "monetized";
|
|
334
332
|
inherit: "inherit";
|
|
335
333
|
}>>>;
|
|
@@ -347,7 +345,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
347
345
|
org_id: string | null;
|
|
348
346
|
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
349
347
|
source: "web" | "api";
|
|
350
|
-
visibility: "
|
|
348
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
351
349
|
created_at: string;
|
|
352
350
|
last_updated: string;
|
|
353
351
|
asset_type: "post";
|
|
@@ -388,7 +386,7 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
388
386
|
org_id: string | null;
|
|
389
387
|
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
390
388
|
source: "web" | "api";
|
|
391
|
-
visibility: "
|
|
389
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
392
390
|
created_at: string;
|
|
393
391
|
last_updated: string;
|
|
394
392
|
asset_type: "post";
|
|
@@ -532,9 +530,9 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
532
530
|
none: "none";
|
|
533
531
|
}>>;
|
|
534
532
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
535
|
-
organization: "organization";
|
|
536
533
|
public: "public";
|
|
537
534
|
private: "private";
|
|
535
|
+
organization: "organization";
|
|
538
536
|
monetized: "monetized";
|
|
539
537
|
inherit: "inherit";
|
|
540
538
|
}>>;
|
|
@@ -605,9 +603,9 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
605
603
|
text: z.ZodString;
|
|
606
604
|
}, z.core.$strip>>>;
|
|
607
605
|
visibility: z.ZodEnum<{
|
|
608
|
-
organization: "organization";
|
|
609
606
|
public: "public";
|
|
610
607
|
private: "private";
|
|
608
|
+
organization: "organization";
|
|
611
609
|
monetized: "monetized";
|
|
612
610
|
inherit: "inherit";
|
|
613
611
|
}>;
|
|
@@ -645,9 +643,9 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
645
643
|
last_updated: z.ZodString;
|
|
646
644
|
name: z.ZodNullable<z.ZodString>;
|
|
647
645
|
asset_type: z.ZodEnum<{
|
|
646
|
+
organization: "organization";
|
|
648
647
|
file: "file";
|
|
649
648
|
user: "user";
|
|
650
|
-
organization: "organization";
|
|
651
649
|
team: "team";
|
|
652
650
|
dataset: "dataset";
|
|
653
651
|
service: "service";
|
|
@@ -656,8 +654,6 @@ declare const ReadPostSchema: z.ZodObject<{
|
|
|
656
654
|
quest: "quest";
|
|
657
655
|
comment: "comment";
|
|
658
656
|
conversation: "conversation";
|
|
659
|
-
blueprint: "blueprint";
|
|
660
|
-
replication: "replication";
|
|
661
657
|
}>;
|
|
662
658
|
metadata: z.ZodObject<{
|
|
663
659
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -796,9 +792,9 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
796
792
|
none: "none";
|
|
797
793
|
}>>;
|
|
798
794
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
799
|
-
organization: "organization";
|
|
800
795
|
public: "public";
|
|
801
796
|
private: "private";
|
|
797
|
+
organization: "organization";
|
|
802
798
|
monetized: "monetized";
|
|
803
799
|
inherit: "inherit";
|
|
804
800
|
}>>;
|
|
@@ -869,9 +865,9 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
869
865
|
text: z.ZodString;
|
|
870
866
|
}, z.core.$strip>>>;
|
|
871
867
|
visibility: z.ZodEnum<{
|
|
872
|
-
organization: "organization";
|
|
873
868
|
public: "public";
|
|
874
869
|
private: "private";
|
|
870
|
+
organization: "organization";
|
|
875
871
|
monetized: "monetized";
|
|
876
872
|
inherit: "inherit";
|
|
877
873
|
}>;
|
|
@@ -909,9 +905,9 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
909
905
|
last_updated: z.ZodString;
|
|
910
906
|
name: z.ZodNullable<z.ZodString>;
|
|
911
907
|
asset_type: z.ZodEnum<{
|
|
908
|
+
organization: "organization";
|
|
912
909
|
file: "file";
|
|
913
910
|
user: "user";
|
|
914
|
-
organization: "organization";
|
|
915
911
|
team: "team";
|
|
916
912
|
dataset: "dataset";
|
|
917
913
|
service: "service";
|
|
@@ -920,8 +916,6 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
920
916
|
quest: "quest";
|
|
921
917
|
comment: "comment";
|
|
922
918
|
conversation: "conversation";
|
|
923
|
-
blueprint: "blueprint";
|
|
924
|
-
replication: "replication";
|
|
925
919
|
}>;
|
|
926
920
|
metadata: z.ZodObject<{
|
|
927
921
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1060,9 +1054,9 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1060
1054
|
none: "none";
|
|
1061
1055
|
}>>;
|
|
1062
1056
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1063
|
-
organization: "organization";
|
|
1064
1057
|
public: "public";
|
|
1065
1058
|
private: "private";
|
|
1059
|
+
organization: "organization";
|
|
1066
1060
|
monetized: "monetized";
|
|
1067
1061
|
inherit: "inherit";
|
|
1068
1062
|
}>>;
|
|
@@ -1133,9 +1127,9 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1133
1127
|
text: z.ZodString;
|
|
1134
1128
|
}, z.core.$strip>>>;
|
|
1135
1129
|
visibility: z.ZodEnum<{
|
|
1136
|
-
organization: "organization";
|
|
1137
1130
|
public: "public";
|
|
1138
1131
|
private: "private";
|
|
1132
|
+
organization: "organization";
|
|
1139
1133
|
monetized: "monetized";
|
|
1140
1134
|
inherit: "inherit";
|
|
1141
1135
|
}>;
|
|
@@ -1173,9 +1167,9 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1173
1167
|
last_updated: z.ZodString;
|
|
1174
1168
|
name: z.ZodNullable<z.ZodString>;
|
|
1175
1169
|
asset_type: z.ZodEnum<{
|
|
1170
|
+
organization: "organization";
|
|
1176
1171
|
file: "file";
|
|
1177
1172
|
user: "user";
|
|
1178
|
-
organization: "organization";
|
|
1179
1173
|
team: "team";
|
|
1180
1174
|
dataset: "dataset";
|
|
1181
1175
|
service: "service";
|
|
@@ -1184,8 +1178,6 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
|
|
|
1184
1178
|
quest: "quest";
|
|
1185
1179
|
comment: "comment";
|
|
1186
1180
|
conversation: "conversation";
|
|
1187
|
-
blueprint: "blueprint";
|
|
1188
|
-
replication: "replication";
|
|
1189
1181
|
}>;
|
|
1190
1182
|
metadata: z.ZodObject<{
|
|
1191
1183
|
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1219,9 +1211,9 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1219
1211
|
api: "api";
|
|
1220
1212
|
}>>;
|
|
1221
1213
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
1214
|
+
organization: "organization";
|
|
1222
1215
|
file: "file";
|
|
1223
1216
|
user: "user";
|
|
1224
|
-
organization: "organization";
|
|
1225
1217
|
team: "team";
|
|
1226
1218
|
dataset: "dataset";
|
|
1227
1219
|
service: "service";
|
|
@@ -1230,13 +1222,11 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1230
1222
|
quest: "quest";
|
|
1231
1223
|
comment: "comment";
|
|
1232
1224
|
conversation: "conversation";
|
|
1233
|
-
blueprint: "blueprint";
|
|
1234
|
-
replication: "replication";
|
|
1235
1225
|
}>>;
|
|
1236
1226
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1237
|
-
organization: "organization";
|
|
1238
1227
|
public: "public";
|
|
1239
1228
|
private: "private";
|
|
1229
|
+
organization: "organization";
|
|
1240
1230
|
monetized: "monetized";
|
|
1241
1231
|
inherit: "inherit";
|
|
1242
1232
|
}>>;
|
|
@@ -1299,8 +1289,8 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1299
1289
|
last_updated: string;
|
|
1300
1290
|
parent?: Record<string, any> | undefined;
|
|
1301
1291
|
source?: "web" | "api" | undefined;
|
|
1302
|
-
asset_type?: "
|
|
1303
|
-
visibility?: "
|
|
1292
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
1293
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
1304
1294
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1305
1295
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
1306
1296
|
name?: string | null | undefined;
|
|
@@ -1339,8 +1329,8 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1339
1329
|
last_updated: string;
|
|
1340
1330
|
parent?: Record<string, any> | undefined;
|
|
1341
1331
|
source?: "web" | "api" | undefined;
|
|
1342
|
-
asset_type?: "
|
|
1343
|
-
visibility?: "
|
|
1332
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
1333
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
1344
1334
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1345
1335
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
1346
1336
|
name?: string | null | undefined;
|