import { Identifiable } from './AdaptableObject'; import { CellDataChangedInfo } from '../../types'; import { FlashingCellDefinition } from '../../../types'; /** * Defines an Alert fired by AdapTable */ export interface AdaptableFlashingCell extends Identifiable { /** * Rule that caused the FlashingCell to fire */ flashingCellDefinition: FlashingCellDefinition; /** * Data change which triggered the FlashingCell */ cellDataChangedInfo?: CellDataChangedInfo; /** * Direction of the change: 'up', 'down' or 'neutral' */ direction: 'up' | 'down' | 'neutral'; /** * What will flash (e.g. Cell, Row) */ flashTarget: FlashingCellDefinition['FlashTarget']; /** * Column Ids that are flashing */ flashColumnIds: Record; /** * Primary Key Value of Row which is flashing */ rowPrimaryKey: string; }