@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
11 lines (10 loc) • 507 B
TypeScript
import { AdaptablePersistentState, AdaptableState } from '../../types';
import { ApiBase } from '../Implementation/ApiBase';
export declare class StateInternalApi extends ApiBase {
getAllStateForDevTools(): AdaptableState;
/**
* Replaces persisted Adaptable state with the supplied snapshot (e.g. from DevTools).
* Transient store sections (Internal, Popup, Comment, Plugins) are left unchanged.
*/
restoreState(state: AdaptableState | AdaptablePersistentState): Promise<void>;
}