Ghost/core/frontend/services/theme-engine
Kevin Ansfield 04dd409243
Added syncing and theme exposure of custom theme settings (#13354)
refs https://github.com/TryGhost/Team/issues/1070

- added `@tryghost/custom-theme-settings-service` as a dependency
- `core/server/services/custom-theme-settings` creates an instance of the new service passing in the model used for storing the setting keys/values and a cache instance
- requiring `core/shared/services/custom-theme-settings-cache` creates a cache instance, it has no dependencies so can be required anywhere and the first require will initialize the shared instance
- updated the theme activation bridge to trigger the theme settings service to sync the newly activated theme settings and populate the cache
- updated theme validation to pass `labs` through as an option so that we get custom theme settings back as part of the checked theme as that's what is passed to the custom theme settings service
2021-09-23 12:44:39 +01:00
..
config Moved theme config to new theme engine service 2021-04-21 14:21:32 +01:00
engines Moved theme engines to new theme engine service 2021-04-22 21:05:01 +01:00
handlebars Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
i18n Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
active.js Removed passing of error to active theme 2021-07-07 14:38:08 +01:00
engine.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
index.js Moved activate from themes to the bridge 2021-04-27 13:52:19 +01:00
middleware.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
preview.js Moved theme preview mw to new theme engine service 2021-04-24 19:56:00 +01:00