@ourofoundation/ouro-js 3.8.2 → 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-GUEHIQ6T.cjs +2 -0
- package/dist/chunk-GUEHIQ6T.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-MRUJUIPN.js +2 -0
- package/dist/chunk-MRUJUIPN.js.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 +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.cjs +1 -1
- package/dist/schema/asset-filters.d.cts +4 -2
- package/dist/schema/asset-filters.d.ts +4 -2
- package/dist/schema/asset-filters.js +1 -1
- 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 +148 -1
- package/dist/schema/notifications.d.ts +148 -1
- 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-5CPECQKN.js +0 -2
- package/dist/chunk-5CPECQKN.js.map +0 -1
- package/dist/chunk-5SC4M4E3.cjs +0 -2
- package/dist/chunk-5SC4M4E3.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-EC376C5T.js +0 -2
- package/dist/chunk-EC376C5T.js.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-KMENBGAB.js +0 -2
- package/dist/chunk-KMENBGAB.js.map +0 -1
- package/dist/chunk-LHCGBWFP.cjs +0 -2
- package/dist/chunk-LHCGBWFP.cjs.map +0 -1
- package/dist/chunk-MKRXM63S.js +0 -2
- package/dist/chunk-O4LSX56P.js +0 -2
- package/dist/chunk-O4LSX56P.js.map +0 -1
- 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-T6UO42TO.cjs +0 -2
- package/dist/chunk-T6UO42TO.cjs.map +0 -1
- package/dist/chunk-U6XOT6XH.cjs +0 -2
- package/dist/chunk-U6XOT6XH.cjs.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-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/schema/files.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkG3IGIXKD_cjs=require('../chunk-G3IGIXKD.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,"CreateFileSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.d}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.c}});Object.defineProperty(exports,"StructureSummarySchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.b}});Object.defineProperty(exports,"ZipArchiveMetadataSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkG3IGIXKD_cjs.e}});//# sourceMappingURL=files.cjs.map
|
|
2
2
|
//# sourceMappingURL=files.cjs.map
|
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
|