HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/public_html/wp-content/plugins/essential-blocks/src/store/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)
// }