Skip to content

Documentation / @warp-drive/holodeck / mock / Scaffold

Interface: Scaffold

Defined in: mock.ts:6

Properties

body

ts
body: 
  | null
  | string
| Record<string, string>;

Defined in: mock.ts:10


headers

ts
headers: Record<string, string>;

Defined in: mock.ts:9


method

ts
method: string;

Defined in: mock.ts:11


response

ts
response: Record<string, unknown>;

Defined in: mock.ts:13


status

ts
status: number;

Defined in: mock.ts:7


statusText?

ts
optional statusText: string;

Defined in: mock.ts:8


url

ts
url: string;

Defined in: mock.ts:12

Released under the MIT License.