AliasRouteSchema: {
    action?: string;
    busboyConfig?: BusboyConfig<onEventBusboyConfig<MoleculerWebTypes.Alias>>;
    except?: string[];
    handler?: AliasFunction;
    method?: "GET" | "POST" | "PUT" | "DELETE" | "*" | "HEAD" | "OPTIONS" | "PATCH" | string;
    only?: string[];
    path?: string;
    type?: "call" | "multipart" | "stream" | string;
    [k: string]: any;
}

Type declaration

  • [k: string]: any
  • Optional action?: string
  • Optional busboyConfig?: BusboyConfig<onEventBusboyConfig<MoleculerWebTypes.Alias>>
  • Optional except?: string[]
  • Optional handler?: AliasFunction
  • Optional method?: "GET" | "POST" | "PUT" | "DELETE" | "*" | "HEAD" | "OPTIONS" | "PATCH" | string
  • Optional only?: string[]
  • Optional path?: string
  • Optional type?: "call" | "multipart" | "stream" | string