@nocobase/plugin-notification-in-app-message 1.6.0-alpha.7 → 1.6.0-alpha.9

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.
@@ -9,23 +9,23 @@
9
9
 
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
- "@nocobase/client": "1.6.0-alpha.7",
13
- "@nocobase/plugin-notification-manager": "1.6.0-alpha.7",
14
- "@nocobase/plugin-mobile": "1.6.0-alpha.7",
15
- "@nocobase/utils": "1.6.0-alpha.7",
12
+ "@nocobase/client": "1.6.0-alpha.9",
13
+ "@nocobase/plugin-notification-manager": "1.6.0-alpha.9",
14
+ "@nocobase/plugin-mobile": "1.6.0-alpha.9",
15
+ "@nocobase/utils": "1.6.0-alpha.9",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/server": "1.6.0-alpha.7",
17
+ "@nocobase/server": "1.6.0-alpha.9",
18
18
  "sequelize": "6.35.2",
19
- "@nocobase/database": "1.6.0-alpha.7",
19
+ "@nocobase/database": "1.6.0-alpha.9",
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.2.6",
24
24
  "antd-style": "3.7.1",
25
+ "@formily/react": "2.3.0",
25
26
  "@emotion/css": "11.13.0",
26
27
  "react-router-dom": "6.21.0",
27
- "@formily/react": "2.3.0",
28
28
  "@formily/core": "2.3.0",
29
- "@nocobase/plugin-workflow": "1.6.0-alpha.7",
29
+ "@nocobase/plugin-workflow": "1.6.0-alpha.9",
30
30
  "@formily/shared": "2.3.2"
31
31
  };
@@ -88,6 +88,7 @@ function defineMyInAppChannels({ app }) {
88
88
  SELECT messages.${messagesFieldName.channelName}
89
89
  FROM ${messagesTableName} AS messages
90
90
  WHERE messages.${messagesFieldName.status} = '${status}'
91
+ AND messages.${messagesFieldName.userId} = ${userId}
91
92
  )`);
92
93
  return { name: { [import_sequelize.Op.in]: sql } };
93
94
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-notification-in-app-message",
3
- "version": "1.6.0-alpha.7",
3
+ "version": "1.6.0-alpha.9",
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.",
@@ -24,5 +24,5 @@
24
24
  "@nocobase/test": "1.x",
25
25
  "react-router-dom": "^6.x"
26
26
  },
27
- "gitHead": "d9552440f5e3ce2795c9f2f23a1b04f5376a1550"
27
+ "gitHead": "c6136fc6c9a2daab33fb1a20716cd9768e9a147f"
28
28
  }