house-types 2.9.26 → 2.9.28
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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
56
56
|
export declare const AlertClientSchema: z.ZodObject<{
|
|
57
57
|
id: z.ZodOptional<z.ZodString>;
|
|
58
58
|
city: z.ZodString;
|
|
59
|
-
radius: z.ZodOptional<z.
|
|
59
|
+
radius: z.ZodOptional<z.ZodEffects<z.ZodNumber, string, number>>;
|
|
60
60
|
propertyTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61
61
|
maxPrice: z.ZodEffects<z.ZodNumber, string, number>;
|
|
62
62
|
minSurface: z.ZodOptional<z.ZodEffects<z.ZodNumber, string, number>>;
|
|
@@ -84,7 +84,7 @@ export declare const AlertClientSchema: z.ZodObject<{
|
|
|
84
84
|
maxPrice: number;
|
|
85
85
|
frequency: number;
|
|
86
86
|
id?: string | undefined;
|
|
87
|
-
radius?:
|
|
87
|
+
radius?: number | undefined;
|
|
88
88
|
propertyTypes?: string[] | undefined;
|
|
89
89
|
minSurface?: number | undefined;
|
|
90
90
|
minBedrooms?: number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ export const AlertSchema = z.object({
|
|
|
166
166
|
export const AlertClientSchema = z.object({
|
|
167
167
|
id: z.string().uuid().optional(),
|
|
168
168
|
city: z.string(),
|
|
169
|
-
radius: z.
|
|
169
|
+
radius: z.coerce.number().transform(String).optional(),
|
|
170
170
|
propertyTypes: z.array(z.string()).optional(),
|
|
171
171
|
maxPrice: z.coerce.number().transform(String),
|
|
172
172
|
minSurface: z.coerce.number().transform(String).optional(),
|