UNPKG

@adaptabletools/adaptable

Version:

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

12 lines (11 loc) 571 B
import { ApiBase } from '../Implementation/ApiBase'; import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux'; export class SystemStatusInternalApi extends ApiBase { addSystemStatusMessageInfo(systemStatusMessageInfo) { const maxMessagesInStore = this.getNotificationsOptions().maxSystemMessagesInStore; this.dispatchAction(InternalRedux.SystemStatusMessageInfoAdd(systemStatusMessageInfo, maxMessagesInStore)); } getSystemStatusMessageInfos() { return this.getAdaptableState().Internal.SystemStatusMessages; } }