Builds a Clay config array from a per-section description.
It is the section builders above in their usual order, for a face that wants the whole page. A
face that needs its own sections in between calls the builders it wants and lays them out itself.
Top-level fields:
heading, intro page title and lead paragraph (both optional)
Section objects (each section is customized through its own fields):
appearanceItems [ClayConfigItem] extra controls inside the Appearance section, which
shows when there is a theme, one of these, or quietTime
clockItems [ClayConfigItem] extra controls inside the Clock section
bluetooth { description? } always shown
date { label?, description?, default?, beats?, options? }
Optional sections (present = included, omitted = excluded):
steps { label?, description?, capabilities? } the steps control in the Health section
battery { label?, description? } the battery readout control in the Health section
theme { label?, description?, options?, previews? } the theme picker. options is the theme
list, and a picker given none has nothing to offer.
previews shows a picture beside each name
clock { timeZone? } adds the alternate time zone picker to the Clock section
location { gpsDefault? } the GPS toggles and the manual city, which weather reads
weather {} marker, adds the provider picker to the Weather section
temperature {} marker, adds the unit dropdown to the Weather section
calendar { description?, items? } the iCal link, then a face's own calendar controls
stocks { description?, items? } the data source, key, and tickers, then a face's own controls
Builds a Clay config array from a per-section description.
It is the section builders above in their usual order, for a face that wants the whole page. A face that needs its own sections in between calls the builders it wants and lays them out itself.
Top-level fields: heading, intro page title and lead paragraph (both optional)
Section objects (each section is customized through its own fields): appearanceItems [ClayConfigItem] extra controls inside the Appearance section, which shows when there is a theme, one of these, or quietTime clockItems [ClayConfigItem] extra controls inside the Clock section bluetooth { description? } always shown date { label?, description?, default?, beats?, options? }
Optional sections (present = included, omitted = excluded): steps { label?, description?, capabilities? } the steps control in the Health section battery { label?, description? } the battery readout control in the Health section theme { label?, description?, options?, previews? } the theme picker. options is the theme list, and a picker given none has nothing to offer. previews shows a picture beside each name clock { timeZone? } adds the alternate time zone picker to the Clock section location { gpsDefault? } the GPS toggles and the manual city, which weather reads weather {} marker, adds the provider picker to the Weather section temperature {} marker, adds the unit dropdown to the Weather section calendar { description?, items? } the iCal link, then a face's own calendar controls stocks { description?, items? } the data source, key, and tickers, then a face's own controls