const customThemeSettingsService = require('../../services/custom-theme-settings');
module.exports = {
docName: 'custom_theme_settings',
browse: {
permissions: true,
query() {
return customThemeSettingsService.api.listSettings();
}
},
edit: {
headers: {
cacheInvalidate: true
query(frame) {
return customThemeSettingsService.api.updateSettings(frame.data.custom_theme_settings);
};