Sha256: f4557521c68d9c3758334950b937ded15fccd9153565e204e5239c7fd25b050f
Contents?: true
Size: 940 Bytes
Versions: 21
Compression:
Stored size: 940 Bytes
Contents
import buildSiteActions from './site' import buildPageActions from './page' import buildSectionActions from './section' import buildSectionBlockActions from './section-block' export default (services) => ({ setDevice({ commit }, value) { commit('SET_DEVICE', value) }, setTheme({ commit }, theme) { commit('SET_THEME', theme) }, setLocale({ commit }, locale) { services.api.setLocale(locale) commit('SET_LOCALE', locale) }, markPreviewAsReady({ commit }) { commit('MARK_PREVIEW_AS_READY') }, resetPreview({ commit }) { commit('RESET_PREVIEW') }, fetchEditorSettings({ commit }) { commit('SET_EDITOR_SETTINGS', { logoUrl: window.logoUrl, primaryColor: window.primaryColor, sitePublishable: window.sitePublishable, }) }, ...buildSiteActions(services), ...buildPageActions(services), ...buildSectionActions(services), ...buildSectionBlockActions(services), })
Version data entries
21 entries across 21 versions & 1 rubygems