2024-08-06 14:52:22 +00:00
|
|
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
2021-10-18 07:47:55 +00:00
|
|
|
|
2024-07-31 15:41:28 +00:00
|
|
|
// TODO: Fix this the next time the file is edited
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2022-12-09 14:43:47 +00:00
|
|
|
export const saveSettings = (settings: any, needsRestart = true) => ({
|
2021-10-18 07:47:55 +00:00
|
|
|
type: ReduxActionTypes.SAVE_ADMIN_SETTINGS,
|
2022-12-09 14:43:47 +00:00
|
|
|
payload: {
|
|
|
|
|
settings,
|
|
|
|
|
needsRestart,
|
|
|
|
|
},
|
2021-10-18 07:47:55 +00:00
|
|
|
});
|
2022-04-11 08:42:06 +00:00
|
|
|
|
|
|
|
|
export const retryServerRestart = () => ({
|
|
|
|
|
type: ReduxActionTypes.RETRY_RESTART_SERVER_POLL,
|
|
|
|
|
});
|