@stacksjs/config 0.44.12 → 0.45.1

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CliOptions, AppOptions, DebugOptions, DeployOptions, DocsConfig, GitOptions, HashingOptions, LibraryOptions, SearchEngineOptions, UiOptions } from '@stacksjs/types';
1
+ import { CliOptions, AppOptions, DebugOptions, DeployOptions, DocsConfig, GitOptions, HashingOptions, LibraryOptions, NotificationOptions, SearchEngineOptions, UiOptions } from '@stacksjs/types';
2
2
 
3
3
  type Config = 'app' | 'cache' | 'database' | 'debug' | 'deploy' | 'docs' | 'git' | 'hashing' | 'library' | 'notification' | 'searchEngine' | 'services' | 'storage' | 'ui';
4
4
  declare function config(key?: Config, fallback?: any): any;
@@ -129,109 +129,7 @@ declare const library: LibraryOptions;
129
129
  * you may hover any of the options below and the definitions will be provided. In case
130
130
  * you have any questions, feel free to reach out via Discord or GitHub Discussions.
131
131
  */
132
- declare const notification: {
133
- driver: any;
134
- email: {
135
- sendgrid: {
136
- key: any;
137
- from: any;
138
- senderName: any;
139
- };
140
- emailjs: {
141
- from: any;
142
- host: any;
143
- user: any;
144
- password: any;
145
- port: any;
146
- secure: any;
147
- };
148
- mailgun: {
149
- key: any;
150
- domain: any;
151
- username: any;
152
- from: any;
153
- };
154
- mailjet: {
155
- key: any;
156
- secret: any;
157
- from: any;
158
- };
159
- mandrill: {
160
- key: any;
161
- from: any;
162
- };
163
- netcore: {
164
- key: any;
165
- from: any;
166
- };
167
- nodemailer: {
168
- from: any;
169
- host: any;
170
- user: any;
171
- password: any;
172
- port: any;
173
- secure: any;
174
- };
175
- postmark: {
176
- key: any;
177
- from: any;
178
- };
179
- ses: {
180
- region: any;
181
- key: any;
182
- secret: any;
183
- from: any;
184
- };
185
- };
186
- sms: {
187
- twilio: {
188
- sid: any;
189
- authToken: any;
190
- from: any;
191
- to: any;
192
- };
193
- nexmo: {
194
- key: any;
195
- secret: any;
196
- from: any;
197
- };
198
- gupshup: {
199
- user: any;
200
- password: any;
201
- };
202
- plivo: {
203
- sid: any;
204
- authToken: any;
205
- from: any;
206
- };
207
- sms77: {
208
- key: any;
209
- from: any;
210
- };
211
- sns: {
212
- region: any;
213
- key: any;
214
- secret: any;
215
- };
216
- telnyx: {
217
- key: any;
218
- messageProfileId: any;
219
- from: any;
220
- };
221
- termii: {
222
- key: any;
223
- from: any;
224
- };
225
- };
226
- chat: {
227
- discord: {};
228
- slack: {
229
- appId: any;
230
- clientID: any;
231
- secret: any;
232
- };
233
- };
234
- };
132
+ declare const notification: NotificationOptions;
235
133
 
236
134
  /**
237
135
  * **Search Engine Options**
package/dist/index.mjs CHANGED
@@ -365,7 +365,10 @@ const library = {
365
365
  };
366
366
 
367
367
  const notification = {
368
- driver: env$1("NOTIFICATION_DRIVER", "email"),
368
+ driver: env$1("NOTIFICATION_DRIVER", "sendgrid"),
369
+ novu: {
370
+ key: env$1("NOVU_API_KEY", "test-key")
371
+ },
369
372
  email: {
370
373
  sendgrid: {
371
374
  key: env$1("SENDGRID_API_KEY", "test-value"),
@@ -459,10 +462,9 @@ const notification = {
459
462
  }
460
463
  },
461
464
  chat: {
462
- discord: {},
463
465
  slack: {
464
466
  appId: env$1("SLACK_APPLICATION_ID", "test-value"),
465
- clientID: env$1("SLACK_CLIENT_ID", "test-value"),
467
+ clientId: env$1("SLACK_CLIENT_ID", "test-value"),
466
468
  secret: env$1("SLACK_SECRET_KEY", "test-value")
467
469
  }
468
470
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
- "version": "0.44.12",
4
+ "version": "0.45.1",
5
5
  "packageManager": "pnpm@7.18.2",
6
6
  "description": "The Stacks configuration.",
7
7
  "author": "Chris Breuer",
@@ -35,14 +35,14 @@
35
35
  "pnpm": ">=7.18.2"
36
36
  },
37
37
  "peerDependencies": {
38
- "@stacksjs/path": "0.44.12",
39
- "@stacksjs/utils": "0.44.12"
38
+ "@stacksjs/path": "0.45.1",
39
+ "@stacksjs/utils": "0.45.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "mkdist": "^1.0.0",
43
43
  "typescript": "^4.9.4",
44
44
  "unbuild": "^1.0.2",
45
- "@stacksjs/testing": "0.44.12"
45
+ "@stacksjs/testing": "0.45.1"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "unbuild",