@superbright/indexeddb-orm 1.0.13 → 1.0.15
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/base/floorplan.d.ts +2 -2
- package/dist/base/property.d.ts +2 -2
- package/dist/base/propertyamenity.d.ts +2 -2
- package/dist/base/propertyhighlight.d.ts +2 -2
- package/dist/base/room.d.ts +2 -2
- package/dist/base/style.d.ts +2 -2
- package/dist/base/unit.d.ts +2 -2
- package/dist/features/analytics/analytics.cjs +1 -1
- package/dist/features/analytics/analytics.cjs.map +1 -1
- package/dist/features/analytics/analytics.d.ts +87 -0
- package/dist/features/analytics/analytics.mjs +96 -85
- package/dist/features/analytics/analytics.mjs.map +1 -1
- package/dist/features/units/transformers.cjs +1 -1
- package/dist/features/units/transformers.cjs.map +1 -1
- package/dist/features/units/transformers.d.ts +1 -2
- package/dist/features/units/transformers.mjs +35 -32
- package/dist/features/units/transformers.mjs.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.ts +77 -77
- package/dist/schema.mjs +2 -2
- package/dist/schema.mjs.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -231,7 +231,7 @@ export declare const AppStoreDataSchema: z.ZodObject<{
|
|
|
231
231
|
export type AppStoreData = z.infer<typeof AppStoreDataSchema>;
|
|
232
232
|
export declare const UnitSchema: z.ZodObject<{
|
|
233
233
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
234
|
-
|
|
234
|
+
name: z.ZodString;
|
|
235
235
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
236
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
237
237
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -258,7 +258,7 @@ export declare const UnitSchema: z.ZodObject<{
|
|
|
258
258
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
259
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
260
260
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
|
|
261
|
+
name: string;
|
|
262
262
|
createdAt?: string | undefined;
|
|
263
263
|
status?: string | undefined;
|
|
264
264
|
date_availability?: string | null | undefined;
|
|
@@ -286,7 +286,7 @@ export declare const UnitSchema: z.ZodObject<{
|
|
|
286
286
|
external_id?: string | null | undefined;
|
|
287
287
|
unitRenderedStyles?: unknown[] | undefined;
|
|
288
288
|
}, {
|
|
289
|
-
|
|
289
|
+
name: string;
|
|
290
290
|
createdAt?: string | undefined;
|
|
291
291
|
status?: string | undefined;
|
|
292
292
|
date_availability?: string | null | undefined;
|
|
@@ -352,7 +352,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
352
352
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
353
353
|
createdAt: z.ZodString;
|
|
354
354
|
updatedAt: z.ZodString;
|
|
355
|
-
|
|
355
|
+
name: z.ZodString;
|
|
356
356
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
357
357
|
description: z.ZodString;
|
|
358
358
|
contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -371,7 +371,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
371
371
|
address_country: z.ZodOptional<z.ZodString>;
|
|
372
372
|
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
373
373
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
374
|
-
|
|
374
|
+
name: z.ZodString;
|
|
375
375
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
376
376
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
377
377
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -398,7 +398,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
398
398
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
399
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
400
400
|
}, "strip", z.ZodTypeAny, {
|
|
401
|
-
|
|
401
|
+
name: string;
|
|
402
402
|
createdAt?: string | undefined;
|
|
403
403
|
status?: string | undefined;
|
|
404
404
|
date_availability?: string | null | undefined;
|
|
@@ -426,7 +426,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
426
426
|
external_id?: string | null | undefined;
|
|
427
427
|
unitRenderedStyles?: unknown[] | undefined;
|
|
428
428
|
}, {
|
|
429
|
-
|
|
429
|
+
name: string;
|
|
430
430
|
createdAt?: string | undefined;
|
|
431
431
|
status?: string | undefined;
|
|
432
432
|
date_availability?: string | null | undefined;
|
|
@@ -464,7 +464,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
464
464
|
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
createdAt: string;
|
|
466
466
|
id: string | number;
|
|
467
|
-
|
|
467
|
+
name: string;
|
|
468
468
|
updatedAt: string;
|
|
469
469
|
description: string;
|
|
470
470
|
status?: string | undefined;
|
|
@@ -488,7 +488,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
488
488
|
address_zip?: string | undefined;
|
|
489
489
|
address_country?: string | undefined;
|
|
490
490
|
units?: {
|
|
491
|
-
|
|
491
|
+
name: string;
|
|
492
492
|
createdAt?: string | undefined;
|
|
493
493
|
status?: string | undefined;
|
|
494
494
|
date_availability?: string | null | undefined;
|
|
@@ -521,7 +521,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
521
521
|
}, {
|
|
522
522
|
createdAt: string;
|
|
523
523
|
id: string | number;
|
|
524
|
-
|
|
524
|
+
name: string;
|
|
525
525
|
updatedAt: string;
|
|
526
526
|
description: string;
|
|
527
527
|
status?: string | undefined;
|
|
@@ -545,7 +545,7 @@ export declare const PropertySchema: z.ZodObject<{
|
|
|
545
545
|
address_zip?: string | undefined;
|
|
546
546
|
address_country?: string | undefined;
|
|
547
547
|
units?: {
|
|
548
|
-
|
|
548
|
+
name: string;
|
|
549
549
|
createdAt?: string | undefined;
|
|
550
550
|
status?: string | undefined;
|
|
551
551
|
date_availability?: string | null | undefined;
|
|
@@ -622,7 +622,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
622
622
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
623
623
|
createdAt: z.ZodString;
|
|
624
624
|
updatedAt: z.ZodString;
|
|
625
|
-
|
|
625
|
+
name: z.ZodString;
|
|
626
626
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
627
|
description: z.ZodString;
|
|
628
628
|
contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -641,7 +641,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
641
641
|
address_country: z.ZodOptional<z.ZodString>;
|
|
642
642
|
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
643
643
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
644
|
-
|
|
644
|
+
name: z.ZodString;
|
|
645
645
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
646
646
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
647
647
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -668,7 +668,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
668
668
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
669
669
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
670
670
|
}, "strip", z.ZodTypeAny, {
|
|
671
|
-
|
|
671
|
+
name: string;
|
|
672
672
|
createdAt?: string | undefined;
|
|
673
673
|
status?: string | undefined;
|
|
674
674
|
date_availability?: string | null | undefined;
|
|
@@ -696,7 +696,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
696
696
|
external_id?: string | null | undefined;
|
|
697
697
|
unitRenderedStyles?: unknown[] | undefined;
|
|
698
698
|
}, {
|
|
699
|
-
|
|
699
|
+
name: string;
|
|
700
700
|
createdAt?: string | undefined;
|
|
701
701
|
status?: string | undefined;
|
|
702
702
|
date_availability?: string | null | undefined;
|
|
@@ -734,7 +734,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
|
735
735
|
createdAt: string;
|
|
736
736
|
id: string | number;
|
|
737
|
-
|
|
737
|
+
name: string;
|
|
738
738
|
updatedAt: string;
|
|
739
739
|
description: string;
|
|
740
740
|
status?: string | undefined;
|
|
@@ -758,7 +758,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
758
758
|
address_zip?: string | undefined;
|
|
759
759
|
address_country?: string | undefined;
|
|
760
760
|
units?: {
|
|
761
|
-
|
|
761
|
+
name: string;
|
|
762
762
|
createdAt?: string | undefined;
|
|
763
763
|
status?: string | undefined;
|
|
764
764
|
date_availability?: string | null | undefined;
|
|
@@ -791,7 +791,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
791
791
|
}, {
|
|
792
792
|
createdAt: string;
|
|
793
793
|
id: string | number;
|
|
794
|
-
|
|
794
|
+
name: string;
|
|
795
795
|
updatedAt: string;
|
|
796
796
|
description: string;
|
|
797
797
|
status?: string | undefined;
|
|
@@ -815,7 +815,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
815
815
|
address_zip?: string | undefined;
|
|
816
816
|
address_country?: string | undefined;
|
|
817
817
|
units?: {
|
|
818
|
-
|
|
818
|
+
name: string;
|
|
819
819
|
createdAt?: string | undefined;
|
|
820
820
|
status?: string | undefined;
|
|
821
821
|
date_availability?: string | null | undefined;
|
|
@@ -848,7 +848,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
848
848
|
}>, "many">>;
|
|
849
849
|
Unit: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
850
850
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
851
|
-
|
|
851
|
+
name: z.ZodString;
|
|
852
852
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
853
853
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
854
854
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -875,7 +875,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
875
875
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
876
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
|
-
|
|
878
|
+
name: string;
|
|
879
879
|
createdAt?: string | undefined;
|
|
880
880
|
status?: string | undefined;
|
|
881
881
|
date_availability?: string | null | undefined;
|
|
@@ -903,7 +903,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
903
903
|
external_id?: string | null | undefined;
|
|
904
904
|
unitRenderedStyles?: unknown[] | undefined;
|
|
905
905
|
}, {
|
|
906
|
-
|
|
906
|
+
name: string;
|
|
907
907
|
createdAt?: string | undefined;
|
|
908
908
|
status?: string | undefined;
|
|
909
909
|
date_availability?: string | null | undefined;
|
|
@@ -948,7 +948,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
948
948
|
Property?: {
|
|
949
949
|
createdAt: string;
|
|
950
950
|
id: string | number;
|
|
951
|
-
|
|
951
|
+
name: string;
|
|
952
952
|
updatedAt: string;
|
|
953
953
|
description: string;
|
|
954
954
|
status?: string | undefined;
|
|
@@ -972,7 +972,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
972
972
|
address_zip?: string | undefined;
|
|
973
973
|
address_country?: string | undefined;
|
|
974
974
|
units?: {
|
|
975
|
-
|
|
975
|
+
name: string;
|
|
976
976
|
createdAt?: string | undefined;
|
|
977
977
|
status?: string | undefined;
|
|
978
978
|
date_availability?: string | null | undefined;
|
|
@@ -1004,7 +1004,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
1004
1004
|
floorPlans?: unknown[] | undefined;
|
|
1005
1005
|
}[] | undefined;
|
|
1006
1006
|
Unit?: {
|
|
1007
|
-
|
|
1007
|
+
name: string;
|
|
1008
1008
|
createdAt?: string | undefined;
|
|
1009
1009
|
status?: string | undefined;
|
|
1010
1010
|
date_availability?: string | null | undefined;
|
|
@@ -1046,7 +1046,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
1046
1046
|
Property?: {
|
|
1047
1047
|
createdAt: string;
|
|
1048
1048
|
id: string | number;
|
|
1049
|
-
|
|
1049
|
+
name: string;
|
|
1050
1050
|
updatedAt: string;
|
|
1051
1051
|
description: string;
|
|
1052
1052
|
status?: string | undefined;
|
|
@@ -1070,7 +1070,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
1070
1070
|
address_zip?: string | undefined;
|
|
1071
1071
|
address_country?: string | undefined;
|
|
1072
1072
|
units?: {
|
|
1073
|
-
|
|
1073
|
+
name: string;
|
|
1074
1074
|
createdAt?: string | undefined;
|
|
1075
1075
|
status?: string | undefined;
|
|
1076
1076
|
date_availability?: string | null | undefined;
|
|
@@ -1102,7 +1102,7 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
1102
1102
|
floorPlans?: unknown[] | undefined;
|
|
1103
1103
|
}[] | undefined;
|
|
1104
1104
|
Unit?: {
|
|
1105
|
-
|
|
1105
|
+
name: string;
|
|
1106
1106
|
createdAt?: string | undefined;
|
|
1107
1107
|
status?: string | undefined;
|
|
1108
1108
|
date_availability?: string | null | undefined;
|
|
@@ -1223,7 +1223,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1223
1223
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1224
1224
|
createdAt: z.ZodString;
|
|
1225
1225
|
updatedAt: z.ZodString;
|
|
1226
|
-
|
|
1226
|
+
name: z.ZodString;
|
|
1227
1227
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1228
1228
|
description: z.ZodString;
|
|
1229
1229
|
contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1242,7 +1242,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1242
1242
|
address_country: z.ZodOptional<z.ZodString>;
|
|
1243
1243
|
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1244
1244
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1245
|
-
|
|
1245
|
+
name: z.ZodString;
|
|
1246
1246
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1247
1247
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1248
1248
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1269,7 +1269,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1269
1269
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
1270
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1271
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1272
|
-
|
|
1272
|
+
name: string;
|
|
1273
1273
|
createdAt?: string | undefined;
|
|
1274
1274
|
status?: string | undefined;
|
|
1275
1275
|
date_availability?: string | null | undefined;
|
|
@@ -1297,7 +1297,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1297
1297
|
external_id?: string | null | undefined;
|
|
1298
1298
|
unitRenderedStyles?: unknown[] | undefined;
|
|
1299
1299
|
}, {
|
|
1300
|
-
|
|
1300
|
+
name: string;
|
|
1301
1301
|
createdAt?: string | undefined;
|
|
1302
1302
|
status?: string | undefined;
|
|
1303
1303
|
date_availability?: string | null | undefined;
|
|
@@ -1335,7 +1335,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1335
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1336
1336
|
createdAt: string;
|
|
1337
1337
|
id: string | number;
|
|
1338
|
-
|
|
1338
|
+
name: string;
|
|
1339
1339
|
updatedAt: string;
|
|
1340
1340
|
description: string;
|
|
1341
1341
|
status?: string | undefined;
|
|
@@ -1359,7 +1359,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1359
1359
|
address_zip?: string | undefined;
|
|
1360
1360
|
address_country?: string | undefined;
|
|
1361
1361
|
units?: {
|
|
1362
|
-
|
|
1362
|
+
name: string;
|
|
1363
1363
|
createdAt?: string | undefined;
|
|
1364
1364
|
status?: string | undefined;
|
|
1365
1365
|
date_availability?: string | null | undefined;
|
|
@@ -1392,7 +1392,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1392
1392
|
}, {
|
|
1393
1393
|
createdAt: string;
|
|
1394
1394
|
id: string | number;
|
|
1395
|
-
|
|
1395
|
+
name: string;
|
|
1396
1396
|
updatedAt: string;
|
|
1397
1397
|
description: string;
|
|
1398
1398
|
status?: string | undefined;
|
|
@@ -1416,7 +1416,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1416
1416
|
address_zip?: string | undefined;
|
|
1417
1417
|
address_country?: string | undefined;
|
|
1418
1418
|
units?: {
|
|
1419
|
-
|
|
1419
|
+
name: string;
|
|
1420
1420
|
createdAt?: string | undefined;
|
|
1421
1421
|
status?: string | undefined;
|
|
1422
1422
|
date_availability?: string | null | undefined;
|
|
@@ -1459,7 +1459,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1459
1459
|
data?: {
|
|
1460
1460
|
createdAt: string;
|
|
1461
1461
|
id: string | number;
|
|
1462
|
-
|
|
1462
|
+
name: string;
|
|
1463
1463
|
updatedAt: string;
|
|
1464
1464
|
description: string;
|
|
1465
1465
|
status?: string | undefined;
|
|
@@ -1483,7 +1483,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1483
1483
|
address_zip?: string | undefined;
|
|
1484
1484
|
address_country?: string | undefined;
|
|
1485
1485
|
units?: {
|
|
1486
|
-
|
|
1486
|
+
name: string;
|
|
1487
1487
|
createdAt?: string | undefined;
|
|
1488
1488
|
status?: string | undefined;
|
|
1489
1489
|
date_availability?: string | null | undefined;
|
|
@@ -1532,7 +1532,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1532
1532
|
data?: {
|
|
1533
1533
|
createdAt: string;
|
|
1534
1534
|
id: string | number;
|
|
1535
|
-
|
|
1535
|
+
name: string;
|
|
1536
1536
|
updatedAt: string;
|
|
1537
1537
|
description: string;
|
|
1538
1538
|
status?: string | undefined;
|
|
@@ -1556,7 +1556,7 @@ export declare const UserPropertyStateSchema: z.ZodObject<{
|
|
|
1556
1556
|
address_zip?: string | undefined;
|
|
1557
1557
|
address_country?: string | undefined;
|
|
1558
1558
|
units?: {
|
|
1559
|
-
|
|
1559
|
+
name: string;
|
|
1560
1560
|
createdAt?: string | undefined;
|
|
1561
1561
|
status?: string | undefined;
|
|
1562
1562
|
date_availability?: string | null | undefined;
|
|
@@ -1662,7 +1662,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1662
1662
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1663
1663
|
createdAt: z.ZodString;
|
|
1664
1664
|
updatedAt: z.ZodString;
|
|
1665
|
-
|
|
1665
|
+
name: z.ZodString;
|
|
1666
1666
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1667
1667
|
description: z.ZodString;
|
|
1668
1668
|
contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1681,7 +1681,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1681
1681
|
address_country: z.ZodOptional<z.ZodString>;
|
|
1682
1682
|
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1683
1683
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1684
|
-
|
|
1684
|
+
name: z.ZodString;
|
|
1685
1685
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1686
1686
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1687
1687
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1708,7 +1708,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1708
1708
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1709
1709
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1710
1710
|
}, "strip", z.ZodTypeAny, {
|
|
1711
|
-
|
|
1711
|
+
name: string;
|
|
1712
1712
|
createdAt?: string | undefined;
|
|
1713
1713
|
status?: string | undefined;
|
|
1714
1714
|
date_availability?: string | null | undefined;
|
|
@@ -1736,7 +1736,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1736
1736
|
external_id?: string | null | undefined;
|
|
1737
1737
|
unitRenderedStyles?: unknown[] | undefined;
|
|
1738
1738
|
}, {
|
|
1739
|
-
|
|
1739
|
+
name: string;
|
|
1740
1740
|
createdAt?: string | undefined;
|
|
1741
1741
|
status?: string | undefined;
|
|
1742
1742
|
date_availability?: string | null | undefined;
|
|
@@ -1774,7 +1774,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1774
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1775
1775
|
createdAt: string;
|
|
1776
1776
|
id: string | number;
|
|
1777
|
-
|
|
1777
|
+
name: string;
|
|
1778
1778
|
updatedAt: string;
|
|
1779
1779
|
description: string;
|
|
1780
1780
|
status?: string | undefined;
|
|
@@ -1798,7 +1798,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1798
1798
|
address_zip?: string | undefined;
|
|
1799
1799
|
address_country?: string | undefined;
|
|
1800
1800
|
units?: {
|
|
1801
|
-
|
|
1801
|
+
name: string;
|
|
1802
1802
|
createdAt?: string | undefined;
|
|
1803
1803
|
status?: string | undefined;
|
|
1804
1804
|
date_availability?: string | null | undefined;
|
|
@@ -1831,7 +1831,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1831
1831
|
}, {
|
|
1832
1832
|
createdAt: string;
|
|
1833
1833
|
id: string | number;
|
|
1834
|
-
|
|
1834
|
+
name: string;
|
|
1835
1835
|
updatedAt: string;
|
|
1836
1836
|
description: string;
|
|
1837
1837
|
status?: string | undefined;
|
|
@@ -1855,7 +1855,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1855
1855
|
address_zip?: string | undefined;
|
|
1856
1856
|
address_country?: string | undefined;
|
|
1857
1857
|
units?: {
|
|
1858
|
-
|
|
1858
|
+
name: string;
|
|
1859
1859
|
createdAt?: string | undefined;
|
|
1860
1860
|
status?: string | undefined;
|
|
1861
1861
|
date_availability?: string | null | undefined;
|
|
@@ -1898,7 +1898,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1898
1898
|
data?: {
|
|
1899
1899
|
createdAt: string;
|
|
1900
1900
|
id: string | number;
|
|
1901
|
-
|
|
1901
|
+
name: string;
|
|
1902
1902
|
updatedAt: string;
|
|
1903
1903
|
description: string;
|
|
1904
1904
|
status?: string | undefined;
|
|
@@ -1922,7 +1922,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1922
1922
|
address_zip?: string | undefined;
|
|
1923
1923
|
address_country?: string | undefined;
|
|
1924
1924
|
units?: {
|
|
1925
|
-
|
|
1925
|
+
name: string;
|
|
1926
1926
|
createdAt?: string | undefined;
|
|
1927
1927
|
status?: string | undefined;
|
|
1928
1928
|
date_availability?: string | null | undefined;
|
|
@@ -1971,7 +1971,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1971
1971
|
data?: {
|
|
1972
1972
|
createdAt: string;
|
|
1973
1973
|
id: string | number;
|
|
1974
|
-
|
|
1974
|
+
name: string;
|
|
1975
1975
|
updatedAt: string;
|
|
1976
1976
|
description: string;
|
|
1977
1977
|
status?: string | undefined;
|
|
@@ -1995,7 +1995,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
1995
1995
|
address_zip?: string | undefined;
|
|
1996
1996
|
address_country?: string | undefined;
|
|
1997
1997
|
units?: {
|
|
1998
|
-
|
|
1998
|
+
name: string;
|
|
1999
1999
|
createdAt?: string | undefined;
|
|
2000
2000
|
status?: string | undefined;
|
|
2001
2001
|
date_availability?: string | null | undefined;
|
|
@@ -2049,7 +2049,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
2049
2049
|
data?: {
|
|
2050
2050
|
createdAt: string;
|
|
2051
2051
|
id: string | number;
|
|
2052
|
-
|
|
2052
|
+
name: string;
|
|
2053
2053
|
updatedAt: string;
|
|
2054
2054
|
description: string;
|
|
2055
2055
|
status?: string | undefined;
|
|
@@ -2073,7 +2073,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
2073
2073
|
address_zip?: string | undefined;
|
|
2074
2074
|
address_country?: string | undefined;
|
|
2075
2075
|
units?: {
|
|
2076
|
-
|
|
2076
|
+
name: string;
|
|
2077
2077
|
createdAt?: string | undefined;
|
|
2078
2078
|
status?: string | undefined;
|
|
2079
2079
|
date_availability?: string | null | undefined;
|
|
@@ -2127,7 +2127,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
2127
2127
|
data?: {
|
|
2128
2128
|
createdAt: string;
|
|
2129
2129
|
id: string | number;
|
|
2130
|
-
|
|
2130
|
+
name: string;
|
|
2131
2131
|
updatedAt: string;
|
|
2132
2132
|
description: string;
|
|
2133
2133
|
status?: string | undefined;
|
|
@@ -2151,7 +2151,7 @@ export declare const PropertyStoreDataSchema: z.ZodObject<{
|
|
|
2151
2151
|
address_zip?: string | undefined;
|
|
2152
2152
|
address_country?: string | undefined;
|
|
2153
2153
|
units?: {
|
|
2154
|
-
|
|
2154
|
+
name: string;
|
|
2155
2155
|
createdAt?: string | undefined;
|
|
2156
2156
|
status?: string | undefined;
|
|
2157
2157
|
date_availability?: string | null | undefined;
|
|
@@ -2289,7 +2289,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2289
2289
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2290
2290
|
createdAt: z.ZodString;
|
|
2291
2291
|
updatedAt: z.ZodString;
|
|
2292
|
-
|
|
2292
|
+
name: z.ZodString;
|
|
2293
2293
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2294
2294
|
description: z.ZodString;
|
|
2295
2295
|
contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2308,7 +2308,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2308
2308
|
address_country: z.ZodOptional<z.ZodString>;
|
|
2309
2309
|
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2310
2310
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2311
|
-
|
|
2311
|
+
name: z.ZodString;
|
|
2312
2312
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2313
2313
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2314
2314
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2335,7 +2335,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2335
2335
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2336
2336
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
2337
2337
|
}, "strip", z.ZodTypeAny, {
|
|
2338
|
-
|
|
2338
|
+
name: string;
|
|
2339
2339
|
createdAt?: string | undefined;
|
|
2340
2340
|
status?: string | undefined;
|
|
2341
2341
|
date_availability?: string | null | undefined;
|
|
@@ -2363,7 +2363,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2363
2363
|
external_id?: string | null | undefined;
|
|
2364
2364
|
unitRenderedStyles?: unknown[] | undefined;
|
|
2365
2365
|
}, {
|
|
2366
|
-
|
|
2366
|
+
name: string;
|
|
2367
2367
|
createdAt?: string | undefined;
|
|
2368
2368
|
status?: string | undefined;
|
|
2369
2369
|
date_availability?: string | null | undefined;
|
|
@@ -2401,7 +2401,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2401
2401
|
}, "strip", z.ZodTypeAny, {
|
|
2402
2402
|
createdAt: string;
|
|
2403
2403
|
id: string | number;
|
|
2404
|
-
|
|
2404
|
+
name: string;
|
|
2405
2405
|
updatedAt: string;
|
|
2406
2406
|
description: string;
|
|
2407
2407
|
status?: string | undefined;
|
|
@@ -2425,7 +2425,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2425
2425
|
address_zip?: string | undefined;
|
|
2426
2426
|
address_country?: string | undefined;
|
|
2427
2427
|
units?: {
|
|
2428
|
-
|
|
2428
|
+
name: string;
|
|
2429
2429
|
createdAt?: string | undefined;
|
|
2430
2430
|
status?: string | undefined;
|
|
2431
2431
|
date_availability?: string | null | undefined;
|
|
@@ -2458,7 +2458,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2458
2458
|
}, {
|
|
2459
2459
|
createdAt: string;
|
|
2460
2460
|
id: string | number;
|
|
2461
|
-
|
|
2461
|
+
name: string;
|
|
2462
2462
|
updatedAt: string;
|
|
2463
2463
|
description: string;
|
|
2464
2464
|
status?: string | undefined;
|
|
@@ -2482,7 +2482,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2482
2482
|
address_zip?: string | undefined;
|
|
2483
2483
|
address_country?: string | undefined;
|
|
2484
2484
|
units?: {
|
|
2485
|
-
|
|
2485
|
+
name: string;
|
|
2486
2486
|
createdAt?: string | undefined;
|
|
2487
2487
|
status?: string | undefined;
|
|
2488
2488
|
date_availability?: string | null | undefined;
|
|
@@ -2525,7 +2525,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2525
2525
|
data?: {
|
|
2526
2526
|
createdAt: string;
|
|
2527
2527
|
id: string | number;
|
|
2528
|
-
|
|
2528
|
+
name: string;
|
|
2529
2529
|
updatedAt: string;
|
|
2530
2530
|
description: string;
|
|
2531
2531
|
status?: string | undefined;
|
|
@@ -2549,7 +2549,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2549
2549
|
address_zip?: string | undefined;
|
|
2550
2550
|
address_country?: string | undefined;
|
|
2551
2551
|
units?: {
|
|
2552
|
-
|
|
2552
|
+
name: string;
|
|
2553
2553
|
createdAt?: string | undefined;
|
|
2554
2554
|
status?: string | undefined;
|
|
2555
2555
|
date_availability?: string | null | undefined;
|
|
@@ -2598,7 +2598,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2598
2598
|
data?: {
|
|
2599
2599
|
createdAt: string;
|
|
2600
2600
|
id: string | number;
|
|
2601
|
-
|
|
2601
|
+
name: string;
|
|
2602
2602
|
updatedAt: string;
|
|
2603
2603
|
description: string;
|
|
2604
2604
|
status?: string | undefined;
|
|
@@ -2622,7 +2622,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2622
2622
|
address_zip?: string | undefined;
|
|
2623
2623
|
address_country?: string | undefined;
|
|
2624
2624
|
units?: {
|
|
2625
|
-
|
|
2625
|
+
name: string;
|
|
2626
2626
|
createdAt?: string | undefined;
|
|
2627
2627
|
status?: string | undefined;
|
|
2628
2628
|
date_availability?: string | null | undefined;
|
|
@@ -2665,7 +2665,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2665
2665
|
hasPreviouslySearched: z.ZodArray<z.ZodString, "many">;
|
|
2666
2666
|
unitResults: z.ZodArray<z.ZodObject<{
|
|
2667
2667
|
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2668
|
-
|
|
2668
|
+
name: z.ZodString;
|
|
2669
2669
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2670
2670
|
qty_bedrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2671
2671
|
qty_bathrooms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2692,7 +2692,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2692
2692
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2693
2693
|
unitRenderedStyles: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
2694
2694
|
}, "strip", z.ZodTypeAny, {
|
|
2695
|
-
|
|
2695
|
+
name: string;
|
|
2696
2696
|
createdAt?: string | undefined;
|
|
2697
2697
|
status?: string | undefined;
|
|
2698
2698
|
date_availability?: string | null | undefined;
|
|
@@ -2720,7 +2720,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2720
2720
|
external_id?: string | null | undefined;
|
|
2721
2721
|
unitRenderedStyles?: unknown[] | undefined;
|
|
2722
2722
|
}, {
|
|
2723
|
-
|
|
2723
|
+
name: string;
|
|
2724
2724
|
createdAt?: string | undefined;
|
|
2725
2725
|
status?: string | undefined;
|
|
2726
2726
|
date_availability?: string | null | undefined;
|
|
@@ -2854,7 +2854,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2854
2854
|
data?: {
|
|
2855
2855
|
createdAt: string;
|
|
2856
2856
|
id: string | number;
|
|
2857
|
-
|
|
2857
|
+
name: string;
|
|
2858
2858
|
updatedAt: string;
|
|
2859
2859
|
description: string;
|
|
2860
2860
|
status?: string | undefined;
|
|
@@ -2878,7 +2878,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2878
2878
|
address_zip?: string | undefined;
|
|
2879
2879
|
address_country?: string | undefined;
|
|
2880
2880
|
units?: {
|
|
2881
|
-
|
|
2881
|
+
name: string;
|
|
2882
2882
|
createdAt?: string | undefined;
|
|
2883
2883
|
status?: string | undefined;
|
|
2884
2884
|
date_availability?: string | null | undefined;
|
|
@@ -2919,7 +2919,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2919
2919
|
currentPropertyId: string | null;
|
|
2920
2920
|
currentPropertySlug: string | null;
|
|
2921
2921
|
unitResults: {
|
|
2922
|
-
|
|
2922
|
+
name: string;
|
|
2923
2923
|
createdAt?: string | undefined;
|
|
2924
2924
|
status?: string | undefined;
|
|
2925
2925
|
date_availability?: string | null | undefined;
|
|
@@ -2987,7 +2987,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
2987
2987
|
data?: {
|
|
2988
2988
|
createdAt: string;
|
|
2989
2989
|
id: string | number;
|
|
2990
|
-
|
|
2990
|
+
name: string;
|
|
2991
2991
|
updatedAt: string;
|
|
2992
2992
|
description: string;
|
|
2993
2993
|
status?: string | undefined;
|
|
@@ -3011,7 +3011,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
3011
3011
|
address_zip?: string | undefined;
|
|
3012
3012
|
address_country?: string | undefined;
|
|
3013
3013
|
units?: {
|
|
3014
|
-
|
|
3014
|
+
name: string;
|
|
3015
3015
|
createdAt?: string | undefined;
|
|
3016
3016
|
status?: string | undefined;
|
|
3017
3017
|
date_availability?: string | null | undefined;
|
|
@@ -3052,7 +3052,7 @@ export declare const UnifiedStoreDataSchema: z.ZodObject<{
|
|
|
3052
3052
|
currentPropertyId: string | null;
|
|
3053
3053
|
currentPropertySlug: string | null;
|
|
3054
3054
|
unitResults: {
|
|
3055
|
-
|
|
3055
|
+
name: string;
|
|
3056
3056
|
createdAt?: string | undefined;
|
|
3057
3057
|
status?: string | undefined;
|
|
3058
3058
|
date_availability?: string | null | undefined;
|
package/dist/schema.mjs
CHANGED
|
@@ -40,7 +40,7 @@ const P = 1, F = l({
|
|
|
40
40
|
sortBy: d
|
|
41
41
|
}), c = l({
|
|
42
42
|
id: n([a().int(), t()]).optional(),
|
|
43
|
-
|
|
43
|
+
name: t(),
|
|
44
44
|
slug: t().nullable().optional(),
|
|
45
45
|
qty_bedrooms: s.number().nullable().optional(),
|
|
46
46
|
qty_bathrooms: s.number().nullable().optional(),
|
|
@@ -104,7 +104,7 @@ const P = 1, F = l({
|
|
|
104
104
|
id: n([a().int(), t()]),
|
|
105
105
|
createdAt: t().datetime(),
|
|
106
106
|
updatedAt: t().datetime(),
|
|
107
|
-
|
|
107
|
+
name: t(),
|
|
108
108
|
slug: t().nullable().optional(),
|
|
109
109
|
description: t(),
|
|
110
110
|
contact_name: t().nullable().optional(),
|