import { Route } from '@angular/router'; import { Type } from '@angular/core'; export interface IFASButtonList { routerUrl: IFASDefaultRoutePath | string; label: string; icon: string; } export type IFASDefaultRoutePath = | 'dashboard' | 'statistic' | 'subscriptions' | 'messages' | 'operators' | 'users'; export type IFASUserRole = 'PlatformOperator' | 'OSK'; export interface IFASDefaultPath { path: IFASDefaultRoutePath; component: Type; } export interface IFASDefaultButtonsSettings { path: IFASDefaultRoutePath, label?: string, icon?: string } export interface IFASAdminConfigInitializer { companyName: string; accessRules: IFASAccessRules[] | null; specButtonList?: IFASButtonList[]; customRoutes?: Route[]; defaultButtonSettings?: IFASDefaultButtonsSettings[]; } export interface IFASAccessRules { role: IFASUserRole, access: Array }