hububb-models 1.0.72 → 1.0.73

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.
@@ -624,12 +624,14 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
624
624
  favorites?: string[] | undefined;
625
625
  }>, "many">>;
626
626
  type: import("zod").ZodUnion<[import("zod").ZodLiteral<"ONE_TO_ONE">, import("zod").ZodLiteral<"GROUP">]>;
627
+ source: import("zod").ZodOptional<import("zod").ZodString>;
627
628
  }, "strip", import("zod").ZodTypeAny, {
628
629
  type: "ONE_TO_ONE" | "GROUP";
629
630
  createdAt: import("@firebase/firestore").Timestamp;
630
631
  updatedAt: import("@firebase/firestore").Timestamp;
631
632
  participantIds: string[];
632
633
  id?: string | undefined;
634
+ source?: string | undefined;
633
635
  lastMessage?: {
634
636
  id: string;
635
637
  body: string;
@@ -706,6 +708,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
706
708
  updatedAt: import("@firebase/firestore").Timestamp;
707
709
  participantIds: string[];
708
710
  id?: string | undefined;
711
+ source?: string | undefined;
709
712
  lastMessage?: {
710
713
  id: string;
711
714
  body: string;
@@ -24,4 +24,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({
24
24
  participantIds: (0, zod_1.array)((0, zod_1.string)()),
25
25
  participants: (0, zod_1.optional)((0, zod_1.array)(user_1.UserSchema)),
26
26
  type: (0, zod_1.union)([(0, zod_1.literal)("ONE_TO_ONE"), (0, zod_1.literal)("GROUP")]),
27
+ source: (0, zod_1.optional)((0, zod_1.string)()),
27
28
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.72",
3
+ "version": "1.0.73",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -19,6 +19,7 @@
19
19
  "@firebase/firestore": "^4.4.0",
20
20
  "@firebase/firestore-types": "^3.0.0",
21
21
  "@firebase/util": "^1.5.1",
22
+ "hububb-models": "^1.0.72",
22
23
  "lodash": "^4.17.21",
23
24
  "moment": "^2.29.4",
24
25
  "zod": "^3.22.4"