Home > @uniformdev/project-map > GetActiveEditionOptions

GetActiveEditionOptions interface

Warning: This API is now obsolete.

pre-release functionality subject to change

Signature:

Properties

PropertyModifiersTypeDescription
editionsArray<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) => stringSelects the composition/entry ID from the edition
targetLocalestring | undefinedThe current locale to resolve an edition for. When undefined, the default edition/composition is always matched if it exists.