UNPKG

@plone/volto

Version:
42 lines (36 loc) 598 B
export function clearKey(key) { return { type: '@redux-conn/CLEAR', key, }; } export function beginGlobalLoad() { return { type: '@redux-conn/BEGIN_GLOBAL_LOAD', }; } export function endGlobalLoad() { return { type: '@redux-conn/END_GLOBAL_LOAD', }; } export function load(key) { return { type: '@redux-conn/LOAD', key, }; } export function loadSuccess(key, data) { return { type: '@redux-conn/LOAD_SUCCESS', key, data, }; } export function loadFail(key, error) { return { type: '@redux-conn/LOAD_FAIL', key, error, }; }