@webroute/routeType aliases
RequestCtx
RequestCtx<
TParams
,TQuery
,TBody
,THeaders
,TState
,TProviders
>:Simplify
<object
>
Type declaration
Name | Type |
---|---|
parse | ParseInputsFn <unknown extends TParams ? Record <string , string | undefined > : TParams , unknown extends TQuery ? Record <string , string | undefined > : TQuery , unknown extends TBody ? unknown : TBody , unknown extends THeaders ? Record <string , string | undefined > : THeaders > |
services | ServiceMap <TProviders > |
state | Simplify <TState > |
Type Parameters
Type Parameter | Default type |
---|---|
TParams | unknown |
TQuery | unknown |
TBody | unknown |
THeaders | unknown |
TState | unknown |
TProviders | unknown |