starting to add models and eslint for common

This commit is contained in:
Arjun Patel
2022-01-31 15:17:29 -08:00
parent 8c14106a10
commit 2f8b23e664
8 changed files with 2576 additions and 15 deletions
+17
View File
@@ -0,0 +1,17 @@
import { v4 as uuid } from "uuid";
import { Timestamp } from "firebase/firestore";
export default class Conversation {
id: string = uuid();
name: string; // engineering, general, arjun and jacob...
createdDate: Timestamp = Timestamp.now()
createdByUserId: string
constructor(name: string createdByUserId: string) {
this.name = name;
this.createdByUserId = createdByUserId
}
}