Home > @uniformdev/project-map
project-map package
Classes
<table><thead><tr><th>
Class
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> </tbody></table>
Functions
<table><thead><tr><th>
Function
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
getNodeLocalePath(node, locale)
</td><td>
Given a project map node and a locale, resolves the correct path for the locale This is computed as follows: - If the locale is unspecified, then use the fallback path - If the locale is specified, then use the locale-specific path if it exists, otherwise use the fallback path
</td></tr> <tr><td>
getNodeLocalePath(node, locale)
</td><td>
</td></tr> <tr><td>
getRouteAlternateLocalesUrls(routeResponse)
</td><td>
Gets all possible locale specific URLs for a composition route response
This is appropriate for generating links to other locale versions of the current composition, such as for alternate language tags, language switchers, etc.
The URLs will be: * Computed based on the attached project map node path * Not include a base URL from the project map, if one is set * If a dynamic locale path segment exists, it will be rewritten automatically to the target locale
</td></tr> </tbody></table>
Variables
<table><thead><tr><th>
Variable
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td></tr> </tbody></table>
Type Aliases
<table><thead><tr><th>
Type Alias
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
ProjectMapNodeAllowedQueryString
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
ProjectMapNodeUpsertRequestNode
</td><td>
</td></tr> <tr><td>
ProjectMapNodeUpsertRequestNodeLocale
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
ProjectMapNodeWithProjectMapReference
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> </tbody></table>