@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
18 lines (17 loc) • 488 B
TypeScript
export type ScopeDataType = 'text' | 'number' | 'boolean' | 'date';
export type ScopeAll = {
All: true;
};
export type ScopeDataTypes<Type = ScopeDataType> = {
DataTypes: Type[];
};
export type ScopeColumnIds = {
ColumnIds: string[];
};
export type ScopeColumnTypes = {
ColumnTypes: string[];
};
/**
* Defines where a given Object / Module is active
*/
export type ColumnScope<Type = ScopeDataType> = ScopeAll | ScopeDataTypes<Type> | ScopeColumnIds | ScopeColumnTypes;