next
Version:
The React Framework
18 lines (17 loc) • 787 B
TypeScript
import { RouteKind } from '../route-kind';
import { RouteDefinition } from './route-definition';
export interface AppPageRouteDefinition extends RouteDefinition<RouteKind.APP_PAGE> {
readonly appPaths: ReadonlyArray<string>;
}
export interface AppPageInterceptingRouteDefinition extends AppPageRouteDefinition {
readonly interceptingRoute: string;
/**
* The pathname (including dynamic placeholders) for a route to resolve that
* is used for the browser to display in the address bar. This is used in
* place of `pathname` when the route is rendering.
*
* For intercepting routes, this should be the original pathname including
* the interception route markers (`(..)(..)`, `(..)`, and `(...)`).
*/
readonly pathnameOverride: string;
}