next
Version:
The React Framework
25 lines (24 loc) • 720 B
TypeScript
export declare const enum RouteKind {
/**
* `PAGES` represents all the React pages that are under `pages/`.
*/
PAGES = "PAGES",
/**
* `PAGES_API` represents all the API routes under `pages/api/`.
*/
PAGES_API = "PAGES_API",
/**
* `APP_PAGE` represents all the React pages that are under `app/` with the
* filename of `page.{j,t}s{,x}`.
*/
APP_PAGE = "APP_PAGE",
/**
* `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the
* filename of `route.{j,t}s{,x}`.
*/
APP_ROUTE = "APP_ROUTE",
/**
* `IMAGE` represents all the images that are generated by `next/image`.
*/
IMAGE = "IMAGE"
}