house-types 2.9.25 → 2.9.26

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
@@ -65,7 +65,7 @@ export declare const AlertClientSchema: z.ZodObject<{
65
65
  maxFlatmates: z.ZodOptional<z.ZodString>;
66
66
  flatmatesGender: z.ZodOptional<z.ZodString>;
67
67
  gender: z.ZodOptional<z.ZodString>;
68
- frequency: z.ZodString;
68
+ frequency: z.ZodEffects<z.ZodNumber, string, number>;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  city: string;
71
71
  maxPrice: string;
@@ -82,7 +82,7 @@ export declare const AlertClientSchema: z.ZodObject<{
82
82
  }, {
83
83
  city: string;
84
84
  maxPrice: number;
85
- frequency: string;
85
+ frequency: number;
86
86
  id?: string | undefined;
87
87
  radius?: string | undefined;
88
88
  propertyTypes?: string[] | undefined;
package/dist/index.js CHANGED
@@ -175,7 +175,7 @@ export const AlertClientSchema = z.object({
175
175
  maxFlatmates: z.string().optional(),
176
176
  flatmatesGender: z.string().optional(),
177
177
  gender: z.string().optional(),
178
- frequency: z.string(),
178
+ frequency: z.coerce.number().transform(String),
179
179
  });
180
180
  export const UserSchema = z.object({
181
181
  notificationsEnabled: z.boolean().default(true),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "house-types",
3
- "version": "2.9.25",
3
+ "version": "2.9.26",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",