PromucFlow_constructor/app/client/src/actions/pluginActions.ts

22 lines
479 B
TypeScript
Raw Normal View History

import {
ReduxActionTypes,
ReduxActionWithoutPayload,
} from "constants/ReduxActionConstants";
export const fetchPlugins = (): ReduxActionWithoutPayload => ({
type: ReduxActionTypes.FETCH_PLUGINS_REQUEST,
});
2020-04-29 09:23:23 +00:00
export const fetchPluginForm = (payload: { id: string }) => {
return {
type: ReduxActionTypes.FETCH_PLUGIN_FORM_INIT,
payload,
};
};
export const fetchDBPluginForms = () => {
return {
type: ReduxActionTypes.FETCH_DB_PLUGIN_FORMS_INIT,
};
};