@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/posts.d.ts
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;
|
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-Y6AKG4FJ.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=posts.js.map
|
|
2
2
|
//# sourceMappingURL=posts.js.map
|
package/dist/schema/services.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk42EQ7ULD_cjs=require('../chunk-42EQ7ULD.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,"ActionSchema",{enumerable:true,get:function(){return chunk42EQ7ULD_cjs.e}});Object.defineProperty(exports,"CreateServiceSchema",{enumerable:true,get:function(){return chunk42EQ7ULD_cjs.b}});Object.defineProperty(exports,"RouteSchema",{enumerable:true,get:function(){return chunk42EQ7ULD_cjs.d}});Object.defineProperty(exports,"ServiceSchema",{enumerable:true,get:function(){return chunk42EQ7ULD_cjs.a}});Object.defineProperty(exports,"UpdateServiceSchema",{enumerable:true,get:function(){return chunk42EQ7ULD_cjs.c}});//# sourceMappingURL=services.cjs.map
|
|
2
2
|
//# sourceMappingURL=services.cjs.map
|
|
@@ -108,9 +108,9 @@ declare const ServiceSchema: 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 ServiceSchema: 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
|
}>;
|
|
@@ -222,9 +222,9 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
222
222
|
created_at: z.ZodString;
|
|
223
223
|
last_updated: z.ZodString;
|
|
224
224
|
asset_type: z.ZodEnum<{
|
|
225
|
+
organization: "organization";
|
|
225
226
|
file: "file";
|
|
226
227
|
user: "user";
|
|
227
|
-
organization: "organization";
|
|
228
228
|
team: "team";
|
|
229
229
|
dataset: "dataset";
|
|
230
230
|
service: "service";
|
|
@@ -233,8 +233,6 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
233
233
|
quest: "quest";
|
|
234
234
|
comment: "comment";
|
|
235
235
|
conversation: "conversation";
|
|
236
|
-
blueprint: "blueprint";
|
|
237
|
-
replication: "replication";
|
|
238
236
|
}>;
|
|
239
237
|
metadata: z.ZodObject<{
|
|
240
238
|
authentication: z.ZodEnum<{
|
|
@@ -306,18 +304,18 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
306
304
|
api: "api";
|
|
307
305
|
}>>;
|
|
308
306
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
309
|
-
organization: "organization";
|
|
310
307
|
public: "public";
|
|
311
308
|
private: "private";
|
|
309
|
+
organization: "organization";
|
|
312
310
|
monetized: "monetized";
|
|
313
311
|
inherit: "inherit";
|
|
314
312
|
}>>>;
|
|
315
313
|
created_at: z.ZodDefault<z.ZodString>;
|
|
316
314
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
317
315
|
asset_type: z.ZodEnum<{
|
|
316
|
+
organization: "organization";
|
|
318
317
|
file: "file";
|
|
319
318
|
user: "user";
|
|
320
|
-
organization: "organization";
|
|
321
319
|
team: "team";
|
|
322
320
|
dataset: "dataset";
|
|
323
321
|
service: "service";
|
|
@@ -326,8 +324,6 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
326
324
|
quest: "quest";
|
|
327
325
|
comment: "comment";
|
|
328
326
|
conversation: "conversation";
|
|
329
|
-
blueprint: "blueprint";
|
|
330
|
-
replication: "replication";
|
|
331
327
|
}>;
|
|
332
328
|
metadata: z.ZodObject<{
|
|
333
329
|
authentication: z.ZodEnum<{
|
|
@@ -360,10 +356,10 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
360
356
|
name: string;
|
|
361
357
|
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
362
358
|
source: "web" | "api";
|
|
363
|
-
visibility: "
|
|
359
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
364
360
|
created_at: string;
|
|
365
361
|
last_updated: string;
|
|
366
|
-
asset_type: "
|
|
362
|
+
asset_type: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
|
|
367
363
|
metadata: {
|
|
368
364
|
authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
|
|
369
365
|
base_url: string;
|
|
@@ -404,10 +400,10 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
404
400
|
name: string;
|
|
405
401
|
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
406
402
|
source: "web" | "api";
|
|
407
|
-
visibility: "
|
|
403
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
408
404
|
created_at: string;
|
|
409
405
|
last_updated: string;
|
|
410
|
-
asset_type: "
|
|
406
|
+
asset_type: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
|
|
411
407
|
metadata: {
|
|
412
408
|
authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
|
|
413
409
|
base_url: string;
|
|
@@ -449,9 +445,9 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
449
445
|
api: "api";
|
|
450
446
|
}>>;
|
|
451
447
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
448
|
+
organization: "organization";
|
|
452
449
|
file: "file";
|
|
453
450
|
user: "user";
|
|
454
|
-
organization: "organization";
|
|
455
451
|
team: "team";
|
|
456
452
|
dataset: "dataset";
|
|
457
453
|
service: "service";
|
|
@@ -460,13 +456,11 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
460
456
|
quest: "quest";
|
|
461
457
|
comment: "comment";
|
|
462
458
|
conversation: "conversation";
|
|
463
|
-
blueprint: "blueprint";
|
|
464
|
-
replication: "replication";
|
|
465
459
|
}>>;
|
|
466
460
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
467
|
-
organization: "organization";
|
|
468
461
|
public: "public";
|
|
469
462
|
private: "private";
|
|
463
|
+
organization: "organization";
|
|
470
464
|
monetized: "monetized";
|
|
471
465
|
inherit: "inherit";
|
|
472
466
|
}>>;
|
|
@@ -537,8 +531,8 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
537
531
|
last_updated: string;
|
|
538
532
|
parent?: Record<string, any> | undefined;
|
|
539
533
|
source?: "web" | "api" | undefined;
|
|
540
|
-
asset_type?: "
|
|
541
|
-
visibility?: "
|
|
534
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
535
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
542
536
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
543
537
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
544
538
|
name?: string | undefined;
|
|
@@ -580,8 +574,8 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
580
574
|
last_updated: string;
|
|
581
575
|
parent?: Record<string, any> | undefined;
|
|
582
576
|
source?: "web" | "api" | undefined;
|
|
583
|
-
asset_type?: "
|
|
584
|
-
visibility?: "
|
|
577
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
578
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
585
579
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
586
580
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
587
581
|
name?: string | undefined;
|
|
@@ -771,9 +765,9 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
771
765
|
none: "none";
|
|
772
766
|
}>>;
|
|
773
767
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
774
|
-
organization: "organization";
|
|
775
768
|
public: "public";
|
|
776
769
|
private: "private";
|
|
770
|
+
organization: "organization";
|
|
777
771
|
monetized: "monetized";
|
|
778
772
|
inherit: "inherit";
|
|
779
773
|
}>>;
|
|
@@ -845,9 +839,9 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
845
839
|
text: z.ZodString;
|
|
846
840
|
}, z.core.$strip>>>;
|
|
847
841
|
visibility: z.ZodEnum<{
|
|
848
|
-
organization: "organization";
|
|
849
842
|
public: "public";
|
|
850
843
|
private: "private";
|
|
844
|
+
organization: "organization";
|
|
851
845
|
monetized: "monetized";
|
|
852
846
|
inherit: "inherit";
|
|
853
847
|
}>;
|
|
@@ -898,9 +892,9 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
898
892
|
created_at: z.ZodString;
|
|
899
893
|
last_updated: z.ZodString;
|
|
900
894
|
asset_type: z.ZodEnum<{
|
|
895
|
+
organization: "organization";
|
|
901
896
|
file: "file";
|
|
902
897
|
user: "user";
|
|
903
|
-
organization: "organization";
|
|
904
898
|
team: "team";
|
|
905
899
|
dataset: "dataset";
|
|
906
900
|
service: "service";
|
|
@@ -909,8 +903,6 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
909
903
|
quest: "quest";
|
|
910
904
|
comment: "comment";
|
|
911
905
|
conversation: "conversation";
|
|
912
|
-
blueprint: "blueprint";
|
|
913
|
-
replication: "replication";
|
|
914
906
|
}>;
|
|
915
907
|
route: z.ZodObject<{
|
|
916
908
|
id: z.ZodString;
|
|
@@ -1073,9 +1065,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1073
1065
|
none: "none";
|
|
1074
1066
|
}>>;
|
|
1075
1067
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
-
organization: "organization";
|
|
1077
1068
|
public: "public";
|
|
1078
1069
|
private: "private";
|
|
1070
|
+
organization: "organization";
|
|
1079
1071
|
monetized: "monetized";
|
|
1080
1072
|
inherit: "inherit";
|
|
1081
1073
|
}>>;
|
|
@@ -1140,9 +1132,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1140
1132
|
license_id: z.ZodString;
|
|
1141
1133
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1142
1134
|
asset_type: z.ZodEnum<{
|
|
1135
|
+
organization: "organization";
|
|
1143
1136
|
file: "file";
|
|
1144
1137
|
user: "user";
|
|
1145
|
-
organization: "organization";
|
|
1146
1138
|
team: "team";
|
|
1147
1139
|
dataset: "dataset";
|
|
1148
1140
|
service: "service";
|
|
@@ -1151,8 +1143,6 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1151
1143
|
quest: "quest";
|
|
1152
1144
|
comment: "comment";
|
|
1153
1145
|
conversation: "conversation";
|
|
1154
|
-
blueprint: "blueprint";
|
|
1155
|
-
replication: "replication";
|
|
1156
1146
|
}>;
|
|
1157
1147
|
name: z.ZodString;
|
|
1158
1148
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1162,9 +1152,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1162
1152
|
text: z.ZodString;
|
|
1163
1153
|
}, z.core.$strip>>>;
|
|
1164
1154
|
visibility: z.ZodEnum<{
|
|
1165
|
-
organization: "organization";
|
|
1166
1155
|
public: "public";
|
|
1167
1156
|
private: "private";
|
|
1157
|
+
organization: "organization";
|
|
1168
1158
|
monetized: "monetized";
|
|
1169
1159
|
inherit: "inherit";
|
|
1170
1160
|
}>;
|
|
@@ -1324,9 +1314,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1324
1314
|
none: "none";
|
|
1325
1315
|
}>>;
|
|
1326
1316
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1327
|
-
organization: "organization";
|
|
1328
1317
|
public: "public";
|
|
1329
1318
|
private: "private";
|
|
1319
|
+
organization: "organization";
|
|
1330
1320
|
monetized: "monetized";
|
|
1331
1321
|
inherit: "inherit";
|
|
1332
1322
|
}>>;
|
|
@@ -1391,9 +1381,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1391
1381
|
license_id: z.ZodString;
|
|
1392
1382
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1393
1383
|
asset_type: z.ZodEnum<{
|
|
1384
|
+
organization: "organization";
|
|
1394
1385
|
file: "file";
|
|
1395
1386
|
user: "user";
|
|
1396
|
-
organization: "organization";
|
|
1397
1387
|
team: "team";
|
|
1398
1388
|
dataset: "dataset";
|
|
1399
1389
|
service: "service";
|
|
@@ -1402,8 +1392,6 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1402
1392
|
quest: "quest";
|
|
1403
1393
|
comment: "comment";
|
|
1404
1394
|
conversation: "conversation";
|
|
1405
|
-
blueprint: "blueprint";
|
|
1406
|
-
replication: "replication";
|
|
1407
1395
|
}>;
|
|
1408
1396
|
name: z.ZodString;
|
|
1409
1397
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1413,9 +1401,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1413
1401
|
text: z.ZodString;
|
|
1414
1402
|
}, z.core.$strip>>>;
|
|
1415
1403
|
visibility: z.ZodEnum<{
|
|
1416
|
-
organization: "organization";
|
|
1417
1404
|
public: "public";
|
|
1418
1405
|
private: "private";
|
|
1406
|
+
organization: "organization";
|
|
1419
1407
|
monetized: "monetized";
|
|
1420
1408
|
inherit: "inherit";
|
|
1421
1409
|
}>;
|