export const actionSetInitialState = (payload) =>{

    return{
        type: "SET_INITIAL_STATE",
        payload
    }
};

export const actionOpenSidebar = (conf) => {
    return {
        type: "OPEN_SIDEBAR",
        payload: conf
    };
};

export const actionCloseSidebar = () => {
    return {
        type: "CLOSE_SIDEBAR"
    };
};

export const actionSetLoading = (payload) => {
    return {
        type: "SET_LOADING",
        payload
    };
};