@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/assets.d.cts
CHANGED
|
@@ -127,9 +127,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
127
127
|
none: "none";
|
|
128
128
|
}>>;
|
|
129
129
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
130
|
-
organization: "organization";
|
|
131
130
|
public: "public";
|
|
132
131
|
private: "private";
|
|
132
|
+
organization: "organization";
|
|
133
133
|
monetized: "monetized";
|
|
134
134
|
inherit: "inherit";
|
|
135
135
|
}>>;
|
|
@@ -194,9 +194,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
194
194
|
license_id: z.ZodString;
|
|
195
195
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
196
196
|
asset_type: z.ZodEnum<{
|
|
197
|
+
organization: "organization";
|
|
197
198
|
file: "file";
|
|
198
199
|
user: "user";
|
|
199
|
-
organization: "organization";
|
|
200
200
|
team: "team";
|
|
201
201
|
dataset: "dataset";
|
|
202
202
|
service: "service";
|
|
@@ -205,8 +205,6 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
205
205
|
quest: "quest";
|
|
206
206
|
comment: "comment";
|
|
207
207
|
conversation: "conversation";
|
|
208
|
-
blueprint: "blueprint";
|
|
209
|
-
replication: "replication";
|
|
210
208
|
}>;
|
|
211
209
|
name: z.ZodString;
|
|
212
210
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -216,9 +214,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
216
214
|
text: z.ZodString;
|
|
217
215
|
}, z.core.$strip>>>;
|
|
218
216
|
visibility: z.ZodEnum<{
|
|
219
|
-
organization: "organization";
|
|
220
217
|
public: "public";
|
|
221
218
|
private: "private";
|
|
219
|
+
organization: "organization";
|
|
222
220
|
monetized: "monetized";
|
|
223
221
|
inherit: "inherit";
|
|
224
222
|
}>;
|
|
@@ -272,9 +270,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
272
270
|
declare const CreateAssetSchema: z.ZodObject<{
|
|
273
271
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
274
272
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
273
|
+
organization: "organization";
|
|
275
274
|
file: "file";
|
|
276
275
|
user: "user";
|
|
277
|
-
organization: "organization";
|
|
278
276
|
team: "team";
|
|
279
277
|
dataset: "dataset";
|
|
280
278
|
service: "service";
|
|
@@ -283,8 +281,6 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
283
281
|
quest: "quest";
|
|
284
282
|
comment: "comment";
|
|
285
283
|
conversation: "conversation";
|
|
286
|
-
blueprint: "blueprint";
|
|
287
|
-
replication: "replication";
|
|
288
284
|
}>>;
|
|
289
285
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
290
286
|
none: "none";
|
|
@@ -342,9 +338,9 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
342
338
|
api: "api";
|
|
343
339
|
}>>;
|
|
344
340
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
345
|
-
organization: "organization";
|
|
346
341
|
public: "public";
|
|
347
342
|
private: "private";
|
|
343
|
+
organization: "organization";
|
|
348
344
|
monetized: "monetized";
|
|
349
345
|
inherit: "inherit";
|
|
350
346
|
}>>>;
|
|
@@ -358,9 +354,9 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
358
354
|
api: "api";
|
|
359
355
|
}>>;
|
|
360
356
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
357
|
+
organization: "organization";
|
|
361
358
|
file: "file";
|
|
362
359
|
user: "user";
|
|
363
|
-
organization: "organization";
|
|
364
360
|
team: "team";
|
|
365
361
|
dataset: "dataset";
|
|
366
362
|
service: "service";
|
|
@@ -369,13 +365,11 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
369
365
|
quest: "quest";
|
|
370
366
|
comment: "comment";
|
|
371
367
|
conversation: "conversation";
|
|
372
|
-
blueprint: "blueprint";
|
|
373
|
-
replication: "replication";
|
|
374
368
|
}>>;
|
|
375
369
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
376
|
-
organization: "organization";
|
|
377
370
|
public: "public";
|
|
378
371
|
private: "private";
|
|
372
|
+
organization: "organization";
|
|
379
373
|
monetized: "monetized";
|
|
380
374
|
inherit: "inherit";
|
|
381
375
|
}>>;
|
|
@@ -434,8 +428,8 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
434
428
|
}, z.core.$strip>, z.ZodTransform<{
|
|
435
429
|
parent?: Record<string, any> | undefined;
|
|
436
430
|
source?: "web" | "api" | undefined;
|
|
437
|
-
asset_type?: "
|
|
438
|
-
visibility?: "
|
|
431
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
432
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
439
433
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
440
434
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
441
435
|
name?: string | undefined;
|
|
@@ -471,8 +465,8 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
471
465
|
}, {
|
|
472
466
|
parent?: Record<string, any> | undefined;
|
|
473
467
|
source?: "web" | "api" | undefined;
|
|
474
|
-
asset_type?: "
|
|
475
|
-
visibility?: "
|
|
468
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
469
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
476
470
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
477
471
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
478
472
|
name?: string | undefined;
|
package/dist/schema/assets.d.ts
CHANGED
|
@@ -127,9 +127,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
127
127
|
none: "none";
|
|
128
128
|
}>>;
|
|
129
129
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
130
|
-
organization: "organization";
|
|
131
130
|
public: "public";
|
|
132
131
|
private: "private";
|
|
132
|
+
organization: "organization";
|
|
133
133
|
monetized: "monetized";
|
|
134
134
|
inherit: "inherit";
|
|
135
135
|
}>>;
|
|
@@ -194,9 +194,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
194
194
|
license_id: z.ZodString;
|
|
195
195
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
196
196
|
asset_type: z.ZodEnum<{
|
|
197
|
+
organization: "organization";
|
|
197
198
|
file: "file";
|
|
198
199
|
user: "user";
|
|
199
|
-
organization: "organization";
|
|
200
200
|
team: "team";
|
|
201
201
|
dataset: "dataset";
|
|
202
202
|
service: "service";
|
|
@@ -205,8 +205,6 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
205
205
|
quest: "quest";
|
|
206
206
|
comment: "comment";
|
|
207
207
|
conversation: "conversation";
|
|
208
|
-
blueprint: "blueprint";
|
|
209
|
-
replication: "replication";
|
|
210
208
|
}>;
|
|
211
209
|
name: z.ZodString;
|
|
212
210
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -216,9 +214,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
216
214
|
text: z.ZodString;
|
|
217
215
|
}, z.core.$strip>>>;
|
|
218
216
|
visibility: z.ZodEnum<{
|
|
219
|
-
organization: "organization";
|
|
220
217
|
public: "public";
|
|
221
218
|
private: "private";
|
|
219
|
+
organization: "organization";
|
|
222
220
|
monetized: "monetized";
|
|
223
221
|
inherit: "inherit";
|
|
224
222
|
}>;
|
|
@@ -272,9 +270,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
272
270
|
declare const CreateAssetSchema: z.ZodObject<{
|
|
273
271
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
274
272
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
273
|
+
organization: "organization";
|
|
275
274
|
file: "file";
|
|
276
275
|
user: "user";
|
|
277
|
-
organization: "organization";
|
|
278
276
|
team: "team";
|
|
279
277
|
dataset: "dataset";
|
|
280
278
|
service: "service";
|
|
@@ -283,8 +281,6 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
283
281
|
quest: "quest";
|
|
284
282
|
comment: "comment";
|
|
285
283
|
conversation: "conversation";
|
|
286
|
-
blueprint: "blueprint";
|
|
287
|
-
replication: "replication";
|
|
288
284
|
}>>;
|
|
289
285
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
290
286
|
none: "none";
|
|
@@ -342,9 +338,9 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
342
338
|
api: "api";
|
|
343
339
|
}>>;
|
|
344
340
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
345
|
-
organization: "organization";
|
|
346
341
|
public: "public";
|
|
347
342
|
private: "private";
|
|
343
|
+
organization: "organization";
|
|
348
344
|
monetized: "monetized";
|
|
349
345
|
inherit: "inherit";
|
|
350
346
|
}>>>;
|
|
@@ -358,9 +354,9 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
358
354
|
api: "api";
|
|
359
355
|
}>>;
|
|
360
356
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
357
|
+
organization: "organization";
|
|
361
358
|
file: "file";
|
|
362
359
|
user: "user";
|
|
363
|
-
organization: "organization";
|
|
364
360
|
team: "team";
|
|
365
361
|
dataset: "dataset";
|
|
366
362
|
service: "service";
|
|
@@ -369,13 +365,11 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
369
365
|
quest: "quest";
|
|
370
366
|
comment: "comment";
|
|
371
367
|
conversation: "conversation";
|
|
372
|
-
blueprint: "blueprint";
|
|
373
|
-
replication: "replication";
|
|
374
368
|
}>>;
|
|
375
369
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
376
|
-
organization: "organization";
|
|
377
370
|
public: "public";
|
|
378
371
|
private: "private";
|
|
372
|
+
organization: "organization";
|
|
379
373
|
monetized: "monetized";
|
|
380
374
|
inherit: "inherit";
|
|
381
375
|
}>>;
|
|
@@ -434,8 +428,8 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
434
428
|
}, z.core.$strip>, z.ZodTransform<{
|
|
435
429
|
parent?: Record<string, any> | undefined;
|
|
436
430
|
source?: "web" | "api" | undefined;
|
|
437
|
-
asset_type?: "
|
|
438
|
-
visibility?: "
|
|
431
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
432
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
439
433
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
440
434
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
441
435
|
name?: string | undefined;
|
|
@@ -471,8 +465,8 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
471
465
|
}, {
|
|
472
466
|
parent?: Record<string, any> | undefined;
|
|
473
467
|
source?: "web" | "api" | undefined;
|
|
474
|
-
asset_type?: "
|
|
475
|
-
visibility?: "
|
|
468
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
469
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
476
470
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
477
471
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
478
472
|
name?: string | undefined;
|
package/dist/schema/assets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as AssetMetadataSchema,c as AssetSchema,d as CreateAssetSchema,e as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-
|
|
1
|
+
export{b as AssetMetadataSchema,c as AssetSchema,d as CreateAssetSchema,e as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-G2MXCB7Q.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=assets.js.map
|
|
2
2
|
//# sourceMappingURL=assets.js.map
|
package/dist/schema/comments.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkQT3A4ULM_cjs=require('../chunk-QT3A4ULM.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,"CommentSchema",{enumerable:true,get:function(){return chunkQT3A4ULM_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkQT3A4ULM_cjs.b}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|
|
@@ -108,9 +108,9 @@ declare const CommentSchema: 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 CommentSchema: 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
|
}>;
|
|
@@ -240,15 +240,47 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
240
240
|
}, z.core.$strip>>>>;
|
|
241
241
|
}, z.core.$strip>;
|
|
242
242
|
declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
243
|
+
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
244
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
245
|
+
name: z.ZodOptional<z.ZodString>;
|
|
246
|
+
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
247
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
248
|
+
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
249
|
+
size: z.ZodOptional<z.ZodString>;
|
|
250
|
+
email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
|
+
domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
252
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
253
|
+
value: z.ZodString;
|
|
254
|
+
}, z.core.$strip>>>>>;
|
|
255
|
+
base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
256
|
+
admin: "admin";
|
|
257
|
+
read: "read";
|
|
258
|
+
write: "write";
|
|
259
|
+
none: "none";
|
|
260
|
+
}>>>;
|
|
261
|
+
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
262
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
263
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
264
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
265
|
+
any: "any";
|
|
266
|
+
verified_only: "verified_only";
|
|
267
|
+
agents_only: "agents_only";
|
|
268
|
+
}>>>>;
|
|
269
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
270
|
+
any: "any";
|
|
271
|
+
web_only: "web_only";
|
|
272
|
+
api_only: "api_only";
|
|
273
|
+
}>>>>;
|
|
274
|
+
}, z.core.$strip>>>;
|
|
243
275
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
244
276
|
source: z.ZodOptional<z.ZodEnum<{
|
|
245
277
|
web: "web";
|
|
246
278
|
api: "api";
|
|
247
279
|
}>>;
|
|
248
280
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
249
|
-
organization: "organization";
|
|
250
281
|
public: "public";
|
|
251
282
|
private: "private";
|
|
283
|
+
organization: "organization";
|
|
252
284
|
monetized: "monetized";
|
|
253
285
|
inherit: "inherit";
|
|
254
286
|
}>>;
|
|
@@ -289,38 +321,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
289
321
|
last_active: z.ZodOptional<z.ZodString>;
|
|
290
322
|
}, z.core.$strip>>>;
|
|
291
323
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
292
|
-
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
293
|
-
id: z.ZodOptional<z.ZodUUID>;
|
|
294
|
-
name: z.ZodOptional<z.ZodString>;
|
|
295
|
-
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
296
|
-
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
297
|
-
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
298
|
-
size: z.ZodOptional<z.ZodString>;
|
|
299
|
-
email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
300
|
-
domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
301
|
-
urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
302
|
-
value: z.ZodString;
|
|
303
|
-
}, z.core.$strip>>>>>;
|
|
304
|
-
base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
305
|
-
admin: "admin";
|
|
306
|
-
read: "read";
|
|
307
|
-
write: "write";
|
|
308
|
-
none: "none";
|
|
309
|
-
}>>>;
|
|
310
|
-
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
311
|
-
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
312
|
-
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
313
|
-
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
314
|
-
any: "any";
|
|
315
|
-
verified_only: "verified_only";
|
|
316
|
-
agents_only: "agents_only";
|
|
317
|
-
}>>>>;
|
|
318
|
-
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
319
|
-
any: "any";
|
|
320
|
-
web_only: "web_only";
|
|
321
|
-
api_only: "api_only";
|
|
322
|
-
}>>>>;
|
|
323
|
-
}, z.core.$strip>>>;
|
|
324
324
|
team_id: z.ZodOptional<z.ZodUUID>;
|
|
325
325
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
326
326
|
id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -369,9 +369,9 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
369
369
|
none: "none";
|
|
370
370
|
}>>;
|
|
371
371
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
372
|
-
organization: "organization";
|
|
373
372
|
public: "public";
|
|
374
373
|
private: "private";
|
|
374
|
+
organization: "organization";
|
|
375
375
|
monetized: "monetized";
|
|
376
376
|
inherit: "inherit";
|
|
377
377
|
}>>;
|
|
@@ -482,9 +482,28 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
482
482
|
name: string;
|
|
483
483
|
created_at: string;
|
|
484
484
|
last_updated: string;
|
|
485
|
+
organization?: {
|
|
486
|
+
id?: string | undefined;
|
|
487
|
+
name?: string | undefined;
|
|
488
|
+
display_name?: string | null | undefined;
|
|
489
|
+
avatar_path?: string | null | undefined;
|
|
490
|
+
mission?: string | null | undefined;
|
|
491
|
+
size?: string | undefined;
|
|
492
|
+
email?: string | null | undefined;
|
|
493
|
+
domain?: string | null | undefined;
|
|
494
|
+
urls?: {
|
|
495
|
+
value: string;
|
|
496
|
+
}[] | null | undefined;
|
|
497
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
498
|
+
allow_external_members?: boolean | undefined;
|
|
499
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
500
|
+
join_policy?: string | undefined;
|
|
501
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
502
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
503
|
+
} | undefined;
|
|
485
504
|
parent?: Record<string, any> | undefined;
|
|
486
505
|
source?: "web" | "api" | undefined;
|
|
487
|
-
visibility?: "
|
|
506
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
488
507
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
489
508
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
490
509
|
user?: {
|
|
@@ -505,25 +524,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
505
524
|
last_active?: string | undefined;
|
|
506
525
|
} | undefined;
|
|
507
526
|
org_id?: string | undefined;
|
|
508
|
-
organization?: {
|
|
509
|
-
id?: string | undefined;
|
|
510
|
-
name?: string | undefined;
|
|
511
|
-
display_name?: string | null | undefined;
|
|
512
|
-
avatar_path?: string | null | undefined;
|
|
513
|
-
mission?: string | null | undefined;
|
|
514
|
-
size?: string | undefined;
|
|
515
|
-
email?: string | null | undefined;
|
|
516
|
-
domain?: string | null | undefined;
|
|
517
|
-
urls?: {
|
|
518
|
-
value: string;
|
|
519
|
-
}[] | null | undefined;
|
|
520
|
-
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
521
|
-
allow_external_members?: boolean | undefined;
|
|
522
|
-
allow_external_public_team_creation?: boolean | undefined;
|
|
523
|
-
join_policy?: string | undefined;
|
|
524
|
-
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
525
|
-
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
526
|
-
} | undefined;
|
|
527
527
|
team_id?: string | undefined;
|
|
528
528
|
team?: {
|
|
529
529
|
id?: string | undefined;
|
|
@@ -553,7 +553,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
553
553
|
json: Record<string, any>;
|
|
554
554
|
} | null | undefined;
|
|
555
555
|
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
556
|
-
visibility?: "
|
|
556
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
557
557
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
558
558
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
559
559
|
userMembership?: {
|
|
@@ -621,9 +621,28 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
621
621
|
name: string;
|
|
622
622
|
created_at: string;
|
|
623
623
|
last_updated: string;
|
|
624
|
+
organization?: {
|
|
625
|
+
id?: string | undefined;
|
|
626
|
+
name?: string | undefined;
|
|
627
|
+
display_name?: string | null | undefined;
|
|
628
|
+
avatar_path?: string | null | undefined;
|
|
629
|
+
mission?: string | null | undefined;
|
|
630
|
+
size?: string | undefined;
|
|
631
|
+
email?: string | null | undefined;
|
|
632
|
+
domain?: string | null | undefined;
|
|
633
|
+
urls?: {
|
|
634
|
+
value: string;
|
|
635
|
+
}[] | null | undefined;
|
|
636
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
637
|
+
allow_external_members?: boolean | undefined;
|
|
638
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
639
|
+
join_policy?: string | undefined;
|
|
640
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
641
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
642
|
+
} | undefined;
|
|
624
643
|
parent?: Record<string, any> | undefined;
|
|
625
644
|
source?: "web" | "api" | undefined;
|
|
626
|
-
visibility?: "
|
|
645
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
627
646
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
628
647
|
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
629
648
|
user?: {
|
|
@@ -644,25 +663,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
644
663
|
last_active?: string | undefined;
|
|
645
664
|
} | undefined;
|
|
646
665
|
org_id?: string | undefined;
|
|
647
|
-
organization?: {
|
|
648
|
-
id?: string | undefined;
|
|
649
|
-
name?: string | undefined;
|
|
650
|
-
display_name?: string | null | undefined;
|
|
651
|
-
avatar_path?: string | null | undefined;
|
|
652
|
-
mission?: string | null | undefined;
|
|
653
|
-
size?: string | undefined;
|
|
654
|
-
email?: string | null | undefined;
|
|
655
|
-
domain?: string | null | undefined;
|
|
656
|
-
urls?: {
|
|
657
|
-
value: string;
|
|
658
|
-
}[] | null | undefined;
|
|
659
|
-
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
660
|
-
allow_external_members?: boolean | undefined;
|
|
661
|
-
allow_external_public_team_creation?: boolean | undefined;
|
|
662
|
-
join_policy?: string | undefined;
|
|
663
|
-
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
664
|
-
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
665
|
-
} | undefined;
|
|
666
666
|
team_id?: string | undefined;
|
|
667
667
|
team?: {
|
|
668
668
|
id?: string | undefined;
|
|
@@ -692,7 +692,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
692
692
|
json: Record<string, any>;
|
|
693
693
|
} | null | undefined;
|
|
694
694
|
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
695
|
-
visibility?: "
|
|
695
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
696
696
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
697
697
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
698
698
|
userMembership?: {
|