team creation clean done

This commit is contained in:
Arjun Patel
2022-01-14 12:17:59 -08:00
parent 46ab74119f
commit 00d256b43b
7 changed files with 103 additions and 14 deletions
+3 -1
View File
@@ -8,7 +8,9 @@ export class Team {
allowedUserCount:number;
createdBy: string;
companySite: string;
createdByUserId: string;
createdDate: Timestamp;
lastUpdatedDate: Timestamp;
+5
View File
@@ -1,3 +1,5 @@
import { Timestamp } from "firebase/firestore";
export class TeamMember {
id: string;
userId: string;
@@ -8,6 +10,9 @@ export class TeamMember {
role: TeamMemberRole
status: TeamMemberStatus
createdDate: Timestamp
lastUpdatedDate: Timestamp
}
export enum TeamMemberRole {