T
Bucket
A Bucket: a named, persisted group of settings. Keys are dot-separated paths.
type Bucket = { … }Members
clear
() => voidDeletes every setting in the Bucket.
remove
(key: string) => voidDeletes a value and prunes the objects it leaves empty.
set
(key: string, value: SettingsValue) => voidWrites a value, creating intermediate objects.
toggle
(key: string, def: boolean) => voidFlips a boolean against its current value, or def when the key is not set.