Plumile JS API
    Preparing search index...

    Type Alias PreparedAccess<Routes>

    PreparedAccess: Record<never, never> & {
        getPrepared: (
            path: string,
        ) => PreparedOf<RouteUnion<Routes>> | undefined;
        getPreparedSegments: (path: string) => PreparedRouteSegmentSnapshot[];
    }

    Runtime helper interface augmentation for router context (added in createRouter)

    Type Parameters

    • Routes extends readonly unknown[]

    Type Declaration

    • getPrepared: (path: string) => PreparedOf<RouteUnion<Routes>> | undefined

      Retrieve the prepared object for a concrete path (if current match includes it)

    • getPreparedSegments: (path: string) => PreparedRouteSegmentSnapshot[]

      Retrieve the full prepared segment chain for a concrete path.