export interface Session { /** * Whether the session is active or not */ active: boolean; /** * Enabled addons */ addons: Record; /** * Whether the user is an admin or not */ admin: boolean; /** * Apm config */ apm: Record; /** * Name of the application */ application: string; /** * Name of the application database */ database: string; /** * Application's display name */ displayName: string; expirationTime?: string; /** * Feature switches */ features: Record; /** * Session ID */ id: string; /** * Current language */ language: string; /** * Time of login */ loginTime: string; /** * Time of logout */ logoutTime?: string; /** * Application service number */ serviceNumber?: number; /** * Time before the session times out */ sessionTimeout: number; /** * ID of the user */ userId: number; /** * Name of the user's workstation */ workstation: string; }