PromucFlow_constructor/app/client/src/actions/crudInfoModalActions.ts
Ankita Kinger c1e48f7486
feat: Refactor code for SAML integration (#12700)
* Implemented code splitting of some files for SAML integration

* Implemented code splitting of some more files for SAML integration

* updated redirect url component

* fixed an import statement

* fixed a unit test

* updated restart banner tooltip logic

* updated an import statement
2022-04-12 16:20:01 +05:30

17 lines
400 B
TypeScript

import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
export type SetCrudInfoModalOpenPayload = {
open: boolean;
generateCRUDSuccessInfo?: {
successImageUrl: string;
successMessage: string;
};
};
export const setCrudInfoModalData = (payload: SetCrudInfoModalOpenPayload) => {
return {
type: ReduxActionTypes.SET_CRUD_INFO_MODAL_OPEN,
payload,
};
};