Ghost/ghost/custom-theme-settings-service/lib
Kevin Ansfield bc31453dde Added .updateSettings() to custom theme settings service
refs https://github.com/TryGhost/Team/issues/1070

- receives settings array as provided by through Ghost's API
- errors if a provided setting key does not already exist in the database (settings are only created when syncing with a theme)
- errors if a provided select setting value does not match the theme-provided options
- providing there were no errors, updates each value in the database if it's changed along with the internal cache of full setting objects and the public key/value cache
- returns the same list of settings as `.listSettings()` for API consistency
2021-09-28 15:50:46 +01:00
..
bread.js First pass at custom-theme-settings-service functionality 2021-09-22 21:56:45 +01:00
cache.js Fixed cache.populate() leaving behind old settings 2021-09-28 15:50:46 +01:00
service.js Added .updateSettings() to custom theme settings service 2021-09-28 15:50:46 +01:00