@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
24 lines (23 loc) • 674 B
TypeScript
import { BaseState } from './BaseState';
/**
* Adaptable State Section for the Application Module
**/
export interface ApplicationState extends BaseState {
/**
* Array of Key / Value pairs enabling custom data to be stored in Adaptable State.
*/
ApplicationDataEntries?: ApplicationDataEntry[];
}
/**
* Simple Key / Value pair object used to store custom - stringifiable - data in Adaptable State.
*/
export interface ApplicationDataEntry {
/**
* Key of Key / Value pair - always stored as a string
*/
Key: string;
/**
* Value of Key / Value pair (actual data being stored) - needs to stringifiable
*/
Value: any;
}