@stacksjs/config 0.51.0 → 0.58.43
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/README.md +31 -13
- package/package.json +29 -27
- package/src/config.ts +38 -0
- package/src/defaults.ts +460 -0
- package/src/helpers.ts +256 -0
- package/src/index.ts +2 -0
- package/src/overrides.ts +47 -0
- package/LICENSE.md +0 -21
- package/dist/index.d.ts +0 -222
- package/dist/index.mjs +0 -509
package/src/helpers.ts
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import type { AppConfig, CacheConfig, CdnConfig, ChatConfig, CliConfig, DatabaseConfig, DependenciesConfig, DnsConfig, EmailConfig, Events, GitConfig, HashingConfig, JobConfig, LibraryConfig, Model, NotificationConfig, PaymentConfig, QueueConfig, SearchEngineConfig, SecurityConfig, ServicesConfig, SmsConfig, StacksConfig, StorageConfig, UiConfig } from '@stacksjs/types'
|
|
2
|
+
import { createLocalTunnel } from '@stacksjs/tunnel'
|
|
3
|
+
import { config } from '.'
|
|
4
|
+
|
|
5
|
+
export type LocalUrlType = 'frontend' | 'backend' | 'api' | 'admin' | 'library' | 'email' | 'docs' | 'inspect' | 'desktop'
|
|
6
|
+
|
|
7
|
+
export async function localUrl({
|
|
8
|
+
domain = config.app.url || 'stacks',
|
|
9
|
+
type = 'frontend' as LocalUrlType,
|
|
10
|
+
localhost = false,
|
|
11
|
+
https = undefined as boolean | undefined,
|
|
12
|
+
network = undefined as boolean | undefined,
|
|
13
|
+
} = {}) {
|
|
14
|
+
// Ensure url starts with http:// or https://
|
|
15
|
+
// if (!url.startsWith('http://') && !url.startsWith('https://'))
|
|
16
|
+
// url = 'https://' + url
|
|
17
|
+
let url
|
|
18
|
+
|
|
19
|
+
switch (type) {
|
|
20
|
+
case 'frontend':
|
|
21
|
+
if (network)
|
|
22
|
+
return await createLocalTunnel(config.app.ports?.frontend || 3333)
|
|
23
|
+
|
|
24
|
+
if (localhost)
|
|
25
|
+
return `http://localhost:${config.app.ports?.frontend}`
|
|
26
|
+
|
|
27
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost')
|
|
28
|
+
|
|
29
|
+
if (https)
|
|
30
|
+
return `https://${url}`
|
|
31
|
+
|
|
32
|
+
return url
|
|
33
|
+
case 'backend':
|
|
34
|
+
if (network)
|
|
35
|
+
return await createLocalTunnel(config.app.ports?.backend || 3334)
|
|
36
|
+
|
|
37
|
+
if (localhost)
|
|
38
|
+
return `http://localhost:${config.app.ports?.backend}`
|
|
39
|
+
|
|
40
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/api/')
|
|
41
|
+
|
|
42
|
+
if (https)
|
|
43
|
+
return `https://${url}`
|
|
44
|
+
|
|
45
|
+
return url
|
|
46
|
+
case 'api':
|
|
47
|
+
if (network)
|
|
48
|
+
return await createLocalTunnel(config.app.ports?.backend || 3334)
|
|
49
|
+
|
|
50
|
+
if (localhost)
|
|
51
|
+
return `http://localhost:${config.app.ports?.backend}`
|
|
52
|
+
|
|
53
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/api/')
|
|
54
|
+
|
|
55
|
+
if (https)
|
|
56
|
+
return `https://${url}`
|
|
57
|
+
|
|
58
|
+
return url
|
|
59
|
+
case 'admin':
|
|
60
|
+
if (network)
|
|
61
|
+
return await createLocalTunnel(config.app.ports?.admin || 3335)
|
|
62
|
+
|
|
63
|
+
if (localhost)
|
|
64
|
+
return `http://localhost:${config.app.ports?.admin}`
|
|
65
|
+
|
|
66
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/admin/')
|
|
67
|
+
|
|
68
|
+
if (https)
|
|
69
|
+
return `https://${url}`
|
|
70
|
+
|
|
71
|
+
return url
|
|
72
|
+
case 'library':
|
|
73
|
+
if (network)
|
|
74
|
+
return await createLocalTunnel(config.app.ports?.library || 3336)
|
|
75
|
+
|
|
76
|
+
if (localhost)
|
|
77
|
+
return `http://localhost:${config.app.ports?.library}`
|
|
78
|
+
|
|
79
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/libs/')
|
|
80
|
+
|
|
81
|
+
if (https)
|
|
82
|
+
return `https://${url}`
|
|
83
|
+
|
|
84
|
+
return url
|
|
85
|
+
case 'email':
|
|
86
|
+
if (network)
|
|
87
|
+
return await createLocalTunnel(config.app.ports?.email || 3338)
|
|
88
|
+
|
|
89
|
+
if (localhost)
|
|
90
|
+
return `http://localhost:${config.app.ports?.email}`
|
|
91
|
+
|
|
92
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/email/')
|
|
93
|
+
|
|
94
|
+
if (https)
|
|
95
|
+
return `https://${url}`
|
|
96
|
+
|
|
97
|
+
return url
|
|
98
|
+
case 'desktop':
|
|
99
|
+
if (network)
|
|
100
|
+
return await createLocalTunnel(config.app.ports?.desktop || 3337)
|
|
101
|
+
|
|
102
|
+
if (localhost)
|
|
103
|
+
return `http://localhost:${config.app.ports?.email}`
|
|
104
|
+
|
|
105
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/email/')
|
|
106
|
+
|
|
107
|
+
if (https)
|
|
108
|
+
return `https://${url}`
|
|
109
|
+
|
|
110
|
+
return url
|
|
111
|
+
case 'docs':
|
|
112
|
+
if (network)
|
|
113
|
+
return await createLocalTunnel(config.app.ports?.desktop || 3339)
|
|
114
|
+
|
|
115
|
+
if (localhost)
|
|
116
|
+
return `http://localhost:${config.app.ports?.docs}`
|
|
117
|
+
|
|
118
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/docs/')
|
|
119
|
+
|
|
120
|
+
if (https)
|
|
121
|
+
return `https://${url}`
|
|
122
|
+
|
|
123
|
+
return url
|
|
124
|
+
case 'inspect':
|
|
125
|
+
if (network)
|
|
126
|
+
return await createLocalTunnel(config.app.ports?.desktop || 3340)
|
|
127
|
+
|
|
128
|
+
if (localhost)
|
|
129
|
+
return `http://localhost:${config.app.ports?.inspect}`
|
|
130
|
+
|
|
131
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost/__inspect/')
|
|
132
|
+
|
|
133
|
+
if (https)
|
|
134
|
+
return `https://${url}`
|
|
135
|
+
|
|
136
|
+
return url
|
|
137
|
+
default:
|
|
138
|
+
if (localhost)
|
|
139
|
+
return `http://localhost:${config.app.ports?.frontend}`
|
|
140
|
+
|
|
141
|
+
url = domain.replace(/\.[^\.]+$/, '.localhost')
|
|
142
|
+
|
|
143
|
+
if (https)
|
|
144
|
+
return `https://${url}`
|
|
145
|
+
|
|
146
|
+
return url
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function defineStacksConfig(config: StacksConfig) {
|
|
151
|
+
return config
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function defineApp(config: AppConfig) {
|
|
155
|
+
return config
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function defineCache(config: CacheConfig) {
|
|
159
|
+
return config
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export function defineCdn(config: CdnConfig) {
|
|
163
|
+
return config
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function defineChat(config: ChatConfig) {
|
|
167
|
+
return config
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function defineCli(config: CliConfig) {
|
|
171
|
+
return config
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function defineJob(config: JobConfig) {
|
|
175
|
+
return config
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function defineCronJob(config: JobConfig) {
|
|
179
|
+
return config
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export function defineDatabase(config: DatabaseConfig) {
|
|
183
|
+
return config
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export function defineDependencies(config: DependenciesConfig) {
|
|
187
|
+
return config
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export function defineDns(config: DnsConfig) {
|
|
191
|
+
return config
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export function defineEmailConfig(config: EmailConfig) {
|
|
195
|
+
return config
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export function defineEmail(config: EmailConfig) {
|
|
199
|
+
return config
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export function defineGit(config: GitConfig) {
|
|
203
|
+
return config
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function defineHashing(config: HashingConfig) {
|
|
207
|
+
return config
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export function defineLibrary(config: LibraryConfig) {
|
|
211
|
+
return config
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export function defineNotification(config: NotificationConfig) {
|
|
215
|
+
return config
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export function definePayment(config: PaymentConfig) {
|
|
219
|
+
return config
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export function defineQueue(config: QueueConfig) {
|
|
223
|
+
return config
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export function defineSearchEngine(config: SearchEngineConfig) {
|
|
227
|
+
return config
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export function defineSecurity(config: SecurityConfig) {
|
|
231
|
+
return config
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export function defineServices(config: ServicesConfig) {
|
|
235
|
+
return config
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export function defineSms(config: SmsConfig) {
|
|
239
|
+
return config
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export function defineStorage(config: StorageConfig) {
|
|
243
|
+
return config
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export function defineUi(config: UiConfig) {
|
|
247
|
+
return config
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export function defineModel(config: Model) {
|
|
251
|
+
return config
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export function defineEvents(config: Events) {
|
|
255
|
+
return config
|
|
256
|
+
}
|
package/src/index.ts
ADDED
package/src/overrides.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { StacksConfig } from '@stacksjs/types'
|
|
2
|
+
import ai from '../../../../../config/ai'
|
|
3
|
+
import app from '../../../../../config/app'
|
|
4
|
+
import cache from '../../../../../config/cache'
|
|
5
|
+
import binary from '../../../../../config/cli'
|
|
6
|
+
import cloud from '../../../../../config/cloud'
|
|
7
|
+
import database from '../../../../../config/database'
|
|
8
|
+
import dns from '../../../../../config/dns'
|
|
9
|
+
import docs from '../../../../../config/docs'
|
|
10
|
+
import email from '../../../../../config/email'
|
|
11
|
+
import git from '../../../../../config/git'
|
|
12
|
+
import hashing from '../../../../../config/hashing'
|
|
13
|
+
import library from '../../../../../config/library'
|
|
14
|
+
import queue from '../../../../../config/queue'
|
|
15
|
+
import payment from '../../../../../config/payment'
|
|
16
|
+
import notification from '../../../../../config/notification'
|
|
17
|
+
import storage from '../../../../../config/storage'
|
|
18
|
+
import searchEngine from '../../../../../config/search-engine'
|
|
19
|
+
import security from '../../../../../config/security'
|
|
20
|
+
import services from '../../../../../config/services'
|
|
21
|
+
import team from '../../../../../config/team'
|
|
22
|
+
import ui from '../../../../../config/ui'
|
|
23
|
+
|
|
24
|
+
// this "user config" will override the default config options
|
|
25
|
+
export default {
|
|
26
|
+
ai,
|
|
27
|
+
app,
|
|
28
|
+
binary,
|
|
29
|
+
cache,
|
|
30
|
+
cloud,
|
|
31
|
+
database,
|
|
32
|
+
dns,
|
|
33
|
+
docs,
|
|
34
|
+
email,
|
|
35
|
+
git,
|
|
36
|
+
hashing,
|
|
37
|
+
library,
|
|
38
|
+
notification,
|
|
39
|
+
queue,
|
|
40
|
+
payment,
|
|
41
|
+
searchEngine,
|
|
42
|
+
security,
|
|
43
|
+
services,
|
|
44
|
+
storage,
|
|
45
|
+
team,
|
|
46
|
+
ui,
|
|
47
|
+
} satisfies StacksConfig
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Open Web Foundation
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/dist/index.d.ts
DELETED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
import { CliOptions, AppOptions, DebugOptions, DeployOptions, Events, GitOptions, HashingOptions, LibraryOptions, NotificationOptions, SearchEngineOptions, UiOptions, DocsConfig } from '@stacksjs/types';
|
|
2
|
-
|
|
3
|
-
type Config = 'app' | 'cache' | 'database' | 'debug' | 'deploy' | 'docs' | 'git' | 'hashing' | 'library' | 'notification' | 'searchEngine' | 'services' | 'storage' | 'ui';
|
|
4
|
-
declare function config$f(key?: Config, fallback?: any): any;
|
|
5
|
-
declare function env(key: string, fallback: any): any;
|
|
6
|
-
/**
|
|
7
|
-
* Determines the level of debugging.
|
|
8
|
-
* @param options
|
|
9
|
-
*/
|
|
10
|
-
declare function determineDebugMode(options?: CliOptions): boolean;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* **Application Options**
|
|
14
|
-
*
|
|
15
|
-
* This configuration defines all of your application options. Because Stacks is full-typed,
|
|
16
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
17
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
18
|
-
*/
|
|
19
|
-
declare const config$e: AppOptions;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* **Cache Options**
|
|
23
|
-
*
|
|
24
|
-
* This configuration defines all of your cache options. Because Stacks is full-typed,
|
|
25
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
26
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
27
|
-
*/
|
|
28
|
-
declare const config$d: {
|
|
29
|
-
driver: any;
|
|
30
|
-
redis: {
|
|
31
|
-
connection: string;
|
|
32
|
-
host: any;
|
|
33
|
-
port: any;
|
|
34
|
-
};
|
|
35
|
-
memcached: {
|
|
36
|
-
persistent_id: any;
|
|
37
|
-
sasl: any[];
|
|
38
|
-
options: {};
|
|
39
|
-
servers: {
|
|
40
|
-
host: any;
|
|
41
|
-
port: any;
|
|
42
|
-
weight: number;
|
|
43
|
-
}[];
|
|
44
|
-
};
|
|
45
|
-
dynamodb: {
|
|
46
|
-
key: any;
|
|
47
|
-
secret: any;
|
|
48
|
-
region: any;
|
|
49
|
-
table: any;
|
|
50
|
-
endpoint: any;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* **Database Options**
|
|
56
|
-
*
|
|
57
|
-
* This configuration defines all of your database options. Because Stacks is full-typed,
|
|
58
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
59
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
60
|
-
*/
|
|
61
|
-
declare const config$c: {
|
|
62
|
-
driver: string;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* **Debug Options**
|
|
67
|
-
*
|
|
68
|
-
* This configuration defines all of your database options. Because Stacks is full-typed,
|
|
69
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
70
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
71
|
-
*/
|
|
72
|
-
declare const config$b: DebugOptions;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* **Deployment Options**
|
|
76
|
-
*
|
|
77
|
-
* This configuration defines all of your deploy options. Because Stacks is full-typed,
|
|
78
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
79
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
80
|
-
*/
|
|
81
|
-
declare const config$a: DeployOptions;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* **Events**
|
|
85
|
-
*
|
|
86
|
-
* This configuration defines all of your events. Think of this as your Events type definitions:
|
|
87
|
-
* first, pick an event name and then define it with its return type. In case you
|
|
88
|
-
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
89
|
-
*/
|
|
90
|
-
declare const config$9: Events;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* **Git Options**
|
|
94
|
-
*
|
|
95
|
-
* This configuration defines all of your git options. Because Stacks is full-typed, you may
|
|
96
|
-
* hover any of the options below and the definitions will be provided. In case you
|
|
97
|
-
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
98
|
-
*/
|
|
99
|
-
declare const config$8: GitOptions;
|
|
100
|
-
|
|
101
|
-
declare const config$7: HashingOptions;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* **Library Options**
|
|
105
|
-
*
|
|
106
|
-
* This configuration defines all of your library options. Because Stacks is full-typed, you
|
|
107
|
-
* may hover any of the options below and the definitions will be provided. In case you
|
|
108
|
-
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
109
|
-
*/
|
|
110
|
-
declare const config$6: LibraryOptions;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* **Debug Options**
|
|
114
|
-
*
|
|
115
|
-
* This configuration defines all of your database options. Because Stacks is full-typed,
|
|
116
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
117
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
118
|
-
*/
|
|
119
|
-
declare const config$5: {
|
|
120
|
-
onboarding: {
|
|
121
|
-
path: string;
|
|
122
|
-
pages: never[];
|
|
123
|
-
};
|
|
124
|
-
settings: {
|
|
125
|
-
path: string;
|
|
126
|
-
pages: never[];
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* **Notification Options**
|
|
132
|
-
*
|
|
133
|
-
* This configuration defines all of your notification options. Because Stacks is full-typed,
|
|
134
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
135
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
136
|
-
*/
|
|
137
|
-
declare const config$4: NotificationOptions;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* **Search Engine Options**
|
|
141
|
-
*
|
|
142
|
-
* This configuration defines all of your search engine options. Because Stacks is full-typed,
|
|
143
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
144
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
145
|
-
*/
|
|
146
|
-
declare const config$3: SearchEngineOptions;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* **Services**
|
|
150
|
-
*
|
|
151
|
-
* This configuration defines all of your services. Because Stacks is full-typed, you may
|
|
152
|
-
* hover any of the options below and the definitions will be provided. In case you
|
|
153
|
-
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
154
|
-
*/
|
|
155
|
-
declare const config$2: {
|
|
156
|
-
algolia: {
|
|
157
|
-
appId: string;
|
|
158
|
-
apiKey: string;
|
|
159
|
-
indexName: string;
|
|
160
|
-
};
|
|
161
|
-
meilisearch: {
|
|
162
|
-
appId: string;
|
|
163
|
-
apiKey: string;
|
|
164
|
-
indexName: string;
|
|
165
|
-
};
|
|
166
|
-
stripe: {
|
|
167
|
-
appId: string;
|
|
168
|
-
apiKey: string;
|
|
169
|
-
};
|
|
170
|
-
planetscale: {
|
|
171
|
-
appId: string;
|
|
172
|
-
apiKey: string;
|
|
173
|
-
};
|
|
174
|
-
supabase: {
|
|
175
|
-
appId: string;
|
|
176
|
-
apiKey: string;
|
|
177
|
-
};
|
|
178
|
-
aws: {
|
|
179
|
-
appId: string;
|
|
180
|
-
apiKey: string;
|
|
181
|
-
};
|
|
182
|
-
novu: {
|
|
183
|
-
key: any;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* **Database Options**
|
|
189
|
-
*
|
|
190
|
-
* This configuration defines all of your database options. Because Stacks is full-typed,
|
|
191
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
192
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
193
|
-
*/
|
|
194
|
-
declare const config$1: {
|
|
195
|
-
driver: string;
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* **UI Engine Options**
|
|
200
|
-
*
|
|
201
|
-
* This configuration defines all of your UI Engine options. Because Stacks is full-typed, you
|
|
202
|
-
* may hover any of the options below and the definitions will be provided. In case you
|
|
203
|
-
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
204
|
-
*/
|
|
205
|
-
declare const config: UiOptions;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* **Documentation Options**
|
|
209
|
-
*
|
|
210
|
-
* This configuration defines all of your documentation options. Because Stacks is full-typed,
|
|
211
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
212
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
213
|
-
*/
|
|
214
|
-
declare const _default: DocsConfig;
|
|
215
|
-
|
|
216
|
-
declare namespace docs {
|
|
217
|
-
export {
|
|
218
|
-
_default as default,
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
export { config$e as app, config$d as cache, config$f as config, config$c as database, config$b as debug, config$a as deploy, determineDebugMode, docs, env, config$9 as events, config$8 as git, config$7 as hashing, config$6 as library, config$4 as notification, config$5 as page, config$3 as searchEngine, config$2 as services, config$1 as storage, config as ui };
|