house-types 2.4.0 → 2.4.1
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/index.d.ts +4 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AlertSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
3
|
city: z.ZodString;
|
|
5
4
|
maxPrice: z.ZodEffects<z.ZodString, number, string>;
|
|
6
5
|
minBedrooms: z.ZodEffects<z.ZodString, number, string>;
|
|
7
6
|
furnishedOnly: z.ZodOptional<z.ZodBoolean>;
|
|
8
7
|
propertyType: z.ZodOptional<z.ZodArray<z.ZodEnum<["house", "apartment", "studio", "shared-room"]>, "many">>;
|
|
9
8
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
id: string;
|
|
11
9
|
city: string;
|
|
12
10
|
maxPrice: number;
|
|
13
11
|
minBedrooms: number;
|
|
14
12
|
furnishedOnly?: boolean | undefined;
|
|
15
13
|
propertyType?: ("house" | "apartment" | "studio" | "shared-room")[] | undefined;
|
|
16
14
|
}, {
|
|
17
|
-
id: string;
|
|
18
15
|
city: string;
|
|
19
16
|
maxPrice: string;
|
|
20
17
|
minBedrooms: string;
|
|
@@ -28,21 +25,18 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
28
25
|
email: z.ZodString;
|
|
29
26
|
lastNotified: z.ZodOptional<z.ZodString>;
|
|
30
27
|
alerts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
31
|
-
id: z.ZodString;
|
|
32
28
|
city: z.ZodString;
|
|
33
29
|
maxPrice: z.ZodEffects<z.ZodString, number, string>;
|
|
34
30
|
minBedrooms: z.ZodEffects<z.ZodString, number, string>;
|
|
35
31
|
furnishedOnly: z.ZodOptional<z.ZodBoolean>;
|
|
36
32
|
propertyType: z.ZodOptional<z.ZodArray<z.ZodEnum<["house", "apartment", "studio", "shared-room"]>, "many">>;
|
|
37
33
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
id: string;
|
|
39
34
|
city: string;
|
|
40
35
|
maxPrice: number;
|
|
41
36
|
minBedrooms: number;
|
|
42
37
|
furnishedOnly?: boolean | undefined;
|
|
43
38
|
propertyType?: ("house" | "apartment" | "studio" | "shared-room")[] | undefined;
|
|
44
39
|
}, {
|
|
45
|
-
id: string;
|
|
46
40
|
city: string;
|
|
47
41
|
maxPrice: string;
|
|
48
42
|
minBedrooms: string;
|
|
@@ -54,7 +48,6 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
54
48
|
frequency: number;
|
|
55
49
|
email: string;
|
|
56
50
|
alerts: {
|
|
57
|
-
id: string;
|
|
58
51
|
city: string;
|
|
59
52
|
maxPrice: number;
|
|
60
53
|
minBedrooms: number;
|
|
@@ -68,7 +61,6 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
68
61
|
notificationsEnabled?: boolean | undefined;
|
|
69
62
|
lastNotified?: string | undefined;
|
|
70
63
|
alerts?: {
|
|
71
|
-
id: string;
|
|
72
64
|
city: string;
|
|
73
65
|
maxPrice: string;
|
|
74
66
|
minBedrooms: string;
|
|
@@ -83,13 +75,13 @@ export declare const RawHouseSchema: z.ZodObject<{
|
|
|
83
75
|
price: z.ZodEffects<z.ZodString, number, string>;
|
|
84
76
|
image: z.ZodString;
|
|
85
77
|
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
id: string;
|
|
87
78
|
city: string;
|
|
79
|
+
id: string;
|
|
88
80
|
price: number;
|
|
89
81
|
image: string;
|
|
90
82
|
}, {
|
|
91
|
-
id: string;
|
|
92
83
|
city: string;
|
|
84
|
+
id: string;
|
|
93
85
|
price: string;
|
|
94
86
|
image: string;
|
|
95
87
|
}>;
|
|
@@ -109,9 +101,9 @@ export declare const HouseSchema: z.ZodObject<{
|
|
|
109
101
|
image: z.ZodOptional<z.ZodString>;
|
|
110
102
|
createdAt: z.ZodString;
|
|
111
103
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
id: string;
|
|
113
104
|
city: string;
|
|
114
105
|
propertyType: "house" | "apartment" | "studio" | "shared-room";
|
|
106
|
+
id: string;
|
|
115
107
|
price: number;
|
|
116
108
|
bedrooms: number;
|
|
117
109
|
roommates: number;
|
|
@@ -123,9 +115,9 @@ export declare const HouseSchema: z.ZodObject<{
|
|
|
123
115
|
propertyGender?: "m" | "f" | "mixed" | undefined;
|
|
124
116
|
furnished?: boolean | undefined;
|
|
125
117
|
}, {
|
|
126
|
-
id: string;
|
|
127
118
|
city: string;
|
|
128
119
|
propertyType: "house" | "apartment" | "studio" | "shared-room";
|
|
120
|
+
id: string;
|
|
129
121
|
price: string;
|
|
130
122
|
bedrooms: string;
|
|
131
123
|
roommates: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;EAQtB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
package/dist/index.js
CHANGED