hububb-models 1.0.93 → 1.0.95
Sign up to get free protection for your applications and to get access to all the features.
@@ -507,6 +507,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
507
507
|
parentId: import("zod").ZodOptional<import("zod").ZodString>;
|
508
508
|
childIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
509
509
|
city: import("zod").ZodOptional<import("zod").ZodString>;
|
510
|
+
landlordId: import("zod").ZodOptional<import("zod").ZodString>;
|
510
511
|
}, "strip", import("zod").ZodTypeAny, {
|
511
512
|
address: {
|
512
513
|
full: string;
|
@@ -631,6 +632,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
631
632
|
listingType?: "shared" | "parent" | "child" | undefined;
|
632
633
|
parentId?: string | undefined;
|
633
634
|
childIds?: string[] | undefined;
|
635
|
+
landlordId?: string | undefined;
|
634
636
|
}, {
|
635
637
|
address: {
|
636
638
|
full: string;
|
@@ -755,4 +757,5 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
755
757
|
listingType?: "shared" | "parent" | "child" | undefined;
|
756
758
|
parentId?: string | undefined;
|
757
759
|
childIds?: string[] | undefined;
|
760
|
+
landlordId?: string | undefined;
|
758
761
|
}>;
|
package/dist/schemas/listing.js
CHANGED
@@ -119,4 +119,5 @@ exports.ListingSchema = (0, zod_1.object)({
|
|
119
119
|
parentId: (0, zod_1.optional)((0, zod_1.string)()),
|
120
120
|
childIds: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
121
121
|
city: (0, zod_1.optional)((0, zod_1.string)()),
|
122
|
+
landlordId: (0, zod_1.optional)((0, zod_1.string)()),
|
122
123
|
});
|
package/dist/schemas/thread.d.ts
CHANGED
@@ -93,6 +93,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
93
93
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
94
94
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
95
95
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
96
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
96
97
|
}, "strip", import("zod").ZodTypeAny, {
|
97
98
|
id: string;
|
98
99
|
email: string;
|
@@ -123,6 +124,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
123
124
|
klevioId?: string | undefined;
|
124
125
|
favorites?: string[] | undefined;
|
125
126
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
127
|
+
roles?: Record<string, boolean> | undefined;
|
126
128
|
}, {
|
127
129
|
id: string;
|
128
130
|
email: string;
|
@@ -153,6 +155,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
153
155
|
klevioId?: string | undefined;
|
154
156
|
favorites?: string[] | undefined;
|
155
157
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
158
|
+
roles?: Record<string, boolean> | undefined;
|
156
159
|
}>>;
|
157
160
|
contentType: import("zod").ZodString;
|
158
161
|
body: import("zod").ZodString;
|
@@ -200,6 +203,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
200
203
|
klevioId?: string | undefined;
|
201
204
|
favorites?: string[] | undefined;
|
202
205
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
206
|
+
roles?: Record<string, boolean> | undefined;
|
203
207
|
} | undefined;
|
204
208
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
205
209
|
externalMessageId?: string | undefined;
|
@@ -243,6 +247,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
243
247
|
klevioId?: string | undefined;
|
244
248
|
favorites?: string[] | undefined;
|
245
249
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
250
|
+
roles?: Record<string, boolean> | undefined;
|
246
251
|
} | undefined;
|
247
252
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
248
253
|
externalMessageId?: string | undefined;
|
@@ -347,6 +352,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
347
352
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
348
353
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
349
354
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
355
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
350
356
|
}, "strip", import("zod").ZodTypeAny, {
|
351
357
|
id: string;
|
352
358
|
email: string;
|
@@ -377,6 +383,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
377
383
|
klevioId?: string | undefined;
|
378
384
|
favorites?: string[] | undefined;
|
379
385
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
386
|
+
roles?: Record<string, boolean> | undefined;
|
380
387
|
}, {
|
381
388
|
id: string;
|
382
389
|
email: string;
|
@@ -407,6 +414,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
407
414
|
klevioId?: string | undefined;
|
408
415
|
favorites?: string[] | undefined;
|
409
416
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
417
|
+
roles?: Record<string, boolean> | undefined;
|
410
418
|
}>>;
|
411
419
|
contentType: import("zod").ZodString;
|
412
420
|
body: import("zod").ZodString;
|
@@ -454,6 +462,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
454
462
|
klevioId?: string | undefined;
|
455
463
|
favorites?: string[] | undefined;
|
456
464
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
465
|
+
roles?: Record<string, boolean> | undefined;
|
457
466
|
} | undefined;
|
458
467
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
459
468
|
externalMessageId?: string | undefined;
|
@@ -497,6 +506,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
497
506
|
klevioId?: string | undefined;
|
498
507
|
favorites?: string[] | undefined;
|
499
508
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
509
|
+
roles?: Record<string, boolean> | undefined;
|
500
510
|
} | undefined;
|
501
511
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
502
512
|
externalMessageId?: string | undefined;
|
@@ -593,6 +603,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
593
603
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
594
604
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
595
605
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
606
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
596
607
|
}, "strip", import("zod").ZodTypeAny, {
|
597
608
|
id: string;
|
598
609
|
email: string;
|
@@ -623,6 +634,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
623
634
|
klevioId?: string | undefined;
|
624
635
|
favorites?: string[] | undefined;
|
625
636
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
637
|
+
roles?: Record<string, boolean> | undefined;
|
626
638
|
}, {
|
627
639
|
id: string;
|
628
640
|
email: string;
|
@@ -653,6 +665,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
653
665
|
klevioId?: string | undefined;
|
654
666
|
favorites?: string[] | undefined;
|
655
667
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
668
|
+
roles?: Record<string, boolean> | undefined;
|
656
669
|
}>, "many">>;
|
657
670
|
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"ONE_TO_ONE">, import("zod").ZodLiteral<"GROUP">]>;
|
658
671
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -706,6 +719,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
706
719
|
klevioId?: string | undefined;
|
707
720
|
favorites?: string[] | undefined;
|
708
721
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
722
|
+
roles?: Record<string, boolean> | undefined;
|
709
723
|
} | undefined;
|
710
724
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
711
725
|
externalMessageId?: string | undefined;
|
@@ -741,6 +755,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
741
755
|
klevioId?: string | undefined;
|
742
756
|
favorites?: string[] | undefined;
|
743
757
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
758
|
+
roles?: Record<string, boolean> | undefined;
|
744
759
|
}[] | undefined;
|
745
760
|
externalThreadId?: string | undefined;
|
746
761
|
externalSource?: string | undefined;
|
@@ -791,6 +806,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
791
806
|
klevioId?: string | undefined;
|
792
807
|
favorites?: string[] | undefined;
|
793
808
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
809
|
+
roles?: Record<string, boolean> | undefined;
|
794
810
|
} | undefined;
|
795
811
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
796
812
|
externalMessageId?: string | undefined;
|
@@ -826,6 +842,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
826
842
|
klevioId?: string | undefined;
|
827
843
|
favorites?: string[] | undefined;
|
828
844
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
845
|
+
roles?: Record<string, boolean> | undefined;
|
829
846
|
}[] | undefined;
|
830
847
|
externalThreadId?: string | undefined;
|
831
848
|
externalSource?: string | undefined;
|
package/dist/schemas/user.d.ts
CHANGED
@@ -88,6 +88,7 @@ export declare const UserSchema: import("zod").ZodObject<{
|
|
88
88
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
89
89
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
90
90
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
91
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
91
92
|
}, "strip", import("zod").ZodTypeAny, {
|
92
93
|
id: string;
|
93
94
|
email: string;
|
@@ -118,6 +119,7 @@ export declare const UserSchema: import("zod").ZodObject<{
|
|
118
119
|
klevioId?: string | undefined;
|
119
120
|
favorites?: string[] | undefined;
|
120
121
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
122
|
+
roles?: Record<string, boolean> | undefined;
|
121
123
|
}, {
|
122
124
|
id: string;
|
123
125
|
email: string;
|
@@ -148,4 +150,5 @@ export declare const UserSchema: import("zod").ZodObject<{
|
|
148
150
|
klevioId?: string | undefined;
|
149
151
|
favorites?: string[] | undefined;
|
150
152
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
153
|
+
roles?: Record<string, boolean> | undefined;
|
151
154
|
}>;
|
package/dist/schemas/user.js
CHANGED
@@ -41,4 +41,5 @@ exports.UserSchema = (0, zod_1.object)({
|
|
41
41
|
klevioId: (0, zod_1.optional)((0, zod_1.string)()),
|
42
42
|
favorites: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
43
43
|
createdAt: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
44
|
+
roles: (0, zod_1.optional)((0, zod_1.record)((0, zod_1.string)(), (0, zod_1.boolean)())),
|
44
45
|
});
|