IRoute

@justaname.id/sdkDocs


@justaname.id/sdk / IRoute

Interface: IRoute<Request, Response, Headers, Params, OmitParams, ExtraParams>

Extended by

Type Parameters

Request extends IRequest = IRequest

Response extends IResponse = IResponse

Headers extends IHeaders = IHeaders

Params extends keyof Request = never

OmitParams extends keyof Request = never

ExtraParams extends Record<string, any> = object

Properties

headers

headers: Headers

Defined in

packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22


params

params: Omit<MakeOptionalProps<Request, Params>, OmitParams> & ExtraParams

Defined in

packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23


request

request: Request

Defined in

packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20


response

response: Response

Defined in

packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21


route

route: string

Defined in

packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24

Last updated