ServerProperties.ts 345 B

123456789101112131415
  1. import { WebSocketHandler } from '../base/websocket';
  2. type ServerProperties = {
  3. port: number,
  4. locale?: string,
  5. i18nPath?: string,
  6. middlewaresPath?: string,
  7. routesPath?: string,
  8. viewEngine?: string,
  9. viewsPath?: string,
  10. wsHandlers?: {[url: string] : WebSocketHandler},
  11. options?: {[key: string] : any}
  12. };
  13. export { ServerProperties };