hububb-models 1.1.5 → 1.1.6
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/schemas/listing.d.ts +23 -0
- package/dist/schemas/listing.js +1 -0
- package/package.json +1 -1
|
@@ -41,7 +41,9 @@ export declare const PictureSchema: import("zod").ZodObject<{
|
|
|
41
41
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
42
42
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
43
43
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
44
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
44
45
|
}, "strip", import("zod").ZodTypeAny, {
|
|
46
|
+
sort?: number | undefined;
|
|
45
47
|
height?: number | undefined;
|
|
46
48
|
width?: number | undefined;
|
|
47
49
|
caption?: string | undefined;
|
|
@@ -51,6 +53,7 @@ export declare const PictureSchema: import("zod").ZodObject<{
|
|
|
51
53
|
large?: string | undefined;
|
|
52
54
|
original?: string | undefined;
|
|
53
55
|
}, {
|
|
56
|
+
sort?: number | undefined;
|
|
54
57
|
height?: number | undefined;
|
|
55
58
|
width?: number | undefined;
|
|
56
59
|
caption?: string | undefined;
|
|
@@ -257,7 +260,9 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
257
260
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
258
261
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
259
262
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
263
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
260
264
|
}, "strip", import("zod").ZodTypeAny, {
|
|
265
|
+
sort?: number | undefined;
|
|
261
266
|
height?: number | undefined;
|
|
262
267
|
width?: number | undefined;
|
|
263
268
|
caption?: string | undefined;
|
|
@@ -267,6 +272,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
267
272
|
large?: string | undefined;
|
|
268
273
|
original?: string | undefined;
|
|
269
274
|
}, {
|
|
275
|
+
sort?: number | undefined;
|
|
270
276
|
height?: number | undefined;
|
|
271
277
|
width?: number | undefined;
|
|
272
278
|
caption?: string | undefined;
|
|
@@ -285,7 +291,9 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
285
291
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
286
292
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
287
293
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
294
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
288
295
|
}, "strip", import("zod").ZodTypeAny, {
|
|
296
|
+
sort?: number | undefined;
|
|
289
297
|
height?: number | undefined;
|
|
290
298
|
width?: number | undefined;
|
|
291
299
|
caption?: string | undefined;
|
|
@@ -295,6 +303,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
295
303
|
large?: string | undefined;
|
|
296
304
|
original?: string | undefined;
|
|
297
305
|
}, {
|
|
306
|
+
sort?: number | undefined;
|
|
298
307
|
height?: number | undefined;
|
|
299
308
|
width?: number | undefined;
|
|
300
309
|
caption?: string | undefined;
|
|
@@ -558,6 +567,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
558
567
|
active: boolean;
|
|
559
568
|
createdAt: import("@firebase/firestore-types").Timestamp;
|
|
560
569
|
pictures: {
|
|
570
|
+
sort?: number | undefined;
|
|
561
571
|
height?: number | undefined;
|
|
562
572
|
width?: number | undefined;
|
|
563
573
|
caption?: string | undefined;
|
|
@@ -593,6 +603,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
593
603
|
id?: string | undefined;
|
|
594
604
|
source?: string | undefined;
|
|
595
605
|
picture?: {
|
|
606
|
+
sort?: number | undefined;
|
|
596
607
|
height?: number | undefined;
|
|
597
608
|
width?: number | undefined;
|
|
598
609
|
caption?: string | undefined;
|
|
@@ -695,6 +706,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
695
706
|
active: boolean;
|
|
696
707
|
createdAt: import("@firebase/firestore-types").Timestamp;
|
|
697
708
|
pictures: {
|
|
709
|
+
sort?: number | undefined;
|
|
698
710
|
height?: number | undefined;
|
|
699
711
|
width?: number | undefined;
|
|
700
712
|
caption?: string | undefined;
|
|
@@ -730,6 +742,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
|
730
742
|
id?: string | undefined;
|
|
731
743
|
source?: string | undefined;
|
|
732
744
|
picture?: {
|
|
745
|
+
sort?: number | undefined;
|
|
733
746
|
height?: number | undefined;
|
|
734
747
|
width?: number | undefined;
|
|
735
748
|
caption?: string | undefined;
|
|
@@ -871,7 +884,9 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
871
884
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
872
885
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
873
886
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
887
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
874
888
|
}, "strip", import("zod").ZodTypeAny, {
|
|
889
|
+
sort?: number | undefined;
|
|
875
890
|
height?: number | undefined;
|
|
876
891
|
width?: number | undefined;
|
|
877
892
|
caption?: string | undefined;
|
|
@@ -881,6 +896,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
881
896
|
large?: string | undefined;
|
|
882
897
|
original?: string | undefined;
|
|
883
898
|
}, {
|
|
899
|
+
sort?: number | undefined;
|
|
884
900
|
height?: number | undefined;
|
|
885
901
|
width?: number | undefined;
|
|
886
902
|
caption?: string | undefined;
|
|
@@ -899,7 +915,9 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
899
915
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
900
916
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
901
917
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
918
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
902
919
|
}, "strip", import("zod").ZodTypeAny, {
|
|
920
|
+
sort?: number | undefined;
|
|
903
921
|
height?: number | undefined;
|
|
904
922
|
width?: number | undefined;
|
|
905
923
|
caption?: string | undefined;
|
|
@@ -909,6 +927,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
909
927
|
large?: string | undefined;
|
|
910
928
|
original?: string | undefined;
|
|
911
929
|
}, {
|
|
930
|
+
sort?: number | undefined;
|
|
912
931
|
height?: number | undefined;
|
|
913
932
|
width?: number | undefined;
|
|
914
933
|
caption?: string | undefined;
|
|
@@ -1000,6 +1019,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
1000
1019
|
addressDescription?: string | undefined;
|
|
1001
1020
|
};
|
|
1002
1021
|
picture: {
|
|
1022
|
+
sort?: number | undefined;
|
|
1003
1023
|
height?: number | undefined;
|
|
1004
1024
|
width?: number | undefined;
|
|
1005
1025
|
caption?: string | undefined;
|
|
@@ -1018,6 +1038,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
1018
1038
|
checkInAgent: string;
|
|
1019
1039
|
};
|
|
1020
1040
|
pictures: {
|
|
1041
|
+
sort?: number | undefined;
|
|
1021
1042
|
height?: number | undefined;
|
|
1022
1043
|
width?: number | undefined;
|
|
1023
1044
|
caption?: string | undefined;
|
|
@@ -1071,6 +1092,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
1071
1092
|
addressDescription?: string | undefined;
|
|
1072
1093
|
};
|
|
1073
1094
|
picture: {
|
|
1095
|
+
sort?: number | undefined;
|
|
1074
1096
|
height?: number | undefined;
|
|
1075
1097
|
width?: number | undefined;
|
|
1076
1098
|
caption?: string | undefined;
|
|
@@ -1089,6 +1111,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
|
1089
1111
|
checkInAgent: string;
|
|
1090
1112
|
};
|
|
1091
1113
|
pictures: {
|
|
1114
|
+
sort?: number | undefined;
|
|
1092
1115
|
height?: number | undefined;
|
|
1093
1116
|
width?: number | undefined;
|
|
1094
1117
|
caption?: string | undefined;
|
package/dist/schemas/listing.js
CHANGED
|
@@ -24,6 +24,7 @@ exports.PictureSchema = (0, zod_1.object)({
|
|
|
24
24
|
height: (0, zod_1.optional)((0, zod_1.number)()),
|
|
25
25
|
size: (0, zod_1.optional)((0, zod_1.number)()),
|
|
26
26
|
width: (0, zod_1.optional)((0, zod_1.number)()),
|
|
27
|
+
sort: (0, zod_1.optional)((0, zod_1.number)()),
|
|
27
28
|
});
|
|
28
29
|
exports.DoorSchema = (0, zod_1.object)({
|
|
29
30
|
id: (0, zod_1.optional)((0, zod_1.string)()),
|