UNPKG

vike

Version:

(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.

15 lines (14 loc) • 827 B
export { getPageContextPublicClient }; export type { PageContextPublicClient }; export type { PageContextPublicProxyClient }; import type { PageContextConfig } from '../../shared-server-client/getPageFiles.js'; import type { PageContextInternalClient_ClientRouting } from '../../types/PageContext.js'; import type { PageContextPublicMinimum } from '../../shared-server-client/getPageContextPublicShared.js'; import '../assertEnvClient.js'; type PageContextPublicClient = PageContextPublicMinimum & PageContextInternalClient_ClientRouting & PageContextConfig & { urlOriginal: string; }; type PageContextPublicProxyClient = ReturnType<typeof getPageContextPublicClient>; declare function getPageContextPublicClient<PageContext extends PageContextPublicClient>(pageContext: PageContext): PageContext & { Page: unknown; };