@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
15 lines (14 loc) • 738 B
TypeScript
import { BaseState } from '../../AdaptableState/BaseState';
import { AdaptableState } from '../../AdaptableState/AdaptableState';
export declare function AddStateSource(stateObject: any, source: 'InitialState' | 'User'): any;
export declare function ProcessKeepUserDefinedRevision(configState: any, currentUserState: any): any;
export declare function MergeStateFunction(oldState: any, newState: any): any;
export declare function MergeState(oldState: any, newState: any): any;
type TypeReducer = (state: AdaptableState, action: {
type: string;
State?: {
[s: string]: BaseState;
};
}) => AdaptableState;
export declare const mergeReducer: (rootReducer: TypeReducer, LOAD_STATE_TYPE: string) => TypeReducer;
export {};