creating rooms fine, but not displaying them yet

This commit is contained in:
Arjun Patel
2022-01-17 00:32:12 -08:00
parent e94ea58501
commit 1f22e98ad0
4 changed files with 144 additions and 32 deletions
+11 -6
View File
@@ -1,21 +1,26 @@
import { Timestamp } from "firebase/firestore";
export default class Room {
id: string;
title: string;
subtitle: string;
name: string;
description: string;
roomLink: string; // google meet link for now
link: string; // google meet link for now
roomMembers: string[]; //userIds of "mandatory"/invited people including the person who created it
members: string[]; //userIds of "mandatory"/invited people including the person who created it
attachments: string[]; // the links themselves (NOT Ids)...there will be duplicate entries in the attachments table which will be created
roomType: RoomType;
type: RoomType;
approximateDateTime: string; // vaguely say when the meeting should be...give user pointers
createdDate: Timestamp;
createdByUserId: string;
}
enum RoomType {
export enum RoomType {
now = "now",
scheduled = "scheduled", // one time sort of standard meeting
recurring = "recurring", //daily standup