@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 CHANGED
@@ -85,6 +85,13 @@ export const pgpmDefaults = {
85
85
  queryHistoryLimit: 30,
86
86
  maxLength: 10000,
87
87
  verbose: false
88
+ },
89
+ smtp: {
90
+ port: 587,
91
+ secure: false,
92
+ pool: false,
93
+ logger: false,
94
+ debug: false
88
95
  }
89
96
  };
90
97
  export function getGitConfigInfo() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/types",
3
- "version": "2.14.1",
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.2.5"
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": "cb4af2cf6c23dad24cd951c232d3e2006b81aa3d"
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
@@ -89,6 +89,13 @@ exports.pgpmDefaults = {
89
89
  queryHistoryLimit: 30,
90
90
  maxLength: 10000,
91
91
  verbose: false
92
+ },
93
+ smtp: {
94
+ port: 587,
95
+ secure: false,
96
+ pool: false,
97
+ logger: false,
98
+ debug: false
92
99
  }
93
100
  };
94
101
  function getGitConfigInfo() {