Skip to content

ResolvedPath

Defined in: decoupled-router-client/src/types.ts:55

Shape of decoupled router response for a resolved path.

entity: object;

Defined in: decoupled-router-client/src/types.ts:64

On a backend with the jsonapi_multilingual module, entity also carries langcode: the language of the translation the path resolved to, ready to be passed on as the langCode query parameter of a follow-up JSON:API request.

[entityProperty: string]: string
uuid: string;

isHomePath: boolean;

Defined in: decoupled-router-client/src/types.ts:57


jsonapi: object;

Defined in: decoupled-router-client/src/types.ts:69

[jsonapiProperty: string]: string
resourceName: `${string}--${string}`;

label: string;

Defined in: decoupled-router-client/src/types.ts:68


meta: object;

Defined in: decoupled-router-client/src/types.ts:73

[metaProperty: string]: string | object

resolved: string;

Defined in: decoupled-router-client/src/types.ts:56