Skip to main content

Module host_params

Module host_params 

Source
Expand description

VAPP-206 (spec docs/spec/apps.md §4.1): the HOST-PROVIDED binding params, the twin of packages/exponential-ui/src/host/host-params.ts (read its header). ${today}, ${now} and ${month} in the team zone, read at each bind; every host adds them to its applyTemplate and bindDataModel messages (hostParams) and the pure router fills them.

Functions§

fill_host_params
A source’s ${today}, ${now}, ${month} from the host’s params (percent-encoded like a query value). Without them it stays as written.
host_params
The params at now (epoch ms; None = the wall clock) in the team zone (minutes east of UTC at an instant; None = UTC).
with_host_params
The message with hostParams in its applyTemplate or bindDataModel body; any other message as it is.