@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
64 lines (63 loc) • 2.54 kB
TypeScript
import { CustomSortState, CustomSort } from '../../AdaptableState/CustomSortState';
import * as Redux from 'redux';
/**
* @ReduxAction A Custom Sort has been added
*/
export declare const CUSTOM_SORT_ADD = "CUSTOM_SORT_ADD";
/**
* @ReduxAction A Custom Sort has been edited
*/
export declare const CUSTOM_SORT_EDIT = "CUSTOM_SORT_EDIT";
/**
* @ReduxAction A Custom Sort has been deleted
*/
export declare const CUSTOM_SORT_DELETE = "CUSTOM_SORT_DELETE";
/**
* @ReduxAction A Custom Sort has been suspended
*/
export declare const CUSTOM_SORT_SUSPEND = "CUSTOM_SORT_SUSPEND";
/**
* @ReduxAction A Custom Sort has been unsuspended (activated)
*/
export declare const CUSTOM_SORT_UNSUSPEND = "CUSTOM_SORT_UNSUSPEND";
/**
* @ReduxAction Suspend all Custom Sorts
*/
export declare const CUSTOM_SORT_SUSPEND_ALL = "CUSTOM_SORT_SUSPEND_ALL";
/**
* @ReduxAction Unsuspend all Custom Sorts
*/
export declare const CUSTOM_SORT_UNSUSPEND_ALL = "CUSTOM_SORT_UNSUSPEND_ALL";
/**
* @ReduxAction Custom Sort Module is ready
*/
export declare const CUSTOM_SORT_READY = "CUSTOM_SORT_READY";
export interface CustomSortAction extends Redux.Action {
customSort: CustomSort;
}
export interface CustomSortAddAction extends CustomSortAction {
}
export interface CustomSortEditAction extends CustomSortAction {
}
export interface CustomSortDeleteAction extends CustomSortAction {
}
export interface CustomSortSuspendAction extends CustomSortAction {
}
export interface CustomSortUnSuspendAction extends CustomSortAction {
}
export interface CustomSortSuspendAllAction extends Redux.Action {
}
export interface CustomSortUnSuspendAllAction extends Redux.Action {
}
export interface CustomSortReadyAction extends Redux.Action {
customSortState: CustomSortState;
}
export declare const CustomSortAdd: (customSort: CustomSort) => CustomSortAddAction;
export declare const CustomSortEdit: (customSort: CustomSort) => CustomSortEditAction;
export declare const CustomSortDelete: (customSort: CustomSort) => CustomSortDeleteAction;
export declare const CustomSortSuspend: (customSort: CustomSort) => CustomSortDeleteAction;
export declare const CustomSortUnSuspend: (customSort: CustomSort) => CustomSortDeleteAction;
export declare const CustomSortSuspendAll: () => CustomSortSuspendAllAction;
export declare const CustomSortUnSuspendAll: () => CustomSortUnSuspendAllAction;
export declare const CustomSortReady: (customSortState: CustomSortState) => CustomSortReadyAction;
export declare const CustomSortReducer: Redux.Reducer<CustomSortState>;