@nocobase/plugin-notification-manager 1.4.0-alpha
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/LICENSE.txt +159 -0
- package/README.md +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/Management.d.ts +10 -0
- package/dist/client/hooks/channel.d.ts +14 -0
- package/dist/client/hooks/index.d.ts +29 -0
- package/dist/client/index.d.ts +21 -0
- package/dist/client/index.js +10 -0
- package/dist/client/locale/index.d.ts +12 -0
- package/dist/client/manager/channel/components/ConfigForm.d.ts +10 -0
- package/dist/client/manager/channel/components/index.d.ts +13 -0
- package/dist/client/manager/channel/context.d.ts +25 -0
- package/dist/client/manager/channel/hooks.d.ts +45 -0
- package/dist/client/manager/channel/schemas/form.d.ts +43 -0
- package/dist/client/manager/channel/schemas/index.d.ts +11 -0
- package/dist/client/manager/channel/types.d.ts +27 -0
- package/dist/client/manager/log/components/Manager.d.ts +13 -0
- package/dist/client/manager/log/components/index.d.ts +8 -0
- package/dist/client/manager/log/hooks.d.ts +8 -0
- package/dist/client/manager/log/schemas/index.d.ts +71 -0
- package/dist/client/manager/log/types.d.ts +24 -0
- package/dist/client/manager/message/components/Manager.d.ts +13 -0
- package/dist/client/manager/message/components/MessageConfigForm/index.d.ts +12 -0
- package/dist/client/manager/message/components/MessageInput.d.ts +11 -0
- package/dist/client/manager/message/components/ReceiverConfigForm/Users/Select.d.ts +18 -0
- package/dist/client/manager/message/components/ReceiverConfigForm/Users/UsersAddition.d.ts +10 -0
- package/dist/client/manager/message/components/index.d.ts +8 -0
- package/dist/client/manager/message/components/useSendAction.d.ts +11 -0
- package/dist/client/manager/message/schemas/form.d.ts +34 -0
- package/dist/client/manager/message/schemas/index.d.ts +10 -0
- package/dist/client/manager/message/types.d.ts +25 -0
- package/dist/client/notification-manager.d.ts +13 -0
- package/dist/collections/channel.d.ts +11 -0
- package/dist/collections/channel.js +145 -0
- package/dist/collections/messageLog.d.ts +11 -0
- package/dist/collections/messageLog.js +155 -0
- package/dist/constant.d.ts +14 -0
- package/dist/constant.js +42 -0
- package/dist/externalVersion.js +25 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +51 -0
- package/dist/locale/en-US.json +39 -0
- package/dist/locale/zh-CN.json +41 -0
- package/dist/server/base-notification-channel.d.ts +22 -0
- package/dist/server/base-notification-channel.js +40 -0
- package/dist/server/collections/channels.d.ts +10 -0
- package/dist/server/collections/channels.js +44 -0
- package/dist/server/collections/messageLogs.d.ts +10 -0
- package/dist/server/collections/messageLogs.js +44 -0
- package/dist/server/index.d.ts +11 -0
- package/dist/server/index.js +51 -0
- package/dist/server/manager.d.ts +22 -0
- package/dist/server/manager.js +102 -0
- package/dist/server/plugin.d.ts +25 -0
- package/dist/server/plugin.js +93 -0
- package/dist/server/types.d.ts +49 -0
- package/dist/server/types.js +24 -0
- package/package.json +33 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from))
|
|
17
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var types_exports = {};
|
|
24
|
+
module.exports = __toCommonJS(types_exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nocobase/plugin-notification-manager",
|
|
3
|
+
"displayName": "Notification manager",
|
|
4
|
+
"description": "Provides a unified management service that includes channel configuration, logging, and other features, supporting the configuration of various notification channels, including in-app message and email.",
|
|
5
|
+
"displayName.zh-CN": "通知管理",
|
|
6
|
+
"description.zh-CN": "提供统一的管理服务,涵盖渠道配置、日志记录等功能,支持多种通知渠道的配置,包括站内信和电子邮件等。",
|
|
7
|
+
"version": "1.4.0-alpha",
|
|
8
|
+
"main": "dist/server/index.js",
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"@ant-design/icons": "5.x",
|
|
11
|
+
"@formily/antd-v5": "^1.x",
|
|
12
|
+
"@formily/react": "2.x",
|
|
13
|
+
"@formily/shared": "2.x",
|
|
14
|
+
"@types/cron": "^2.0.1",
|
|
15
|
+
"antd": "5.x",
|
|
16
|
+
"cron": "^2.3.1",
|
|
17
|
+
"react": "^18.2.0",
|
|
18
|
+
"react-i18next": "^11.15.1"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@nocobase/actions": "1.x",
|
|
22
|
+
"@nocobase/client": "1.x",
|
|
23
|
+
"@nocobase/database": "1.x",
|
|
24
|
+
"@nocobase/plugin-workflow": ">=0.17.0-alpha.3",
|
|
25
|
+
"@nocobase/server": "1.x",
|
|
26
|
+
"@nocobase/test": "1.x",
|
|
27
|
+
"@nocobase/utils": "1.x"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"Notification"
|
|
31
|
+
],
|
|
32
|
+
"gitHead": "f097a2bddec152522b5645bd5d451f4c866d2060"
|
|
33
|
+
}
|
package/server.d.ts
ADDED
package/server.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/server/index.js');
|