amelinium.common.populators
added in 1.0.0
amelinium service, common populators.
auth-db
(auth-db req _ _)
Injects authorization data source directly into a request map. Uses global authentication configuration from a current route data.
auth-types
(auth-types req _ _)
Injects authorization configurations directly into a request map. Uses global authentication configuration from a current route data.
i18n-translator
(i18n-translator req _ _)
Creates shared translator for currently detected language.
i18n-translator-nd
(i18n-translator-nd req _ _)
Creates shared translator for currently detected language. The translator returns nil
if the key is not found.
i18n-translator-sub
(i18n-translator-sub req _ _)
Creates shared translator (supporting namespaces and keys) for currently detected language.
i18n-translator-sub-nd
(i18n-translator-sub-nd req _ _)
Creates shared translator (supporting namespaces and keys) for currently detected language. The translator returns nil
if the key is not found.
oplog-logger
(oplog-logger req _ _)
Injects operations logger function into a request map.