Skip to content
mercury framework
GitHub

ChannelSettings

ChannelSettings = object

Defined in: types/channel-types/index.ts:398

The person’s own settings, for a channel that can show them a settings area (the HTTP surface): what the model would otherwise save when the person tells it. setTimeZone saves the time zone principal is in, by its IANA name, as the IANA list writes it; it refuses what isn’t a zone’s name, and anyone the core doesn’t admit.

setTimeZone: (principal, timeZone) => Promise<SettingOutcome<string>>

Defined in: types/channel-types/index.ts:399

Principal

string

Promise<SettingOutcome<string>>