appNotifications.ts 344 B

123456789101112131415161718
  1. export interface AppNotification {
  2. id?: number;
  3. severity: AppNotificationSeverity;
  4. icon: string;
  5. title: string;
  6. text: string;
  7. }
  8. export enum AppNotificationSeverity {
  9. Success = 'success',
  10. Warning = 'warning',
  11. Error = 'error',
  12. Info = 'info',
  13. }
  14. export interface AppNotificationsState {
  15. appNotifications: AppNotification[];
  16. }