hububb-models 1.0.101 → 1.0.103

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.
@@ -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;
@@ -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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.101",
3
+ "version": "1.0.103",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",