@replyke/core 5.1.6-beta.15 → 5.1.6-beta.16

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.
@@ -11,10 +11,14 @@ interface BaseAppNotification {
11
11
  }
12
12
  export interface SystemNotification extends BaseAppNotification {
13
13
  type: "system";
14
- action: "custom";
14
+ action: string | null;
15
15
  metadata: {
16
- customAction: string;
17
- actionData: Record<string, any>;
16
+ title: string;
17
+ content: string;
18
+ buttonData: {
19
+ text: string;
20
+ url: string;
21
+ } | null;
18
22
  };
19
23
  }
20
24
  export interface EntityCommentNotification extends BaseAppNotification {
@@ -11,10 +11,14 @@ interface BaseAppNotification {
11
11
  }
12
12
  export interface SystemNotification extends BaseAppNotification {
13
13
  type: "system";
14
- action: "custom";
14
+ action: string | null;
15
15
  metadata: {
16
- customAction: string;
17
- actionData: Record<string, any>;
16
+ title: string;
17
+ content: string;
18
+ buttonData: {
19
+ text: string;
20
+ url: string;
21
+ } | null;
18
22
  };
19
23
  }
20
24
  export interface EntityCommentNotification extends BaseAppNotification {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replyke/core",
3
- "version": "5.1.6-beta.15",
3
+ "version": "5.1.6-beta.16",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "author": "Replyke, maintained by Yanay Tsabary",