Pure push-notification logic: locale resolution and template rendering.
The definition registry and the defpush macro live in the shell
(boundary.push.shell.registry) — this namespace holds no mutable state.
Pure push-notification logic: locale resolution and template rendering. The definition registry and the `defpush` macro live in the shell (boundary.push.shell.registry) — this namespace holds no mutable state.
(build-notification push-def data locale)Pure: resolve locale + render templates into ready-to-send map.
Pure: resolve locale + render templates into ready-to-send map.
(render-template template data)Interpolate {{var}} placeholders with data map values.
Interpolate {{var}} placeholders with data map values.
(resolve-content content locale)Resolve localized content. Fallback: requested -> :en -> first available.
Resolve localized content. Fallback: requested -> :en -> first available.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |