Skip to main content

Interfaces

IDynamicObject#

export interface IDynamicObject {  [key: string]: any;}

ExpressiveTeaApplication#

export interface ExpressiveTeaApplication {  application: Express;  server: http.Server;  secureServer?: https.Server;}

ExpressiveTeaServerProps#

export interface ExpressiveTeaServerProps {  port?: number;  [key: string]: any;}

ExpressiveTeaPluginProps#

export interface ExpressiveTeaPluginProps {  name: string;  priority: number;}

ExpressiveTeaModuleProps#

export interface ExpressiveTeaModuleProps {  controllers: any[];  providers: any[];  mountpoint: string;}

ExpressiveTeaStaticFileServer#

export interface ExpressiveTeaStaticFileServer {  dotfiles?: 'allow' | 'deny' | 'ignore';  etag?: boolean;  extensions?: string[];  index?: boolean;  maxAge?: string;  redirect?: boolean;
  setHeaders?(res, path, stat);}

ExpressiveTeaDirective#

export interface ExpressiveTeaDirective {  name: string;  settings: any[];}

ExpressiveTeaHandlerOptions#

export interface ExpressiveTeaHandlerOptions {  verb: string;  route: string;  handler: ExpressiveTeaMiddleware & ExpressiveTeaMiddlewareExtends;  target: unknown;  propertyKey: string | symbol;}

ExpressiveTeaArgumentOptions#

export interface ExpressiveTeaArgumentOptions {  key: string | symbol;  index: number;  type: symbol;  arguments?: string | string [];}

ExpressiveTeaAnnotations#

export interface ExpressiveTeaAnnotations {  type: string;  arguments?: any[];}

ExpressiveTeaMiddlewareExtends#

export interface ExpressiveTeaMiddlewareExtends {  $middlewares?: ExpressMiddlewareHandler[];}