ShokupanHandler
ShokupanHandler<
State,Params> = (ctx,next?) =>Promise<any> |any&object
Defined in: src/util/types.ts:332
Type Declaration
Section titled “Type Declaration”isBuiltin?
Section titled “isBuiltin?”
optionalisBuiltin:boolean
metadata?
Section titled “metadata?”
optionalmetadata:RouteMetadata
originalHandler?
Section titled “originalHandler?”
optionaloriginalHandler:ShokupanHandler<State,Params>
pluginName?
Section titled “pluginName?”
optionalpluginName:string
Type Parameters
Section titled “Type Parameters”State extends Record<string, any> = Record<string, any>
Params
Section titled “Params”Params extends Record<string, string> = Record<string, string>