All files / apps/host/src/types user.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                             
import { RoomBase } from './room';
 
export interface UserInfoBase {
  authId: string;
  email: string;
  id: string;
  room: RoomBase;
  username: string;
  groups: string[];
  role: string;
}
 
export interface EmployeeBase {
  id: string;
  name: string;
  avatar: string;
}
 
export enum UserRole {
  ON_BEHALF_MANAGER = 'on_behalf_manager',
  ADMIN = 'admin',
}