identity-admin-ui 1.12.37 → 1.12.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,12 +3,16 @@ export declare enum ArabicNotification {
3
3
  youHave = "\u0644\u062F\u064A\u0643",
4
4
  unreadMessages = "\u0631\u0633\u0627\u0626\u0644 \u063A\u064A\u0631 \u0645\u0642\u0631\u0648\u0621\u0629",
5
5
  showMore = "\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",
6
- showLess = "\u0639\u0631\u0636 \u0623\u0642\u0644"
6
+ showLess = "\u0639\u0631\u0636 \u0623\u0642\u0644",
7
+ viewAll = "\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",
8
+ markAllAsRead = "\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0643\u0644 \u0643\u0645\u0642\u0631\u0648\u0621"
7
9
  }
8
10
  export declare enum EnglishNotification {
9
11
  notifications = "Notifications",
10
12
  youHave = "You have",
11
13
  unreadMessages = "unread messages",
12
14
  showMore = "Show more",
13
- showLess = "Show less"
15
+ showLess = "Show less",
16
+ viewAll = "View all",
17
+ markAllAsRead = "Mark all as read"
14
18
  }
@@ -4,6 +4,8 @@ import { IDashboardNotification } from '../components/Notifications/IDashboardNo
4
4
  declare const NotificationContext: import("react").Context<{
5
5
  notifications?: IDashboardNotification[] | undefined;
6
6
  getNotifications: () => void;
7
+ markOneRead: (id: string) => void;
8
+ markAllAsRead: () => void;
7
9
  state: RequestState;
8
10
  clearNotifications: () => void;
9
11
  }>;
@@ -1,6 +1,8 @@
1
1
  export declare const useNotifications: () => {
2
2
  notifications?: import("../components/Notifications/IDashboardNotifications").IDashboardNotification[] | undefined;
3
3
  getNotifications: () => void;
4
+ markOneRead: (id: string) => void;
5
+ markAllAsRead: () => void;
4
6
  state: import("./RequetState").RequestState;
5
7
  clearNotifications: () => void;
6
8
  };
@@ -1,13 +1 @@
1
- export interface IDashboardNotifications {
2
- id: string;
3
- text: string;
4
- createdAt: Date;
5
- clickable: boolean;
6
- redirectUrl?: string;
7
- redirectUrlType: any;
8
- isRead: boolean;
9
- priority: any;
10
- type?: string;
11
- data?: string;
12
- }
13
1
  export default function NotificationsPopover(): import("react/jsx-runtime").JSX.Element;