house-types 2.9.21 → 2.9.22

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 CHANGED
@@ -58,9 +58,9 @@ export declare const AlertClientSchema: z.ZodObject<{
58
58
  city: z.ZodString;
59
59
  radius: z.ZodOptional<z.ZodString>;
60
60
  propertyTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
- maxPrice: z.ZodString;
62
- minSurface: z.ZodOptional<z.ZodString>;
63
- minBedrooms: z.ZodOptional<z.ZodString>;
61
+ maxPrice: z.ZodEffects<z.ZodNumber, string, number>;
62
+ minSurface: z.ZodOptional<z.ZodEffects<z.ZodNumber, string, number>>;
63
+ minBedrooms: z.ZodOptional<z.ZodEffects<z.ZodNumber, string, number>>;
64
64
  furnished: z.ZodOptional<z.ZodBoolean>;
65
65
  maxFlatmates: z.ZodOptional<z.ZodString>;
66
66
  flatmatesGender: z.ZodOptional<z.ZodString>;
@@ -81,13 +81,13 @@ export declare const AlertClientSchema: z.ZodObject<{
81
81
  gender?: string | undefined;
82
82
  }, {
83
83
  city: string;
84
- maxPrice: string;
84
+ maxPrice: number;
85
85
  frequency: string;
86
86
  id?: string | undefined;
87
87
  radius?: string | undefined;
88
88
  propertyTypes?: string[] | undefined;
89
- minSurface?: string | undefined;
90
- minBedrooms?: string | undefined;
89
+ minSurface?: number | undefined;
90
+ minBedrooms?: number | undefined;
91
91
  furnished?: boolean | undefined;
92
92
  maxFlatmates?: string | undefined;
93
93
  flatmatesGender?: string | undefined;
package/dist/index.js CHANGED
@@ -168,9 +168,9 @@ export const AlertClientSchema = z.object({
168
168
  city: z.string(),
169
169
  radius: z.string().optional(),
170
170
  propertyTypes: z.array(z.string()).optional(),
171
- maxPrice: z.string(),
172
- minSurface: z.string().optional(),
173
- minBedrooms: z.string().optional(),
171
+ maxPrice: z.number().transform(String),
172
+ minSurface: z.number().transform(String).optional(),
173
+ minBedrooms: z.number().transform(String).optional(),
174
174
  furnished: z.boolean().optional(),
175
175
  maxFlatmates: z.string().optional(),
176
176
  flatmatesGender: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "house-types",
3
- "version": "2.9.21",
3
+ "version": "2.9.22",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",