house-types 2.20.6 → 2.20.7

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
@@ -1497,8 +1497,8 @@ export declare const ParsedHouseSchema: z.ZodObject<{
1497
1497
  Immediately: "Immediately";
1498
1498
  }>]>;
1499
1499
  temporaryHousing: z.ZodBoolean;
1500
- dutchRequired: z.ZodBoolean;
1501
- registrationPossible: z.ZodBoolean;
1500
+ dutchRequired: z.ZodDefault<z.ZodBoolean>;
1501
+ registrationPossible: z.ZodDefault<z.ZodBoolean>;
1502
1502
  propertyType: z.ZodEnum<{
1503
1503
  House: "House";
1504
1504
  Apartment: "Apartment";
@@ -1686,8 +1686,8 @@ export declare const TransformedHouseSchema: z.ZodUnion<readonly [z.ZodObject<{
1686
1686
  addressWithoutCity: z.ZodNullable<z.ZodString>;
1687
1687
  price: z.ZodNumber;
1688
1688
  temporaryHousing: z.ZodBoolean;
1689
- dutchRequired: z.ZodBoolean;
1690
- registrationPossible: z.ZodBoolean;
1689
+ dutchRequired: z.ZodDefault<z.ZodBoolean>;
1690
+ registrationPossible: z.ZodDefault<z.ZodBoolean>;
1691
1691
  propertyType: z.ZodEnum<{
1692
1692
  House: "House";
1693
1693
  Apartment: "Apartment";
@@ -1873,8 +1873,8 @@ export declare const TransformedHouseSchema: z.ZodUnion<readonly [z.ZodObject<{
1873
1873
  postalCode: z.ZodNullable<z.ZodString>;
1874
1874
  price: z.ZodNumber;
1875
1875
  temporaryHousing: z.ZodBoolean;
1876
- dutchRequired: z.ZodBoolean;
1877
- registrationPossible: z.ZodBoolean;
1876
+ dutchRequired: z.ZodDefault<z.ZodBoolean>;
1877
+ registrationPossible: z.ZodDefault<z.ZodBoolean>;
1878
1878
  propertyType: z.ZodEnum<{
1879
1879
  House: "House";
1880
1880
  Apartment: "Apartment";
package/dist/index.js CHANGED
@@ -477,8 +477,8 @@ const parsedHouseSchema = {
477
477
  price: z.number(),
478
478
  startDate: z.union([z.iso.date(), z.enum([IMMEDIATELY])]),
479
479
  temporaryHousing: z.boolean(),
480
- dutchRequired: z.boolean(),
481
- registrationPossible: z.boolean(),
480
+ dutchRequired: z.boolean().default(false),
481
+ registrationPossible: z.boolean().default(true),
482
482
  propertyType: z.enum(PROPERTY_TYPES),
483
483
  rooms: z.number().min(1),
484
484
  flatmatesIfShared: z.number().min(1).max(20).nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "house-types",
3
- "version": "2.20.6",
3
+ "version": "2.20.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",