Skip to content
module@warp-drive/holodeck/mock

Interface Scaffold ​

ts
interface Scaffold {
  body: 
  | string
  | Record<string, string>
  | null;
  headers: Record<string, string>;
  method: string;
  response: Record<string, unknown>;
  status: number;
  statusText?: string;
  url: string;
}

Defined in: mock.ts:14

Properties ​

body ​

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

Defined in: mock.ts:18


headers ​

ts
headers: Record<string, string>;

Defined in: mock.ts:17


method ​

ts
method: string;

Defined in: mock.ts:19


response ​

ts
response: Record<string, unknown>;

Defined in: mock.ts:21


status ​

ts
status: number;

Defined in: mock.ts:15


statusText? ​

ts
statusText?: string;

Defined in: mock.ts:16


url ​

ts
url: string;

Defined in: mock.ts:20

Released under the MIT License.