@ourofoundation/ouro-js 3.8.3 → 3.8.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/chunk-2GABFYUS.cjs +2 -0
- package/dist/chunk-2GABFYUS.cjs.map +1 -0
- package/dist/chunk-4AEKCY33.js +2 -0
- package/dist/chunk-4AEKCY33.js.map +1 -0
- package/dist/chunk-4GP5MIEM.cjs +2 -0
- package/dist/chunk-4GP5MIEM.cjs.map +1 -0
- package/dist/{chunk-DSJ23DIB.cjs → chunk-4UNQYG7I.cjs} +2 -2
- package/dist/{chunk-DSJ23DIB.cjs.map → chunk-4UNQYG7I.cjs.map} +1 -1
- package/dist/{chunk-KU5AWMS5.cjs → chunk-5PWVQ2XA.cjs} +2 -2
- package/dist/{chunk-KU5AWMS5.cjs.map → chunk-5PWVQ2XA.cjs.map} +1 -1
- package/dist/chunk-67Q4RMP6.js +2 -0
- package/dist/chunk-67Q4RMP6.js.map +1 -0
- package/dist/chunk-6KQTA6I7.cjs +2 -0
- package/dist/{chunk-AIIAIQ6L.cjs.map → chunk-6KQTA6I7.cjs.map} +1 -1
- package/dist/chunk-B4OJDZY5.js +2 -0
- package/dist/{chunk-PGCNGDPK.js.map → chunk-B4OJDZY5.js.map} +1 -1
- package/dist/{chunk-OCG3P3PJ.js → chunk-BWUPF76F.js} +2 -2
- package/dist/{chunk-OCG3P3PJ.js.map → chunk-BWUPF76F.js.map} +1 -1
- package/dist/{chunk-RMMMRN4X.cjs → chunk-D2VAJ55Q.cjs} +2 -2
- package/dist/{chunk-RMMMRN4X.cjs.map → chunk-D2VAJ55Q.cjs.map} +1 -1
- package/dist/chunk-D6JWKEY5.cjs +2 -0
- package/dist/chunk-D6JWKEY5.cjs.map +1 -0
- package/dist/chunk-G3IGIXKD.cjs +2 -0
- package/dist/chunk-G3IGIXKD.cjs.map +1 -0
- package/dist/chunk-GS5VFJ22.cjs +2 -0
- package/dist/chunk-GS5VFJ22.cjs.map +1 -0
- package/dist/chunk-HKU6LRRS.js +2 -0
- package/dist/chunk-HKU6LRRS.js.map +1 -0
- package/dist/chunk-IUO6O47I.cjs +2 -0
- package/dist/chunk-IUO6O47I.cjs.map +1 -0
- package/dist/chunk-KTJTOSL2.cjs +2 -0
- package/dist/chunk-KTJTOSL2.cjs.map +1 -0
- package/dist/chunk-KV6R6XC2.cjs +2 -0
- package/dist/chunk-KV6R6XC2.cjs.map +1 -0
- package/dist/{chunk-LXDNBUOU.js → chunk-MV4VXP6M.js} +2 -2
- package/dist/{chunk-LXDNBUOU.js.map → chunk-MV4VXP6M.js.map} +1 -1
- package/dist/chunk-NGPSTYQD.js +2 -0
- package/dist/chunk-NGPSTYQD.js.map +1 -0
- package/dist/chunk-NK4K542Q.js +2 -0
- package/dist/chunk-NK4K542Q.js.map +1 -0
- package/dist/chunk-NLU672VS.js +2 -0
- package/dist/chunk-NLU672VS.js.map +1 -0
- package/dist/chunk-OC34WU3H.cjs +2 -0
- package/dist/chunk-OC34WU3H.cjs.map +1 -0
- package/dist/chunk-OZBQNIKJ.js +2 -0
- package/dist/chunk-OZBQNIKJ.js.map +1 -0
- package/dist/chunk-QVMN2EX4.js +2 -0
- package/dist/chunk-QVMN2EX4.js.map +1 -0
- package/dist/{chunk-E2FDUS3B.cjs → chunk-RCUD47O3.cjs} +2 -2
- package/dist/{chunk-E2FDUS3B.cjs.map → chunk-RCUD47O3.cjs.map} +1 -1
- package/dist/chunk-SB4X4GDQ.js +2 -0
- package/dist/chunk-SB4X4GDQ.js.map +1 -0
- package/dist/chunk-WMCUQQ2Q.cjs +2 -0
- package/dist/chunk-WMCUQQ2Q.cjs.map +1 -0
- package/dist/chunk-XQTA6BNA.js +2 -0
- package/dist/chunk-XQTA6BNA.js.map +1 -0
- package/dist/chunk-XTINLMDO.js +2 -0
- package/dist/{chunk-FGEMQEEM.js.map → chunk-XTINLMDO.js.map} +1 -1
- package/dist/chunk-ZBNLKRMB.js +2 -0
- package/dist/{chunk-MKRXM63S.js.map → chunk-ZBNLKRMB.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.d.cts +2 -2
- package/dist/schema/asset-filters.d.ts +2 -2
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +6 -0
- package/dist/schema/assets.d.ts +6 -0
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +36 -0
- package/dist/schema/comments.d.ts +36 -0
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +12 -0
- package/dist/schema/conversations.d.ts +12 -0
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +13 -5
- package/dist/schema/datasets.d.ts +13 -5
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +168 -1
- package/dist/schema/files.d.ts +168 -1
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +20 -0
- package/dist/schema/notifications.d.ts +20 -0
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +3 -1
- package/dist/schema/organizations.d.ts +3 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +36 -0
- package/dist/schema/posts.d.ts +36 -0
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +88 -15
- package/dist/schema/quests.d.ts +88 -15
- package/dist/schema/quests.js +1 -1
- package/dist/schema/renditions.cjs +2 -0
- package/dist/schema/renditions.cjs.map +1 -0
- package/dist/schema/renditions.d.cts +196 -0
- package/dist/schema/renditions.d.ts +196 -0
- package/dist/schema/renditions.js +2 -0
- package/dist/schema/renditions.js.map +1 -0
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +319 -7
- package/dist/schema/services.d.ts +319 -7
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +25 -0
- package/dist/schema/teams.d.ts +25 -0
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +42 -1
- package/dist/schema/users.d.ts +42 -1
- package/dist/schema/users.js +1 -1
- package/dist/utils/files.cjs +1 -1
- package/dist/utils/files.d.cts +2 -1
- package/dist/utils/files.d.ts +2 -1
- package/dist/utils/files.js +1 -1
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +10 -1
- package/dist/utils/quest-submission.d.ts +10 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/tests/file-classification.test.mjs +19 -0
- package/tests/files.test.mjs +21 -1
- package/tests/renditions.test.mjs +111 -0
- package/dist/chunk-3DGJ27WL.js +0 -2
- package/dist/chunk-3DGJ27WL.js.map +0 -1
- package/dist/chunk-3JPOAQ2M.cjs +0 -2
- package/dist/chunk-3JPOAQ2M.cjs.map +0 -1
- package/dist/chunk-64ZUBBP7.js +0 -2
- package/dist/chunk-64ZUBBP7.js.map +0 -1
- package/dist/chunk-ADLJ3UUW.cjs +0 -2
- package/dist/chunk-ADLJ3UUW.cjs.map +0 -1
- package/dist/chunk-AIIAIQ6L.cjs +0 -2
- package/dist/chunk-CDJH4OT5.js +0 -2
- package/dist/chunk-CDJH4OT5.js.map +0 -1
- package/dist/chunk-CIEATF7M.cjs +0 -2
- package/dist/chunk-CIEATF7M.cjs.map +0 -1
- package/dist/chunk-FGEMQEEM.js +0 -2
- package/dist/chunk-KHERHT26.cjs +0 -2
- package/dist/chunk-KHERHT26.cjs.map +0 -1
- package/dist/chunk-LMRFVO4I.cjs +0 -2
- package/dist/chunk-LMRFVO4I.cjs.map +0 -1
- package/dist/chunk-MKRXM63S.js +0 -2
- package/dist/chunk-OU4JKY4M.js +0 -2
- package/dist/chunk-OU4JKY4M.js.map +0 -1
- package/dist/chunk-PGCNGDPK.js +0 -2
- package/dist/chunk-PVUBGWOI.cjs +0 -2
- package/dist/chunk-PVUBGWOI.cjs.map +0 -1
- package/dist/chunk-RS5H4XDK.js +0 -2
- package/dist/chunk-RS5H4XDK.js.map +0 -1
- package/dist/chunk-W6KXPYCB.js +0 -2
- package/dist/chunk-W6KXPYCB.js.map +0 -1
- package/dist/chunk-XEA4DDOE.cjs +0 -2
- package/dist/chunk-XEA4DDOE.cjs.map +0 -1
- package/dist/chunk-XL2RQ3DZ.cjs +0 -2
- package/dist/chunk-XL2RQ3DZ.cjs.map +0 -1
- package/dist/chunk-XXFKHRNE.js +0 -2
- package/dist/chunk-XXFKHRNE.js.map +0 -1
- package/dist/chunk-Y6BK75KP.js +0 -2
- package/dist/chunk-Y6BK75KP.js.map +0 -1
- package/dist/chunk-YTCAK2AH.cjs +0 -2
- package/dist/chunk-YTCAK2AH.cjs.map +0 -1
- package/dist/chunk-ZFARY5F4.js +0 -2
- package/dist/chunk-ZFARY5F4.js.map +0 -1
package/dist/schema/files.d.cts
CHANGED
|
@@ -8,6 +8,26 @@ declare const ZipArchiveMetadataSchema: z.ZodObject<{
|
|
|
8
8
|
total_compressed_size: z.ZodNumber;
|
|
9
9
|
preview_truncated: z.ZodBoolean;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
+
declare const StructureSummarySchema: z.ZodObject<{
|
|
12
|
+
formula: z.ZodString;
|
|
13
|
+
elements: z.ZodArray<z.ZodString>;
|
|
14
|
+
num_atoms: z.ZodNumber;
|
|
15
|
+
space_group: z.ZodObject<{
|
|
16
|
+
symbol: z.ZodString;
|
|
17
|
+
number: z.ZodNumber;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
crystal_system: z.ZodString;
|
|
20
|
+
lattice: z.ZodObject<{
|
|
21
|
+
a: z.ZodNumber;
|
|
22
|
+
b: z.ZodNumber;
|
|
23
|
+
c: z.ZodNumber;
|
|
24
|
+
alpha: z.ZodNumber;
|
|
25
|
+
beta: z.ZodNumber;
|
|
26
|
+
gamma: z.ZodNumber;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
volume: z.ZodNumber;
|
|
29
|
+
density: z.ZodNumber;
|
|
30
|
+
}, z.core.$strip>;
|
|
11
31
|
declare const FileSchema: z.ZodObject<{
|
|
12
32
|
id: z.ZodUUID;
|
|
13
33
|
user_id: z.ZodUUID;
|
|
@@ -134,6 +154,7 @@ declare const FileSchema: z.ZodObject<{
|
|
|
134
154
|
web_only: "web_only";
|
|
135
155
|
api_only: "api_only";
|
|
136
156
|
}>>>>;
|
|
157
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
137
158
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
159
|
user_id: z.ZodUUID;
|
|
139
160
|
role: z.ZodEnum<{
|
|
@@ -143,6 +164,11 @@ declare const FileSchema: z.ZodObject<{
|
|
|
143
164
|
none: "none";
|
|
144
165
|
}>;
|
|
145
166
|
}, z.core.$strip>>>>;
|
|
167
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
168
|
+
id: z.ZodUUID;
|
|
169
|
+
status: z.ZodString;
|
|
170
|
+
created_at: z.ZodString;
|
|
171
|
+
}, z.core.$strip>>>>;
|
|
146
172
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
147
173
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
148
174
|
user_id: z.ZodUUID;
|
|
@@ -285,6 +311,26 @@ declare const FileSchema: z.ZodObject<{
|
|
|
285
311
|
total_compressed_size: z.ZodNumber;
|
|
286
312
|
preview_truncated: z.ZodBoolean;
|
|
287
313
|
}, z.core.$strip>>;
|
|
314
|
+
structure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
315
|
+
formula: z.ZodString;
|
|
316
|
+
elements: z.ZodArray<z.ZodString>;
|
|
317
|
+
num_atoms: z.ZodNumber;
|
|
318
|
+
space_group: z.ZodObject<{
|
|
319
|
+
symbol: z.ZodString;
|
|
320
|
+
number: z.ZodNumber;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
crystal_system: z.ZodString;
|
|
323
|
+
lattice: z.ZodObject<{
|
|
324
|
+
a: z.ZodNumber;
|
|
325
|
+
b: z.ZodNumber;
|
|
326
|
+
c: z.ZodNumber;
|
|
327
|
+
alpha: z.ZodNumber;
|
|
328
|
+
beta: z.ZodNumber;
|
|
329
|
+
gamma: z.ZodNumber;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
volume: z.ZodNumber;
|
|
332
|
+
density: z.ZodNumber;
|
|
333
|
+
}, z.core.$strip>>>;
|
|
288
334
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
289
335
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
290
336
|
}, z.core.$strip>;
|
|
@@ -423,6 +469,26 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
423
469
|
total_compressed_size: z.ZodNumber;
|
|
424
470
|
preview_truncated: z.ZodBoolean;
|
|
425
471
|
}, z.core.$strip>>;
|
|
472
|
+
structure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
473
|
+
formula: z.ZodString;
|
|
474
|
+
elements: z.ZodArray<z.ZodString>;
|
|
475
|
+
num_atoms: z.ZodNumber;
|
|
476
|
+
space_group: z.ZodObject<{
|
|
477
|
+
symbol: z.ZodString;
|
|
478
|
+
number: z.ZodNumber;
|
|
479
|
+
}, z.core.$strip>;
|
|
480
|
+
crystal_system: z.ZodString;
|
|
481
|
+
lattice: z.ZodObject<{
|
|
482
|
+
a: z.ZodNumber;
|
|
483
|
+
b: z.ZodNumber;
|
|
484
|
+
c: z.ZodNumber;
|
|
485
|
+
alpha: z.ZodNumber;
|
|
486
|
+
beta: z.ZodNumber;
|
|
487
|
+
gamma: z.ZodNumber;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
volume: z.ZodNumber;
|
|
490
|
+
density: z.ZodNumber;
|
|
491
|
+
}, z.core.$strip>>>;
|
|
426
492
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
427
493
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
428
494
|
}, z.core.$strip>;
|
|
@@ -592,6 +658,26 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
592
658
|
total_compressed_size: number;
|
|
593
659
|
preview_truncated: boolean;
|
|
594
660
|
} | undefined;
|
|
661
|
+
structure?: {
|
|
662
|
+
formula: string;
|
|
663
|
+
elements: string[];
|
|
664
|
+
num_atoms: number;
|
|
665
|
+
space_group: {
|
|
666
|
+
symbol: string;
|
|
667
|
+
number: number;
|
|
668
|
+
};
|
|
669
|
+
crystal_system: string;
|
|
670
|
+
lattice: {
|
|
671
|
+
a: number;
|
|
672
|
+
b: number;
|
|
673
|
+
c: number;
|
|
674
|
+
alpha: number;
|
|
675
|
+
beta: number;
|
|
676
|
+
gamma: number;
|
|
677
|
+
};
|
|
678
|
+
volume: number;
|
|
679
|
+
density: number;
|
|
680
|
+
} | null | undefined;
|
|
595
681
|
source?: string | null | undefined;
|
|
596
682
|
reply_to_comment_id?: string | null | undefined;
|
|
597
683
|
};
|
|
@@ -714,6 +800,26 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
714
800
|
total_compressed_size: number;
|
|
715
801
|
preview_truncated: boolean;
|
|
716
802
|
} | undefined;
|
|
803
|
+
structure?: {
|
|
804
|
+
formula: string;
|
|
805
|
+
elements: string[];
|
|
806
|
+
num_atoms: number;
|
|
807
|
+
space_group: {
|
|
808
|
+
symbol: string;
|
|
809
|
+
number: number;
|
|
810
|
+
};
|
|
811
|
+
crystal_system: string;
|
|
812
|
+
lattice: {
|
|
813
|
+
a: number;
|
|
814
|
+
b: number;
|
|
815
|
+
c: number;
|
|
816
|
+
alpha: number;
|
|
817
|
+
beta: number;
|
|
818
|
+
gamma: number;
|
|
819
|
+
};
|
|
820
|
+
volume: number;
|
|
821
|
+
density: number;
|
|
822
|
+
} | null | undefined;
|
|
717
823
|
source?: string | null | undefined;
|
|
718
824
|
reply_to_comment_id?: string | null | undefined;
|
|
719
825
|
};
|
|
@@ -814,6 +920,26 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
814
920
|
total_compressed_size: z.ZodNumber;
|
|
815
921
|
preview_truncated: z.ZodBoolean;
|
|
816
922
|
}, z.core.$strip>>;
|
|
923
|
+
structure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
924
|
+
formula: z.ZodString;
|
|
925
|
+
elements: z.ZodArray<z.ZodString>;
|
|
926
|
+
num_atoms: z.ZodNumber;
|
|
927
|
+
space_group: z.ZodObject<{
|
|
928
|
+
symbol: z.ZodString;
|
|
929
|
+
number: z.ZodNumber;
|
|
930
|
+
}, z.core.$strip>;
|
|
931
|
+
crystal_system: z.ZodString;
|
|
932
|
+
lattice: z.ZodObject<{
|
|
933
|
+
a: z.ZodNumber;
|
|
934
|
+
b: z.ZodNumber;
|
|
935
|
+
c: z.ZodNumber;
|
|
936
|
+
alpha: z.ZodNumber;
|
|
937
|
+
beta: z.ZodNumber;
|
|
938
|
+
gamma: z.ZodNumber;
|
|
939
|
+
}, z.core.$strip>;
|
|
940
|
+
volume: z.ZodNumber;
|
|
941
|
+
density: z.ZodNumber;
|
|
942
|
+
}, z.core.$strip>>>;
|
|
817
943
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
818
944
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
819
945
|
}, z.core.$strip>>;
|
|
@@ -918,6 +1044,26 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
918
1044
|
total_compressed_size: number;
|
|
919
1045
|
preview_truncated: boolean;
|
|
920
1046
|
} | undefined;
|
|
1047
|
+
structure?: {
|
|
1048
|
+
formula: string;
|
|
1049
|
+
elements: string[];
|
|
1050
|
+
num_atoms: number;
|
|
1051
|
+
space_group: {
|
|
1052
|
+
symbol: string;
|
|
1053
|
+
number: number;
|
|
1054
|
+
};
|
|
1055
|
+
crystal_system: string;
|
|
1056
|
+
lattice: {
|
|
1057
|
+
a: number;
|
|
1058
|
+
b: number;
|
|
1059
|
+
c: number;
|
|
1060
|
+
alpha: number;
|
|
1061
|
+
beta: number;
|
|
1062
|
+
gamma: number;
|
|
1063
|
+
};
|
|
1064
|
+
volume: number;
|
|
1065
|
+
density: number;
|
|
1066
|
+
} | null | undefined;
|
|
921
1067
|
source?: string | null | undefined;
|
|
922
1068
|
reply_to_comment_id?: string | null | undefined;
|
|
923
1069
|
} | undefined;
|
|
@@ -986,6 +1132,26 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
986
1132
|
total_compressed_size: number;
|
|
987
1133
|
preview_truncated: boolean;
|
|
988
1134
|
} | undefined;
|
|
1135
|
+
structure?: {
|
|
1136
|
+
formula: string;
|
|
1137
|
+
elements: string[];
|
|
1138
|
+
num_atoms: number;
|
|
1139
|
+
space_group: {
|
|
1140
|
+
symbol: string;
|
|
1141
|
+
number: number;
|
|
1142
|
+
};
|
|
1143
|
+
crystal_system: string;
|
|
1144
|
+
lattice: {
|
|
1145
|
+
a: number;
|
|
1146
|
+
b: number;
|
|
1147
|
+
c: number;
|
|
1148
|
+
alpha: number;
|
|
1149
|
+
beta: number;
|
|
1150
|
+
gamma: number;
|
|
1151
|
+
};
|
|
1152
|
+
volume: number;
|
|
1153
|
+
density: number;
|
|
1154
|
+
} | null | undefined;
|
|
989
1155
|
source?: string | null | undefined;
|
|
990
1156
|
reply_to_comment_id?: string | null | undefined;
|
|
991
1157
|
} | undefined;
|
|
@@ -1037,5 +1203,6 @@ type File = z.infer<typeof FileSchema>;
|
|
|
1037
1203
|
type CreateFile = z.infer<typeof CreateFileSchema>;
|
|
1038
1204
|
type UpdateFile = z.infer<typeof updateFileSchema>;
|
|
1039
1205
|
type ZipArchiveMetadata = z.infer<typeof ZipArchiveMetadataSchema>;
|
|
1206
|
+
type StructureSummary = z.infer<typeof StructureSummarySchema>;
|
|
1040
1207
|
|
|
1041
|
-
export { type CreateFile, CreateFileSchema, type File, FileSchema, type UpdateFile, type ZipArchiveMetadata, ZipArchiveMetadataSchema, updateFileSchema };
|
|
1208
|
+
export { type CreateFile, CreateFileSchema, type File, FileSchema, type StructureSummary, StructureSummarySchema, type UpdateFile, type ZipArchiveMetadata, ZipArchiveMetadataSchema, updateFileSchema };
|
package/dist/schema/files.d.ts
CHANGED
|
@@ -8,6 +8,26 @@ declare const ZipArchiveMetadataSchema: z.ZodObject<{
|
|
|
8
8
|
total_compressed_size: z.ZodNumber;
|
|
9
9
|
preview_truncated: z.ZodBoolean;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
+
declare const StructureSummarySchema: z.ZodObject<{
|
|
12
|
+
formula: z.ZodString;
|
|
13
|
+
elements: z.ZodArray<z.ZodString>;
|
|
14
|
+
num_atoms: z.ZodNumber;
|
|
15
|
+
space_group: z.ZodObject<{
|
|
16
|
+
symbol: z.ZodString;
|
|
17
|
+
number: z.ZodNumber;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
crystal_system: z.ZodString;
|
|
20
|
+
lattice: z.ZodObject<{
|
|
21
|
+
a: z.ZodNumber;
|
|
22
|
+
b: z.ZodNumber;
|
|
23
|
+
c: z.ZodNumber;
|
|
24
|
+
alpha: z.ZodNumber;
|
|
25
|
+
beta: z.ZodNumber;
|
|
26
|
+
gamma: z.ZodNumber;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
volume: z.ZodNumber;
|
|
29
|
+
density: z.ZodNumber;
|
|
30
|
+
}, z.core.$strip>;
|
|
11
31
|
declare const FileSchema: z.ZodObject<{
|
|
12
32
|
id: z.ZodUUID;
|
|
13
33
|
user_id: z.ZodUUID;
|
|
@@ -134,6 +154,7 @@ declare const FileSchema: z.ZodObject<{
|
|
|
134
154
|
web_only: "web_only";
|
|
135
155
|
api_only: "api_only";
|
|
136
156
|
}>>>>;
|
|
157
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
137
158
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
159
|
user_id: z.ZodUUID;
|
|
139
160
|
role: z.ZodEnum<{
|
|
@@ -143,6 +164,11 @@ declare const FileSchema: z.ZodObject<{
|
|
|
143
164
|
none: "none";
|
|
144
165
|
}>;
|
|
145
166
|
}, z.core.$strip>>>>;
|
|
167
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
168
|
+
id: z.ZodUUID;
|
|
169
|
+
status: z.ZodString;
|
|
170
|
+
created_at: z.ZodString;
|
|
171
|
+
}, z.core.$strip>>>>;
|
|
146
172
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
147
173
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
148
174
|
user_id: z.ZodUUID;
|
|
@@ -285,6 +311,26 @@ declare const FileSchema: z.ZodObject<{
|
|
|
285
311
|
total_compressed_size: z.ZodNumber;
|
|
286
312
|
preview_truncated: z.ZodBoolean;
|
|
287
313
|
}, z.core.$strip>>;
|
|
314
|
+
structure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
315
|
+
formula: z.ZodString;
|
|
316
|
+
elements: z.ZodArray<z.ZodString>;
|
|
317
|
+
num_atoms: z.ZodNumber;
|
|
318
|
+
space_group: z.ZodObject<{
|
|
319
|
+
symbol: z.ZodString;
|
|
320
|
+
number: z.ZodNumber;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
crystal_system: z.ZodString;
|
|
323
|
+
lattice: z.ZodObject<{
|
|
324
|
+
a: z.ZodNumber;
|
|
325
|
+
b: z.ZodNumber;
|
|
326
|
+
c: z.ZodNumber;
|
|
327
|
+
alpha: z.ZodNumber;
|
|
328
|
+
beta: z.ZodNumber;
|
|
329
|
+
gamma: z.ZodNumber;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
volume: z.ZodNumber;
|
|
332
|
+
density: z.ZodNumber;
|
|
333
|
+
}, z.core.$strip>>>;
|
|
288
334
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
289
335
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
290
336
|
}, z.core.$strip>;
|
|
@@ -423,6 +469,26 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
423
469
|
total_compressed_size: z.ZodNumber;
|
|
424
470
|
preview_truncated: z.ZodBoolean;
|
|
425
471
|
}, z.core.$strip>>;
|
|
472
|
+
structure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
473
|
+
formula: z.ZodString;
|
|
474
|
+
elements: z.ZodArray<z.ZodString>;
|
|
475
|
+
num_atoms: z.ZodNumber;
|
|
476
|
+
space_group: z.ZodObject<{
|
|
477
|
+
symbol: z.ZodString;
|
|
478
|
+
number: z.ZodNumber;
|
|
479
|
+
}, z.core.$strip>;
|
|
480
|
+
crystal_system: z.ZodString;
|
|
481
|
+
lattice: z.ZodObject<{
|
|
482
|
+
a: z.ZodNumber;
|
|
483
|
+
b: z.ZodNumber;
|
|
484
|
+
c: z.ZodNumber;
|
|
485
|
+
alpha: z.ZodNumber;
|
|
486
|
+
beta: z.ZodNumber;
|
|
487
|
+
gamma: z.ZodNumber;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
volume: z.ZodNumber;
|
|
490
|
+
density: z.ZodNumber;
|
|
491
|
+
}, z.core.$strip>>>;
|
|
426
492
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
427
493
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
428
494
|
}, z.core.$strip>;
|
|
@@ -592,6 +658,26 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
592
658
|
total_compressed_size: number;
|
|
593
659
|
preview_truncated: boolean;
|
|
594
660
|
} | undefined;
|
|
661
|
+
structure?: {
|
|
662
|
+
formula: string;
|
|
663
|
+
elements: string[];
|
|
664
|
+
num_atoms: number;
|
|
665
|
+
space_group: {
|
|
666
|
+
symbol: string;
|
|
667
|
+
number: number;
|
|
668
|
+
};
|
|
669
|
+
crystal_system: string;
|
|
670
|
+
lattice: {
|
|
671
|
+
a: number;
|
|
672
|
+
b: number;
|
|
673
|
+
c: number;
|
|
674
|
+
alpha: number;
|
|
675
|
+
beta: number;
|
|
676
|
+
gamma: number;
|
|
677
|
+
};
|
|
678
|
+
volume: number;
|
|
679
|
+
density: number;
|
|
680
|
+
} | null | undefined;
|
|
595
681
|
source?: string | null | undefined;
|
|
596
682
|
reply_to_comment_id?: string | null | undefined;
|
|
597
683
|
};
|
|
@@ -714,6 +800,26 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
714
800
|
total_compressed_size: number;
|
|
715
801
|
preview_truncated: boolean;
|
|
716
802
|
} | undefined;
|
|
803
|
+
structure?: {
|
|
804
|
+
formula: string;
|
|
805
|
+
elements: string[];
|
|
806
|
+
num_atoms: number;
|
|
807
|
+
space_group: {
|
|
808
|
+
symbol: string;
|
|
809
|
+
number: number;
|
|
810
|
+
};
|
|
811
|
+
crystal_system: string;
|
|
812
|
+
lattice: {
|
|
813
|
+
a: number;
|
|
814
|
+
b: number;
|
|
815
|
+
c: number;
|
|
816
|
+
alpha: number;
|
|
817
|
+
beta: number;
|
|
818
|
+
gamma: number;
|
|
819
|
+
};
|
|
820
|
+
volume: number;
|
|
821
|
+
density: number;
|
|
822
|
+
} | null | undefined;
|
|
717
823
|
source?: string | null | undefined;
|
|
718
824
|
reply_to_comment_id?: string | null | undefined;
|
|
719
825
|
};
|
|
@@ -814,6 +920,26 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
814
920
|
total_compressed_size: z.ZodNumber;
|
|
815
921
|
preview_truncated: z.ZodBoolean;
|
|
816
922
|
}, z.core.$strip>>;
|
|
923
|
+
structure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
924
|
+
formula: z.ZodString;
|
|
925
|
+
elements: z.ZodArray<z.ZodString>;
|
|
926
|
+
num_atoms: z.ZodNumber;
|
|
927
|
+
space_group: z.ZodObject<{
|
|
928
|
+
symbol: z.ZodString;
|
|
929
|
+
number: z.ZodNumber;
|
|
930
|
+
}, z.core.$strip>;
|
|
931
|
+
crystal_system: z.ZodString;
|
|
932
|
+
lattice: z.ZodObject<{
|
|
933
|
+
a: z.ZodNumber;
|
|
934
|
+
b: z.ZodNumber;
|
|
935
|
+
c: z.ZodNumber;
|
|
936
|
+
alpha: z.ZodNumber;
|
|
937
|
+
beta: z.ZodNumber;
|
|
938
|
+
gamma: z.ZodNumber;
|
|
939
|
+
}, z.core.$strip>;
|
|
940
|
+
volume: z.ZodNumber;
|
|
941
|
+
density: z.ZodNumber;
|
|
942
|
+
}, z.core.$strip>>>;
|
|
817
943
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
818
944
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
819
945
|
}, z.core.$strip>>;
|
|
@@ -918,6 +1044,26 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
918
1044
|
total_compressed_size: number;
|
|
919
1045
|
preview_truncated: boolean;
|
|
920
1046
|
} | undefined;
|
|
1047
|
+
structure?: {
|
|
1048
|
+
formula: string;
|
|
1049
|
+
elements: string[];
|
|
1050
|
+
num_atoms: number;
|
|
1051
|
+
space_group: {
|
|
1052
|
+
symbol: string;
|
|
1053
|
+
number: number;
|
|
1054
|
+
};
|
|
1055
|
+
crystal_system: string;
|
|
1056
|
+
lattice: {
|
|
1057
|
+
a: number;
|
|
1058
|
+
b: number;
|
|
1059
|
+
c: number;
|
|
1060
|
+
alpha: number;
|
|
1061
|
+
beta: number;
|
|
1062
|
+
gamma: number;
|
|
1063
|
+
};
|
|
1064
|
+
volume: number;
|
|
1065
|
+
density: number;
|
|
1066
|
+
} | null | undefined;
|
|
921
1067
|
source?: string | null | undefined;
|
|
922
1068
|
reply_to_comment_id?: string | null | undefined;
|
|
923
1069
|
} | undefined;
|
|
@@ -986,6 +1132,26 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
|
|
|
986
1132
|
total_compressed_size: number;
|
|
987
1133
|
preview_truncated: boolean;
|
|
988
1134
|
} | undefined;
|
|
1135
|
+
structure?: {
|
|
1136
|
+
formula: string;
|
|
1137
|
+
elements: string[];
|
|
1138
|
+
num_atoms: number;
|
|
1139
|
+
space_group: {
|
|
1140
|
+
symbol: string;
|
|
1141
|
+
number: number;
|
|
1142
|
+
};
|
|
1143
|
+
crystal_system: string;
|
|
1144
|
+
lattice: {
|
|
1145
|
+
a: number;
|
|
1146
|
+
b: number;
|
|
1147
|
+
c: number;
|
|
1148
|
+
alpha: number;
|
|
1149
|
+
beta: number;
|
|
1150
|
+
gamma: number;
|
|
1151
|
+
};
|
|
1152
|
+
volume: number;
|
|
1153
|
+
density: number;
|
|
1154
|
+
} | null | undefined;
|
|
989
1155
|
source?: string | null | undefined;
|
|
990
1156
|
reply_to_comment_id?: string | null | undefined;
|
|
991
1157
|
} | undefined;
|
|
@@ -1037,5 +1203,6 @@ type File = z.infer<typeof FileSchema>;
|
|
|
1037
1203
|
type CreateFile = z.infer<typeof CreateFileSchema>;
|
|
1038
1204
|
type UpdateFile = z.infer<typeof updateFileSchema>;
|
|
1039
1205
|
type ZipArchiveMetadata = z.infer<typeof ZipArchiveMetadataSchema>;
|
|
1206
|
+
type StructureSummary = z.infer<typeof StructureSummarySchema>;
|
|
1040
1207
|
|
|
1041
|
-
export { type CreateFile, CreateFileSchema, type File, FileSchema, type UpdateFile, type ZipArchiveMetadata, ZipArchiveMetadataSchema, updateFileSchema };
|
|
1208
|
+
export { type CreateFile, CreateFileSchema, type File, FileSchema, type StructureSummary, StructureSummarySchema, type UpdateFile, type ZipArchiveMetadata, ZipArchiveMetadataSchema, updateFileSchema };
|
package/dist/schema/files.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{d as CreateFileSchema,c as FileSchema,b as StructureSummarySchema,a as ZipArchiveMetadataSchema,e as updateFileSchema}from'../chunk-HKU6LRRS.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=files.js.map
|
|
2
2
|
//# sourceMappingURL=files.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkD6JWKEY5_cjs=require('../chunk-D6JWKEY5.cjs');require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ActionCompleteContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.r}});Object.defineProperty(exports,"BadgeContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.q}});Object.defineProperty(exports,"CommentContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.g}});Object.defineProperty(exports,"ContentDeletedContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.A}});Object.defineProperty(exports,"ContentMovedContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.z}});Object.defineProperty(exports,"DepositContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.p}});Object.defineProperty(exports,"EventContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.B}});Object.defineProperty(exports,"FollowContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.m}});Object.defineProperty(exports,"InviteContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.n}});Object.defineProperty(exports,"MentionContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.f}});Object.defineProperty(exports,"NotificationAssetRefSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.b}});Object.defineProperty(exports,"NotificationContentAssetSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.c}});Object.defineProperty(exports,"NotificationParentRefSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.d}});Object.defineProperty(exports,"NotificationRootInfoSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.e}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.C}});Object.defineProperty(exports,"NotificationTypeSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.a}});Object.defineProperty(exports,"OnboardingActionRequiredContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.w}});Object.defineProperty(exports,"OnboardingCompleteContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.v}});Object.defineProperty(exports,"OwnershipTransferContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.l}});Object.defineProperty(exports,"PaymentContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.o}});Object.defineProperty(exports,"QuestEntryAcceptedContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.t}});Object.defineProperty(exports,"QuestEntryContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.s}});Object.defineProperty(exports,"QuestEntryEvalFailedContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.u}});Object.defineProperty(exports,"ReactionContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.j}});Object.defineProperty(exports,"ReferenceContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.i}});Object.defineProperty(exports,"ReplyContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.h}});Object.defineProperty(exports,"RouteEarningsMilestoneContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.x}});Object.defineProperty(exports,"RoutePayoutContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.y}});Object.defineProperty(exports,"ShareContentSchema",{enumerable:true,get:function(){return chunkD6JWKEY5_cjs.k}});//# sourceMappingURL=notifications.cjs.map
|
|
2
2
|
//# sourceMappingURL=notifications.cjs.map
|
|
@@ -563,6 +563,16 @@ declare const InviteContentSchema: z.ZodObject<{
|
|
|
563
563
|
id: z.ZodString;
|
|
564
564
|
name: z.ZodString;
|
|
565
565
|
}, z.core.$strip>>;
|
|
566
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
id: z.ZodString;
|
|
568
|
+
name: z.ZodString;
|
|
569
|
+
}, z.core.$strip>>;
|
|
570
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
571
|
+
added: "added";
|
|
572
|
+
join_request: "join_request";
|
|
573
|
+
join_approved: "join_approved";
|
|
574
|
+
join_rejected: "join_rejected";
|
|
575
|
+
}>>;
|
|
566
576
|
text: z.ZodOptional<z.ZodString>;
|
|
567
577
|
}, z.core.$strip>;
|
|
568
578
|
declare const PaymentContentSchema: z.ZodObject<{
|
|
@@ -1669,6 +1679,16 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1669
1679
|
id: z.ZodString;
|
|
1670
1680
|
name: z.ZodString;
|
|
1671
1681
|
}, z.core.$strip>>;
|
|
1682
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
1683
|
+
id: z.ZodString;
|
|
1684
|
+
name: z.ZodString;
|
|
1685
|
+
}, z.core.$strip>>;
|
|
1686
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1687
|
+
added: "added";
|
|
1688
|
+
join_request: "join_request";
|
|
1689
|
+
join_approved: "join_approved";
|
|
1690
|
+
join_rejected: "join_rejected";
|
|
1691
|
+
}>>;
|
|
1672
1692
|
text: z.ZodOptional<z.ZodString>;
|
|
1673
1693
|
}, z.core.$strip>;
|
|
1674
1694
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -563,6 +563,16 @@ declare const InviteContentSchema: z.ZodObject<{
|
|
|
563
563
|
id: z.ZodString;
|
|
564
564
|
name: z.ZodString;
|
|
565
565
|
}, z.core.$strip>>;
|
|
566
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
id: z.ZodString;
|
|
568
|
+
name: z.ZodString;
|
|
569
|
+
}, z.core.$strip>>;
|
|
570
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
571
|
+
added: "added";
|
|
572
|
+
join_request: "join_request";
|
|
573
|
+
join_approved: "join_approved";
|
|
574
|
+
join_rejected: "join_rejected";
|
|
575
|
+
}>>;
|
|
566
576
|
text: z.ZodOptional<z.ZodString>;
|
|
567
577
|
}, z.core.$strip>;
|
|
568
578
|
declare const PaymentContentSchema: z.ZodObject<{
|
|
@@ -1669,6 +1679,16 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1669
1679
|
id: z.ZodString;
|
|
1670
1680
|
name: z.ZodString;
|
|
1671
1681
|
}, z.core.$strip>>;
|
|
1682
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
1683
|
+
id: z.ZodString;
|
|
1684
|
+
name: z.ZodString;
|
|
1685
|
+
}, z.core.$strip>>;
|
|
1686
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1687
|
+
added: "added";
|
|
1688
|
+
join_request: "join_request";
|
|
1689
|
+
join_approved: "join_approved";
|
|
1690
|
+
join_rejected: "join_rejected";
|
|
1691
|
+
}>>;
|
|
1672
1692
|
text: z.ZodOptional<z.ZodString>;
|
|
1673
1693
|
}, z.core.$strip>;
|
|
1674
1694
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{r as ActionCompleteContentSchema,q as BadgeContentSchema,g as CommentContentSchema,A as ContentDeletedContentSchema,z as ContentMovedContentSchema,p as DepositContentSchema,B as EventContentSchema,m as FollowContentSchema,n as InviteContentSchema,f as MentionContentSchema,b as NotificationAssetRefSchema,c as NotificationContentAssetSchema,d as NotificationParentRefSchema,e as NotificationRootInfoSchema,C as NotificationSchema,a as NotificationTypeSchema,w as OnboardingActionRequiredContentSchema,v as OnboardingCompleteContentSchema,l as OwnershipTransferContentSchema,o as PaymentContentSchema,t as QuestEntryAcceptedContentSchema,s as QuestEntryContentSchema,u as QuestEntryEvalFailedContentSchema,j as ReactionContentSchema,i as ReferenceContentSchema,h as ReplyContentSchema,x as RouteEarningsMilestoneContentSchema,y as RoutePayoutContentSchema,k as ShareContentSchema}from'../chunk-
|
|
1
|
+
export{r as ActionCompleteContentSchema,q as BadgeContentSchema,g as CommentContentSchema,A as ContentDeletedContentSchema,z as ContentMovedContentSchema,p as DepositContentSchema,B as EventContentSchema,m as FollowContentSchema,n as InviteContentSchema,f as MentionContentSchema,b as NotificationAssetRefSchema,c as NotificationContentAssetSchema,d as NotificationParentRefSchema,e as NotificationRootInfoSchema,C as NotificationSchema,a as NotificationTypeSchema,w as OnboardingActionRequiredContentSchema,v as OnboardingCompleteContentSchema,l as OwnershipTransferContentSchema,o as PaymentContentSchema,t as QuestEntryAcceptedContentSchema,s as QuestEntryContentSchema,u as QuestEntryEvalFailedContentSchema,j as ReactionContentSchema,i as ReferenceContentSchema,h as ReplyContentSchema,x as RouteEarningsMilestoneContentSchema,y as RoutePayoutContentSchema,k as ShareContentSchema}from'../chunk-4AEKCY33.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=notifications.js.map
|
|
2
2
|
//# sourceMappingURL=notifications.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk5PWVQ2XA_cjs=require('../chunk-5PWVQ2XA.cjs');require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.b}});Object.defineProperty(exports,"JoinPolicySchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.e}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.d}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.c}});//# sourceMappingURL=organizations.cjs.map
|
|
2
2
|
//# sourceMappingURL=organizations.cjs.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const JoinPolicySchema: z.ZodString;
|
|
3
4
|
declare const ActorTypePolicySchema: z.ZodEnum<{
|
|
4
5
|
any: "any";
|
|
5
6
|
verified_only: "verified_only";
|
|
@@ -94,5 +95,6 @@ type Organization = z.infer<typeof OrganizationsSchema>;
|
|
|
94
95
|
type Membership = z.infer<typeof MembershipSchema>;
|
|
95
96
|
type ActorTypePolicy = z.infer<typeof ActorTypePolicySchema>;
|
|
96
97
|
type SourcePolicy = z.infer<typeof SourcePolicySchema>;
|
|
98
|
+
type JoinPolicy = z.infer<typeof JoinPolicySchema>;
|
|
97
99
|
|
|
98
|
-
export { type ActorTypePolicy, ActorTypePolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
|
|
100
|
+
export { type ActorTypePolicy, ActorTypePolicySchema, type JoinPolicy, JoinPolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const JoinPolicySchema: z.ZodString;
|
|
3
4
|
declare const ActorTypePolicySchema: z.ZodEnum<{
|
|
4
5
|
any: "any";
|
|
5
6
|
verified_only: "verified_only";
|
|
@@ -94,5 +95,6 @@ type Organization = z.infer<typeof OrganizationsSchema>;
|
|
|
94
95
|
type Membership = z.infer<typeof MembershipSchema>;
|
|
95
96
|
type ActorTypePolicy = z.infer<typeof ActorTypePolicySchema>;
|
|
96
97
|
type SourcePolicy = z.infer<typeof SourcePolicySchema>;
|
|
98
|
+
type JoinPolicy = z.infer<typeof JoinPolicySchema>;
|
|
97
99
|
|
|
98
|
-
export { type ActorTypePolicy, ActorTypePolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
|
|
100
|
+
export { type ActorTypePolicy, ActorTypePolicySchema, type JoinPolicy, JoinPolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{b as ActorTypePolicySchema,a as JoinPolicySchema,e as MembershipSchema,d as OrganizationsSchema,c as SourcePolicySchema}from'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=organizations.js.map
|
|
2
2
|
//# sourceMappingURL=organizations.js.map
|
package/dist/schema/posts.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk4UNQYG7I_cjs=require('../chunk-4UNQYG7I.cjs');require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.h}});//# sourceMappingURL=posts.cjs.map
|
|
2
2
|
//# sourceMappingURL=posts.cjs.map
|