hububb-models 1.1.4 → 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 +32 -0
- package/dist/schemas/listing.js +4 -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;
|
@@ -541,6 +550,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
541
550
|
checkOutInstructions?: string | undefined;
|
542
551
|
checkInAgent?: string | undefined;
|
543
552
|
}>>;
|
553
|
+
source: import("zod").ZodOptional<import("zod").ZodString>;
|
544
554
|
}, "strip", import("zod").ZodTypeAny, {
|
545
555
|
address: {
|
546
556
|
full: string;
|
@@ -557,6 +567,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
557
567
|
active: boolean;
|
558
568
|
createdAt: import("@firebase/firestore-types").Timestamp;
|
559
569
|
pictures: {
|
570
|
+
sort?: number | undefined;
|
560
571
|
height?: number | undefined;
|
561
572
|
width?: number | undefined;
|
562
573
|
caption?: string | undefined;
|
@@ -590,7 +601,9 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
590
601
|
securityDepositFee?: number | undefined;
|
591
602
|
};
|
592
603
|
id?: string | undefined;
|
604
|
+
source?: string | undefined;
|
593
605
|
picture?: {
|
606
|
+
sort?: number | undefined;
|
594
607
|
height?: number | undefined;
|
595
608
|
width?: number | undefined;
|
596
609
|
caption?: string | undefined;
|
@@ -693,6 +706,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
693
706
|
active: boolean;
|
694
707
|
createdAt: import("@firebase/firestore-types").Timestamp;
|
695
708
|
pictures: {
|
709
|
+
sort?: number | undefined;
|
696
710
|
height?: number | undefined;
|
697
711
|
width?: number | undefined;
|
698
712
|
caption?: string | undefined;
|
@@ -726,7 +740,9 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
726
740
|
securityDepositFee?: number | undefined;
|
727
741
|
};
|
728
742
|
id?: string | undefined;
|
743
|
+
source?: string | undefined;
|
729
744
|
picture?: {
|
745
|
+
sort?: number | undefined;
|
730
746
|
height?: number | undefined;
|
731
747
|
width?: number | undefined;
|
732
748
|
caption?: string | undefined;
|
@@ -868,7 +884,9 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
868
884
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
869
885
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
870
886
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
887
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
871
888
|
}, "strip", import("zod").ZodTypeAny, {
|
889
|
+
sort?: number | undefined;
|
872
890
|
height?: number | undefined;
|
873
891
|
width?: number | undefined;
|
874
892
|
caption?: string | undefined;
|
@@ -878,6 +896,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
878
896
|
large?: string | undefined;
|
879
897
|
original?: string | undefined;
|
880
898
|
}, {
|
899
|
+
sort?: number | undefined;
|
881
900
|
height?: number | undefined;
|
882
901
|
width?: number | undefined;
|
883
902
|
caption?: string | undefined;
|
@@ -896,7 +915,9 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
896
915
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
897
916
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
898
917
|
width: import("zod").ZodOptional<import("zod").ZodNumber>;
|
918
|
+
sort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
899
919
|
}, "strip", import("zod").ZodTypeAny, {
|
920
|
+
sort?: number | undefined;
|
900
921
|
height?: number | undefined;
|
901
922
|
width?: number | undefined;
|
902
923
|
caption?: string | undefined;
|
@@ -906,6 +927,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
906
927
|
large?: string | undefined;
|
907
928
|
original?: string | undefined;
|
908
929
|
}, {
|
930
|
+
sort?: number | undefined;
|
909
931
|
height?: number | undefined;
|
910
932
|
width?: number | undefined;
|
911
933
|
caption?: string | undefined;
|
@@ -981,6 +1003,8 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
981
1003
|
checkOutInstructions: string;
|
982
1004
|
checkInAgent: string;
|
983
1005
|
}>;
|
1006
|
+
source: import("zod").ZodOptional<import("zod").ZodString>;
|
1007
|
+
externalId: import("zod").ZodOptional<import("zod").ZodString>;
|
984
1008
|
}, "strip", import("zod").ZodTypeAny, {
|
985
1009
|
address: {
|
986
1010
|
full: string;
|
@@ -995,6 +1019,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
995
1019
|
addressDescription?: string | undefined;
|
996
1020
|
};
|
997
1021
|
picture: {
|
1022
|
+
sort?: number | undefined;
|
998
1023
|
height?: number | undefined;
|
999
1024
|
width?: number | undefined;
|
1000
1025
|
caption?: string | undefined;
|
@@ -1013,6 +1038,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1013
1038
|
checkInAgent: string;
|
1014
1039
|
};
|
1015
1040
|
pictures: {
|
1041
|
+
sort?: number | undefined;
|
1016
1042
|
height?: number | undefined;
|
1017
1043
|
width?: number | undefined;
|
1018
1044
|
caption?: string | undefined;
|
@@ -1049,6 +1075,8 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1049
1075
|
cleaningFee: number;
|
1050
1076
|
};
|
1051
1077
|
nickname: string;
|
1078
|
+
source?: string | undefined;
|
1079
|
+
externalId?: string | undefined;
|
1052
1080
|
publicDescription?: any;
|
1053
1081
|
}, {
|
1054
1082
|
address: {
|
@@ -1064,6 +1092,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1064
1092
|
addressDescription?: string | undefined;
|
1065
1093
|
};
|
1066
1094
|
picture: {
|
1095
|
+
sort?: number | undefined;
|
1067
1096
|
height?: number | undefined;
|
1068
1097
|
width?: number | undefined;
|
1069
1098
|
caption?: string | undefined;
|
@@ -1082,6 +1111,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1082
1111
|
checkInAgent: string;
|
1083
1112
|
};
|
1084
1113
|
pictures: {
|
1114
|
+
sort?: number | undefined;
|
1085
1115
|
height?: number | undefined;
|
1086
1116
|
width?: number | undefined;
|
1087
1117
|
caption?: string | undefined;
|
@@ -1118,5 +1148,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1118
1148
|
cleaningFee: number;
|
1119
1149
|
};
|
1120
1150
|
nickname: string;
|
1151
|
+
source?: string | undefined;
|
1152
|
+
externalId?: string | undefined;
|
1121
1153
|
publicDescription?: any;
|
1122
1154
|
}>;
|
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)()),
|
@@ -131,6 +132,7 @@ exports.ListingSchema = (0, zod_1.object)({
|
|
131
132
|
checkOutInstructions: (0, zod_1.optional)((0, zod_1.string)()),
|
132
133
|
checkInAgent: (0, zod_1.optional)((0, zod_1.string)()),
|
133
134
|
})),
|
135
|
+
source: (0, zod_1.optional)((0, zod_1.string)()),
|
134
136
|
});
|
135
137
|
exports.CreateListingSchema = (0, zod_1.object)({
|
136
138
|
title: (0, zod_1.string)(),
|
@@ -172,4 +174,6 @@ exports.CreateListingSchema = (0, zod_1.object)({
|
|
172
174
|
checkOutInstructions: (0, zod_1.string)(),
|
173
175
|
checkInAgent: (0, zod_1.string)(),
|
174
176
|
}),
|
177
|
+
source: (0, zod_1.optional)((0, zod_1.string)()),
|
178
|
+
externalId: (0, zod_1.optional)((0, zod_1.string)()),
|
175
179
|
});
|