import { RoutingControllersOptions } from "../RoutingControllersOptions"; export interface IServerSettings { /** * name of project - show on log */ project?: string; /** * root dir of project */ rootDir?: string; /** * */ env?: "dev" | "development" | "prod" | "production"; /** * port */ port?: number | string; /** * */ address?: string; /** * */ required?: string[]; /** * Load mongooses, for example './models'. */ mongoose?: string; options?: RoutingControllersOptions; } export interface IServerLoader { project: any; $onInit?(): Function; $onCreateServer?(): Function; $onReady?(): Function; $onServerInitError?(error: any): Function; }