UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

38 lines (37 loc) 1.46 kB
import { AlertDefinition } from '../../../types'; import { AlertType } from './getAlertType'; /** * This logic should be moved into Object factory once we have types on alert definitions * @param type AlertType */ export declare const getDefaultAlertDefinition: (alertDefinition: AlertDefinition, type: AlertType) => { Uuid: string; Scope: import("../../../types").ColumnScope; Rule: import("../../../types").AlertRule; AlertProperties?: import("../../../types").RuleAlertProperties; AlertForm?: string | import("../../../types").AlertButtonForm; Name: string; MessageType: import("../../../types").AdaptableMessageType; MessageHeader?: string; MessageText?: string; IsSuspended?: boolean; Source?: "InitialState" | "User"; AdaptableVersion?: import("../../../types").AdaptableVersion; IsReadOnly?: boolean; Tags?: import("../../../types").AdaptableObjectTag[]; Metadata?: any; } | { Uuid: string; Name: string; Schedule: import("../../../types").Schedule; AlertProperties?: import("../../../types").ScheduledAlertProperties; MessageType: import("../../../types").AdaptableMessageType; MessageHeader?: string; MessageText?: string; IsSuspended?: boolean; Source?: "InitialState" | "User"; AdaptableVersion?: import("../../../types").AdaptableVersion; IsReadOnly?: boolean; Tags?: import("../../../types").AdaptableObjectTag[]; Metadata?: any; };