hububb-models 1.0.102 → 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,12 +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").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
675
+ lastSeenAt: 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
+ lastSeenAt: Record<string, FirebaseFirestore.Timestamp>;
681
682
  id?: string | undefined;
682
683
  source?: string | undefined;
683
684
  title?: string | undefined;
@@ -760,12 +761,12 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
760
761
  }[] | undefined;
761
762
  externalThreadId?: string | undefined;
762
763
  externalSource?: string | undefined;
763
- lastSeenAt?: FirebaseFirestore.Timestamp | undefined;
764
764
  }, {
765
765
  type: "ONE_TO_ONE" | "GROUP";
766
766
  createdAt: FirebaseFirestore.Timestamp;
767
767
  updatedAt: FirebaseFirestore.Timestamp;
768
768
  participantIds: string[];
769
+ lastSeenAt: Record<string, FirebaseFirestore.Timestamp>;
769
770
  id?: string | undefined;
770
771
  source?: string | undefined;
771
772
  title?: string | undefined;
@@ -848,5 +849,4 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
848
849
  }[] | undefined;
849
850
  externalThreadId?: string | undefined;
850
851
  externalSource?: string | undefined;
851
- lastSeenAt?: FirebaseFirestore.Timestamp | undefined;
852
852
  }>;
@@ -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
- lastSeenAt: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
34
+ lastSeenAt: (0, zod_1.record)((0, zod_1.string)(), helpers_1.firestoreTimestampSchema),
35
35
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.102",
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",