DefinitelyTyped/types/next-server/constants.d.ts
AJ Livingston 67d82a3999 Add @types/next-server / port @types/next lib (#29724)
* ported next lib to next-server

* lint fixes

* updated exports from next-server

* added maintainers from next to next-server

* removed deprecations from next-server

* added return value `false` to ServerRoute.match

* fixed formatting
2018-10-16 10:13:11 -07:00

24 lines
948 B
TypeScript

export const PHASE_EXPORT: string;
export const PHASE_PRODUCTION_BUILD: string;
export const PHASE_PRODUCTION_SERVER: string;
export const PHASE_DEVELOPMENT_SERVER: string;
export const PAGES_MANIFEST: string;
export const BUILD_MANIFEST: string;
export const REACT_LOADABLE_MANIFEST: string;
export const SERVER_DIRECTORY: string;
export const CONFIG_FILE: string;
export const BUILD_ID_FILE: string;
export const BLOCKED_PAGES: string[];
export const CLIENT_STATIC_FILES_PATH: string;
export const CLIENT_STATIC_FILES_RUNTIME: string;
export const CLIENT_STATIC_FILES_RUNTIME_PATH: string;
/** static/runtime/main.js */
export const CLIENT_STATIC_FILES_RUNTIME_MAIN: string;
/** static/runtime/webpack.js */
export const CLIENT_STATIC_FILES_RUNTIME_WEBPACK: string;
/** matches static/<buildid>/pages/<page>.js */
export const IS_BUNDLED_PAGE_REGEX: RegExp;
/** matches static/<buildid>/pages/:page*.js */
export const ROUTE_NAME_REGEX: RegExp;