adding message model

This commit is contained in:
Arjun Patel
2022-01-16 02:08:56 -08:00
parent 82c7f1394c
commit b15e5a3cb9
+15
View File
@@ -0,0 +1,15 @@
import { Timestamp } from "firebase/firestore";
export class Message {
id: string;
audioDataUrl: string;
senderUserId: string;
receiverUserId: string;
senderReceiver: string[]; // composite to make querying easier in the future
createdDate: Timestamp;
// firstListenDate: Timestamp;
}