UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

48 lines (47 loc) 3.17 kB
export type { PageContext, PageContextServer, PageContextClient, GlobalContext, GlobalContextServer, GlobalContextClient, PageContextWithServerRouting, PageContextClientWithServerRouting, GlobalContextClientWithServerRouting } from '../shared/types.js'; export type { PageContextBuiltInServer } from '../shared/types.js'; export type { PageContextBuiltInClientWithClientRouting } from '../shared/types.js'; export type { PageContextBuiltInClientWithServerRouting } from '../shared/types.js'; export type { Config, ConfigMeta as Meta, ImportString, DataAsync, DataSync, GuardAsync, GuardSync, OnBeforePrerenderStartAsync, OnBeforePrerenderStartSync, OnBeforeRenderAsync, OnBeforeRenderSync, OnBeforeRouteAsync, OnBeforeRouteSync, OnHydrationEndAsync, OnHydrationEndSync, OnPageTransitionEndAsync, OnPageTransitionEndSync, OnPageTransitionStartAsync, OnPageTransitionStartSync, OnPrerenderStartAsync, OnPrerenderStartSync, OnRenderClientAsync, OnRenderClientSync, OnRenderHtmlAsync, OnRenderHtmlSync, RouteAsync, RouteSync, KeepScrollPosition } from '../shared/page-configs/Config.js'; export type { ConfigResolved } from '../shared/page-configs/Config/PageContextConfig.js'; export type { ConfigEnv } from '../shared/page-configs/PageConfig.js'; export type { ConfigDefinition, ConfigEffect } from '../node/plugin/plugins/importUserCode/v1-design/getVikeConfig/configDefinitionsBuiltIn.js'; export type { ConfigEntries } from '../shared/page-configs/getPageConfigUserFriendly.js'; export type { VikeConfigPublic as VikeConfig } from '../node/plugin/plugins/commonConfig.js'; export type { UrlPublic as Url } from '../utils/parseUrl.js'; export type { InjectFilterEntry } from '../node/runtime/html/injectAssets/getHtmlTags.js'; export { defineConfig } from './defineConfig.js'; import type { ConfigEnv } from '../shared/page-configs/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/plugin/plugins/importUserCode/v1-design/getVikeConfig/configDefinitionsBuiltIn.js'; /** @deprecated Replace: * `import type { Effect } from 'vike/types'` * With: * `import type { ConfigEffect } from 'vike/types'` */ type Effect = ConfigEffect; export type { Effect }; import { PageContextBuiltInClientWithServerRouting } from '../shared/types.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 '../shared/types.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 };