securityos/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.d.ts

24 lines
776 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import type webpack from 'webpack';
import type { SizeLimit } from '../../../../../types';
export type EdgeSSRLoaderQuery = {
absolute500Path: string;
absoluteAppPath: string;
absoluteDocumentPath: string;
absoluteErrorPath: string;
absolutePagePath: string;
buildId: string;
dev: boolean;
isServerComponent: boolean;
page: string;
stringifiedConfig: string;
appDirLoader?: string;
pagesType: 'app' | 'pages' | 'root';
sriEnabled: boolean;
incrementalCacheHandlerPath?: string;
preferredRegion: string | string[] | undefined;
middlewareConfig: string;
serverActionsBodySizeLimit?: SizeLimit;
};
declare const edgeSSRLoader: webpack.LoaderDefinitionFunction<EdgeSSRLoaderQuery>;
export default edgeSSRLoader;