1 | import type { RequestHeaders } from "./RequestHeaders.js";
|
2 | import type { RequestMethod } from "./RequestMethod.js";
|
3 | import type { RequestRequestOptions } from "./RequestRequestOptions.js";
|
4 | import type { Url } from "./Url.js";
|
5 | /**
|
6 | * Generic request options as they are returned by the `endpoint()` method
|
7 | */
|
8 | export type RequestOptions = {
|
9 | method: RequestMethod;
|
10 | url: Url;
|
11 | headers: RequestHeaders;
|
12 | body?: any;
|
13 | request?: RequestRequestOptions;
|
14 | };
|