@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
17 lines (16 loc) • 517 B
TypeScript
import { AlertDefinition } from '../../../types';
export declare enum AlertType {
DataChange = "DataChange",
Validation = "Validation",
RowChange = "RowChange",
Aggregation = "Aggregation",
Observable = "Observable"
}
/**
* Based on alert shape the type is derived.
* In the future the alert will get a type property.
*
* @param alert
*/
export declare const getAlertType: (alert: AlertDefinition) => AlertType | null;
export declare const getAlertTypeText: (alertType: AlertType) => string;