hububb-models 1.0.74 → 1.0.76
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schemas/thread.d.ts +11 -0
- package/dist/schemas/thread.js +2 -0
- package/package.json +1 -1
package/dist/schemas/thread.d.ts
CHANGED
@@ -157,6 +157,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
157
157
|
lastSeen: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
|
158
158
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
159
159
|
externalMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
160
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
160
161
|
}, "strip", import("zod").ZodTypeAny, {
|
161
162
|
id: string;
|
162
163
|
body: string;
|
@@ -166,6 +167,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
166
167
|
contentType: string;
|
167
168
|
seen: Record<string, import("@firebase/firestore").Timestamp>;
|
168
169
|
source?: string | undefined;
|
170
|
+
title?: string | undefined;
|
169
171
|
author?: {
|
170
172
|
id: string;
|
171
173
|
email: string;
|
@@ -207,6 +209,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
207
209
|
contentType: string;
|
208
210
|
seen: Record<string, import("@firebase/firestore").Timestamp>;
|
209
211
|
source?: string | undefined;
|
212
|
+
title?: string | undefined;
|
210
213
|
author?: {
|
211
214
|
id: string;
|
212
215
|
email: string;
|
@@ -403,6 +406,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
403
406
|
lastSeen: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
|
404
407
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
405
408
|
externalMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
409
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
406
410
|
}, "strip", import("zod").ZodTypeAny, {
|
407
411
|
id: string;
|
408
412
|
body: string;
|
@@ -412,6 +416,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
412
416
|
contentType: string;
|
413
417
|
seen: Record<string, import("@firebase/firestore").Timestamp>;
|
414
418
|
source?: string | undefined;
|
419
|
+
title?: string | undefined;
|
415
420
|
author?: {
|
416
421
|
id: string;
|
417
422
|
email: string;
|
@@ -453,6 +458,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
453
458
|
contentType: string;
|
454
459
|
seen: Record<string, import("@firebase/firestore").Timestamp>;
|
455
460
|
source?: string | undefined;
|
461
|
+
title?: string | undefined;
|
456
462
|
author?: {
|
457
463
|
id: string;
|
458
464
|
email: string;
|
@@ -639,6 +645,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
639
645
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
640
646
|
externalThreadId: import("zod").ZodOptional<import("zod").ZodString>;
|
641
647
|
externalSource: import("zod").ZodOptional<import("zod").ZodString>;
|
648
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
642
649
|
}, "strip", import("zod").ZodTypeAny, {
|
643
650
|
type: "ONE_TO_ONE" | "GROUP";
|
644
651
|
createdAt: import("@firebase/firestore").Timestamp;
|
@@ -646,6 +653,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
646
653
|
participantIds: string[];
|
647
654
|
id?: string | undefined;
|
648
655
|
source?: string | undefined;
|
656
|
+
title?: string | undefined;
|
649
657
|
lastMessage?: {
|
650
658
|
id: string;
|
651
659
|
body: string;
|
@@ -655,6 +663,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
655
663
|
contentType: string;
|
656
664
|
seen: Record<string, import("@firebase/firestore").Timestamp>;
|
657
665
|
source?: string | undefined;
|
666
|
+
title?: string | undefined;
|
658
667
|
author?: {
|
659
668
|
id: string;
|
660
669
|
email: string;
|
@@ -727,6 +736,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
727
736
|
participantIds: string[];
|
728
737
|
id?: string | undefined;
|
729
738
|
source?: string | undefined;
|
739
|
+
title?: string | undefined;
|
730
740
|
lastMessage?: {
|
731
741
|
id: string;
|
732
742
|
body: string;
|
@@ -736,6 +746,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
736
746
|
contentType: string;
|
737
747
|
seen: Record<string, import("@firebase/firestore").Timestamp>;
|
738
748
|
source?: string | undefined;
|
749
|
+
title?: string | undefined;
|
739
750
|
author?: {
|
740
751
|
id: string;
|
741
752
|
email: string;
|
package/dist/schemas/thread.js
CHANGED
@@ -17,6 +17,7 @@ exports.ChatMessageSchema = (0, zod_1.object)({
|
|
17
17
|
lastSeen: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
18
18
|
source: (0, zod_1.optional)((0, zod_1.string)()),
|
19
19
|
externalMessageId: (0, zod_1.optional)((0, zod_1.string)()),
|
20
|
+
title: (0, zod_1.optional)((0, zod_1.string)()),
|
20
21
|
});
|
21
22
|
exports.ChatThreadSchema = (0, zod_1.object)({
|
22
23
|
id: (0, zod_1.optional)((0, zod_1.string)()),
|
@@ -29,4 +30,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({
|
|
29
30
|
source: (0, zod_1.optional)((0, zod_1.string)()),
|
30
31
|
externalThreadId: (0, zod_1.optional)((0, zod_1.string)()),
|
31
32
|
externalSource: (0, zod_1.optional)((0, zod_1.string)()),
|
33
|
+
title: (0, zod_1.optional)((0, zod_1.string)()),
|
32
34
|
});
|