hububb-models 1.0.106 → 1.0.107

Sign up to get free protection for your applications and to get access to all the features.
@@ -674,14 +674,14 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
674
674
  title: import("zod").ZodOptional<import("zod").ZodString>;
675
675
  seenBy: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
676
676
  isImportant: import("zod").ZodOptional<import("zod").ZodBoolean>;
677
- needsAttention: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>;
677
+ needsAttention: import("zod").ZodArray<import("zod").ZodString, "many">;
678
678
  }, "strip", import("zod").ZodTypeAny, {
679
679
  type: "ONE_TO_ONE" | "GROUP";
680
680
  createdAt: import("@firebase/firestore-types").Timestamp;
681
681
  updatedAt: import("@firebase/firestore-types").Timestamp;
682
682
  participantIds: string[];
683
683
  seenBy: Record<string, import("@firebase/firestore-types").Timestamp>;
684
- needsAttention: Record<string, boolean>;
684
+ needsAttention: string[];
685
685
  id?: string | undefined;
686
686
  source?: string | undefined;
687
687
  title?: string | undefined;
@@ -771,7 +771,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
771
771
  updatedAt: import("@firebase/firestore-types").Timestamp;
772
772
  participantIds: string[];
773
773
  seenBy: Record<string, import("@firebase/firestore-types").Timestamp>;
774
- needsAttention: Record<string, boolean>;
774
+ needsAttention: string[];
775
775
  id?: string | undefined;
776
776
  source?: string | undefined;
777
777
  title?: string | undefined;
@@ -33,5 +33,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({
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
  isImportant: (0, zod_1.optional)((0, zod_1.boolean)()),
36
- needsAttention: (0, zod_1.record)((0, zod_1.string)(), (0, zod_1.boolean)()),
36
+ needsAttention: (0, zod_1.array)((0, zod_1.string)()),
37
37
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",