Preferences API
quip.apps.Preferences.prototype
getAll
Function() => { [key: string]: string }
Returns a dictionary of the preferences that have been stored.
getForKey
Function(key: string) => string
Returns the string value for the given preference key.
save
Function({ [key: string]: string }) => void
Saves the given set of preferences. Only keys that are included in this prefs dictionary are modified, any other keys that already exist on the user are preserved. In order to delete a preference key, the caller must include that key in the prefs object with an undefined
value.
clear
Function() => void
Clears all stored preferences.