hububb-models 1.0.101 → 1.0.103
Sign up to get free protection for your applications and to get access to all the features.
package/dist/schemas/thread.d.ts
CHANGED
@@ -672,11 +672,13 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
672
672
|
externalThreadId: import("zod").ZodOptional<import("zod").ZodString>;
|
673
673
|
externalSource: import("zod").ZodOptional<import("zod").ZodString>;
|
674
674
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
675
|
+
lastSeenAt: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
675
676
|
}, "strip", import("zod").ZodTypeAny, {
|
676
677
|
type: "ONE_TO_ONE" | "GROUP";
|
677
678
|
createdAt: FirebaseFirestore.Timestamp;
|
678
679
|
updatedAt: FirebaseFirestore.Timestamp;
|
679
680
|
participantIds: string[];
|
681
|
+
lastSeenAt: Record<string, FirebaseFirestore.Timestamp>;
|
680
682
|
id?: string | undefined;
|
681
683
|
source?: string | undefined;
|
682
684
|
title?: string | undefined;
|
@@ -764,6 +766,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
764
766
|
createdAt: FirebaseFirestore.Timestamp;
|
765
767
|
updatedAt: FirebaseFirestore.Timestamp;
|
766
768
|
participantIds: string[];
|
769
|
+
lastSeenAt: Record<string, FirebaseFirestore.Timestamp>;
|
767
770
|
id?: string | undefined;
|
768
771
|
source?: string | undefined;
|
769
772
|
title?: string | undefined;
|
package/dist/schemas/thread.js
CHANGED
@@ -31,4 +31,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({
|
|
31
31
|
externalThreadId: (0, zod_1.optional)((0, zod_1.string)()),
|
32
32
|
externalSource: (0, zod_1.optional)((0, zod_1.string)()),
|
33
33
|
title: (0, zod_1.optional)((0, zod_1.string)()),
|
34
|
+
lastSeenAt: (0, zod_1.record)((0, zod_1.string)(), helpers_1.firestoreTimestampSchema),
|
34
35
|
});
|