/** * Fulminate Admin app options. */ export interface AdminOptions { /** * Should admin access be enabled. * Defaults to true if at least one entity is marked with @AdminEntity decorator. * Defaults to false otherwise. */ enabled?: boolean; /** * Name of the model that describes users in your project. You need to provide the name of the class as string. * Defaults to 'User'. * NOTE: If you do not provide the value here and the system fails to find entity named 'User', anyone will be * able to enter the administration pages. */ userModelName?: string; /** * List of user roles defined in your project, that you want to use for role validation on entering different * administration pages. * Defaults to [ 'admin', 'superadmin' ]. */ adminRolesList?: string[]; }