Skip to main content

Interface: CallbackActionOptions

Defined in: redux/clusterActionSlice.ts:85

Properties​

callbackArgs?​

optional callbackArgs?: any[];

Defined in: redux/clusterActionSlice.ts:86


cancelCallback?​

optional cancelCallback?: (...args: any[]) => void;

Defined in: redux/clusterActionSlice.ts:138

A callback to execute when the action is cancelled.

Parameters​

ParameterType
...argsany[]

Returns​

void


cancelledMessage?​

optional cancelledMessage?: string;

Defined in: redux/clusterActionSlice.ts:110

The message to display when the action is cancelled.


cancelledOptions?​

optional cancelledOptions?: OptionsObject<"warning" | "error" | "default" | "success" | "info">;

Defined in: redux/clusterActionSlice.ts:126

The props to pass to the snackbar when the action is cancelled.


cancelUrl?​

optional cancelUrl?: string;

Defined in: redux/clusterActionSlice.ts:94

The url to navigate to when it is cancelled.


errorMessage?​

optional errorMessage?: string;

Defined in: redux/clusterActionSlice.ts:114

The message to display when there is an error.


errorOptions?​

optional errorOptions?: OptionsObject<"warning" | "error" | "default" | "success" | "info">;

Defined in: redux/clusterActionSlice.ts:134

The props to pass to the snackbar when it is successful.


errorUrl?​

optional errorUrl?: string;

Defined in: redux/clusterActionSlice.ts:98

The url to navigate to when there is an error.


startMessage?​

optional startMessage?: string;

Defined in: redux/clusterActionSlice.ts:106

The message to display when the action has started.


startOptions?​

optional startOptions?: OptionsObject<"warning" | "error" | "default" | "success" | "info">;

Defined in: redux/clusterActionSlice.ts:122

The props to pass to the snackbar when the action has started.


startUrl?​

optional startUrl?: string;

Defined in: redux/clusterActionSlice.ts:90

The url to navigate to when the action has started.


successMessage?​

optional successMessage?: string;

Defined in: redux/clusterActionSlice.ts:118

The message to display when it is successful.


successOptions?​

optional successOptions?: OptionsObject<"warning" | "error" | "default" | "success" | "info">;

Defined in: redux/clusterActionSlice.ts:130

The props to pass to the snackbar when there is an error.


successUrl?​

optional successUrl?: string;

Defined in: redux/clusterActionSlice.ts:102

The url to navigate to when it is successful.