hububb-models 1.0.103 → 1.0.105

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,13 +672,14 @@ 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
+ seenBy: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
676
+ isImportant: import("zod").ZodOptional<import("zod").ZodBoolean>;
676
677
  }, "strip", import("zod").ZodTypeAny, {
677
678
  type: "ONE_TO_ONE" | "GROUP";
678
679
  createdAt: FirebaseFirestore.Timestamp;
679
680
  updatedAt: FirebaseFirestore.Timestamp;
680
681
  participantIds: string[];
681
- lastSeenAt: Record<string, FirebaseFirestore.Timestamp>;
682
+ seenBy: Record<string, FirebaseFirestore.Timestamp>;
682
683
  id?: string | undefined;
683
684
  source?: string | undefined;
684
685
  title?: string | undefined;
@@ -761,12 +762,13 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
761
762
  }[] | undefined;
762
763
  externalThreadId?: string | undefined;
763
764
  externalSource?: string | undefined;
765
+ isImportant?: boolean | undefined;
764
766
  }, {
765
767
  type: "ONE_TO_ONE" | "GROUP";
766
768
  createdAt: FirebaseFirestore.Timestamp;
767
769
  updatedAt: FirebaseFirestore.Timestamp;
768
770
  participantIds: string[];
769
- lastSeenAt: Record<string, FirebaseFirestore.Timestamp>;
771
+ seenBy: Record<string, FirebaseFirestore.Timestamp>;
770
772
  id?: string | undefined;
771
773
  source?: string | undefined;
772
774
  title?: string | undefined;
@@ -849,4 +851,5 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
849
851
  }[] | undefined;
850
852
  externalThreadId?: string | undefined;
851
853
  externalSource?: string | undefined;
854
+ isImportant?: boolean | undefined;
852
855
  }>;
@@ -31,5 +31,6 @@ 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
+ seenBy: (0, zod_1.record)((0, zod_1.string)(), helpers_1.firestoreTimestampSchema),
35
+ isImportant: (0, zod_1.optional)((0, zod_1.boolean)()),
35
36
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.103",
3
+ "version": "1.0.105",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",