toddler.app
Namespace where app level context are defined.
change-locale
Context holds function that will store locale
change-theme
Context holds function that will store theme state
graphql-url
GraphQL endpoint URL
layout
listen-to-signal
(listen-to-signal topic handler)
Function will register listener to global signal-channel topic and function that will handle those events.
Returns channel that when closed will stop registered handler
locale
User locale keyword :en, :en_US, de, zh_CN, :es …
signal-channel
Signal channel is channel that can be used to publish global app events. It is used by toddler.core/use-toddler-publisher
hook to put events to signal-channel
signal-publisher
Publisher channel is channel that can be used to listen global app events. It is used by toddler.core/use-toddler-listener
hook to register to some topic and handle that events
theme
Theme name. Should be string
token
Access token that frontend can use to talk to resource provider
url
Root URL of application
user
Context that will hold user information. Like first name, last name, roles, permissions
window
Will hold data about window dimensions {:height x :width y}