HEX
Server: LiteSpeed
System: Linux cyberpanel211onubuntu2004-s-1vcpu-1gb-blr1-01 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64
User: excel9995 (1002)
PHP: 8.0.14
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/exceltradinguae.ae/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)
// }