vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
24 lines (23 loc) • 1.07 kB
TypeScript
export { debugPageFiles };
export type { PageContextDebugRouteMatches };
import type { RouteMatches } from '../../../shared/route/index.js';
import type { ClientDependency } from '../../../shared/getPageFiles/analyzePageClientSide/ClientDependency.js';
import type { PageFile } from '../../../shared/getPageFiles.js';
import type { GlobalContextServerInternal } from '../globalContext.js';
type PageContextDebugRouteMatches = {
_debugRouteMatches: 'ROUTING_ERROR' | RouteMatches;
};
declare function debugPageFiles({ pageContext, isHtmlOnly, isClientRouting, pageFilesLoaded, pageFilesServerSide, pageFilesClientSide, clientEntries, clientDependencies, }: {
pageContext: {
urlOriginal: string;
pageId: string;
_globalContext: GlobalContextServerInternal;
} & PageContextDebugRouteMatches;
isHtmlOnly: boolean;
isClientRouting: boolean;
pageFilesLoaded: PageFile[];
pageFilesClientSide: PageFile[];
pageFilesServerSide: PageFile[];
clientEntries: string[];
clientDependencies: ClientDependency[];
}): void;