@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
10 lines (9 loc) • 565 B
TypeScript
import { AdaptableState } from '../../../AdaptableState/AdaptableState';
import { InitialState } from '../../../AdaptableState/InitialState';
import { IAdaptable } from '../../../AdaptableInterfaces/IAdaptable';
export default interface IStorageEngine {
load(adaptable: IAdaptable, initialState?: string | InitialState): Promise<any>;
save(adaptable: IAdaptable, state: AdaptableState, actionName: string): Promise<any>;
saveNow(adaptable: IAdaptable, state: AdaptableState, actionName: string): Promise<any>;
setStateKey(stateKey: string): void;
}