import { UserPermission, UserOptions } from './types'; /** * The user class * @author Eirik Måseidvåg */ export default class User { /** * The users unique ID * @public */ id: string; /** * The user's permission * @public */ permissions: Array; /** * Determines weather or not the user is presenting */ isPresenting: boolean; /** * The users name * @public */ name: string; /** * The tactic the user is currently viewing * @public */ onTacticId: string | undefined; /** * The view the user is currently viewing */ onViewId: string | undefined; /** * The team the user currently has selected * @public */ onTeamId: string | undefined; /** * Construct the object * @param options: UserOptions */ constructor(options: UserOptions); }