Initial boiler plate project
This commit is contained in:
13
node_modules/next/dist/server/async-storage/request-async-storage-wrapper.d.ts
generated
vendored
Normal file
13
node_modules/next/dist/server/async-storage/request-async-storage-wrapper.d.ts
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
/// <reference types="node" />
|
||||
import type { BaseNextRequest, BaseNextResponse } from '../base-http';
|
||||
import type { IncomingMessage, ServerResponse } from 'http';
|
||||
import type { RequestStore } from '../../client/components/request-async-storage.external';
|
||||
import type { RenderOpts } from '../app-render/types';
|
||||
import type { AsyncStorageWrapper } from './async-storage-wrapper';
|
||||
import type { NextRequest } from '../web/spec-extension/request';
|
||||
export type RequestContext = {
|
||||
req: IncomingMessage | BaseNextRequest | NextRequest;
|
||||
res?: ServerResponse | BaseNextResponse;
|
||||
renderOpts?: RenderOpts;
|
||||
};
|
||||
export declare const RequestAsyncStorageWrapper: AsyncStorageWrapper<RequestStore, RequestContext>;
|
||||
Reference in New Issue
Block a user