golden hour
/home/godaofbq/dev.hyperredbed.com/wp-content/plugins/essential-blocks/src/store
⬆️ Go Up
Upload
File/Folder
Size
Actions
actions.js
6.13 KB
Del
OK
constant.js
1.79 KB
Del
OK
controls.js
3.72 KB
Del
OK
index.js
496 B
Del
OK
reducer.js
2.77 KB
Del
OK
resolvers.js
1.47 KB
Del
OK
selectors.js
1.94 KB
Del
OK
Edit: resolvers.js
import * as actions from "./actions"; /** * getGlobalColors resolver * @returns */ export function* getGlobalColors() { let globalColors = yield actions.fetchGlobalColor(); return actions.setGlobalColors(globalColors) } /** * getCustomColors resolver * @returns */ export function* getCustomColors() { let customColors = yield actions.fetchCustomColor(); return actions.setCustomColors(customColors) } /** * getGradientColors resolver * @returns */ export function* getGradientColors() { let gradientColors = yield actions.fetchGradientColor(); return actions.setGradientColors(gradientColors) } /** * getCustomGradientColors resolver * @returns */ export function* getCustomGradientColors() { let customGradientColors = yield actions.fetchCustomGradientColor(); return actions.setCustomGradientColors(customGradientColors) } /** * getGlobalTypography resolver * @returns */ export function* getGlobalTypography() { let globalTypography = yield actions.fetchGlobalTypography(); return actions.setGlobalTypography(globalTypography) } /** * getBlockDefaults resolver * @returns */ export function* getBlockDefaults() { let value = yield actions.fetchBlockDefaults(); return actions.setBlockDefault(value) } // /** // * getBlockDefaults resolver // * @returns // */ // export function* getIsSaving() { // let value = yield actions.fetchIsSaving(); // console.log('fetch', value) // return actions.setIsSaving(value) // }
Save