hububb-models 1.0.36 → 1.0.37

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.36",
3
+ "version": "1.0.37",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -1,6 +1,8 @@
1
+ import { Timestamp } from '@firebase/firestore-types';
1
2
  import { ChatMember } from './thread';
2
3
  export interface ChatMessage {
3
4
  id: string;
5
+ createdAt: Timestamp;
4
6
  threadId: string;
5
7
  authorId: string;
6
8
  author: ChatMember;
@@ -1,7 +1,9 @@
1
+ import { Timestamp } from '@firebase/firestore-types';
1
2
  import { ChatMember } from './thread';
2
3
 
3
4
  export interface ChatMessage {
4
5
  id: string;
6
+ createdAt: Timestamp;
5
7
  threadId: string;
6
8
  authorId: string;
7
9
  author: ChatMember;