Home > @uniformdev/project-map > GetActiveEditionOptions
GetActiveEditionOptions interface
Warning: This API is now obsolete.
pre-release functionality subject to change
Signature:
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
editions | Array<T> | Node to pick the active edition for | |
selectEdition | (edition: T) => ObjectWithEditionMetadata | ||
selectEnabledLocales | (edition: T) => string[] | Selects locales that are enabled on an edition | |
selectId | (edition: T) => string | Selects the composition/entry ID from the edition | |
targetLocale | string | undefined | The current locale to resolve an edition for. When undefined, the default edition/composition is always matched if it exists. |