@pgpmjs/types 2.14.1 → 2.15.0
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/esm/pgpm.js +7 -0
- package/package.json +3 -3
- package/pgpm.d.ts +37 -0
- package/pgpm.js +7 -0
package/esm/pgpm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM types",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"pg-env": "^1.
|
|
32
|
+
"pg-env": "^1.3.0"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"types",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"makage": "^0.1.10"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "481b3a50b4eec2da6b376c4cd1868065e1e28edb"
|
|
46
46
|
}
|
package/pgpm.d.ts
CHANGED
|
@@ -117,6 +117,41 @@ export interface CDNOptions {
|
|
|
117
117
|
/** MinIO endpoint URL for local development (only used when provider is 'minio') */
|
|
118
118
|
minioEndpoint?: string;
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* SMTP email configuration options
|
|
122
|
+
*/
|
|
123
|
+
export interface SmtpOptions {
|
|
124
|
+
/** SMTP server hostname */
|
|
125
|
+
host?: string;
|
|
126
|
+
/** SMTP server port (defaults to 587 for non-secure, 465 for secure) */
|
|
127
|
+
port?: number;
|
|
128
|
+
/** Use TLS/SSL connection (defaults based on port: true for 465, false otherwise) */
|
|
129
|
+
secure?: boolean;
|
|
130
|
+
/** SMTP authentication username */
|
|
131
|
+
user?: string;
|
|
132
|
+
/** SMTP authentication password */
|
|
133
|
+
pass?: string;
|
|
134
|
+
/** Default sender email address */
|
|
135
|
+
from?: string;
|
|
136
|
+
/** Default reply-to email address */
|
|
137
|
+
replyTo?: string;
|
|
138
|
+
/** Require TLS upgrade via STARTTLS */
|
|
139
|
+
requireTLS?: boolean;
|
|
140
|
+
/** Reject unauthorized TLS certificates */
|
|
141
|
+
tlsRejectUnauthorized?: boolean;
|
|
142
|
+
/** Use connection pooling for multiple emails */
|
|
143
|
+
pool?: boolean;
|
|
144
|
+
/** Maximum number of pooled connections */
|
|
145
|
+
maxConnections?: number;
|
|
146
|
+
/** Maximum messages per connection before reconnecting */
|
|
147
|
+
maxMessages?: number;
|
|
148
|
+
/** SMTP client hostname for EHLO/HELO */
|
|
149
|
+
name?: string;
|
|
150
|
+
/** Enable nodemailer logging */
|
|
151
|
+
logger?: boolean;
|
|
152
|
+
/** Enable nodemailer debug output */
|
|
153
|
+
debug?: boolean;
|
|
154
|
+
}
|
|
120
155
|
/**
|
|
121
156
|
* Code generation settings
|
|
122
157
|
*/
|
|
@@ -202,6 +237,8 @@ export interface PgpmOptions {
|
|
|
202
237
|
jobs?: JobsConfig;
|
|
203
238
|
/** Error output formatting options */
|
|
204
239
|
errorOutput?: ErrorOutputOptions;
|
|
240
|
+
/** SMTP email configuration */
|
|
241
|
+
smtp?: SmtpOptions;
|
|
205
242
|
}
|
|
206
243
|
/**
|
|
207
244
|
* Default configuration values for PGPM framework
|
package/pgpm.js
CHANGED