strapi-plugin-content-manager
Version:
A powerful UI to easily manage your data.
14 lines (10 loc) • 302 B
JavaScript
import { GET_DATA, GET_DATA_SUCCEEDED, RESET_PROPS } from './constants';
export const getData = () => ({
type: GET_DATA,
});
export const getDataSucceeded = (models, components) => ({
type: GET_DATA_SUCCEEDED,
components,
models,
});
export const resetProps = () => ({ type: RESET_PROPS });