@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
22 lines (21 loc) • 733 B
TypeScript
import { AdaptableOptions } from '../../../../types';
import { MetamodelItemPropertyKind } from '../../../metamodel/adaptable-metamodel-model';
import { IAdaptableService } from './IAdaptableService';
export type GridInfoOptions = Map<string, {
containerLabel: string;
items: GridInfoOption[];
}>;
export interface GridInfoOption {
name: string;
value: any;
description: string;
kind: MetamodelItemPropertyKind;
defaultValue?: any;
uiLabel: string;
}
export interface IMetamodelService extends IAdaptableService {
getAdaptableOptions: () => AdaptableOptions;
getGridInfoOptions(): GridInfoOptions;
getGridInfoNoCodeOptions(): GridInfoOptions;
validateAdaptableOptionsValues(): void;
}