@ourofoundation/ouro-js 1.1.2 → 1.1.4
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/schema/assets.d.ts +11 -0
- package/dist/schema/blueprints.d.ts +10 -0
- package/dist/schema/comments.d.ts +10 -0
- package/dist/schema/conversations.d.ts +10 -0
- package/dist/schema/datasets.d.ts +16 -0
- package/dist/schema/files.d.ts +16 -0
- package/dist/schema/posts.d.ts +28 -0
- package/dist/schema/replications.d.ts +10 -0
- package/dist/schema/teams.d.ts +14 -0
- package/dist/schema/users.d.ts +9 -0
- package/dist/schema/users.esm.js +1 -1
- package/dist/schema/users.esm.js.map +1 -1
- package/dist/schema/users.js +1 -1
- package/dist/schema/users.js.map +1 -1
- package/dist/utils/air/index.d.ts +12 -1
- package/dist/utils/air/index.esm.js +1 -1
- package/dist/utils/air/index.esm.js.map +1 -1
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/air/index.js.map +1 -1
- package/package.json +1 -1
package/dist/schema/assets.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -145,6 +148,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
145
148
|
}[] | undefined;
|
|
146
149
|
username?: string | null | undefined;
|
|
147
150
|
bio?: string | null | undefined;
|
|
151
|
+
post_id?: string | null | undefined;
|
|
148
152
|
last_active?: string | undefined;
|
|
149
153
|
} | undefined;
|
|
150
154
|
organization?: {
|
|
@@ -203,6 +207,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
203
207
|
}[] | undefined;
|
|
204
208
|
username?: string | null | undefined;
|
|
205
209
|
bio?: string | null | undefined;
|
|
210
|
+
post_id?: string | null | undefined;
|
|
206
211
|
last_active?: string | undefined;
|
|
207
212
|
} | undefined;
|
|
208
213
|
organization?: {
|
|
@@ -258,6 +263,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
258
263
|
}, {
|
|
259
264
|
value: string;
|
|
260
265
|
}>, "many">>>;
|
|
266
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
261
267
|
last_active: z.ZodOptional<z.ZodString>;
|
|
262
268
|
}, "strip", z.ZodTypeAny, {
|
|
263
269
|
id?: string | undefined;
|
|
@@ -268,6 +274,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
268
274
|
}[] | undefined;
|
|
269
275
|
username?: string | null | undefined;
|
|
270
276
|
bio?: string | null | undefined;
|
|
277
|
+
post_id?: string | null | undefined;
|
|
271
278
|
last_active?: string | undefined;
|
|
272
279
|
}, {
|
|
273
280
|
id?: string | undefined;
|
|
@@ -278,6 +285,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
278
285
|
}[] | undefined;
|
|
279
286
|
username?: string | null | undefined;
|
|
280
287
|
bio?: string | null | undefined;
|
|
288
|
+
post_id?: string | null | undefined;
|
|
281
289
|
last_active?: string | undefined;
|
|
282
290
|
}>>>;
|
|
283
291
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -441,6 +449,7 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
441
449
|
}, {
|
|
442
450
|
value: string;
|
|
443
451
|
}>, "many">>>;
|
|
452
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
444
453
|
last_active: z.ZodOptional<z.ZodString>;
|
|
445
454
|
}, "strip", z.ZodTypeAny, {
|
|
446
455
|
id?: string | undefined;
|
|
@@ -451,6 +460,7 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
451
460
|
}[] | undefined;
|
|
452
461
|
username?: string | null | undefined;
|
|
453
462
|
bio?: string | null | undefined;
|
|
463
|
+
post_id?: string | null | undefined;
|
|
454
464
|
last_active?: string | undefined;
|
|
455
465
|
}, {
|
|
456
466
|
id?: string | undefined;
|
|
@@ -461,6 +471,7 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
461
471
|
}[] | undefined;
|
|
462
472
|
username?: string | null | undefined;
|
|
463
473
|
bio?: string | null | undefined;
|
|
474
|
+
post_id?: string | null | undefined;
|
|
464
475
|
last_active?: string | undefined;
|
|
465
476
|
}>>>;
|
|
466
477
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -15,6 +15,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -147,6 +150,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
147
150
|
}[] | undefined;
|
|
148
151
|
username?: string | null | undefined;
|
|
149
152
|
bio?: string | null | undefined;
|
|
153
|
+
post_id?: string | null | undefined;
|
|
150
154
|
last_active?: string | undefined;
|
|
151
155
|
} | undefined;
|
|
152
156
|
organization?: {
|
|
@@ -205,6 +209,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
205
209
|
}[] | undefined;
|
|
206
210
|
username?: string | null | undefined;
|
|
207
211
|
bio?: string | null | undefined;
|
|
212
|
+
post_id?: string | null | undefined;
|
|
208
213
|
last_active?: string | undefined;
|
|
209
214
|
} | undefined;
|
|
210
215
|
organization?: {
|
|
@@ -260,6 +265,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
260
265
|
}, {
|
|
261
266
|
value: string;
|
|
262
267
|
}>, "many">>>;
|
|
268
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
263
269
|
last_active: z.ZodOptional<z.ZodString>;
|
|
264
270
|
}, "strip", z.ZodTypeAny, {
|
|
265
271
|
id?: string | undefined;
|
|
@@ -270,6 +276,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
270
276
|
}[] | undefined;
|
|
271
277
|
username?: string | null | undefined;
|
|
272
278
|
bio?: string | null | undefined;
|
|
279
|
+
post_id?: string | null | undefined;
|
|
273
280
|
last_active?: string | undefined;
|
|
274
281
|
}, {
|
|
275
282
|
id?: string | undefined;
|
|
@@ -280,6 +287,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
280
287
|
}[] | undefined;
|
|
281
288
|
username?: string | null | undefined;
|
|
282
289
|
bio?: string | null | undefined;
|
|
290
|
+
post_id?: string | null | undefined;
|
|
283
291
|
last_active?: string | undefined;
|
|
284
292
|
}>>>;
|
|
285
293
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -405,6 +413,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
405
413
|
}[] | undefined;
|
|
406
414
|
username?: string | null | undefined;
|
|
407
415
|
bio?: string | null | undefined;
|
|
416
|
+
post_id?: string | null | undefined;
|
|
408
417
|
last_active?: string | undefined;
|
|
409
418
|
} | undefined;
|
|
410
419
|
organization?: {
|
|
@@ -465,6 +474,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
465
474
|
}[] | undefined;
|
|
466
475
|
username?: string | null | undefined;
|
|
467
476
|
bio?: string | null | undefined;
|
|
477
|
+
post_id?: string | null | undefined;
|
|
468
478
|
last_active?: string | undefined;
|
|
469
479
|
} | undefined;
|
|
470
480
|
organization?: {
|
|
@@ -15,6 +15,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -161,6 +164,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
161
164
|
}[] | undefined;
|
|
162
165
|
username?: string | null | undefined;
|
|
163
166
|
bio?: string | null | undefined;
|
|
167
|
+
post_id?: string | null | undefined;
|
|
164
168
|
last_active?: string | undefined;
|
|
165
169
|
} | undefined;
|
|
166
170
|
organization?: {
|
|
@@ -217,6 +221,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
217
221
|
}[] | undefined;
|
|
218
222
|
username?: string | null | undefined;
|
|
219
223
|
bio?: string | null | undefined;
|
|
224
|
+
post_id?: string | null | undefined;
|
|
220
225
|
last_active?: string | undefined;
|
|
221
226
|
} | undefined;
|
|
222
227
|
organization?: {
|
|
@@ -276,6 +281,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
276
281
|
}, {
|
|
277
282
|
value: string;
|
|
278
283
|
}>, "many">>>;
|
|
284
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
279
285
|
last_active: z.ZodOptional<z.ZodString>;
|
|
280
286
|
}, "strip", z.ZodTypeAny, {
|
|
281
287
|
id?: string | undefined;
|
|
@@ -286,6 +292,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
286
292
|
}[] | undefined;
|
|
287
293
|
username?: string | null | undefined;
|
|
288
294
|
bio?: string | null | undefined;
|
|
295
|
+
post_id?: string | null | undefined;
|
|
289
296
|
last_active?: string | undefined;
|
|
290
297
|
}, {
|
|
291
298
|
id?: string | undefined;
|
|
@@ -296,6 +303,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
296
303
|
}[] | undefined;
|
|
297
304
|
username?: string | null | undefined;
|
|
298
305
|
bio?: string | null | undefined;
|
|
306
|
+
post_id?: string | null | undefined;
|
|
299
307
|
last_active?: string | undefined;
|
|
300
308
|
}>>>;
|
|
301
309
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -416,6 +424,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
416
424
|
}[] | undefined;
|
|
417
425
|
username?: string | null | undefined;
|
|
418
426
|
bio?: string | null | undefined;
|
|
427
|
+
post_id?: string | null | undefined;
|
|
419
428
|
last_active?: string | undefined;
|
|
420
429
|
} | undefined;
|
|
421
430
|
organization?: {
|
|
@@ -471,6 +480,7 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
471
480
|
}[] | undefined;
|
|
472
481
|
username?: string | null | undefined;
|
|
473
482
|
bio?: string | null | undefined;
|
|
483
|
+
post_id?: string | null | undefined;
|
|
474
484
|
last_active?: string | undefined;
|
|
475
485
|
} | undefined;
|
|
476
486
|
organization?: {
|
|
@@ -15,6 +15,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -157,6 +160,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
157
160
|
}[] | undefined;
|
|
158
161
|
username?: string | null | undefined;
|
|
159
162
|
bio?: string | null | undefined;
|
|
163
|
+
post_id?: string | null | undefined;
|
|
160
164
|
last_active?: string | undefined;
|
|
161
165
|
} | undefined;
|
|
162
166
|
organization?: {
|
|
@@ -216,6 +220,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
216
220
|
}[] | undefined;
|
|
217
221
|
username?: string | null | undefined;
|
|
218
222
|
bio?: string | null | undefined;
|
|
223
|
+
post_id?: string | null | undefined;
|
|
219
224
|
last_active?: string | undefined;
|
|
220
225
|
} | undefined;
|
|
221
226
|
organization?: {
|
|
@@ -271,6 +276,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
271
276
|
}, {
|
|
272
277
|
value: string;
|
|
273
278
|
}>, "many">>>;
|
|
279
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
274
280
|
last_active: z.ZodOptional<z.ZodString>;
|
|
275
281
|
}, "strip", z.ZodTypeAny, {
|
|
276
282
|
id?: string | undefined;
|
|
@@ -281,6 +287,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
281
287
|
}[] | undefined;
|
|
282
288
|
username?: string | null | undefined;
|
|
283
289
|
bio?: string | null | undefined;
|
|
290
|
+
post_id?: string | null | undefined;
|
|
284
291
|
last_active?: string | undefined;
|
|
285
292
|
}, {
|
|
286
293
|
id?: string | undefined;
|
|
@@ -291,6 +298,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
291
298
|
}[] | undefined;
|
|
292
299
|
username?: string | null | undefined;
|
|
293
300
|
bio?: string | null | undefined;
|
|
301
|
+
post_id?: string | null | undefined;
|
|
294
302
|
last_active?: string | undefined;
|
|
295
303
|
}>>;
|
|
296
304
|
org_id: z.ZodString;
|
|
@@ -416,6 +424,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
416
424
|
}[] | undefined;
|
|
417
425
|
username?: string | null | undefined;
|
|
418
426
|
bio?: string | null | undefined;
|
|
427
|
+
post_id?: string | null | undefined;
|
|
419
428
|
last_active?: string | undefined;
|
|
420
429
|
} | undefined;
|
|
421
430
|
organization?: {
|
|
@@ -467,6 +476,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
467
476
|
}[] | undefined;
|
|
468
477
|
username?: string | null | undefined;
|
|
469
478
|
bio?: string | null | undefined;
|
|
479
|
+
post_id?: string | null | undefined;
|
|
470
480
|
last_active?: string | undefined;
|
|
471
481
|
} | undefined;
|
|
472
482
|
organization?: {
|
|
@@ -15,6 +15,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -192,6 +195,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
192
195
|
}[] | undefined;
|
|
193
196
|
username?: string | null | undefined;
|
|
194
197
|
bio?: string | null | undefined;
|
|
198
|
+
post_id?: string | null | undefined;
|
|
195
199
|
last_active?: string | undefined;
|
|
196
200
|
} | undefined;
|
|
197
201
|
organization?: {
|
|
@@ -259,6 +263,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
259
263
|
}[] | undefined;
|
|
260
264
|
username?: string | null | undefined;
|
|
261
265
|
bio?: string | null | undefined;
|
|
266
|
+
post_id?: string | null | undefined;
|
|
262
267
|
last_active?: string | undefined;
|
|
263
268
|
} | undefined;
|
|
264
269
|
organization?: {
|
|
@@ -313,6 +318,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
313
318
|
}, {
|
|
314
319
|
value: string;
|
|
315
320
|
}>, "many">>>;
|
|
321
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
316
322
|
last_active: z.ZodOptional<z.ZodString>;
|
|
317
323
|
}, "strip", z.ZodTypeAny, {
|
|
318
324
|
id?: string | undefined;
|
|
@@ -323,6 +329,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
323
329
|
}[] | undefined;
|
|
324
330
|
username?: string | null | undefined;
|
|
325
331
|
bio?: string | null | undefined;
|
|
332
|
+
post_id?: string | null | undefined;
|
|
326
333
|
last_active?: string | undefined;
|
|
327
334
|
}, {
|
|
328
335
|
id?: string | undefined;
|
|
@@ -333,6 +340,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
333
340
|
}[] | undefined;
|
|
334
341
|
username?: string | null | undefined;
|
|
335
342
|
bio?: string | null | undefined;
|
|
343
|
+
post_id?: string | null | undefined;
|
|
336
344
|
last_active?: string | undefined;
|
|
337
345
|
}>>>;
|
|
338
346
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -551,6 +559,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
551
559
|
}, {
|
|
552
560
|
value: string;
|
|
553
561
|
}>, "many">>>;
|
|
562
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
554
563
|
last_active: z.ZodOptional<z.ZodString>;
|
|
555
564
|
}, "strip", z.ZodTypeAny, {
|
|
556
565
|
id?: string | undefined;
|
|
@@ -561,6 +570,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
561
570
|
}[] | undefined;
|
|
562
571
|
username?: string | null | undefined;
|
|
563
572
|
bio?: string | null | undefined;
|
|
573
|
+
post_id?: string | null | undefined;
|
|
564
574
|
last_active?: string | undefined;
|
|
565
575
|
}, {
|
|
566
576
|
id?: string | undefined;
|
|
@@ -571,6 +581,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
571
581
|
}[] | undefined;
|
|
572
582
|
username?: string | null | undefined;
|
|
573
583
|
bio?: string | null | undefined;
|
|
584
|
+
post_id?: string | null | undefined;
|
|
574
585
|
last_active?: string | undefined;
|
|
575
586
|
}>>>;
|
|
576
587
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -758,6 +769,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
758
769
|
}, {
|
|
759
770
|
value: string;
|
|
760
771
|
}>, "many">>>;
|
|
772
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
761
773
|
last_active: z.ZodOptional<z.ZodString>;
|
|
762
774
|
}, "strip", z.ZodTypeAny, {
|
|
763
775
|
id?: string | undefined;
|
|
@@ -768,6 +780,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
768
780
|
}[] | undefined;
|
|
769
781
|
username?: string | null | undefined;
|
|
770
782
|
bio?: string | null | undefined;
|
|
783
|
+
post_id?: string | null | undefined;
|
|
771
784
|
last_active?: string | undefined;
|
|
772
785
|
}, {
|
|
773
786
|
id?: string | undefined;
|
|
@@ -778,6 +791,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
778
791
|
}[] | undefined;
|
|
779
792
|
username?: string | null | undefined;
|
|
780
793
|
bio?: string | null | undefined;
|
|
794
|
+
post_id?: string | null | undefined;
|
|
781
795
|
last_active?: string | undefined;
|
|
782
796
|
}>>>;
|
|
783
797
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -914,6 +928,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
914
928
|
}[] | undefined;
|
|
915
929
|
username?: string | null | undefined;
|
|
916
930
|
bio?: string | null | undefined;
|
|
931
|
+
post_id?: string | null | undefined;
|
|
917
932
|
last_active?: string | undefined;
|
|
918
933
|
} | undefined;
|
|
919
934
|
organization?: {
|
|
@@ -977,6 +992,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
977
992
|
}[] | undefined;
|
|
978
993
|
username?: string | null | undefined;
|
|
979
994
|
bio?: string | null | undefined;
|
|
995
|
+
post_id?: string | null | undefined;
|
|
980
996
|
last_active?: string | undefined;
|
|
981
997
|
} | undefined;
|
|
982
998
|
organization?: {
|
package/dist/schema/files.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -185,6 +188,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
185
188
|
}[] | undefined;
|
|
186
189
|
username?: string | null | undefined;
|
|
187
190
|
bio?: string | null | undefined;
|
|
191
|
+
post_id?: string | null | undefined;
|
|
188
192
|
last_active?: string | undefined;
|
|
189
193
|
} | undefined;
|
|
190
194
|
organization?: {
|
|
@@ -251,6 +255,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
251
255
|
}[] | undefined;
|
|
252
256
|
username?: string | null | undefined;
|
|
253
257
|
bio?: string | null | undefined;
|
|
258
|
+
post_id?: string | null | undefined;
|
|
254
259
|
last_active?: string | undefined;
|
|
255
260
|
} | undefined;
|
|
256
261
|
organization?: {
|
|
@@ -306,6 +311,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
306
311
|
}, {
|
|
307
312
|
value: string;
|
|
308
313
|
}>, "many">>>;
|
|
314
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
309
315
|
last_active: z.ZodOptional<z.ZodString>;
|
|
310
316
|
}, "strip", z.ZodTypeAny, {
|
|
311
317
|
id?: string | undefined;
|
|
@@ -316,6 +322,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
316
322
|
}[] | undefined;
|
|
317
323
|
username?: string | null | undefined;
|
|
318
324
|
bio?: string | null | undefined;
|
|
325
|
+
post_id?: string | null | undefined;
|
|
319
326
|
last_active?: string | undefined;
|
|
320
327
|
}, {
|
|
321
328
|
id?: string | undefined;
|
|
@@ -326,6 +333,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
326
333
|
}[] | undefined;
|
|
327
334
|
username?: string | null | undefined;
|
|
328
335
|
bio?: string | null | undefined;
|
|
336
|
+
post_id?: string | null | undefined;
|
|
329
337
|
last_active?: string | undefined;
|
|
330
338
|
}>>>;
|
|
331
339
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -537,6 +545,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
537
545
|
}, {
|
|
538
546
|
value: string;
|
|
539
547
|
}>, "many">>>;
|
|
548
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
540
549
|
last_active: z.ZodOptional<z.ZodString>;
|
|
541
550
|
}, "strip", z.ZodTypeAny, {
|
|
542
551
|
id?: string | undefined;
|
|
@@ -547,6 +556,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
547
556
|
}[] | undefined;
|
|
548
557
|
username?: string | null | undefined;
|
|
549
558
|
bio?: string | null | undefined;
|
|
559
|
+
post_id?: string | null | undefined;
|
|
550
560
|
last_active?: string | undefined;
|
|
551
561
|
}, {
|
|
552
562
|
id?: string | undefined;
|
|
@@ -557,6 +567,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
557
567
|
}[] | undefined;
|
|
558
568
|
username?: string | null | undefined;
|
|
559
569
|
bio?: string | null | undefined;
|
|
570
|
+
post_id?: string | null | undefined;
|
|
560
571
|
last_active?: string | undefined;
|
|
561
572
|
}>>>;
|
|
562
573
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -734,6 +745,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
734
745
|
}, {
|
|
735
746
|
value: string;
|
|
736
747
|
}>, "many">>>;
|
|
748
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
737
749
|
last_active: z.ZodOptional<z.ZodString>;
|
|
738
750
|
}, "strip", z.ZodTypeAny, {
|
|
739
751
|
id?: string | undefined;
|
|
@@ -744,6 +756,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
744
756
|
}[] | undefined;
|
|
745
757
|
username?: string | null | undefined;
|
|
746
758
|
bio?: string | null | undefined;
|
|
759
|
+
post_id?: string | null | undefined;
|
|
747
760
|
last_active?: string | undefined;
|
|
748
761
|
}, {
|
|
749
762
|
id?: string | undefined;
|
|
@@ -754,6 +767,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
754
767
|
}[] | undefined;
|
|
755
768
|
username?: string | null | undefined;
|
|
756
769
|
bio?: string | null | undefined;
|
|
770
|
+
post_id?: string | null | undefined;
|
|
757
771
|
last_active?: string | undefined;
|
|
758
772
|
}>>>;
|
|
759
773
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -884,6 +898,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
884
898
|
}[] | undefined;
|
|
885
899
|
username?: string | null | undefined;
|
|
886
900
|
bio?: string | null | undefined;
|
|
901
|
+
post_id?: string | null | undefined;
|
|
887
902
|
last_active?: string | undefined;
|
|
888
903
|
} | undefined;
|
|
889
904
|
organization?: {
|
|
@@ -947,6 +962,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
947
962
|
}[] | undefined;
|
|
948
963
|
username?: string | null | undefined;
|
|
949
964
|
bio?: string | null | undefined;
|
|
965
|
+
post_id?: string | null | undefined;
|
|
950
966
|
last_active?: string | undefined;
|
|
951
967
|
} | undefined;
|
|
952
968
|
organization?: {
|
package/dist/schema/posts.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
50
50
|
}, {
|
|
51
51
|
value: string;
|
|
52
52
|
}>, "many">>>;
|
|
53
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
53
54
|
last_active: z.ZodOptional<z.ZodString>;
|
|
54
55
|
}, "strip", z.ZodTypeAny, {
|
|
55
56
|
id?: string | undefined;
|
|
@@ -60,6 +61,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
60
61
|
}[] | undefined;
|
|
61
62
|
username?: string | null | undefined;
|
|
62
63
|
bio?: string | null | undefined;
|
|
64
|
+
post_id?: string | null | undefined;
|
|
63
65
|
last_active?: string | undefined;
|
|
64
66
|
}, {
|
|
65
67
|
id?: string | undefined;
|
|
@@ -70,6 +72,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
70
72
|
}[] | undefined;
|
|
71
73
|
username?: string | null | undefined;
|
|
72
74
|
bio?: string | null | undefined;
|
|
75
|
+
post_id?: string | null | undefined;
|
|
73
76
|
last_active?: string | undefined;
|
|
74
77
|
}>>;
|
|
75
78
|
org_id: z.ZodString;
|
|
@@ -229,6 +232,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
229
232
|
}[] | undefined;
|
|
230
233
|
username?: string | null | undefined;
|
|
231
234
|
bio?: string | null | undefined;
|
|
235
|
+
post_id?: string | null | undefined;
|
|
232
236
|
last_active?: string | undefined;
|
|
233
237
|
} | undefined;
|
|
234
238
|
organization?: {
|
|
@@ -286,6 +290,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
286
290
|
}[] | undefined;
|
|
287
291
|
username?: string | null | undefined;
|
|
288
292
|
bio?: string | null | undefined;
|
|
293
|
+
post_id?: string | null | undefined;
|
|
289
294
|
last_active?: string | undefined;
|
|
290
295
|
} | undefined;
|
|
291
296
|
organization?: {
|
|
@@ -351,6 +356,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
351
356
|
}, {
|
|
352
357
|
value: string;
|
|
353
358
|
}>, "many">>>;
|
|
359
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
354
360
|
last_active: z.ZodOptional<z.ZodString>;
|
|
355
361
|
}, "strip", z.ZodTypeAny, {
|
|
356
362
|
id?: string | undefined;
|
|
@@ -361,6 +367,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
361
367
|
}[] | undefined;
|
|
362
368
|
username?: string | null | undefined;
|
|
363
369
|
bio?: string | null | undefined;
|
|
370
|
+
post_id?: string | null | undefined;
|
|
364
371
|
last_active?: string | undefined;
|
|
365
372
|
}, {
|
|
366
373
|
id?: string | undefined;
|
|
@@ -371,6 +378,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
371
378
|
}[] | undefined;
|
|
372
379
|
username?: string | null | undefined;
|
|
373
380
|
bio?: string | null | undefined;
|
|
381
|
+
post_id?: string | null | undefined;
|
|
374
382
|
last_active?: string | undefined;
|
|
375
383
|
}>>>;
|
|
376
384
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -553,6 +561,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
553
561
|
}, {
|
|
554
562
|
value: string;
|
|
555
563
|
}>, "many">>>;
|
|
564
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
556
565
|
last_active: z.ZodOptional<z.ZodString>;
|
|
557
566
|
}, "strip", z.ZodTypeAny, {
|
|
558
567
|
id?: string | undefined;
|
|
@@ -563,6 +572,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
563
572
|
}[] | undefined;
|
|
564
573
|
username?: string | null | undefined;
|
|
565
574
|
bio?: string | null | undefined;
|
|
575
|
+
post_id?: string | null | undefined;
|
|
566
576
|
last_active?: string | undefined;
|
|
567
577
|
}, {
|
|
568
578
|
id?: string | undefined;
|
|
@@ -573,6 +583,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
573
583
|
}[] | undefined;
|
|
574
584
|
username?: string | null | undefined;
|
|
575
585
|
bio?: string | null | undefined;
|
|
586
|
+
post_id?: string | null | undefined;
|
|
576
587
|
last_active?: string | undefined;
|
|
577
588
|
}>>;
|
|
578
589
|
org_id: z.ZodString;
|
|
@@ -766,6 +777,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
766
777
|
}[] | undefined;
|
|
767
778
|
username?: string | null | undefined;
|
|
768
779
|
bio?: string | null | undefined;
|
|
780
|
+
post_id?: string | null | undefined;
|
|
769
781
|
last_active?: string | undefined;
|
|
770
782
|
} | undefined;
|
|
771
783
|
organization?: {
|
|
@@ -823,6 +835,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
823
835
|
}[] | undefined;
|
|
824
836
|
username?: string | null | undefined;
|
|
825
837
|
bio?: string | null | undefined;
|
|
838
|
+
post_id?: string | null | undefined;
|
|
826
839
|
last_active?: string | undefined;
|
|
827
840
|
} | undefined;
|
|
828
841
|
organization?: {
|
|
@@ -892,6 +905,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
892
905
|
}, {
|
|
893
906
|
value: string;
|
|
894
907
|
}>, "many">>>;
|
|
908
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
895
909
|
last_active: z.ZodOptional<z.ZodString>;
|
|
896
910
|
}, "strip", z.ZodTypeAny, {
|
|
897
911
|
id?: string | undefined;
|
|
@@ -902,6 +916,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
902
916
|
}[] | undefined;
|
|
903
917
|
username?: string | null | undefined;
|
|
904
918
|
bio?: string | null | undefined;
|
|
919
|
+
post_id?: string | null | undefined;
|
|
905
920
|
last_active?: string | undefined;
|
|
906
921
|
}, {
|
|
907
922
|
id?: string | undefined;
|
|
@@ -912,6 +927,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
912
927
|
}[] | undefined;
|
|
913
928
|
username?: string | null | undefined;
|
|
914
929
|
bio?: string | null | undefined;
|
|
930
|
+
post_id?: string | null | undefined;
|
|
915
931
|
last_active?: string | undefined;
|
|
916
932
|
}>>;
|
|
917
933
|
org_id: z.ZodString;
|
|
@@ -1105,6 +1121,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1105
1121
|
}[] | undefined;
|
|
1106
1122
|
username?: string | null | undefined;
|
|
1107
1123
|
bio?: string | null | undefined;
|
|
1124
|
+
post_id?: string | null | undefined;
|
|
1108
1125
|
last_active?: string | undefined;
|
|
1109
1126
|
} | undefined;
|
|
1110
1127
|
organization?: {
|
|
@@ -1162,6 +1179,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1162
1179
|
}[] | undefined;
|
|
1163
1180
|
username?: string | null | undefined;
|
|
1164
1181
|
bio?: string | null | undefined;
|
|
1182
|
+
post_id?: string | null | undefined;
|
|
1165
1183
|
last_active?: string | undefined;
|
|
1166
1184
|
} | undefined;
|
|
1167
1185
|
organization?: {
|
|
@@ -1231,6 +1249,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1231
1249
|
}, {
|
|
1232
1250
|
value: string;
|
|
1233
1251
|
}>, "many">>>;
|
|
1252
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1234
1253
|
last_active: z.ZodOptional<z.ZodString>;
|
|
1235
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1236
1255
|
id?: string | undefined;
|
|
@@ -1241,6 +1260,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1241
1260
|
}[] | undefined;
|
|
1242
1261
|
username?: string | null | undefined;
|
|
1243
1262
|
bio?: string | null | undefined;
|
|
1263
|
+
post_id?: string | null | undefined;
|
|
1244
1264
|
last_active?: string | undefined;
|
|
1245
1265
|
}, {
|
|
1246
1266
|
id?: string | undefined;
|
|
@@ -1251,6 +1271,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1251
1271
|
}[] | undefined;
|
|
1252
1272
|
username?: string | null | undefined;
|
|
1253
1273
|
bio?: string | null | undefined;
|
|
1274
|
+
post_id?: string | null | undefined;
|
|
1254
1275
|
last_active?: string | undefined;
|
|
1255
1276
|
}>>;
|
|
1256
1277
|
org_id: z.ZodString;
|
|
@@ -1410,6 +1431,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1410
1431
|
}[] | undefined;
|
|
1411
1432
|
username?: string | null | undefined;
|
|
1412
1433
|
bio?: string | null | undefined;
|
|
1434
|
+
post_id?: string | null | undefined;
|
|
1413
1435
|
last_active?: string | undefined;
|
|
1414
1436
|
} | undefined;
|
|
1415
1437
|
organization?: {
|
|
@@ -1467,6 +1489,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1467
1489
|
}[] | undefined;
|
|
1468
1490
|
username?: string | null | undefined;
|
|
1469
1491
|
bio?: string | null | undefined;
|
|
1492
|
+
post_id?: string | null | undefined;
|
|
1470
1493
|
last_active?: string | undefined;
|
|
1471
1494
|
} | undefined;
|
|
1472
1495
|
organization?: {
|
|
@@ -1532,6 +1555,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1532
1555
|
}, {
|
|
1533
1556
|
value: string;
|
|
1534
1557
|
}>, "many">>>;
|
|
1558
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1535
1559
|
last_active: z.ZodOptional<z.ZodString>;
|
|
1536
1560
|
}, "strip", z.ZodTypeAny, {
|
|
1537
1561
|
id?: string | undefined;
|
|
@@ -1542,6 +1566,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1542
1566
|
}[] | undefined;
|
|
1543
1567
|
username?: string | null | undefined;
|
|
1544
1568
|
bio?: string | null | undefined;
|
|
1569
|
+
post_id?: string | null | undefined;
|
|
1545
1570
|
last_active?: string | undefined;
|
|
1546
1571
|
}, {
|
|
1547
1572
|
id?: string | undefined;
|
|
@@ -1552,6 +1577,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1552
1577
|
}[] | undefined;
|
|
1553
1578
|
username?: string | null | undefined;
|
|
1554
1579
|
bio?: string | null | undefined;
|
|
1580
|
+
post_id?: string | null | undefined;
|
|
1555
1581
|
last_active?: string | undefined;
|
|
1556
1582
|
}>>>;
|
|
1557
1583
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1689,6 +1715,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1689
1715
|
}[] | undefined;
|
|
1690
1716
|
username?: string | null | undefined;
|
|
1691
1717
|
bio?: string | null | undefined;
|
|
1718
|
+
post_id?: string | null | undefined;
|
|
1692
1719
|
last_active?: string | undefined;
|
|
1693
1720
|
} | undefined;
|
|
1694
1721
|
organization?: {
|
|
@@ -1753,6 +1780,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1753
1780
|
}[] | undefined;
|
|
1754
1781
|
username?: string | null | undefined;
|
|
1755
1782
|
bio?: string | null | undefined;
|
|
1783
|
+
post_id?: string | null | undefined;
|
|
1756
1784
|
last_active?: string | undefined;
|
|
1757
1785
|
} | undefined;
|
|
1758
1786
|
organization?: {
|
|
@@ -15,6 +15,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
}, {
|
|
16
16
|
value: string;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18
19
|
last_active: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
id?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
26
|
}[] | undefined;
|
|
26
27
|
username?: string | null | undefined;
|
|
27
28
|
bio?: string | null | undefined;
|
|
29
|
+
post_id?: string | null | undefined;
|
|
28
30
|
last_active?: string | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
id?: string | undefined;
|
|
@@ -35,6 +37,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
37
|
}[] | undefined;
|
|
36
38
|
username?: string | null | undefined;
|
|
37
39
|
bio?: string | null | undefined;
|
|
40
|
+
post_id?: string | null | undefined;
|
|
38
41
|
last_active?: string | undefined;
|
|
39
42
|
}>>;
|
|
40
43
|
org_id: z.ZodString;
|
|
@@ -179,6 +182,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
179
182
|
}[] | undefined;
|
|
180
183
|
username?: string | null | undefined;
|
|
181
184
|
bio?: string | null | undefined;
|
|
185
|
+
post_id?: string | null | undefined;
|
|
182
186
|
last_active?: string | undefined;
|
|
183
187
|
} | undefined;
|
|
184
188
|
organization?: {
|
|
@@ -243,6 +247,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
243
247
|
}[] | undefined;
|
|
244
248
|
username?: string | null | undefined;
|
|
245
249
|
bio?: string | null | undefined;
|
|
250
|
+
post_id?: string | null | undefined;
|
|
246
251
|
last_active?: string | undefined;
|
|
247
252
|
} | undefined;
|
|
248
253
|
organization?: {
|
|
@@ -297,6 +302,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
297
302
|
}, {
|
|
298
303
|
value: string;
|
|
299
304
|
}>, "many">>>;
|
|
305
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
300
306
|
last_active: z.ZodOptional<z.ZodString>;
|
|
301
307
|
}, "strip", z.ZodTypeAny, {
|
|
302
308
|
id?: string | undefined;
|
|
@@ -307,6 +313,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
307
313
|
}[] | undefined;
|
|
308
314
|
username?: string | null | undefined;
|
|
309
315
|
bio?: string | null | undefined;
|
|
316
|
+
post_id?: string | null | undefined;
|
|
310
317
|
last_active?: string | undefined;
|
|
311
318
|
}, {
|
|
312
319
|
id?: string | undefined;
|
|
@@ -317,6 +324,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
317
324
|
}[] | undefined;
|
|
318
325
|
username?: string | null | undefined;
|
|
319
326
|
bio?: string | null | undefined;
|
|
327
|
+
post_id?: string | null | undefined;
|
|
320
328
|
last_active?: string | undefined;
|
|
321
329
|
}>>>;
|
|
322
330
|
org_id: z.ZodOptional<z.ZodString>;
|
|
@@ -450,6 +458,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
450
458
|
}[] | undefined;
|
|
451
459
|
username?: string | null | undefined;
|
|
452
460
|
bio?: string | null | undefined;
|
|
461
|
+
post_id?: string | null | undefined;
|
|
453
462
|
last_active?: string | undefined;
|
|
454
463
|
} | undefined;
|
|
455
464
|
organization?: {
|
|
@@ -513,6 +522,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
513
522
|
}[] | undefined;
|
|
514
523
|
username?: string | null | undefined;
|
|
515
524
|
bio?: string | null | undefined;
|
|
525
|
+
post_id?: string | null | undefined;
|
|
516
526
|
last_active?: string | undefined;
|
|
517
527
|
} | undefined;
|
|
518
528
|
organization?: {
|
package/dist/schema/teams.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
90
90
|
}, {
|
|
91
91
|
value: string;
|
|
92
92
|
}>, "many">>>;
|
|
93
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
93
94
|
last_active: z.ZodOptional<z.ZodString>;
|
|
94
95
|
}, "strip", z.ZodTypeAny, {
|
|
95
96
|
id?: string | undefined;
|
|
@@ -100,6 +101,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
100
101
|
}[] | undefined;
|
|
101
102
|
username?: string | null | undefined;
|
|
102
103
|
bio?: string | null | undefined;
|
|
104
|
+
post_id?: string | null | undefined;
|
|
103
105
|
last_active?: string | undefined;
|
|
104
106
|
}, {
|
|
105
107
|
id?: string | undefined;
|
|
@@ -110,6 +112,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
110
112
|
}[] | undefined;
|
|
111
113
|
username?: string | null | undefined;
|
|
112
114
|
bio?: string | null | undefined;
|
|
115
|
+
post_id?: string | null | undefined;
|
|
113
116
|
last_active?: string | undefined;
|
|
114
117
|
}>>>;
|
|
115
118
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -124,6 +127,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
124
127
|
}[] | undefined;
|
|
125
128
|
username?: string | null | undefined;
|
|
126
129
|
bio?: string | null | undefined;
|
|
130
|
+
post_id?: string | null | undefined;
|
|
127
131
|
last_active?: string | undefined;
|
|
128
132
|
} | null | undefined;
|
|
129
133
|
}, {
|
|
@@ -138,6 +142,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
138
142
|
}[] | undefined;
|
|
139
143
|
username?: string | null | undefined;
|
|
140
144
|
bio?: string | null | undefined;
|
|
145
|
+
post_id?: string | null | undefined;
|
|
141
146
|
last_active?: string | undefined;
|
|
142
147
|
} | null | undefined;
|
|
143
148
|
}>, "many">;
|
|
@@ -202,6 +207,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
202
207
|
}[] | undefined;
|
|
203
208
|
username?: string | null | undefined;
|
|
204
209
|
bio?: string | null | undefined;
|
|
210
|
+
post_id?: string | null | undefined;
|
|
205
211
|
last_active?: string | undefined;
|
|
206
212
|
} | null | undefined;
|
|
207
213
|
}[];
|
|
@@ -243,6 +249,7 @@ declare const ReadTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
243
249
|
}[] | undefined;
|
|
244
250
|
username?: string | null | undefined;
|
|
245
251
|
bio?: string | null | undefined;
|
|
252
|
+
post_id?: string | null | undefined;
|
|
246
253
|
last_active?: string | undefined;
|
|
247
254
|
} | null | undefined;
|
|
248
255
|
}[];
|
|
@@ -301,6 +308,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
301
308
|
}, {
|
|
302
309
|
value: string;
|
|
303
310
|
}>, "many">>>;
|
|
311
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
304
312
|
last_active: z.ZodOptional<z.ZodString>;
|
|
305
313
|
}, "strip", z.ZodTypeAny, {
|
|
306
314
|
id?: string | undefined;
|
|
@@ -311,6 +319,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
311
319
|
}[] | undefined;
|
|
312
320
|
username?: string | null | undefined;
|
|
313
321
|
bio?: string | null | undefined;
|
|
322
|
+
post_id?: string | null | undefined;
|
|
314
323
|
last_active?: string | undefined;
|
|
315
324
|
}, {
|
|
316
325
|
id?: string | undefined;
|
|
@@ -321,6 +330,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
321
330
|
}[] | undefined;
|
|
322
331
|
username?: string | null | undefined;
|
|
323
332
|
bio?: string | null | undefined;
|
|
333
|
+
post_id?: string | null | undefined;
|
|
324
334
|
last_active?: string | undefined;
|
|
325
335
|
}>>>;
|
|
326
336
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -335,6 +345,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
335
345
|
}[] | undefined;
|
|
336
346
|
username?: string | null | undefined;
|
|
337
347
|
bio?: string | null | undefined;
|
|
348
|
+
post_id?: string | null | undefined;
|
|
338
349
|
last_active?: string | undefined;
|
|
339
350
|
} | null | undefined;
|
|
340
351
|
}, {
|
|
@@ -349,6 +360,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
349
360
|
}[] | undefined;
|
|
350
361
|
username?: string | null | undefined;
|
|
351
362
|
bio?: string | null | undefined;
|
|
363
|
+
post_id?: string | null | undefined;
|
|
352
364
|
last_active?: string | undefined;
|
|
353
365
|
} | null | undefined;
|
|
354
366
|
}>, "many">;
|
|
@@ -417,6 +429,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
417
429
|
}[] | undefined;
|
|
418
430
|
username?: string | null | undefined;
|
|
419
431
|
bio?: string | null | undefined;
|
|
432
|
+
post_id?: string | null | undefined;
|
|
420
433
|
last_active?: string | undefined;
|
|
421
434
|
} | null | undefined;
|
|
422
435
|
}[];
|
|
@@ -460,6 +473,7 @@ declare const ReadTeamsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
460
473
|
}[] | undefined;
|
|
461
474
|
username?: string | null | undefined;
|
|
462
475
|
bio?: string | null | undefined;
|
|
476
|
+
post_id?: string | null | undefined;
|
|
463
477
|
last_active?: string | undefined;
|
|
464
478
|
} | null | undefined;
|
|
465
479
|
}[];
|
package/dist/schema/users.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ declare const ProfileSchema: z.ZodObject<{
|
|
|
12
12
|
}, {
|
|
13
13
|
value: string;
|
|
14
14
|
}>, "many">>;
|
|
15
|
+
post_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
16
|
last_active: z.ZodString;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
id: string;
|
|
@@ -23,6 +24,7 @@ declare const ProfileSchema: z.ZodObject<{
|
|
|
23
24
|
}[] | undefined;
|
|
24
25
|
username?: string | null | undefined;
|
|
25
26
|
bio?: string | null | undefined;
|
|
27
|
+
post_id?: string | null | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
id: string;
|
|
28
30
|
user_id: string;
|
|
@@ -33,6 +35,7 @@ declare const ProfileSchema: z.ZodObject<{
|
|
|
33
35
|
}[] | undefined;
|
|
34
36
|
username?: string | null | undefined;
|
|
35
37
|
bio?: string | null | undefined;
|
|
38
|
+
post_id?: string | null | undefined;
|
|
36
39
|
}>;
|
|
37
40
|
declare const ReadProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
38
41
|
id: z.ZodString;
|
|
@@ -47,6 +50,7 @@ declare const ReadProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
47
50
|
}, {
|
|
48
51
|
value: string;
|
|
49
52
|
}>, "many">>;
|
|
53
|
+
post_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
50
54
|
last_active: z.ZodString;
|
|
51
55
|
}, {
|
|
52
56
|
is_agent: z.ZodBoolean;
|
|
@@ -71,6 +75,7 @@ declare const ReadProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
71
75
|
}[] | undefined;
|
|
72
76
|
username?: string | null | undefined;
|
|
73
77
|
bio?: string | null | undefined;
|
|
78
|
+
post_id?: string | null | undefined;
|
|
74
79
|
}, {
|
|
75
80
|
id: string;
|
|
76
81
|
user_id: string;
|
|
@@ -85,6 +90,7 @@ declare const ReadProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
85
90
|
}[] | undefined;
|
|
86
91
|
username?: string | null | undefined;
|
|
87
92
|
bio?: string | null | undefined;
|
|
93
|
+
post_id?: string | null | undefined;
|
|
88
94
|
followers?: number | undefined;
|
|
89
95
|
following?: number | undefined;
|
|
90
96
|
}>;
|
|
@@ -101,6 +107,7 @@ declare const UpdateProfileSchema: z.ZodObject<Omit<{
|
|
|
101
107
|
}, {
|
|
102
108
|
value: string;
|
|
103
109
|
}>, "many">>>;
|
|
110
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
104
111
|
last_active: z.ZodOptional<z.ZodString>;
|
|
105
112
|
}, "id" | "user_id" | "last_active">, "strip", z.ZodTypeAny, {
|
|
106
113
|
avatar_path?: string | null | undefined;
|
|
@@ -109,6 +116,7 @@ declare const UpdateProfileSchema: z.ZodObject<Omit<{
|
|
|
109
116
|
}[] | undefined;
|
|
110
117
|
username?: string | null | undefined;
|
|
111
118
|
bio?: string | null | undefined;
|
|
119
|
+
post_id?: string | null | undefined;
|
|
112
120
|
}, {
|
|
113
121
|
avatar_path?: string | null | undefined;
|
|
114
122
|
urls?: {
|
|
@@ -116,6 +124,7 @@ declare const UpdateProfileSchema: z.ZodObject<Omit<{
|
|
|
116
124
|
}[] | undefined;
|
|
117
125
|
username?: string | null | undefined;
|
|
118
126
|
bio?: string | null | undefined;
|
|
127
|
+
post_id?: string | null | undefined;
|
|
119
128
|
}>;
|
|
120
129
|
export { ProfileSchema, ReadProfileSchema, UpdateProfileSchema };
|
|
121
130
|
export type Profile = z.infer<typeof ProfileSchema>;
|
package/dist/schema/users.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{z as l}from"zod";const o=l.object({id:l.string().uuid(),user_id:l.string().uuid(),username:l.string().optional().nullable(),avatar_path:l.string().optional().nullable(),bio:l.string().optional().nullable(),urls:l.array(l.object({value:l.string().url()})).optional(),last_active:l.string()}),i=o.extend({is_agent:l.boolean(),isFollowing:l.boolean(),isFollowed:l.boolean(),isSelf:l.boolean(),followers:l.number().default(0),following:l.number().default(0)}),
|
|
1
|
+
import{z as l}from"zod";const o=l.object({id:l.string().uuid(),user_id:l.string().uuid(),username:l.string().optional().nullable(),avatar_path:l.string().optional().nullable(),bio:l.string().optional().nullable(),urls:l.array(l.object({value:l.string().url()})).optional(),post_id:l.string().uuid().optional().nullable(),last_active:l.string()}),i=o.extend({is_agent:l.boolean(),isFollowing:l.boolean(),isFollowed:l.boolean(),isSelf:l.boolean(),followers:l.number().default(0),following:l.number().default(0)}),t=o.partial().omit({id:!0,user_id:!0,last_active:!0});export{o as ProfileSchema,i as ReadProfileSchema,t as UpdateProfileSchema};
|
|
2
2
|
//# sourceMappingURL=users.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.esm.js","sources":["../../src/schema/users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nconst ProfileSchema = z.object({\n id: z.string().uuid(),\n user_id: z.string().uuid(),\n username: z.string().optional().nullable(),\n avatar_path: z.string().optional().nullable(),\n bio: z.string().optional().nullable(),\n urls: z\n .array(\n z.object({\n value: z.string().url(),\n })\n )\n .optional(),\n last_active: z.string(),\n});\n\nconst ReadProfileSchema = ProfileSchema.extend({\n is_agent: z.boolean(),\n isFollowing: z.boolean(),\n isFollowed: z.boolean(),\n isSelf: z.boolean(),\n followers: z.number().default(0),\n following: z.number().default(0),\n});\n\nconst UpdateProfileSchema = ProfileSchema.partial().omit({\n id: true,\n user_id: true,\n last_active: true,\n // username: true, // once set, users cannot update their username\n});\n// .extend({\n// user_id: z.string().uuid(),\n// })\n\nexport { ProfileSchema, ReadProfileSchema, UpdateProfileSchema };\nexport type Profile = z.infer<typeof ProfileSchema>;\nexport type UpdateProfile = z.infer<typeof UpdateProfileSchema>;\nexport type ReadProfile = z.infer<typeof ReadProfileSchema>;\n"],"names":["ProfileSchema","z","object","id","string","uuid","user_id","username","optional","nullable","avatar_path","bio","urls","array","value","url","last_active","ReadProfileSchema","extend","is_agent","boolean","isFollowing","isFollowed","isSelf","followers","number","default","following","UpdateProfileSchema","partial","omit"],"mappings":"wBAEA,MAAMA,EAAgBC,EAAEC,OAAO,CAC7BC,GAAIF,EAAEG,SAASC,OACfC,QAASL,EAAEG,SAASC,OACpBE,SAAUN,EAAEG,SAASI,WAAWC,WAChCC,YAAaT,EAAEG,SAASI,WAAWC,WACnCE,IAAKV,EAAEG,SAASI,WAAWC,WAC3BG,KAAMX,EACHY,MACCZ,EAAEC,OAAO,CACPY,MAAOb,EAAEG,SAASW,SAGrBP,WACHQ,
|
|
1
|
+
{"version":3,"file":"users.esm.js","sources":["../../src/schema/users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nconst ProfileSchema = z.object({\n id: z.string().uuid(),\n user_id: z.string().uuid(),\n username: z.string().optional().nullable(),\n avatar_path: z.string().optional().nullable(),\n bio: z.string().optional().nullable(),\n urls: z\n .array(\n z.object({\n value: z.string().url(),\n })\n )\n .optional(),\n post_id: z.string().uuid().optional().nullable(),\n last_active: z.string(),\n});\n\nconst ReadProfileSchema = ProfileSchema.extend({\n is_agent: z.boolean(),\n isFollowing: z.boolean(),\n isFollowed: z.boolean(),\n isSelf: z.boolean(),\n followers: z.number().default(0),\n following: z.number().default(0),\n});\n\nconst UpdateProfileSchema = ProfileSchema.partial().omit({\n id: true,\n user_id: true,\n last_active: true,\n // username: true, // once set, users cannot update their username\n});\n// .extend({\n// user_id: z.string().uuid(),\n// })\n\nexport { ProfileSchema, ReadProfileSchema, UpdateProfileSchema };\nexport type Profile = z.infer<typeof ProfileSchema>;\nexport type UpdateProfile = z.infer<typeof UpdateProfileSchema>;\nexport type ReadProfile = z.infer<typeof ReadProfileSchema>;\n"],"names":["ProfileSchema","z","object","id","string","uuid","user_id","username","optional","nullable","avatar_path","bio","urls","array","value","url","post_id","last_active","ReadProfileSchema","extend","is_agent","boolean","isFollowing","isFollowed","isSelf","followers","number","default","following","UpdateProfileSchema","partial","omit"],"mappings":"wBAEA,MAAMA,EAAgBC,EAAEC,OAAO,CAC7BC,GAAIF,EAAEG,SAASC,OACfC,QAASL,EAAEG,SAASC,OACpBE,SAAUN,EAAEG,SAASI,WAAWC,WAChCC,YAAaT,EAAEG,SAASI,WAAWC,WACnCE,IAAKV,EAAEG,SAASI,WAAWC,WAC3BG,KAAMX,EACHY,MACCZ,EAAEC,OAAO,CACPY,MAAOb,EAAEG,SAASW,SAGrBP,WACHQ,QAASf,EAAEG,SAASC,OAAOG,WAAWC,WACtCQ,YAAahB,EAAEG,WAGXc,EAAoBlB,EAAcmB,OAAO,CAC7CC,SAAUnB,EAAEoB,UACZC,YAAarB,EAAEoB,UACfE,WAAYtB,EAAEoB,UACdG,OAAQvB,EAAEoB,UACVI,UAAWxB,EAAEyB,SAASC,QAAQ,GAC9BC,UAAW3B,EAAEyB,SAASC,QAAQ,KAG1BE,EAAsB7B,EAAc8B,UAAUC,KAAK,CACvD5B,IAAI,EACJG,SAAS,EACTW,aAAa"}
|
package/dist/schema/users.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("zod");const l=e.z.object({id:e.z.string().uuid(),user_id:e.z.string().uuid(),username:e.z.string().optional().nullable(),avatar_path:e.z.string().optional().nullable(),bio:e.z.string().optional().nullable(),urls:e.z.array(e.z.object({value:e.z.string().url()})).optional(),last_active:e.z.string()}),o=l.extend({is_agent:e.z.boolean(),isFollowing:e.z.boolean(),isFollowed:e.z.boolean(),isSelf:e.z.boolean(),followers:e.z.number().default(0),following:e.z.number().default(0)}),
|
|
1
|
+
"use strict";var e=require("zod");const l=e.z.object({id:e.z.string().uuid(),user_id:e.z.string().uuid(),username:e.z.string().optional().nullable(),avatar_path:e.z.string().optional().nullable(),bio:e.z.string().optional().nullable(),urls:e.z.array(e.z.object({value:e.z.string().url()})).optional(),post_id:e.z.string().uuid().optional().nullable(),last_active:e.z.string()}),o=l.extend({is_agent:e.z.boolean(),isFollowing:e.z.boolean(),isFollowed:e.z.boolean(),isSelf:e.z.boolean(),followers:e.z.number().default(0),following:e.z.number().default(0)}),i=l.partial().omit({id:!0,user_id:!0,last_active:!0});exports.ProfileSchema=l,exports.ReadProfileSchema=o,exports.UpdateProfileSchema=i;
|
|
2
2
|
//# sourceMappingURL=users.js.map
|
package/dist/schema/users.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sources":["../../src/schema/users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nconst ProfileSchema = z.object({\n id: z.string().uuid(),\n user_id: z.string().uuid(),\n username: z.string().optional().nullable(),\n avatar_path: z.string().optional().nullable(),\n bio: z.string().optional().nullable(),\n urls: z\n .array(\n z.object({\n value: z.string().url(),\n })\n )\n .optional(),\n last_active: z.string(),\n});\n\nconst ReadProfileSchema = ProfileSchema.extend({\n is_agent: z.boolean(),\n isFollowing: z.boolean(),\n isFollowed: z.boolean(),\n isSelf: z.boolean(),\n followers: z.number().default(0),\n following: z.number().default(0),\n});\n\nconst UpdateProfileSchema = ProfileSchema.partial().omit({\n id: true,\n user_id: true,\n last_active: true,\n // username: true, // once set, users cannot update their username\n});\n// .extend({\n// user_id: z.string().uuid(),\n// })\n\nexport { ProfileSchema, ReadProfileSchema, UpdateProfileSchema };\nexport type Profile = z.infer<typeof ProfileSchema>;\nexport type UpdateProfile = z.infer<typeof UpdateProfileSchema>;\nexport type ReadProfile = z.infer<typeof ReadProfileSchema>;\n"],"names":["ProfileSchema","z","object","id","string","uuid","user_id","username","optional","nullable","avatar_path","bio","urls","array","value","url","last_active","ReadProfileSchema","extend","is_agent","boolean","isFollowing","isFollowed","isSelf","followers","number","default","following","UpdateProfileSchema","partial","omit"],"mappings":"kCAEA,MAAMA,EAAgBC,EAACA,EAACC,OAAO,CAC7BC,GAAIF,EAACA,EAACG,SAASC,OACfC,QAASL,EAACA,EAACG,SAASC,OACpBE,SAAUN,EAAAA,EAAEG,SAASI,WAAWC,WAChCC,YAAaT,EAAAA,EAAEG,SAASI,WAAWC,WACnCE,IAAKV,EAAAA,EAAEG,SAASI,WAAWC,WAC3BG,KAAMX,EAAAA,EACHY,MACCZ,EAACA,EAACC,OAAO,CACPY,MAAOb,EAACA,EAACG,SAASW,SAGrBP,WACHQ,
|
|
1
|
+
{"version":3,"file":"users.js","sources":["../../src/schema/users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nconst ProfileSchema = z.object({\n id: z.string().uuid(),\n user_id: z.string().uuid(),\n username: z.string().optional().nullable(),\n avatar_path: z.string().optional().nullable(),\n bio: z.string().optional().nullable(),\n urls: z\n .array(\n z.object({\n value: z.string().url(),\n })\n )\n .optional(),\n post_id: z.string().uuid().optional().nullable(),\n last_active: z.string(),\n});\n\nconst ReadProfileSchema = ProfileSchema.extend({\n is_agent: z.boolean(),\n isFollowing: z.boolean(),\n isFollowed: z.boolean(),\n isSelf: z.boolean(),\n followers: z.number().default(0),\n following: z.number().default(0),\n});\n\nconst UpdateProfileSchema = ProfileSchema.partial().omit({\n id: true,\n user_id: true,\n last_active: true,\n // username: true, // once set, users cannot update their username\n});\n// .extend({\n// user_id: z.string().uuid(),\n// })\n\nexport { ProfileSchema, ReadProfileSchema, UpdateProfileSchema };\nexport type Profile = z.infer<typeof ProfileSchema>;\nexport type UpdateProfile = z.infer<typeof UpdateProfileSchema>;\nexport type ReadProfile = z.infer<typeof ReadProfileSchema>;\n"],"names":["ProfileSchema","z","object","id","string","uuid","user_id","username","optional","nullable","avatar_path","bio","urls","array","value","url","post_id","last_active","ReadProfileSchema","extend","is_agent","boolean","isFollowing","isFollowed","isSelf","followers","number","default","following","UpdateProfileSchema","partial","omit"],"mappings":"kCAEA,MAAMA,EAAgBC,EAACA,EAACC,OAAO,CAC7BC,GAAIF,EAACA,EAACG,SAASC,OACfC,QAASL,EAACA,EAACG,SAASC,OACpBE,SAAUN,EAAAA,EAAEG,SAASI,WAAWC,WAChCC,YAAaT,EAAAA,EAAEG,SAASI,WAAWC,WACnCE,IAAKV,EAAAA,EAAEG,SAASI,WAAWC,WAC3BG,KAAMX,EAAAA,EACHY,MACCZ,EAACA,EAACC,OAAO,CACPY,MAAOb,EAACA,EAACG,SAASW,SAGrBP,WACHQ,QAASf,EAACA,EAACG,SAASC,OAAOG,WAAWC,WACtCQ,YAAahB,EAACA,EAACG,WAGXc,EAAoBlB,EAAcmB,OAAO,CAC7CC,SAAUnB,EAACA,EAACoB,UACZC,YAAarB,EAACA,EAACoB,UACfE,WAAYtB,EAACA,EAACoB,UACdG,OAAQvB,EAACA,EAACoB,UACVI,UAAWxB,EAAAA,EAAEyB,SAASC,QAAQ,GAC9BC,UAAW3B,EAAAA,EAAEyB,SAASC,QAAQ,KAG1BE,EAAsB7B,EAAc8B,UAAUC,KAAK,CACvD5B,IAAI,EACJG,SAAS,EACTW,aAAa"}
|
|
@@ -7,7 +7,18 @@ interface InlineAssetAttrs {
|
|
|
7
7
|
partial?: boolean;
|
|
8
8
|
}
|
|
9
9
|
declare function getReferencesInContent(json: Content["json"]): {
|
|
10
|
-
users:
|
|
10
|
+
users: Partial<{
|
|
11
|
+
id: string;
|
|
12
|
+
user_id: string;
|
|
13
|
+
last_active: string;
|
|
14
|
+
avatar_path?: string | null | undefined;
|
|
15
|
+
urls?: {
|
|
16
|
+
value: string;
|
|
17
|
+
}[] | undefined;
|
|
18
|
+
username?: string | null | undefined;
|
|
19
|
+
bio?: string | null | undefined;
|
|
20
|
+
post_id?: string | null | undefined;
|
|
21
|
+
}>[];
|
|
11
22
|
assets: InlineAssetAttrs[];
|
|
12
23
|
};
|
|
13
24
|
export { getReferencesInContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const t=e=>Array.isArray(e)?e.map(t):(null==e?void 0:e.content)?Array.isArray(e.content)?e.content.map(t).flat():t(e.content):e;function e(e){if(!e)return{users:[],assets:[]};const s=e.content.map(t).flat();return{users:s.filter((t=>"mention"===t.type)).map((t=>({user_id:t.attrs.id,username:t.attrs.label}))).reduce(((t,e)=>(t.some((t=>t===e.user_id))||t.push(e
|
|
1
|
+
const t=e=>Array.isArray(e)?e.map(t):(null==e?void 0:e.content)?Array.isArray(e.content)?e.content.map(t).flat():t(e.content):e;function e(e){if(!e||!(null==e?void 0:e.content))return{users:[],assets:[]};const s=e.content.map(t).flat();return{users:s.filter((t=>"mention"===t.type)).map((t=>({user_id:t.attrs.id,username:t.attrs.label||t.attrs.username}))).reduce(((t,e)=>(t.some((t=>t.user_id===e.user_id))||t.push(e),t)),[]),assets:s.filter((t=>{var e,s;return"assetComponent"===t.type&&(null===(e=t.attrs)||void 0===e?void 0:e.id)&&!(null===(s=t.attrs)||void 0===s?void 0:s.partial)})).map((({attrs:t})=>({id:t.id,assetType:t.assetType}))).reduce(((t,e)=>(t.some((t=>t.id===e.id))||t.push(e),t)),[])}}export{e as getReferencesInContent};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../src/utils/air/index.ts"],"sourcesContent":["import { Content } from \"../../schema/posts\";\n\ninterface InlineAssetAttrs {\n id: string;\n assetType: string;\n viewMode: string;\n filters?: any;\n partial?: boolean;\n}\n\nconst extractContent = (item: any): any => {\n if (Array.isArray(item)) return item.map(extractContent);\n if (item?.content) {\n if (Array.isArray(item.content))\n return item.content.map(extractContent).flat();\n else return extractContent(item.content);\n } else return item; // leaf\n};\n\nfunction getReferencesInContent(json: Content[\"json\"]) {\n if (!json) return { users: [], assets: [] };\n\n const content = json.content.map(extractContent).flat();\n const users = content\n .filter((item: any) => item.type === \"mention\")\n .map((item: any) => ({\n user_id: item.attrs.id,\n username: item.attrs.label,\n }))\n .reduce((unique: any[], item: any) => {\n if (!unique.some((u) => u === item.user_id)) {\n unique.push(item
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../src/utils/air/index.ts"],"sourcesContent":["import { Content } from \"../../schema/posts\";\nimport { Profile } from \"../../schema/users\";\n\ninterface InlineAssetAttrs {\n id: string;\n assetType: string;\n viewMode: string;\n filters?: any;\n partial?: boolean;\n}\n\nconst extractContent = (item: any): any => {\n if (Array.isArray(item)) return item.map(extractContent);\n if (item?.content) {\n if (Array.isArray(item.content))\n return item.content.map(extractContent).flat();\n else return extractContent(item.content);\n } else return item; // leaf\n};\n\nfunction getReferencesInContent(json: Content[\"json\"]) {\n if (!json || !json?.content) return { users: [], assets: [] };\n\n const content = json.content.map(extractContent).flat();\n // TODO: should keep the structure instead of flattening to list of strings\n const users = content\n .filter((item: any) => item.type === \"mention\")\n .map((item: any) => ({\n user_id: item.attrs.id,\n username: item.attrs.label || item.attrs.username,\n }))\n .reduce((unique: any[], item: any) => {\n if (!unique.some((u) => u.user_id === item.user_id)) {\n unique.push(item);\n }\n return unique;\n }, []) as Partial<Profile>[];\n\n const assets = content\n // Filter out assets that still have partial data, must have id\n .filter(\n (item: any) =>\n item.type === \"assetComponent\" && item.attrs?.id && !item.attrs?.partial\n )\n .map(({ attrs }: { attrs: InlineAssetAttrs }) => ({\n id: attrs.id,\n assetType: attrs.assetType,\n }))\n .reduce((unique: any[], item: any) => {\n if (!unique.some((u) => u.id === item.id)) {\n unique.push(item);\n }\n return unique;\n }, []) as InlineAssetAttrs[];\n\n return {\n users,\n assets,\n };\n}\n\nexport { getReferencesInContent };\n"],"names":["extractContent","item","Array","isArray","map","content","flat","getReferencesInContent","json","undefined","users","assets","filter","type","user_id","attrs","id","username","label","reduce","unique","some","u","push","_a","_b","partial","assetType"],"mappings":"AAWA,MAAMA,EAAkBC,GAClBC,MAAMC,QAAQF,GAAcA,EAAKG,IAAIJ,IACrCC,eAAAA,EAAMI,SACJH,MAAMC,QAAQF,EAAKI,SACdJ,EAAKI,QAAQD,IAAIJ,GAAgBM,OAC9BN,EAAeC,EAAKI,SACpBJ,EAGhB,SAASM,EAAuBC,GAC9B,IAAKA,KAASA,aAAAC,EAAAD,EAAMH,SAAS,MAAO,CAAEK,MAAO,GAAIC,OAAQ,IAEzD,MAAMN,EAAUG,EAAKH,QAAQD,IAAIJ,GAAgBM,OAgCjD,MAAO,CACLI,MA/BYL,EACXO,QAAQX,GAA4B,YAAdA,EAAKY,OAC3BT,KAAKH,IAAe,CACnBa,QAASb,EAAKc,MAAMC,GACpBC,SAAUhB,EAAKc,MAAMG,OAASjB,EAAKc,MAAME,aAE1CE,QAAO,CAACC,EAAenB,KACjBmB,EAAOC,MAAMC,GAAMA,EAAER,UAAYb,EAAKa,WACzCM,EAAOG,KAAKtB,GAEPmB,IACN,IAqBHT,OAnBaN,EAEZO,QACEX,IACC,IAAAuB,EAAAC,EAAA,MAAc,mBAAdxB,EAAKY,OAAuC,UAAVZ,EAAKc,aAAKN,IAAAe,OAAAf,EAAAe,EAAER,OAAmB,QAAZS,EAAAxB,EAAKc,aAAON,IAAAgB,OAAAhB,EAAAgB,EAAAC,QAAO,IAE3EtB,KAAI,EAAGW,YAA0C,CAChDC,GAAID,EAAMC,GACVW,UAAWZ,EAAMY,cAElBR,QAAO,CAACC,EAAenB,KACjBmB,EAAOC,MAAMC,GAAMA,EAAEN,KAAOf,EAAKe,MACpCI,EAAOG,KAAKtB,GAEPmB,IACN,IAMP"}
|
package/dist/utils/air/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=e=>Array.isArray(e)?e.map(t):(null==e?void 0:e.content)?Array.isArray(e.content)?e.content.map(t).flat():t(e.content):e;exports.getReferencesInContent=function(e){if(!e)return{users:[],assets:[]};const s=e.content.map(t).flat();return{users:s.filter((t=>"mention"===t.type)).map((t=>({user_id:t.attrs.id,username:t.attrs.label}))).reduce(((t,e)=>(t.some((t=>t===e.user_id))||t.push(e
|
|
1
|
+
"use strict";const t=e=>Array.isArray(e)?e.map(t):(null==e?void 0:e.content)?Array.isArray(e.content)?e.content.map(t).flat():t(e.content):e;exports.getReferencesInContent=function(e){if(!e||!(null==e?void 0:e.content))return{users:[],assets:[]};const s=e.content.map(t).flat();return{users:s.filter((t=>"mention"===t.type)).map((t=>({user_id:t.attrs.id,username:t.attrs.label||t.attrs.username}))).reduce(((t,e)=>(t.some((t=>t.user_id===e.user_id))||t.push(e),t)),[]),assets:s.filter((t=>{var e,s;return"assetComponent"===t.type&&(null===(e=t.attrs)||void 0===e?void 0:e.id)&&!(null===(s=t.attrs)||void 0===s?void 0:s.partial)})).map((({attrs:t})=>({id:t.id,assetType:t.assetType}))).reduce(((t,e)=>(t.some((t=>t.id===e.id))||t.push(e),t)),[])}};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/utils/air/index.ts"],"sourcesContent":["import { Content } from \"../../schema/posts\";\n\ninterface InlineAssetAttrs {\n id: string;\n assetType: string;\n viewMode: string;\n filters?: any;\n partial?: boolean;\n}\n\nconst extractContent = (item: any): any => {\n if (Array.isArray(item)) return item.map(extractContent);\n if (item?.content) {\n if (Array.isArray(item.content))\n return item.content.map(extractContent).flat();\n else return extractContent(item.content);\n } else return item; // leaf\n};\n\nfunction getReferencesInContent(json: Content[\"json\"]) {\n if (!json) return { users: [], assets: [] };\n\n const content = json.content.map(extractContent).flat();\n const users = content\n .filter((item: any) => item.type === \"mention\")\n .map((item: any) => ({\n user_id: item.attrs.id,\n username: item.attrs.label,\n }))\n .reduce((unique: any[], item: any) => {\n if (!unique.some((u) => u === item.user_id)) {\n unique.push(item
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/utils/air/index.ts"],"sourcesContent":["import { Content } from \"../../schema/posts\";\nimport { Profile } from \"../../schema/users\";\n\ninterface InlineAssetAttrs {\n id: string;\n assetType: string;\n viewMode: string;\n filters?: any;\n partial?: boolean;\n}\n\nconst extractContent = (item: any): any => {\n if (Array.isArray(item)) return item.map(extractContent);\n if (item?.content) {\n if (Array.isArray(item.content))\n return item.content.map(extractContent).flat();\n else return extractContent(item.content);\n } else return item; // leaf\n};\n\nfunction getReferencesInContent(json: Content[\"json\"]) {\n if (!json || !json?.content) return { users: [], assets: [] };\n\n const content = json.content.map(extractContent).flat();\n // TODO: should keep the structure instead of flattening to list of strings\n const users = content\n .filter((item: any) => item.type === \"mention\")\n .map((item: any) => ({\n user_id: item.attrs.id,\n username: item.attrs.label || item.attrs.username,\n }))\n .reduce((unique: any[], item: any) => {\n if (!unique.some((u) => u.user_id === item.user_id)) {\n unique.push(item);\n }\n return unique;\n }, []) as Partial<Profile>[];\n\n const assets = content\n // Filter out assets that still have partial data, must have id\n .filter(\n (item: any) =>\n item.type === \"assetComponent\" && item.attrs?.id && !item.attrs?.partial\n )\n .map(({ attrs }: { attrs: InlineAssetAttrs }) => ({\n id: attrs.id,\n assetType: attrs.assetType,\n }))\n .reduce((unique: any[], item: any) => {\n if (!unique.some((u) => u.id === item.id)) {\n unique.push(item);\n }\n return unique;\n }, []) as InlineAssetAttrs[];\n\n return {\n users,\n assets,\n };\n}\n\nexport { getReferencesInContent };\n"],"names":["extractContent","item","Array","isArray","map","content","flat","json","undefined","users","assets","filter","type","user_id","attrs","id","username","label","reduce","unique","some","u","push","_a","_b","partial","assetType"],"mappings":"aAWA,MAAMA,EAAkBC,GAClBC,MAAMC,QAAQF,GAAcA,EAAKG,IAAIJ,IACrCC,eAAAA,EAAMI,SACJH,MAAMC,QAAQF,EAAKI,SACdJ,EAAKI,QAAQD,IAAIJ,GAAgBM,OAC9BN,EAAeC,EAAKI,SACpBJ,iCAGhB,SAAgCM,GAC9B,IAAKA,KAASA,aAAAC,EAAAD,EAAMF,SAAS,MAAO,CAAEI,MAAO,GAAIC,OAAQ,IAEzD,MAAML,EAAUE,EAAKF,QAAQD,IAAIJ,GAAgBM,OAgCjD,MAAO,CACLG,MA/BYJ,EACXM,QAAQV,GAA4B,YAAdA,EAAKW,OAC3BR,KAAKH,IAAe,CACnBY,QAASZ,EAAKa,MAAMC,GACpBC,SAAUf,EAAKa,MAAMG,OAAShB,EAAKa,MAAME,aAE1CE,QAAO,CAACC,EAAelB,KACjBkB,EAAOC,MAAMC,GAAMA,EAAER,UAAYZ,EAAKY,WACzCM,EAAOG,KAAKrB,GAEPkB,IACN,IAqBHT,OAnBaL,EAEZM,QACEV,IACC,IAAAsB,EAAAC,EAAA,MAAc,mBAAdvB,EAAKW,OAAuC,UAAVX,EAAKa,aAAKN,IAAAe,OAAAf,EAAAe,EAAER,OAAmB,QAAZS,EAAAvB,EAAKa,aAAON,IAAAgB,OAAAhB,EAAAgB,EAAAC,QAAO,IAE3ErB,KAAI,EAAGU,YAA0C,CAChDC,GAAID,EAAMC,GACVW,UAAWZ,EAAMY,cAElBR,QAAO,CAACC,EAAelB,KACjBkB,EAAOC,MAAMC,GAAMA,EAAEN,KAAOd,EAAKc,MACpCI,EAAOG,KAAKrB,GAEPkB,IACN,IAMP"}
|