hububb-models 1.0.40 → 1.0.41

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -6,7 +6,7 @@ export interface ChatMessage {
6
6
  createdAt: Timestamp;
7
7
  threadId: string;
8
8
  authorId: string;
9
- author: User;
9
+ author?: User;
10
10
  contentType: string;
11
11
  body: string;
12
12
  seen: SeenBy;
@@ -8,7 +8,7 @@ export interface ChatMessage {
8
8
  createdAt: Timestamp;
9
9
  threadId: string;
10
10
  authorId: string;
11
- author: User;
11
+ author?: User;
12
12
  contentType: string;
13
13
  body: string;
14
14
  seen: SeenBy;