@stacksjs/config 0.44.11 → 0.45.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/dist/index.d.ts +2 -103
- package/dist/index.mjs +5 -2
- package/package.json +4 -4
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,108 +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
|
-
email: {
|
|
134
|
-
sendgrid: {
|
|
135
|
-
key: any;
|
|
136
|
-
from: any;
|
|
137
|
-
senderName: any;
|
|
138
|
-
};
|
|
139
|
-
emailjs: {
|
|
140
|
-
from: any;
|
|
141
|
-
host: any;
|
|
142
|
-
user: any;
|
|
143
|
-
password: any;
|
|
144
|
-
port: any;
|
|
145
|
-
secure: any;
|
|
146
|
-
};
|
|
147
|
-
mailgun: {
|
|
148
|
-
key: any;
|
|
149
|
-
domain: any;
|
|
150
|
-
username: any;
|
|
151
|
-
from: any;
|
|
152
|
-
};
|
|
153
|
-
mailjet: {
|
|
154
|
-
key: any;
|
|
155
|
-
secret: any;
|
|
156
|
-
from: any;
|
|
157
|
-
};
|
|
158
|
-
mandrill: {
|
|
159
|
-
key: any;
|
|
160
|
-
from: any;
|
|
161
|
-
};
|
|
162
|
-
netcore: {
|
|
163
|
-
key: any;
|
|
164
|
-
from: any;
|
|
165
|
-
};
|
|
166
|
-
nodemailer: {
|
|
167
|
-
from: any;
|
|
168
|
-
host: any;
|
|
169
|
-
user: any;
|
|
170
|
-
password: any;
|
|
171
|
-
port: any;
|
|
172
|
-
secure: any;
|
|
173
|
-
};
|
|
174
|
-
postmark: {
|
|
175
|
-
key: any;
|
|
176
|
-
from: any;
|
|
177
|
-
};
|
|
178
|
-
ses: {
|
|
179
|
-
region: any;
|
|
180
|
-
key: any;
|
|
181
|
-
secret: any;
|
|
182
|
-
from: any;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
sms: {
|
|
186
|
-
twilio: {
|
|
187
|
-
sid: any;
|
|
188
|
-
authToken: any;
|
|
189
|
-
from: any;
|
|
190
|
-
to: any;
|
|
191
|
-
};
|
|
192
|
-
nexmo: {
|
|
193
|
-
key: any;
|
|
194
|
-
secret: any;
|
|
195
|
-
from: any;
|
|
196
|
-
};
|
|
197
|
-
gupshup: {
|
|
198
|
-
user: any;
|
|
199
|
-
password: any;
|
|
200
|
-
};
|
|
201
|
-
plivo: {
|
|
202
|
-
sid: any;
|
|
203
|
-
authToken: any;
|
|
204
|
-
from: any;
|
|
205
|
-
};
|
|
206
|
-
sms77: {
|
|
207
|
-
key: any;
|
|
208
|
-
from: any;
|
|
209
|
-
};
|
|
210
|
-
sns: {
|
|
211
|
-
region: any;
|
|
212
|
-
key: any;
|
|
213
|
-
secret: any;
|
|
214
|
-
};
|
|
215
|
-
telnyx: {
|
|
216
|
-
key: any;
|
|
217
|
-
messageProfileId: any;
|
|
218
|
-
from: any;
|
|
219
|
-
};
|
|
220
|
-
termii: {
|
|
221
|
-
key: any;
|
|
222
|
-
from: any;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
chat: {
|
|
226
|
-
discord: {};
|
|
227
|
-
slack: {
|
|
228
|
-
appId: any;
|
|
229
|
-
clientID: any;
|
|
230
|
-
secret: any;
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
};
|
|
132
|
+
declare const notification: NotificationOptions;
|
|
234
133
|
|
|
235
134
|
/**
|
|
236
135
|
* **Search Engine Options**
|
package/dist/index.mjs
CHANGED
|
@@ -365,6 +365,10 @@ const library = {
|
|
|
365
365
|
};
|
|
366
366
|
|
|
367
367
|
const notification = {
|
|
368
|
+
driver: env$1("NOTIFICATION_DRIVER", "sendgrid"),
|
|
369
|
+
novu: {
|
|
370
|
+
key: env$1("NOVU_API_KEY", "test-key")
|
|
371
|
+
},
|
|
368
372
|
email: {
|
|
369
373
|
sendgrid: {
|
|
370
374
|
key: env$1("SENDGRID_API_KEY", "test-value"),
|
|
@@ -458,10 +462,9 @@ const notification = {
|
|
|
458
462
|
}
|
|
459
463
|
},
|
|
460
464
|
chat: {
|
|
461
|
-
discord: {},
|
|
462
465
|
slack: {
|
|
463
466
|
appId: env$1("SLACK_APPLICATION_ID", "test-value"),
|
|
464
|
-
|
|
467
|
+
clientId: env$1("SLACK_CLIENT_ID", "test-value"),
|
|
465
468
|
secret: env$1("SLACK_SECRET_KEY", "test-value")
|
|
466
469
|
}
|
|
467
470
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.0",
|
|
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.
|
|
39
|
-
"@stacksjs/utils": "0.
|
|
38
|
+
"@stacksjs/path": "0.45.0",
|
|
39
|
+
"@stacksjs/utils": "0.45.0"
|
|
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.
|
|
45
|
+
"@stacksjs/testing": "0.45.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "unbuild",
|