mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-4529] Refactor Notification History Component (#6620)
* [AAE-4529] Refactor Notification History Component * Improve code * Add maxNotifications * More changes * Add documentation * Rebase branch * Fix build * Update notification-history.component.md * Fix e2e tests Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
@@ -18,12 +18,15 @@
|
||||
export enum NOTIFICATION_TYPE {
|
||||
INFO = 'info',
|
||||
WARN = 'warning',
|
||||
ERROR = 'error'
|
||||
ERROR = 'error',
|
||||
RECURSIVE = 'recursive'
|
||||
}
|
||||
|
||||
export interface NotificationInitiator {
|
||||
key: string | Symbol;
|
||||
displayName: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
extra?: any;
|
||||
}
|
||||
|
||||
@@ -32,4 +35,7 @@ export interface NotificationModel {
|
||||
initiator: NotificationInitiator;
|
||||
datetime: Date;
|
||||
messages: string[];
|
||||
icon?: string;
|
||||
clickCallBack?: any;
|
||||
args?: any;
|
||||
}
|
||||
|
Reference in New Issue
Block a user