Interface: CallbackActionOptions
Properties
callbackArgs?
optional callbackArgs: any[];
Defined in
src/redux/clusterActionSlice.ts:86
cancelCallback()?
optional cancelCallback: (...args: any[]) => void;
A callback to execute when the action is cancelled.
Parameters
Parameter | Type |
---|---|
...args | any [] |
Returns
void
Defined in
src/redux/clusterActionSlice.ts:138
cancelUrl?
optional cancelUrl: string;
The url to navigate to when it is cancelled.
Defined in
src/redux/clusterActionSlice.ts:94
cancelledMessage?
optional cancelledMessage: string;
The message to display when the action is cancelled.
Defined in
src/redux/clusterActionSlice.ts:110
cancelledOptions?
optional cancelledOptions: OptionsObject<
| "warning"
| "error"
| "default"
| "success"
| "info">;
The props to pass to the snackbar when the action is cancelled.
Defined in
src/redux/clusterActionSlice.ts:126
errorMessage?
optional errorMessage: string;
The message to display when there is an error.
Defined in
src/redux/clusterActionSlice.ts:114
errorOptions?
optional errorOptions: OptionsObject<
| "warning"
| "error"
| "default"
| "success"
| "info">;
The props to pass to the snackbar when it is successful.
Defined in
src/redux/clusterActionSlice.ts:134
errorUrl?
optional errorUrl: string;
The url to navigate to when there is an error.
Defined in
src/redux/clusterActionSlice.ts:98
startMessage?
optional startMessage: string;
The message to display when the action has started.
Defined in
src/redux/clusterActionSlice.ts:106
startOptions?
optional startOptions: OptionsObject<
| "warning"
| "error"
| "default"
| "success"
| "info">;
The props to pass to the snackbar when the action has started.
Defined in
src/redux/clusterActionSlice.ts:122
startUrl?
optional startUrl: string;
The url to navigate to when the action has started.
Defined in
src/redux/clusterActionSlice.ts:90
successMessage?
optional successMessage: string;
The message to display when it is successful.
Defined in
src/redux/clusterActionSlice.ts:118
successOptions?
optional successOptions: OptionsObject<
| "warning"
| "error"
| "default"
| "success"
| "info">;
The props to pass to the snackbar when there is an error.
Defined in
src/redux/clusterActionSlice.ts:130
successUrl?
optional successUrl: string;
The url to navigate to when it is successful.