Documentation / @zerotal/client / index / QueryOf
Type Alias: QueryOf<Routes, Method, Path>
QueryOf<
Routes,Method,Path> =`${Method} ${Path}`extends keyofRoutes?Routes[`${Method} ${Path}`] extendsobject?Q:Record<string,string|number|boolean|undefined> :Record<string,string|number|boolean|undefined>
Defined in: client/src/types.ts:104
Get the query type for a specific method + path combination.
Type Parameters
Routes
Routes extends ApiRouteMap
Method
Method extends HttpMethod
Path
Path extends string