@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
20 lines (19 loc) • 563 B
TypeScript
export type AdaptableMetamodel = Record<string, MetamodelItem>;
export interface MetamodelItem {
name: string;
kind: 'A' | 'I' | 'C';
desc: string;
props?: MetamodelItemProperty[];
}
export interface MetamodelItemProperty {
name: string;
kind: MetamodelItemPropertyKind;
desc: string;
uiLabel?: string;
ref?: string;
isOpt?: boolean;
defVal?: unknown;
gridInfo?: 'item' | 'container';
noCode?: 'item' | 'container';
}
export type MetamodelItemPropertyKind = 'R' | 'n' | 's' | 'b' | 'd' | 'f' | 'a' | 'i' | 'u';