@codetanzania/emis-api-states
Version:
EMIS Redux state management library
24 lines (21 loc) • 568 B
JavaScript
import generateExposedActions from '../factories/action';
import { actions, dispatch } from '../store';
const alertActions = generateExposedActions('alertSource', actions, dispatch);
export const {
clearAlertSourceFilters,
clearAlertSourcesSort,
closeAlertSourceForm,
deleteAlertSource,
filterAlertSources,
getAlertSources,
getAlertSource,
selectAlertSource,
openAlertSourceForm,
paginateAlertSources,
postAlertSource,
putAlertSource,
refreshAlertSources,
searchAlertSources,
setAlertSourceSchema,
sortAlertSources,
} = alertActions;