theme object
Optional
themeId: stringtheme id
Optional
realm: stringrealm name
a promise that resolves to a theme object
Create an empty theme export template
an empty theme export template
Delete theme by id
theme id
Optional
realm: stringrealm name
a promise that resolves to a themes object
Delete theme by name
theme name
Optional
realm: stringrealm name
a promise that resolves to a themes object
Delete all themes
Optional
realm: stringrealm name
a promise that resolves to an array of themes
Export all themes. The response can be saved to file as is.
Promise resolving to a ThemeExportInterface object.
Get theme by id
theme id
Optional
realm: stringrealm name
a promise that resolves to a theme object
since v2.0.0 use readTheme instead
readTheme(themeId: string, realm?: string): Promise<ThemeSkeleton>
Get theme by name
theme name
Optional
realm: stringrealm name
a promise that resolves to a theme object
since v2.0.0 use readThemeByName instead
readThemeByName(themeName: string, realm?: string): Promise<ThemeSkeleton>
Get all themes
a promise that resolves to an array of themes
Import themes
import data
a promise resolving to an array of theme objects
Put theme by id
theme id
theme object
Optional
realm: stringrealm name
a promise that resolves to a theme object
since v2.0.0 use updateTheme or createTheme instead
updateTheme(themeId: string, themeData: ThemeSkeleton, realm?: string): Promise<ThemeSkeleton>
createTheme(themeData: ThemeSkeleton, themeId?: string, realm?: string): Promise<ThemeSkeleton>
Put theme by name
theme name
theme object
Optional
realm: stringrealm name
a promise that resolves to a theme object
since v2.0.0 use updateThemeByName instead
updateThemeByName(themeName: string, themeData: ThemeSkeleton, realm?: string): Promise<ThemeSkeleton>
Put all themes
a promise that resolves to a themes object
since v2.0.0 use updateThemes instead
updateThemes(themeMap: Map<string, ThemeSkeleton>): Promise<Map<string, ThemeSkeleton>>
Read theme by id
theme id
Optional
realm: stringrealm name
a promise that resolves to a theme object
Read theme by name
theme name
Optional
realm: stringrealm name
a promise that resolves to a theme object
Read all themes
a promise that resolves to an array of themes
Update theme
theme id
theme object
Optional
realm: stringrealm name
a promise that resolves to a theme object
Update theme by name
theme name
theme object
Optional
realm: stringrealm name
a promise that resolves to a theme object
Update all themes
a promise that resolves to a themes object
Update theme