UNPKG

vike

Version:

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

55 lines (54 loc) • 3.51 kB
export type { PageContext, PageContextServer, PageContextClient, PageContextWithServerRouting, PageContextClientWithServerRouting, } from './PageContext.js'; export type { GlobalContext, GlobalContextServer, GlobalContextClient, GlobalContextClientWithServerRouting, } from './GlobalContext.js'; export type { PrerenderContextPublic as PrerenderContext } from '../node/prerender/runPrerender.js'; export type { PageContextBuiltInServer } from './PageContext.js'; export type { PageContextBuiltInClientWithClientRouting } from './PageContext.js'; export type { PageContextBuiltInClientWithServerRouting } from './PageContext.js'; export type { Config, ConfigMeta as Meta, KeepScrollPosition, } from './Config.js'; export type { ImportString } from '../node/vite/shared/importString.js'; export type { DataAsync, DataSync, GuardAsync, GuardSync, OnBeforePrerenderStartAsync, OnBeforePrerenderStartSync, OnBeforeRenderAsync, OnBeforeRenderSync, OnBeforeRouteAsync, OnBeforeRouteSync, OnHydrationEndAsync, OnHydrationEndSync, OnPageTransitionEndAsync, OnPageTransitionEndSync, OnPageTransitionStartAsync, OnPageTransitionStartSync, OnPrerenderStartAsync, OnPrerenderStartSync, OnRenderClientAsync, OnRenderClientSync, OnRenderHtmlAsync, OnRenderHtmlSync, RouteAsync, RouteSync, } from './Config.js'; export type { ConfigResolved } from './Config/ConfigResolved.js'; export type { ConfigEnv } from './PageConfig.js'; export type { ConfigDefinition, ConfigEffect, } from '../node/vite/shared/resolveVikeConfigInternal/metaBuiltIn.js'; export type { ConfigEntries } from '../shared-server-client/page-configs/resolveVikeConfigPublic.js'; export type { VikeConfig } from '../node/vite/shared/resolveVikeConfigInternal.js'; export type { UrlPublic as Url } from '../utils/parseUrl.js'; export type { InjectFilterEntry } from '../server/runtime/renderPageServer/html/injectAssets/getHtmlTags.js'; export { defineConfig } from './defineConfig.js'; export type { _LoadDeclareGlobal__VIKE__IS } from '../node/vite/plugins/pluginReplaceConstantsGlobalThis.js'; import type { ConfigEnv } from './PageConfig.js'; /** @deprecated Replace: * `import type { Env } from 'vike/types'` * With: * `import type { ConfigEnv } from 'vike/types'` */ type Env = ConfigEnv; export type { Env }; import type { ConfigEffect } from '../node/vite/shared/resolveVikeConfigInternal/metaBuiltIn.js'; /** @deprecated Replace: * `import type { Effect } from 'vike/types'` * With: * `import type { ConfigEffect } from 'vike/types'` */ type Effect = ConfigEffect; export type { Effect }; export type { EarlyHint } from '../server/runtime/renderPageServer/getEarlyHints.js'; import { PageContextBuiltInClientWithServerRouting } from './PageContext.js'; /** @deprecated Replace: * `import type { PageContextBuiltInClient } from 'vike/types'` * With: * `import type { PageContextBuiltInClientWithServerRouting } from 'vike/types'` * Or: * `import type { PageContextBuiltInClientWithClientRouting } from 'vike/types'` */ type PageContextBuiltInClient<Page = any> = PageContextBuiltInClientWithServerRouting<Page>; export type { PageContextBuiltInClient }; import { PageContextBuiltInServer } from './PageContext.js'; /** @deprecated Replace: * `import type { PageContextBuiltIn } from 'vike/types'` * With: * `import type { PageContextBuiltInServer } from 'vike/types'` */ type PageContextBuiltIn<Page = any> = PageContextBuiltInServer<Page>; export type { PageContextBuiltIn }; export type { Server } from './Server.js';