live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/gate


@orangecheck/gate / MinimalReq

Interface: MinimalReq

Defined in: types.ts:19

Shape that the gate middleware reads from. Works with Express req, Next.js NextApiRequest, or any object with the relevant fields.

Properties

PropertyTypeDefined in
<a id="property-body"></a> body?anytypes.ts:24
<a id="property-cookies"></a> cookies?Record&lt;string, string | undefined>types.ts:21
<a id="property-headers"></a> headers?Record&lt;string, string | string[] | undefined>types.ts:20
<a id="property-method"></a> method?stringtypes.ts:26
<a id="property-query"></a> query?Record&lt;string, string | string[] | undefined>types.ts:22
<a id="property-url"></a> url?stringtypes.ts:25