IWorkspaceSettingsService
Home > @gooddata/sdk-backend-spi > IWorkspaceSettingsService
IWorkspaceSettingsService interface
This query service provides access to feature flags that are in effect for particular workspace.
Signature:
export interface IWorkspaceSettingsService
Methods
Method | Description |
---|---|
deleteColorPalette() | Deletes color palette from workspace settings returning chart colors to default. |
deleteTheme() | Deletes theme from workspace settings returning workspace styling to default. |
getSettings() | Asynchronously queries actual feature flags. |
getSettingsForCurrentUser() | Asynchronously queries feature flags taking into account settings from both the workspace and the current user. |
setColorPalette(colorPaletteId) | Sets color palette for current workspace. |
setDateFormat(dateFormat) | Sets date format for current workspace. |
setLocale(locale) | Sets locale for current workspace. |
setTheme(themeId) | Sets theme for current workspace. |
setTimezone(timezone) | Sets timezone for current workspace. |
setWeekStart(weekStart) | Sets first day of week for current workspace. |