Recipe-app main
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import type { IncomingMessage, ServerResponse } from 'http';
|
||||
import type { __ApiPreviewProps } from '../.';
|
||||
import type { RevalidateFn } from '../../lib/router-utils/router-server-context';
|
||||
import type { InstrumentationOnRequestError } from '../../instrumentation/types';
|
||||
type ApiContext = __ApiPreviewProps & {
|
||||
trustHostHeader?: boolean;
|
||||
allowedRevalidateHeaderKeys?: string[];
|
||||
hostname?: string;
|
||||
multiZoneDraftMode?: boolean;
|
||||
dev: boolean;
|
||||
internalRevalidate?: RevalidateFn;
|
||||
};
|
||||
export declare function apiResolver(req: IncomingMessage, res: ServerResponse, query: any, resolverModule: any, apiContext: ApiContext, propagateError: boolean, dev?: boolean, page?: string, onError?: InstrumentationOnRequestError): Promise<void>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user