hububb-models 1.0.103 → 1.0.104
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/schemas/thread.d.ts
CHANGED
@@ -672,13 +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
|
-
|
675
|
+
seenBy: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
676
676
|
}, "strip", import("zod").ZodTypeAny, {
|
677
677
|
type: "ONE_TO_ONE" | "GROUP";
|
678
678
|
createdAt: FirebaseFirestore.Timestamp;
|
679
679
|
updatedAt: FirebaseFirestore.Timestamp;
|
680
680
|
participantIds: string[];
|
681
|
-
|
681
|
+
seenBy: Record<string, FirebaseFirestore.Timestamp>;
|
682
682
|
id?: string | undefined;
|
683
683
|
source?: string | undefined;
|
684
684
|
title?: string | undefined;
|
@@ -766,7 +766,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
766
766
|
createdAt: FirebaseFirestore.Timestamp;
|
767
767
|
updatedAt: FirebaseFirestore.Timestamp;
|
768
768
|
participantIds: string[];
|
769
|
-
|
769
|
+
seenBy: Record<string, FirebaseFirestore.Timestamp>;
|
770
770
|
id?: string | undefined;
|
771
771
|
source?: string | undefined;
|
772
772
|
title?: string | undefined;
|
package/dist/schemas/thread.js
CHANGED
@@ -31,5 +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
|
-
|
34
|
+
seenBy: (0, zod_1.record)((0, zod_1.string)(), helpers_1.firestoreTimestampSchema),
|
35
35
|
});
|