Type Alias: TanStackRouteMapLike
API / @xmachines/play-tanstack-router / TanStackRouteMapLike
type TanStackRouteMapLike = object;Defined in: play-tanstack-router/src/tanstack-router-bridge-base.ts:69
The narrow route-map surface that TanStackRouterBridgeBase requires.
RouteMap from @xmachines/play-router satisfies it. The bridge converts a
null result into undefined internally.
getPathByStateId can receive the stateId in the form "#stateId" or in the
bare form "stateId". The bridge tries both forms. Therefore an implementation
that holds one form only still resolves the path.
Methods
getPathByStateId()
getPathByStateId(id): string | null | undefined;Defined in: play-tanstack-router/src/tanstack-router-bridge-base.ts:71
Parameters
| Parameter | Type |
|---|---|
id | string |
Returns
string | null | undefined
getStateIdByPath()
getStateIdByPath(path): string | null | undefined;Defined in: play-tanstack-router/src/tanstack-router-bridge-base.ts:70
Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
string | null | undefined