2019-11-29 05:22:49 +00:00
|
|
|
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,
|
|
|
|
|
};
|
|
|
|
|
};
|
2020-10-20 09:00:02 +00:00
|
|
|
|
|
|
|
|
export const fetchDBPluginForms = () => {
|
|
|
|
|
return {
|
|
|
|
|
type: ReduxActionTypes.FETCH_DB_PLUGIN_FORMS_INIT,
|
|
|
|
|
};
|
|
|
|
|
};
|