cleaning, prolly broke a lot but whatever

This commit is contained in:
Arjun Patel
2022-02-01 10:38:45 -08:00
parent 462139b930
commit 4073d526bd
54 changed files with 84 additions and 5402 deletions
+5 -5
View File
@@ -5,15 +5,15 @@ export default class Conversation {
id: string = uuid();
type: ConversationType;
name: string; // engineering, general, arjun and jacob...
name?: string; // engineering, general, arjun, jacob and rachel...
createdDate: Timestamp = Timestamp.now();
createdByUserId: string;
constructor(
_name: string,
_createdByUserId: string,
_type: ConversationType
_type: ConversationType,
_name?: string
) {
this.name = _name;
this.createdByUserId = _createdByUserId;
@@ -22,6 +22,6 @@ export default class Conversation {
}
export enum ConversationType {
personal = "personal",
group = "group",
personal = "personal", // no conversation name then
group = "group", // must have conversation name
}