@nocobase/plugin-notification-in-app-message 1.6.0-beta.2 → 1.6.0-beta.4
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/externalVersion.js
CHANGED
|
@@ -9,23 +9,23 @@
|
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"react": "18.2.0",
|
|
12
|
-
"@nocobase/client": "1.6.0-beta.
|
|
13
|
-
"@nocobase/plugin-notification-manager": "1.6.0-beta.
|
|
14
|
-
"@nocobase/plugin-mobile": "1.6.0-beta.
|
|
15
|
-
"@nocobase/utils": "1.6.0-beta.
|
|
12
|
+
"@nocobase/client": "1.6.0-beta.4",
|
|
13
|
+
"@nocobase/plugin-notification-manager": "1.6.0-beta.4",
|
|
14
|
+
"@nocobase/plugin-mobile": "1.6.0-beta.4",
|
|
15
|
+
"@nocobase/utils": "1.6.0-beta.4",
|
|
16
16
|
"react-i18next": "11.18.6",
|
|
17
|
-
"@nocobase/server": "1.6.0-beta.
|
|
17
|
+
"@nocobase/server": "1.6.0-beta.4",
|
|
18
18
|
"sequelize": "6.35.2",
|
|
19
|
-
"@nocobase/database": "1.6.0-beta.
|
|
19
|
+
"@nocobase/database": "1.6.0-beta.4",
|
|
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-beta.
|
|
29
|
+
"@nocobase/plugin-workflow": "1.6.0-beta.4",
|
|
30
30
|
"@formily/shared": "2.3.2"
|
|
31
31
|
};
|
|
@@ -73,6 +73,7 @@ function defineMyInAppChannels({ app }) {
|
|
|
73
73
|
FROM ${messagesTableName} AS messages
|
|
74
74
|
WHERE
|
|
75
75
|
messages.${messagesFieldName.channelName} = ${channelsTableAliasName}.${channelsFieldName.name}
|
|
76
|
+
AND messages.${messagesFieldName.userId} = ${userId}
|
|
76
77
|
ORDER BY messages.${messagesFieldName.receiveTimestamp} DESC
|
|
77
78
|
LIMIT 1
|
|
78
79
|
)`;
|
|
@@ -129,6 +130,7 @@ function defineMyInAppChannels({ app }) {
|
|
|
129
130
|
FROM ${messagesTableName} AS messages
|
|
130
131
|
WHERE
|
|
131
132
|
messages.${messagesFieldName.channelName} = ${channelsTableAliasName}.${channelsFieldName.name}
|
|
133
|
+
AND messages.${messagesFieldName.userId} = ${userId}
|
|
132
134
|
ORDER BY messages.${messagesFieldName.receiveTimestamp} DESC
|
|
133
135
|
LIMIT 1
|
|
134
136
|
)`),
|
package/dist/types/messages.js
CHANGED
|
@@ -33,6 +33,7 @@ var import_index = require("./index");
|
|
|
33
33
|
const messageCollection = {
|
|
34
34
|
name: import_index.InAppMessagesDefinition.name,
|
|
35
35
|
title: "in-app messages",
|
|
36
|
+
migrationRules: ["schema-only"],
|
|
36
37
|
fields: [
|
|
37
38
|
{
|
|
38
39
|
name: import_index.InAppMessagesDefinition.fieldNameMap.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-notification-in-app-message",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.4",
|
|
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": "4419f433716dadf34886b261d9abe20e74551044"
|
|
30
30
|
}
|