@nocobase/plugin-notification-in-app-message 1.6.28 → 1.6.30
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.
- package/dist/client/components/InboxContent.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/observables/channel.d.ts +1 -0
- package/dist/client/observables/message.d.ts +3 -0
- package/dist/externalVersion.js +8 -8
- package/dist/locale/en-US.json +4 -0
- package/dist/locale/zh-CN.json +5 -1
- package/package.json +2 -2
|
@@ -24,6 +24,9 @@ export declare const updateMessage: (params: {
|
|
|
24
24
|
filterByTk: any;
|
|
25
25
|
values: Record<any, any>;
|
|
26
26
|
}) => Promise<void>;
|
|
27
|
+
export declare const markAllMessagesAsRead: ({ channelName }: {
|
|
28
|
+
channelName: string;
|
|
29
|
+
}) => Promise<void>;
|
|
27
30
|
export declare const unreadMsgsCountObs: {
|
|
28
31
|
value: number | null;
|
|
29
32
|
};
|
package/dist/externalVersion.js
CHANGED
|
@@ -9,23 +9,23 @@
|
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"react": "18.2.0",
|
|
12
|
-
"@nocobase/client": "1.6.
|
|
13
|
-
"@nocobase/plugin-notification-manager": "1.6.
|
|
14
|
-
"@nocobase/plugin-mobile": "1.6.
|
|
15
|
-
"@nocobase/utils": "1.6.
|
|
12
|
+
"@nocobase/client": "1.6.30",
|
|
13
|
+
"@nocobase/plugin-notification-manager": "1.6.30",
|
|
14
|
+
"@nocobase/plugin-mobile": "1.6.30",
|
|
15
|
+
"@nocobase/utils": "1.6.30",
|
|
16
16
|
"react-i18next": "11.18.6",
|
|
17
|
-
"@nocobase/server": "1.6.
|
|
17
|
+
"@nocobase/server": "1.6.30",
|
|
18
18
|
"sequelize": "6.35.2",
|
|
19
|
-
"@nocobase/database": "1.6.
|
|
19
|
+
"@nocobase/database": "1.6.30",
|
|
20
20
|
"antd": "5.12.8",
|
|
21
21
|
"@formily/reactive-react": "2.3.0",
|
|
22
22
|
"@formily/reactive": "2.3.0",
|
|
23
23
|
"@ant-design/icons": "5.6.1",
|
|
24
24
|
"antd-style": "3.7.1",
|
|
25
|
-
"@formily/react": "2.3.0",
|
|
26
25
|
"@emotion/css": "11.13.0",
|
|
26
|
+
"@formily/react": "2.3.0",
|
|
27
27
|
"react-router-dom": "6.28.1",
|
|
28
28
|
"@formily/core": "2.3.0",
|
|
29
|
-
"@nocobase/plugin-workflow": "1.6.
|
|
29
|
+
"@nocobase/plugin-workflow": "1.6.30",
|
|
30
30
|
"@formily/shared": "2.3.2"
|
|
31
31
|
};
|
package/dist/locale/en-US.json
CHANGED
|
@@ -18,10 +18,14 @@
|
|
|
18
18
|
"Channel name": "Channel name",
|
|
19
19
|
"Message group name": "Message group name",
|
|
20
20
|
"Message title": "Message title",
|
|
21
|
+
"Content type": "Content type",
|
|
22
|
+
"Plain text": "Plain text",
|
|
21
23
|
"Message content": "Message content",
|
|
22
24
|
"Details page for desktop": "Details page for desktop",
|
|
23
25
|
"Support two types of links: internal links and external links. If using an internal link, the link starts with\"/\", for example, \"/admin\". If using an external link, the link starts with \"http\", for example, \"https://example.com\".": "Support two types of links: internal links and external links. If using an internal link, the link starts with \"/\", for example, \"/admin\". If using an external link, the link starts with \"http\", for example, \"https://example.com\".",
|
|
24
26
|
"Mark as read": "Mark as read",
|
|
27
|
+
"Mark as unread": "Mark as unread",
|
|
28
|
+
"Mark all as read": "Mark all as read",
|
|
25
29
|
"Support two types of links: internal links and external links. If using an internal link, the link starts with\"/\", for example, \"/m\". If using an external link, the link starts with \"http\", for example, \"https://example.com\".": "Support two types of links: internal links and external links. If using an internal link, the link starts with \"/\", for example, \"/m\". If using an external link, the link starts with \"http\", for example, \"https://example.com\".",
|
|
26
30
|
"Details page for mobile": "Details page for mobile",
|
|
27
31
|
"The message page has already been created.": "The message page has already been created.",
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -18,10 +18,14 @@
|
|
|
18
18
|
"Message group name": "消息分组名称",
|
|
19
19
|
"Message title": "消息标题",
|
|
20
20
|
"Message content": "消息内容",
|
|
21
|
+
"Content type": "内容格式",
|
|
22
|
+
"Plain text": "纯文本",
|
|
21
23
|
"detail URL": "详情链接",
|
|
22
24
|
"Details page for desktop": "桌面端详情页",
|
|
23
25
|
"Support two types of links: internal links and external links. If using an internal link, the link starts with\"/\", for example, \"/admin\". If using an external link, the link starts with \"http\", for example, \"https://example.com\".": "支持两种链接类型:内部链接和外部链接。如果使用内部链接,链接以“/”开头,例如“/admin”。如果使用外部链接,链接以“http”开头,例如“https://example.com”。",
|
|
24
|
-
"Mark as read": "
|
|
26
|
+
"Mark as read": "标为已读",
|
|
27
|
+
"Mark as unread": "标为未读",
|
|
28
|
+
"Mark all as read": "全部标为已读",
|
|
25
29
|
"Support two types of links: internal links and external links. If using an internal link, the link starts with\"/\", for example, \"/m\". If using an external link, the link starts with \"http\", for example, \"https://example.com\".": "支持两种链接类型:内部链接和外部链接。如果使用内部链接,链接以“/”开头,例如“/m”。如果使用外部链接,链接以“http”开头,例如“https://example.com”。",
|
|
26
30
|
"Details page for mobile": "移动端详情页",
|
|
27
31
|
"The message page has already been created.": "站内信页面已创建。",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-notification-in-app-message",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.30",
|
|
4
4
|
"displayName": "Notification: In-app message",
|
|
5
5
|
"displayName.zh-CN": "通知:站内信",
|
|
6
6
|
"description": "It supports users in receiving real-time message notifications within the NocoBase application.",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"@nocobase/test": "1.x",
|
|
27
27
|
"react-router-dom": "^6.x"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "1c48773b55a978030c8a3de4cd88a8d5a2c45a16"
|
|
30
30
|
}
|