interface RouteDefinition<K> {
    bundlePath: string;
    filename: string;
    kind: K;
    page: string;
    pathname: string;
}

Type Parameters

Properties

bundlePath: string
filename: string
kind: K
page: string

Describes the pathname including all internal modifiers such as intercepting routes, parallel routes and route/page suffixes that are not part of the pathname.

pathname: string

The pathname (including dynamic placeholders) for a route to resolve.