@nocobase/plugin-notification-email 2.1.4 → 2.1.6

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.
@@ -8,13 +8,13 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.1.4",
11
+ "@nocobase/client": "2.1.6",
12
12
  "react": "18.2.0",
13
- "@nocobase/plugin-notification-manager": "2.1.4",
14
- "@nocobase/utils": "2.1.4",
15
- "@nocobase/flow-engine": "2.1.4",
13
+ "@nocobase/plugin-notification-manager": "2.1.6",
14
+ "@nocobase/utils": "2.1.6",
15
+ "@nocobase/flow-engine": "2.1.6",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/client-v2": "2.1.4",
18
- "@nocobase/server": "2.1.4",
17
+ "@nocobase/client-v2": "2.1.6",
18
+ "@nocobase/server": "2.1.6",
19
19
  "antd": "5.24.2"
20
20
  };
@@ -1 +1 @@
1
- {"name":"nodemailer","version":"6.9.7","description":"Easy as cake e-mail sending from your Node.js applications","main":"lib/nodemailer.js","scripts":{"test":"grunt --trace-warnings","update":"rm -rf node_modules/ package-lock.json && ncu -u && npm install"},"repository":{"type":"git","url":"https://github.com/nodemailer/nodemailer.git"},"keywords":["Nodemailer"],"author":"Andris Reinman","license":"MIT-0","bugs":{"url":"https://github.com/nodemailer/nodemailer/issues"},"homepage":"https://nodemailer.com/","devDependencies":{"@aws-sdk/client-ses":"3.433.0","aws-sdk":"2.1478.0","bunyan":"1.8.15","chai":"4.3.10","eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.0.0","grunt":"1.6.1","grunt-cli":"1.4.3","grunt-eslint":"24.3.0","grunt-mocha-test":"0.13.3","libbase64":"1.2.1","libmime":"5.2.1","libqp":"2.0.1","mocha":"10.2.0","nodemailer-ntlm-auth":"1.0.4","proxy":"1.0.2","proxy-test-server":"1.0.0","sinon":"17.0.0","smtp-server":"3.13.0"},"engines":{"node":">=6.0.0"},"_lastModified":"2026-06-13T07:01:24.846Z"}
1
+ {"name":"nodemailer","version":"6.9.7","description":"Easy as cake e-mail sending from your Node.js applications","main":"lib/nodemailer.js","scripts":{"test":"grunt --trace-warnings","update":"rm -rf node_modules/ package-lock.json && ncu -u && npm install"},"repository":{"type":"git","url":"https://github.com/nodemailer/nodemailer.git"},"keywords":["Nodemailer"],"author":"Andris Reinman","license":"MIT-0","bugs":{"url":"https://github.com/nodemailer/nodemailer/issues"},"homepage":"https://nodemailer.com/","devDependencies":{"@aws-sdk/client-ses":"3.433.0","aws-sdk":"2.1478.0","bunyan":"1.8.15","chai":"4.3.10","eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.0.0","grunt":"1.6.1","grunt-cli":"1.4.3","grunt-eslint":"24.3.0","grunt-mocha-test":"0.13.3","libbase64":"1.2.1","libmime":"5.2.1","libqp":"2.0.1","mocha":"10.2.0","nodemailer-ntlm-auth":"1.0.4","proxy":"1.0.2","proxy-test-server":"1.0.0","sinon":"17.0.0","smtp-server":"3.13.0"},"engines":{"node":">=6.0.0"},"_lastModified":"2026-06-15T11:38:14.233Z"}
@@ -0,0 +1,127 @@
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
+ declare const _default: {
10
+ openapi: string;
11
+ info: {
12
+ title: string;
13
+ };
14
+ paths: {};
15
+ components: {
16
+ schemas: {
17
+ EmailNotificationChannelOptions: {
18
+ type: string;
19
+ required: string[];
20
+ properties: {
21
+ transport: {
22
+ type: string;
23
+ enum: string[];
24
+ default: string;
25
+ };
26
+ host: {
27
+ type: string;
28
+ example: string;
29
+ };
30
+ port: {
31
+ type: string;
32
+ minimum: number;
33
+ maximum: number;
34
+ default: number;
35
+ };
36
+ secure: {
37
+ type: string;
38
+ default: boolean;
39
+ description: string;
40
+ };
41
+ account: {
42
+ type: string;
43
+ example: string;
44
+ };
45
+ password: {
46
+ type: string;
47
+ format: string;
48
+ description: string;
49
+ };
50
+ from: {
51
+ type: string;
52
+ example: string;
53
+ };
54
+ };
55
+ additionalProperties: boolean;
56
+ };
57
+ EmailNotificationMessage: {
58
+ type: string;
59
+ required: string[];
60
+ properties: {
61
+ to: {
62
+ type: string;
63
+ items: {
64
+ type: string;
65
+ format: string;
66
+ };
67
+ };
68
+ cc: {
69
+ type: string;
70
+ items: {
71
+ type: string;
72
+ format: string;
73
+ };
74
+ };
75
+ bcc: {
76
+ type: string;
77
+ items: {
78
+ type: string;
79
+ format: string;
80
+ };
81
+ };
82
+ subject: {
83
+ type: string;
84
+ };
85
+ contentType: {
86
+ type: string;
87
+ enum: string[];
88
+ default: string;
89
+ };
90
+ html: {
91
+ type: string;
92
+ description: string;
93
+ };
94
+ text: {
95
+ type: string;
96
+ description: string;
97
+ };
98
+ };
99
+ additionalProperties: boolean;
100
+ };
101
+ EmailNotificationChannel: {
102
+ type: string;
103
+ required: string[];
104
+ properties: {
105
+ name: {
106
+ type: string;
107
+ };
108
+ title: {
109
+ type: string;
110
+ };
111
+ description: {
112
+ type: string;
113
+ };
114
+ notificationType: {
115
+ type: string;
116
+ enum: string[];
117
+ };
118
+ options: {
119
+ $ref: string;
120
+ };
121
+ };
122
+ additionalProperties: boolean;
123
+ };
124
+ };
125
+ };
126
+ };
127
+ export default _default;
@@ -0,0 +1,149 @@
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 __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var swagger_exports = {};
28
+ __export(swagger_exports, {
29
+ default: () => swagger_default
30
+ });
31
+ module.exports = __toCommonJS(swagger_exports);
32
+ var swagger_default = {
33
+ openapi: "3.0.2",
34
+ info: {
35
+ title: "NocoBase API - Notification email plugin"
36
+ },
37
+ paths: {},
38
+ components: {
39
+ schemas: {
40
+ EmailNotificationChannelOptions: {
41
+ type: "object",
42
+ required: ["transport", "host", "port", "secure", "account", "password", "from"],
43
+ properties: {
44
+ transport: {
45
+ type: "string",
46
+ enum: ["smtp"],
47
+ default: "smtp"
48
+ },
49
+ host: {
50
+ type: "string",
51
+ example: "smtp.example.com"
52
+ },
53
+ port: {
54
+ type: "integer",
55
+ minimum: 1,
56
+ maximum: 65535,
57
+ default: 465
58
+ },
59
+ secure: {
60
+ type: "boolean",
61
+ default: true,
62
+ description: "Usually true for port 465; verify with the SMTP provider for other ports."
63
+ },
64
+ account: {
65
+ type: "string",
66
+ example: "example@domain.com"
67
+ },
68
+ password: {
69
+ type: "string",
70
+ format: "password",
71
+ description: "SMTP password or provider app password. Do not expose this value in logs."
72
+ },
73
+ from: {
74
+ type: "string",
75
+ example: "noreply <example@domain.com>"
76
+ }
77
+ },
78
+ additionalProperties: true
79
+ },
80
+ EmailNotificationMessage: {
81
+ type: "object",
82
+ required: ["to", "subject", "contentType"],
83
+ properties: {
84
+ to: {
85
+ type: "array",
86
+ items: {
87
+ type: "string",
88
+ format: "email"
89
+ }
90
+ },
91
+ cc: {
92
+ type: "array",
93
+ items: {
94
+ type: "string",
95
+ format: "email"
96
+ }
97
+ },
98
+ bcc: {
99
+ type: "array",
100
+ items: {
101
+ type: "string",
102
+ format: "email"
103
+ }
104
+ },
105
+ subject: {
106
+ type: "string"
107
+ },
108
+ contentType: {
109
+ type: "string",
110
+ enum: ["html", "text"],
111
+ default: "html"
112
+ },
113
+ html: {
114
+ type: "string",
115
+ description: "Required when `contentType` is `html`."
116
+ },
117
+ text: {
118
+ type: "string",
119
+ description: "Required when `contentType` is `text`."
120
+ }
121
+ },
122
+ additionalProperties: true
123
+ },
124
+ EmailNotificationChannel: {
125
+ type: "object",
126
+ required: ["name", "title", "notificationType", "options"],
127
+ properties: {
128
+ name: {
129
+ type: "string"
130
+ },
131
+ title: {
132
+ type: "string"
133
+ },
134
+ description: {
135
+ type: "string"
136
+ },
137
+ notificationType: {
138
+ type: "string",
139
+ enum: ["email"]
140
+ },
141
+ options: {
142
+ $ref: "#/components/schemas/EmailNotificationChannelOptions"
143
+ }
144
+ },
145
+ additionalProperties: true
146
+ }
147
+ }
148
+ }
149
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-notification-email",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "displayName": "Notification: Email",
5
5
  "displayName.ru-RU": "Уведомления: Электронная почта (Email)",
6
6
  "displayName.zh-CN": "通知:电子邮件",
@@ -26,5 +26,5 @@
26
26
  "Notification"
27
27
  ],
28
28
  "license": "Apache-2.0",
29
- "gitHead": "73c01b1e842afdaafdffd6fa4bb090c1da9b0816"
29
+ "gitHead": "4312d6580cc01378d008072db8285803626dc435"
30
30
  }