import { ErrorCode } from '../../api/helpers'; export enum AlertTypes { Warning = 'warning', Success = 'success', Info = 'info', Danger = 'danger' } export default interface AlertStoreModel { all: AlertModel[]; } export interface AlertModelTyped extends AlertModel { type: AlertTypes; } export interface AlertModel { type: AlertTypes; friendlyMessageHtml: string; technicalMessage?: string; errorCode?: ErrorCode; }