@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 { AdaptableSaveStateFunction } from '../../../AdaptableOptions/StateOptions';
import { AdaptableState } from '../../../AdaptableState/AdaptableState';
import { InitialState } from '../../../AdaptableState/InitialState';
export default interface IStorageEngine {
load(initialState?: string | InitialState): Promise<any>;
save(state: AdaptableState, getEnhancedState?: AdaptableSaveStateFunction): Promise<any>;
saveNow(state: AdaptableState, getEnhancedState?: AdaptableSaveStateFunction): Promise<any>;
setStateKey(stateKey: string): void;
}