🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
17
node_modules/astro/dist/core/request.d.ts
generated
vendored
Normal file
17
node_modules/astro/dist/core/request.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/// <reference types="node" />
|
||||
import type { IncomingHttpHeaders } from 'node:http';
|
||||
import type { LogOptions } from './logger/core';
|
||||
type HeaderType = Headers | Record<string, any> | IncomingHttpHeaders;
|
||||
type RequestBody = ArrayBuffer | Blob | ReadableStream | URLSearchParams | FormData;
|
||||
export interface CreateRequestOptions {
|
||||
url: URL | string;
|
||||
clientAddress?: string | undefined;
|
||||
headers: HeaderType;
|
||||
method?: string;
|
||||
body?: RequestBody | undefined;
|
||||
logging: LogOptions;
|
||||
ssr: boolean;
|
||||
locals?: object | undefined;
|
||||
}
|
||||
export declare function createRequest({ url, headers, clientAddress, method, body, logging, ssr, locals, }: CreateRequestOptions): Request;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue