@stacksjs/config 0.61.24 → 0.63.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.js CHANGED
@@ -13,291 +13,63 @@ var __export = (target, all) => {
13
13
  // src/config.ts
14
14
  var exports_config = {};
15
15
  __export(exports_config, {
16
- ui: () => {
17
- {
18
- return ui2;
19
- }
20
- },
21
- team: () => {
22
- {
23
- return team2;
24
- }
25
- },
26
- storage: () => {
27
- {
28
- return storage2;
29
- }
30
- },
31
- services: () => {
32
- {
33
- return services2;
34
- }
35
- },
36
- security: () => {
37
- {
38
- return security3;
39
- }
40
- },
41
- searchEngine: () => {
42
- {
43
- return searchEngine;
44
- }
45
- },
46
- queue: () => {
47
- {
48
- return queue2;
49
- }
50
- },
51
- ports: () => {
52
- {
53
- return ports2;
54
- }
55
- },
56
- payment: () => {
57
- {
58
- return payment2;
59
- }
60
- },
61
- overrides: () => {
62
- {
63
- return overrides_default;
64
- }
65
- },
66
- notification: () => {
67
- {
68
- return notification2;
69
- }
70
- },
71
- logger: () => {
72
- {
73
- return logger2;
74
- }
75
- },
76
- localUrl: () => {
77
- {
78
- return localUrl;
79
- }
80
- },
81
- library: () => {
82
- {
83
- return library2;
84
- }
85
- },
86
- hashing: () => {
87
- {
88
- return hashing2;
89
- }
90
- },
91
- git: () => {
92
- {
93
- return git2;
94
- }
95
- },
96
- errors: () => {
97
- {
98
- return errors2;
99
- }
100
- },
101
- email: () => {
102
- {
103
- return email2;
104
- }
105
- },
106
- docs: () => {
107
- {
108
- return docs2;
109
- }
110
- },
111
- dns: () => {
112
- {
113
- return dns2;
114
- }
115
- },
116
- determineAppEnv: () => {
117
- {
118
- return determineAppEnv;
119
- }
120
- },
121
- defineUi: () => {
122
- {
123
- return defineUi;
124
- }
125
- },
126
- defineStorage: () => {
127
- {
128
- return defineStorage;
129
- }
130
- },
131
- defineStacksConfig: () => {
132
- {
133
- return defineStacksConfig;
134
- }
135
- },
136
- defineSms: () => {
137
- {
138
- return defineSms;
139
- }
140
- },
141
- defineServices: () => {
142
- {
143
- return defineServices;
144
- }
145
- },
146
- defineSecurity: () => {
147
- {
148
- return defineSecurity;
149
- }
150
- },
151
- defineSearchEngine: () => {
152
- {
153
- return defineSearchEngine;
154
- }
155
- },
156
- defineQueue: () => {
157
- {
158
- return defineQueue;
159
- }
160
- },
161
- definePayment: () => {
162
- {
163
- return definePayment;
164
- }
165
- },
166
- defineNotification: () => {
167
- {
168
- return defineNotification;
169
- }
170
- },
171
- defineModel: () => {
172
- {
173
- return defineModel;
174
- }
175
- },
176
- defineLibrary: () => {
177
- {
178
- return defineLibrary;
179
- }
180
- },
181
- defineJob: () => {
182
- {
183
- return defineJob;
184
- }
185
- },
186
- defineHashing: () => {
187
- {
188
- return defineHashing;
189
- }
190
- },
191
- defineGit: () => {
192
- {
193
- return defineGit;
194
- }
195
- },
196
- defineEvents: () => {
197
- {
198
- return defineEvents;
199
- }
200
- },
201
- defineEmailConfig: () => {
202
- {
203
- return defineEmailConfig;
204
- }
205
- },
206
- defineEmail: () => {
207
- {
208
- return defineEmail;
209
- }
210
- },
211
- defineDns: () => {
212
- {
213
- return defineDns;
214
- }
215
- },
216
- defineDependencies: () => {
217
- {
218
- return defineDependencies;
219
- }
220
- },
221
- defineDatabase: () => {
222
- {
223
- return defineDatabase;
224
- }
225
- },
226
- defineCronJob: () => {
227
- {
228
- return defineCronJob;
229
- }
230
- },
231
- defineCli: () => {
232
- {
233
- return defineCli;
234
- }
235
- },
236
- defineChat: () => {
237
- {
238
- return defineChat;
239
- }
240
- },
241
- defineCdn: () => {
242
- {
243
- return defineCdn;
244
- }
245
- },
246
- defineCache: () => {
247
- {
248
- return defineCache;
249
- }
250
- },
251
- defineApp: () => {
252
- {
253
- return defineApp;
254
- }
255
- },
256
- defaults: () => {
257
- {
258
- return defaults_default;
259
- }
260
- },
261
- database: () => {
262
- {
263
- return database2;
264
- }
265
- },
266
- config: () => {
267
- {
268
- return config;
269
- }
270
- },
271
- cloud: () => {
272
- {
273
- return cloud2;
274
- }
275
- },
276
- cli: () => {
277
- {
278
- return cli2;
279
- }
280
- },
281
- cache: () => {
282
- {
283
- return cache2;
284
- }
285
- },
286
- app: () => {
287
- {
288
- return app2;
289
- }
290
- },
291
- analytics: () => {
292
- {
293
- return analytics2;
294
- }
295
- },
296
- ai: () => {
297
- {
298
- return ai2;
299
- }
300
- }
16
+ ui: () => ui2,
17
+ team: () => team2,
18
+ storage: () => storage2,
19
+ services: () => services2,
20
+ security: () => security3,
21
+ searchEngine: () => searchEngine,
22
+ queue: () => queue2,
23
+ ports: () => ports2,
24
+ payment: () => payment2,
25
+ overrides: () => overrides_default,
26
+ notification: () => notification2,
27
+ logger: () => logger2,
28
+ localUrl: () => localUrl,
29
+ library: () => library2,
30
+ hashing: () => hashing2,
31
+ git: () => git2,
32
+ errors: () => errors2,
33
+ email: () => email2,
34
+ docs: () => docs,
35
+ dns: () => dns2,
36
+ determineAppEnv: () => determineAppEnv,
37
+ defineUi: () => defineUi,
38
+ defineStorage: () => defineStorage,
39
+ defineStacksConfig: () => defineStacksConfig,
40
+ defineSms: () => defineSms,
41
+ defineServices: () => defineServices,
42
+ defineSecurity: () => defineSecurity,
43
+ defineSearchEngine: () => defineSearchEngine,
44
+ defineQueue: () => defineQueue,
45
+ definePayment: () => definePayment,
46
+ defineNotification: () => defineNotification,
47
+ defineModel: () => defineModel,
48
+ defineLibrary: () => defineLibrary,
49
+ defineJob: () => defineJob,
50
+ defineHashing: () => defineHashing,
51
+ defineGit: () => defineGit,
52
+ defineEvents: () => defineEvents,
53
+ defineEmailConfig: () => defineEmailConfig,
54
+ defineEmail: () => defineEmail,
55
+ defineDns: () => defineDns,
56
+ defineDependencies: () => defineDependencies,
57
+ defineDatabase: () => defineDatabase,
58
+ defineCronJob: () => defineCronJob,
59
+ defineCli: () => defineCli,
60
+ defineChat: () => defineChat,
61
+ defineCdn: () => defineCdn,
62
+ defineCache: () => defineCache,
63
+ defineApp: () => defineApp,
64
+ defaults: () => defaults_default,
65
+ database: () => database2,
66
+ config: () => config,
67
+ cloud: () => cloud2,
68
+ cli: () => cli2,
69
+ cache: () => cache2,
70
+ app: () => app2,
71
+ analytics: () => analytics2,
72
+ ai: () => ai2
301
73
  });
302
74
 
303
75
  // src/defaults.ts
@@ -321,17 +93,6 @@ var defaults_default = {
321
93
  analytics: {
322
94
  driver: undefined
323
95
  },
324
- api: {
325
- prefix: "api",
326
- middleware: ["auth"],
327
- routes: {
328
- index: true,
329
- show: true,
330
- store: true,
331
- update: true,
332
- destroy: true
333
- }
334
- },
335
96
  app: {
336
97
  name: "Stacks",
337
98
  description: "A Stacks application.",
@@ -848,15 +609,15 @@ var analytics_default = {
848
609
  // ../../../../config/app.ts
849
610
  import {env as env2} from "@stacksjs/env";
850
611
  var app_default = {
851
- name: env2.APP_NAME || "Stacks",
612
+ name: env2.APP_NAME ?? "Stacks",
852
613
  description: "Stacks is a full-stack framework for building modern web applications.",
853
- env: env2.APP_ENV || "local",
854
- url: env2.APP_URL || "stacks.localhost",
614
+ env: env2.APP_ENV ?? "local",
615
+ url: env2.APP_URL ?? "stacks.localhost",
855
616
  redirectUrls: ["stacksjs.com"],
856
- debug: env2.DEBUG || false,
617
+ debug: env2.DEBUG ?? false,
857
618
  key: env2.APP_KEY,
858
- maintenanceMode: env2.APP_MAINTENANCE || false,
859
- docMode: true,
619
+ maintenanceMode: env2.APP_MAINTENANCE ?? false,
620
+ docMode: false,
860
621
  timezone: "America/Los_Angeles",
861
622
  locale: "en",
862
623
  fallbackLocale: "en",
@@ -1021,564 +782,6 @@ var dns_default = {
1021
782
  nameservers: []
1022
783
  };
1023
784
 
1024
- // ../../../../config/docs.ts
1025
- import {SocialLinkIcon} from "@stacksjs/types";
1026
- var nav = [
1027
- {
1028
- text: "Docs",
1029
- link: "/guide/intro"
1030
- },
1031
- {
1032
- text: "Changelog",
1033
- link: "https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md"
1034
- },
1035
- {
1036
- text: "Resources",
1037
- items: [
1038
- { text: "Team", link: "/team" },
1039
- { text: "Postcardware", link: "/postcardware" },
1040
- {
1041
- items: [
1042
- {
1043
- text: "Awesome Stacks",
1044
- link: "https://github.com/stacksjs/awesome-stacks"
1045
- },
1046
- {
1047
- text: "Contributing",
1048
- link: "https://github.com/stacksjs/stacks/blob/main/.github/CONTRIBUTING.md"
1049
- }
1050
- ]
1051
- }
1052
- ]
1053
- }
1054
- ];
1055
- var sidebar = {
1056
- "/guide/": [
1057
- {
1058
- text: "Prologue",
1059
- collapsible: true,
1060
- items: [
1061
- { text: "Release Notes", link: "/release-notes" },
1062
- { text: "Upgrade Guide", link: "/upgrade-guide" },
1063
- { text: "Contribution Guide", link: "/contribution-guide" }
1064
- ]
1065
- },
1066
- {
1067
- text: "Getting Started",
1068
- collapsible: true,
1069
- items: [
1070
- { text: "Introduction", link: "/guide/intro" },
1071
- { text: "Quick Start", link: "/guide/get-started" }
1072
- ]
1073
- },
1074
- {
1075
- text: "Basics",
1076
- collapsible: true,
1077
- items: [
1078
- { text: "Routing", link: "/basics/routing" },
1079
- { text: "Middleware", link: "/basics/middleware" },
1080
- { text: "Models", link: "/basics/models" },
1081
- { text: "Views", link: "/basics/views" },
1082
- { text: "Actions", link: "/basics/actions" },
1083
- { text: "Commands", link: "/basics/commands" },
1084
- { text: "Jobs", link: "/basics/jobs" },
1085
- { text: "Components", link: "/basics/components" },
1086
- { text: "Functions", link: "/basics/functions" },
1087
- { text: "Validation", link: "/basics/validation" },
1088
- { text: "Error Handling", link: "/basics/error-handling" },
1089
- { text: "Logging", link: "/basics/logging" }
1090
- ]
1091
- },
1092
- {
1093
- text: "Bootcamp",
1094
- collapsible: true,
1095
- collapsed: true,
1096
- items: [
1097
- { text: "Welcome", link: "/bootcamp/intro" },
1098
- {
1099
- text: "Let\u2019s Build",
1100
- collapsible: true,
1101
- collapsed: true,
1102
- items: [
1103
- { text: "Build a Frontend", link: "/bootcamp/frontend" },
1104
- { text: "Build an API", link: "/bootcamp/api" },
1105
- { text: "Build a Documentation", link: "/bootcamp/docs" },
1106
- {
1107
- text: "Build a Library",
1108
- collapsible: true,
1109
- collapsed: true,
1110
- items: [
1111
- {
1112
- text: "Component Library",
1113
- link: "/bootcamp/library/components"
1114
- },
1115
- {
1116
- text: "Function Library",
1117
- link: "/bootcamp/library/functions"
1118
- }
1119
- ]
1120
- },
1121
- { text: "Build a CLI", link: "/bootcamp/cli" },
1122
- {
1123
- text: "Build a SaaS",
1124
- collapsible: true,
1125
- collapsed: true,
1126
- items: [
1127
- {
1128
- text: "Team Management",
1129
- link: "/bootcamp/saas/team-management"
1130
- },
1131
- { text: "Payments", link: "/bootcamp/saas/payments" },
1132
- { text: "Subscriptions", link: "/bootcamp/saas/subscriptions" },
1133
- {
1134
- text: "License Key Management",
1135
- link: "/bootcamp/saas/license-key-management"
1136
- },
1137
- {
1138
- text: "Digital Downloads",
1139
- link: "/bootcamp/saas/digital-downloads"
1140
- },
1141
- { text: "Checkout Form", link: "/bootcamp/saas/checkout-form" },
1142
- {
1143
- text: "Affiliates Program",
1144
- link: "/bootcamp/saas/affiliates-program"
1145
- }
1146
- ]
1147
- },
1148
- { text: "Build a Desktop App", link: "/bootcamp/desktop" },
1149
- { text: "Build a System Tray App", link: "/bootcamp/system-tray" },
1150
- { text: "Build a Mobile App", link: "/bootcamp/mobile" }
1151
- ]
1152
- },
1153
- {
1154
- text: "How-To",
1155
- collapsible: true,
1156
- collapsed: true,
1157
- items: [
1158
- { text: "Authentication", link: "/bootcamp/how-to/authentication" },
1159
- {
1160
- text: "Create a Mailbox",
1161
- link: "/bootcamp/how-to/create-mailbox"
1162
- },
1163
- {
1164
- text: "Define env & config values",
1165
- link: "/bootcamp/how-to/env-config"
1166
- },
1167
- { text: "Error Handling", link: "/bootcamp/how-to/error-handling" },
1168
- { text: "Extend the Cloud", link: "/bootcamp/how-to/extend-cloud" },
1169
- {
1170
- text: "Extend the Dashboard",
1171
- link: "/bootcamp/how-to/extend-dashboard"
1172
- },
1173
- { text: "How to deploy?", link: "/bootcamp/how-to/deploy" },
1174
- { text: "IDE Setup", link: "/bootcamp/how-to/ide-setup" },
1175
- { text: "Manage a Team", link: "/bootcamp/how-to/manage-team" },
1176
- {
1177
- text: "Publish Components & Functions",
1178
- link: "/bootcamp/how-to/publish"
1179
- },
1180
- { text: "Unit & Feature Tests", link: "/bootcamp/how-to/testing" },
1181
- {
1182
- text: "Review bun.lockb Diff",
1183
- link: "/bootcamp/how-to/bun-lockb"
1184
- }
1185
- ]
1186
- },
1187
- {
1188
- text: "Tips",
1189
- collapsible: true,
1190
- collapsed: true,
1191
- items: [
1192
- {
1193
- text: "Cost Optimization",
1194
- link: "/bootcamp/tips/cost-optimization"
1195
- },
1196
- {
1197
- text: "Email, SMS, Social & Push Notifications",
1198
- link: "/bootcamp/tips/notifications"
1199
- },
1200
- { text: "Jump Box", link: "/bootcamp/tips/jump-box" },
1201
- { text: "Limitations", link: "/bootcamp/tips/limitations" },
1202
- {
1203
- text: "Payment sending, receiving & management",
1204
- link: "/bootcamp/tips/payments"
1205
- },
1206
- { text: "Remove your Cloud", link: "/bootcamp/tips/undeploy" },
1207
- {
1208
- text: "Semantic Commits",
1209
- link: "/bootcamp/tips/semantic-commits"
1210
- },
1211
- { text: "Ship your ORM", link: "/bootcamp/tips/orm-usage" },
1212
- { text: "System Tray App", link: "/bootcamp/tips/system-tray" },
1213
- { text: "Oh My Zsh", link: "/bootcamp/tips/oh-my-zsh" }
1214
- ]
1215
- },
1216
- { text: "Conclusion", link: "/bootcamp/conclusion" }
1217
- ]
1218
- },
1219
- {
1220
- text: "Digging Deeper",
1221
- collapsible: true,
1222
- collapsed: true,
1223
- items: [
1224
- {
1225
- text: "Frontend",
1226
- collapsible: true,
1227
- collapsed: true,
1228
- items: [
1229
- { text: "Custom Directives", link: "/guide/custom-directives" },
1230
- {
1231
- text: "Built-in Components",
1232
- collapsible: true,
1233
- collapsed: true,
1234
- items: [
1235
- { text: "Auth", link: "/guide/components/auth" },
1236
- { text: "Modal", link: "/guide/components/modal" },
1237
- { text: "Notification", link: "/guide/components/notification" },
1238
- { text: "KeepAlive", link: "/guide/components/keep-alive" },
1239
- { text: "Stepper", link: "/guide/components/stepper" },
1240
- { text: "Suspense", link: "/guide/components/suspense" },
1241
- { text: "Table", link: "/guide/components/table" },
1242
- { text: "Teleport", link: "/guide/components/teleport" },
1243
- { text: "Transition", link: "/guide/components/transition" },
1244
- {
1245
- text: "TransitionGroup",
1246
- link: "/guide/components/transition-group"
1247
- }
1248
- ]
1249
- }
1250
- ]
1251
- },
1252
- {
1253
- text: "Backend",
1254
- collapsible: true,
1255
- collapsed: true,
1256
- items: [
1257
- { text: "Authentication", link: "/guide/auth" },
1258
- {
1259
- text: "Cache",
1260
- collapsible: true,
1261
- collapsed: true,
1262
- items: [
1263
- { text: "Drivers", link: "/guide/cache/drivers" },
1264
- { text: "Build a Custom Driver", link: "/guide/cache/build-custom-driver" }
1265
- ]
1266
- },
1267
- { text: "Database", link: "/packages/database" },
1268
- { text: "Error Handling", link: "/packages/error-handling" },
1269
- { text: "Events", link: "/packages/events" },
1270
- { text: "Logging", link: "/packages/logging" },
1271
- { text: "Middleware", link: "/guide/middleware" },
1272
- {
1273
- text: "Notifications",
1274
- link: "/packages/notifications",
1275
- collapsible: true,
1276
- collapsed: true,
1277
- items: [
1278
- { text: "Chat", link: "/packages/chat" },
1279
- { text: "Email", link: "/packages/email" },
1280
- { text: "SMS", link: "/packages/sms" },
1281
- { text: "Push", link: "/packages/push" }
1282
- ]
1283
- },
1284
- { text: "Payments", link: "/packages/payments" },
1285
- { text: "Permissions", link: "/packages/permissions" },
1286
- { text: "Queue", link: "/packages/queue" },
1287
- { text: "Realtime", link: "/packages/realtime" },
1288
- { text: "Router", link: "/packages/router" },
1289
- { text: "Scheduler", link: "/packages/scheduler" },
1290
- {
1291
- text: "Search Engine",
1292
- collapsible: true,
1293
- collapsed: true,
1294
- items: [
1295
- { text: "Drivers", link: "/guide/search-engine/drivers" },
1296
- { text: "Build a Custom Driver", link: "/guide/search-engine/build-custom-driver" }
1297
- ]
1298
- },
1299
- {
1300
- text: "Storage",
1301
- collapsible: true,
1302
- collapsed: true,
1303
- items: [
1304
- { text: "Drivers", link: "/guide/storage/drivers" },
1305
- { text: "Build a Custom Driver", link: "/guide/storage/build-custom-driver" }
1306
- ]
1307
- },
1308
- { text: "Validation", link: "/packages/validation" }
1309
- ]
1310
- },
1311
- {
1312
- text: "Cloud",
1313
- collapsible: true,
1314
- collapsed: true,
1315
- items: [
1316
- { text: "Deploy", link: "/guide/cloud/deployment" },
1317
- { text: "Extend Cloud", link: "/guide/cloud/extend" }
1318
- ]
1319
- },
1320
- {
1321
- text: "Library",
1322
- collapsible: true,
1323
- collapsed: true,
1324
- items: [
1325
- { text: "Component Library", link: "/guide/libraries/components" },
1326
- { text: "Function Library", link: "/guide/libraries/functions" },
1327
- { text: "Composability", link: "/guide/libraries/composability" },
1328
- { text: "Publishing", link: "/guide/libraries/publishing" },
1329
- { text: "Versioning", link: "/guide/libraries/versioning" },
1330
- { text: "Testing", link: "/guide/libraries/testing" }
1331
- ]
1332
- },
1333
- {
1334
- text: "CLI",
1335
- collapsible: true,
1336
- collapsed: true,
1337
- items: [
1338
- { text: "Commands", link: "/guide/cli/commands" },
1339
- { text: "Binaries", link: "/guide/cli/binaries" },
1340
- { text: "Listeners", link: "/guide/cli/listeners" },
1341
- { text: "Logging", link: "/guide/cli/logs" },
1342
- { text: "Prompts", link: "/guide/cli/prompts" },
1343
- { text: "Testing", link: "/guide/cli/testing" }
1344
- ]
1345
- },
1346
- {
1347
- text: "Buddy",
1348
- collapsible: true,
1349
- collapsed: true,
1350
- link: "/guide/buddy",
1351
- items: [
1352
- { text: "Introduction", link: "/guide/buddy/intro" },
1353
- { text: "Dev", link: "/guide/buddy/dev" },
1354
- { text: "Build", link: "/guide/buddy/build" },
1355
- { text: "Fresh", link: "/guide/buddy/clean" },
1356
- { text: "Clean", link: "/guide/buddy/clean" },
1357
- { text: "Make", link: "/guide/buddy/make" },
1358
- { text: "Migrate", link: "/guide/buddy/migrate" },
1359
- { text: "Seed", link: "/guide/buddy/seed" },
1360
- { text: "Cloud", link: "/guide/buddy/cloud" },
1361
- { text: "Deploy", link: "/guide/buddy/deploy" },
1362
- { text: "Commit", link: "/guide/buddy/commit" },
1363
- { text: "Lint", link: "/guide/buddy/make" },
1364
- { text: "Release", link: "/guide/buddy/release" },
1365
- { text: "Changelog", link: "/guide/buddy/changelog" },
1366
- { text: "HTTP", link: "/guide/buddy/http" },
1367
- { text: "DNS", link: "/guide/buddy/dns" },
1368
- { text: "Key", link: "/guide/buddy/key" },
1369
- { text: "Projects", link: "/guide/buddy/projects" },
1370
- { text: "Domains", link: "/guide/buddy/domains" },
1371
- { text: "Generate", link: "/guide/buddy/generate" },
1372
- { text: "Test", link: "/guide/buddy/test" },
1373
- { text: "Upgrade", link: "/guide/buddy/upgrade" },
1374
- { text: "Version", link: "/guide/buddy/version" }
1375
- ]
1376
- },
1377
- { text: "Bootstrap", link: "/guide/bootstrap" },
1378
- { text: "CI / CD", link: "/guide/ci" },
1379
- { text: "Dashboard", link: "/guide/dashboard" },
1380
- { text: "Model-View-Action", link: "/guide/model-view-action" },
1381
- {
1382
- text: "Package Manager",
1383
- link: "/guide/package-manager",
1384
- collapsible: true,
1385
- collapsed: true,
1386
- items: [
1387
- {
1388
- text: "`buddy install`",
1389
- link: "/guide/package-manager/buddy-install"
1390
- },
1391
- { text: "`buddy add`", link: "/guide/package-manager/buddy-add" },
1392
- { text: "`buddy remove`", link: "/guide/package-manager/remove" },
1393
- {
1394
- text: "`buddy upgrade -pm`",
1395
- link: "/guide/package-manager/upgrade"
1396
- },
1397
- { text: "`buddy link`", link: "/guide/package-manager/link" },
1398
- {
1399
- text: "Global Cache",
1400
- link: "/guide/package-manager/global-cache"
1401
- },
1402
- { text: "Workspaces", link: "/guide/package-manager/workspaces" },
1403
- {
1404
- text: "Lifecycle Scripts",
1405
- link: "/guide/package-manager/lifecycle-scripts"
1406
- },
1407
- { text: "Lockfile", link: "/guide/package-manager/lockfile" },
1408
- {
1409
- text: "Overrides & Resolutions",
1410
- link: "/guide/package-manager/overrides-resolutions"
1411
- }
1412
- ]
1413
- },
1414
- { text: "Plugins", link: "/guide/plugins" },
1415
- { text: "System Tray", link: "/guide/system-tray" },
1416
- { text: "$ Shell", link: "/guide/$-shell" }
1417
- ]
1418
- },
1419
- {
1420
- text: "Components",
1421
- collapsible: true,
1422
- collapsed: true,
1423
- items: [
1424
- { text: "Calendar", link: "/components/calendar" },
1425
- { text: "Command Palette", link: "/components/command-palette" },
1426
- { text: "Dropdown", link: "/components/dropdown" },
1427
- { text: "Form", link: "/components/form" },
1428
- { text: "Modal", link: "/components/modal" },
1429
- { text: "Notification", link: "/components/notification" },
1430
- { text: "Stepper", link: "/components/stepper" },
1431
- { text: "Table", link: "/components/table" }
1432
- ]
1433
- },
1434
- {
1435
- text: "Packages",
1436
- collapsible: true,
1437
- collapsed: true,
1438
- items: [
1439
- { text: "Actions", link: "/packages/actions" },
1440
- { text: "AI", link: "/packages/ai" },
1441
- { text: "Alias", link: "/packages/alias" },
1442
- { text: "Analytics", link: "/packages/analytics" },
1443
- { text: "Arrays", link: "/packages/arrays" },
1444
- { text: "Auth", link: "/packages/auth" },
1445
- { text: "Buddy", link: "/packages/buddy" },
1446
- { text: "Build", link: "/packages/build" },
1447
- { text: "Cache", link: "/packages/cache" },
1448
- { text: "CLI", link: "/packages/cli" },
1449
- { text: "Cloud", link: "/packages/cloud" },
1450
- { text: "Collections", link: "/packages/collections" },
1451
- { text: "Config", link: "/packages/config" },
1452
- { text: "Database", link: "/packages/database" },
1453
- { text: "Datetime", link: "/packages/datetime" },
1454
- { text: "Desktop", link: "/packages/desktop" },
1455
- { text: "Development", link: "/packages/development" },
1456
- { text: "DNS", link: "/packages/dns" },
1457
- { text: "Docs", link: "/packages/docs" },
1458
- { text: "Env", link: "/packages/env" },
1459
- { text: "Error Handling", link: "/packages/error-handling" },
1460
- { text: "Events", link: "/packages/events" },
1461
- { text: "Faker", link: "/packages/faker" },
1462
- { text: "Git", link: "/packages/git" },
1463
- { text: "Glob", link: "/packages/glob" },
1464
- { text: "Health", link: "/packages/health" },
1465
- { text: "Http", link: "/packages/http" },
1466
- { text: "Lint", link: "/packages/lint" },
1467
- { text: "Logging", link: "/packages/logging" },
1468
- { text: "Modules", link: "/packages/modules" },
1469
- {
1470
- text: "Notifications",
1471
- link: "/packages/notifications",
1472
- collapsible: true,
1473
- collapsed: true,
1474
- items: [
1475
- { text: "Chat", link: "/packages/chat" },
1476
- { text: "Email", link: "/packages/email" },
1477
- { text: "SMS", link: "/packages/sms" },
1478
- { text: "Push", link: "/packages/push" }
1479
- ]
1480
- },
1481
- { text: "Objects", link: "/packages/objects" },
1482
- { text: "ORM", link: "/packages/orm" },
1483
- { text: "Path", link: "/packages/path" },
1484
- { text: "Payments", link: "/packages/payments" },
1485
- { text: "Permissions", link: "/packages/permissions" },
1486
- {
1487
- text: "Query Builder",
1488
- link: "/packages/query-builder",
1489
- collapsible: true,
1490
- collapsed: true,
1491
- items: [
1492
- { text: "Select", link: "/packages/query-builder/select" },
1493
- { text: "Where", link: "/packages/query-builder/where" },
1494
- { text: "Join", link: "/packages/query-builder/join" },
1495
- { text: "Insert", link: "/packages/insert" },
1496
- { text: "Update", link: "/packages/update" },
1497
- { text: "Delete", link: "/packages/delete" },
1498
- { text: "Transactions", link: "/packages/transcations" },
1499
- { text: "Recipes", link: "/packages/recipes" }
1500
- ]
1501
- },
1502
- { text: "Queue", link: "/packages/queue" },
1503
- { text: "Realtime", link: "/packages/realtime" },
1504
- { text: "REPL", link: "/packages/repl" },
1505
- { text: "Router", link: "/packages/router" },
1506
- { text: "Scheduler", link: "/packages/scheduler" },
1507
- { text: "Search Engine", link: "/packages/search-engine" },
1508
- { text: "Security", link: "/packages/security" },
1509
- { text: "Semver", link: "/packages/semver" },
1510
- { text: "Server", link: "/packages/server" },
1511
- { text: "Signals", link: "/packages/signals" },
1512
- { text: "Slug", link: "/packages/slug" },
1513
- { text: "Storage", link: "/packages/storage" },
1514
- { text: "Strings", link: "/packages/strings" },
1515
- { text: "Testing", link: "/packages/testing" },
1516
- { text: "Tinker", link: "/packages/tinker" },
1517
- { text: "Tunnel", link: "/packages/tunnel" },
1518
- { text: "Types", link: "/packages/types" },
1519
- { text: "UI", link: "/packages/ui" },
1520
- { text: "Utils", link: "/packages/utils" },
1521
- { text: "Validation", link: "/packages/validation" },
1522
- { text: "Vite", link: "/packages/vite" }
1523
- ]
1524
- },
1525
- {
1526
- text: "Testing",
1527
- collapsible: true,
1528
- collapsed: true,
1529
- items: [
1530
- { text: "Getting Started", link: "/testing/getting-started" },
1531
- { text: "Unit Tests", link: "/testing/unit-tests" },
1532
- { text: "Feature Tests", link: "/testing/feature-tests" },
1533
- { text: "Http Tests", link: "/testing/http-tests" },
1534
- { text: "Console Tests", link: "/testing/console-tests" },
1535
- { text: "Browser Tests", link: "/testing/browser-tests" },
1536
- { text: "Database", link: "/testing/database" },
1537
- { text: "Mocking", link: "/testing/mocking" }
1538
- ]
1539
- },
1540
- {
1541
- text: "Project",
1542
- collapsible: true,
1543
- collapsed: true,
1544
- items: [
1545
- { text: "Roadmap", link: "/project/roadmap" },
1546
- { text: "Contributing", link: "/project/contributing" },
1547
- { text: "Terminology", link: "/project/terminology" },
1548
- { text: "License", link: "/project/license" }
1549
- ]
1550
- }
1551
- ]
1552
- };
1553
- var docs_default = {
1554
- lang: "en-US",
1555
- title: "Stacks",
1556
- description: "Rapid application, cloud & library development framework.",
1557
- lastUpdated: true,
1558
- deploy: true,
1559
- themeConfig: {
1560
- logo: "https://raw.githubusercontent.com/stacksjs/stacks/main/public/logo-transparent.svg?https://raw.githubusercontent.com/stacksjs/stacks/main/public/logo-transparent.svg?asdas",
1561
- nav,
1562
- sidebar,
1563
- editLink: {
1564
- pattern: "https://github.com/stacksjs/stacks/edit/main/docs/docs/:path",
1565
- text: "Edit this page on GitHub"
1566
- },
1567
- footer: {
1568
- message: "Released under the MIT License.",
1569
- copyright: "Copyright \xA9 2024-present Stacks.js, Inc."
1570
- },
1571
- socialLinks: [
1572
- { icon: SocialLinkIcon.Twitter, link: "https://twitter.com/stacksjs" },
1573
- {
1574
- icon: SocialLinkIcon.GitHub,
1575
- link: "https://github.com/stacksjs/stacks"
1576
- },
1577
- { icon: SocialLinkIcon.Discord, link: "https://discord.gg/stacksjs" }
1578
- ]
1579
- }
1580
- };
1581
-
1582
785
  // ../../../../config/email.ts
1583
786
  import {env as env12} from "@stacksjs/env";
1584
787
  var email_default = {
@@ -1939,7 +1142,8 @@ var team_default = {
1939
1142
  freddy: "freddy@stacksjs.org",
1940
1143
  glenn: "glenn@stacksjs.org",
1941
1144
  dorell: "dorell@stacksjs.org",
1942
- avery: "avery@stacksjs.org"
1145
+ avery: "avery@stacksjs.org",
1146
+ adelino: "adelino@stacksjs.org"
1943
1147
  }
1944
1148
  };
1945
1149
 
@@ -1994,7 +1198,6 @@ var overrides_default = {
1994
1198
  cloud: cloud_default,
1995
1199
  database: database_default,
1996
1200
  dns: dns_default,
1997
- docs: docs_default,
1998
1201
  email: email_default,
1999
1202
  errors: errors_default,
2000
1203
  git: git_default,
@@ -2210,7 +1413,7 @@ var {
2210
1413
  cli: cli2,
2211
1414
  database: database2,
2212
1415
  dns: dns2,
2213
- docs: docs2,
1416
+ docs,
2214
1417
  email: email2,
2215
1418
  errors: errors2,
2216
1419
  git: git2,
@@ -2260,7 +1463,7 @@ export {
2260
1463
  git2 as git,
2261
1464
  errors2 as errors,
2262
1465
  email2 as email,
2263
- docs2 as docs,
1466
+ docs,
2264
1467
  dns2 as dns,
2265
1468
  determineAppEnv,
2266
1469
  defineUi,
@@ -2300,3 +1503,6 @@ export {
2300
1503
  analytics2 as analytics,
2301
1504
  ai2 as ai
2302
1505
  };
1506
+
1507
+ //# debugId=73F59A5528E3DEE364756E2164756E21
1508
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,37 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/defaults.ts", "../../../../../config/ai.ts", "../../../../../config/analytics.ts", "../../../../../config/app.ts", "../../../../../config/cache.ts", "../../../../../config/cli.ts", "../../../../../config/cloud.ts", "../../../../../config/security.ts", "../../../../../config/database.ts", "../../../../../config/dns.ts", "../../../../../config/email.ts", "../../../../../config/errors.ts", "../../../../../config/git.ts", "../../../../../config/hashing.ts", "../../../../../config/library.ts", "../../../../../config/logger.ts", "../../../../../config/notification.ts", "../../../../../config/payment.ts", "../../../../../config/ports.ts", "../../../../../config/queue.ts", "../../../../../config/search-engine.ts", "../../../../../config/services.ts", "../../../../../config/storage.ts", "../../../../../config/team.ts", "../../../../../config/ui.ts", "../src/overrides.ts", "../src/helpers.ts", "../src/config.ts"],
4
+ "sourcesContent": [
5
+ "import { commandsPath, userDatabasePath } from '@stacksjs/path'\nimport type { StacksOptions } from '@stacksjs/types'\n\n// import { userConfig as overrides } from './overrides'\n\nexport default {\n ai: {\n deploy: false,\n models: [\n 'amazon.titan-embed-text-v1',\n 'amazon.titan-text-express-v1',\n 'amazon.titan-embed-image-v1',\n 'amazon.titan-image-generator-v1',\n 'anthropic.claude-v1',\n 'anthropic.claude-v2',\n 'anthropic.claude-v2:1',\n 'anthropic.claude-instant-v1',\n 'meta.llama2-13b-chat-v1',\n 'meta.llama2-70b-chat-v1',\n ],\n },\n\n analytics: {\n driver: undefined,\n },\n\n // api: {\n // // version: 'v1',\n // prefix: 'api',\n // middleware: ['Api'],\n // routes: {\n // index: true,\n // show: true,\n // store: true,\n // update: true,\n // destroy: true,\n // },\n // },\n\n app: {\n name: 'Stacks',\n description: 'A Stacks application.',\n env: 'local',\n url: 'stacks.localhost',\n debug: true,\n key: '',\n timezone: 'UTC',\n locale: 'en',\n fallbackLocale: 'en',\n cipher: 'AES-256-CBC',\n docMode: false,\n redirectUrls: [],\n maintenanceMode: false,\n },\n\n cli: {\n name: 'My Custom CLI',\n command: 'my-custom-cli',\n description: 'Stacks is a full-stack framework for TypeScript.',\n source: commandsPath(),\n deploy: false,\n },\n\n cache: {\n driver: 'redis',\n prefix: 'stx',\n ttl: 3600,\n\n drivers: {\n redis: {\n connection: 'default',\n host: 'localhost',\n port: 6379,\n username: '',\n password: '',\n },\n },\n },\n\n cloud: {\n type: 'serverless',\n\n driver: 'aws',\n\n storage: {},\n\n environments: ['production', 'staging', 'development'],\n\n firewall: {\n enabled: true,\n countryCodes: [],\n ipAddresses: [],\n queryString: [],\n httpHeaders: [],\n // ipSets: [],\n rateLimitPerMinute: 1000,\n useIpReputationLists: true,\n useKnownBadInputsRuleSet: true,\n },\n\n cdn: {\n allowedMethods: 'GET_HEAD',\n cachedMethods: 'GET_HEAD',\n minTtl: 0,\n defaultTtl: 86400,\n maxTtl: 31536000,\n compress: true,\n priceClass: 'PriceClass_All',\n originShieldRegion: 'us-east-1',\n cookieBehavior: 'none',\n allowList: {\n cookies: [],\n headers: [],\n queryStrings: [],\n },\n realtimeLogs: {\n enabled: true,\n samplingRate: 2,\n },\n },\n\n fileSystem: false,\n },\n\n database: {\n default: 'sqlite',\n\n connections: {\n sqlite: {\n database: userDatabasePath('stacks.sqlite'),\n prefix: '',\n },\n },\n\n migrations: 'migrations',\n migrationLocks: 'migration_locks',\n },\n\n dns: {\n driver: 'aws',\n a: [],\n aaaa: [],\n cname: [],\n mx: [],\n txt: [],\n },\n\n docs: {\n lang: 'en-US',\n title: 'Stacks',\n description: 'Rapid application, cloud & library framework.',\n lastUpdated: true,\n deploy: false,\n\n themeConfig: {\n editLink: {\n pattern: 'https://github.com/stacksjs/stacks/edit/main/docs/docs/:path',\n text: 'Edit this page on GitHub',\n },\n\n footer: {\n message: 'Released under the MIT License.',\n copyright: 'Copyright © 2024-present Stacks.js, Inc.',\n },\n\n // algolia: services.algolia,\n\n // carbonAds: {\n // code: '',\n // placement: '',\n // },\n },\n },\n\n email: {\n from: {\n name: 'Stacks',\n address: 'no-reply@stacksjs.org',\n },\n\n mailboxes: [],\n\n server: {\n scan: true,\n },\n },\n\n errors: {\n messages: {\n string: 'The {{ field }} field must be a string',\n email: 'The {{ field }} field must be a valid email address',\n regex: 'The {{ field }} field format is invalid',\n url: 'The {{ field }} field must be a valid URL',\n activeUrl: 'The {{ field }} field must be a valid URL',\n alpha: 'The {{ field }} field must contain only letters',\n alphaNumeric: 'The {{ field }} field must contain only letters and numbers',\n minLength: 'The {{ field }} field must have at least {{ min }} characters',\n maxLength: 'The {{ field }} field must not be greater than {{ max }} characters',\n fixedLength: 'The {{ field }} field must be {{ size }} characters long',\n confirmed: 'The {{ field }} field and {{ otherField }} field must be the same',\n endsWith: 'The {{ field }} field must end with {{ substring }}',\n startsWith: 'The {{ field }} field must start with {{ substring }}',\n sameAs: 'The {{ field }} field and {{ otherField }} field must be the same',\n notSameAs: 'The {{ field }} field and {{ otherField }} field must be different',\n in: 'The selected {{ field }} is invalid',\n notIn: 'The selected {{ field }} is invalid',\n ipAddress: 'The {{ field }} field must be a valid IP address',\n uuid: 'The {{ field }} field must be a valid UUID',\n ascii: 'The {{ field }} field must only contain ASCII characters',\n creditCard: 'The {{ field }} field must be a valid {{ providersList }} card number',\n hexCode: 'The {{ field }} field must be a valid hex color code',\n iban: 'The {{ field }} field must be a valid IBAN number',\n jwt: 'The {{ field }} field must be a valid JWT token',\n coordinates: 'The {{ field }} field must contain latitude and longitude coordinates',\n mobile: 'The {{ field }} field must be a valid mobile phone number',\n passport: 'The {{ field }} field must be a valid passport number',\n postalCode: 'The {{ field }} field must be a valid postal code',\n\n // boolean\n boolean: 'The value must be a boolean',\n\n // number\n number: 'The {{ field }} field must be a number',\n min: 'The {{ field }} field must be at least {{ min }}',\n max: 'The {{ field }} field must not be greater than {{ max }}',\n range: 'The {{ field }} field must be between {{ min }} and {{ max }}',\n positive: 'The {{ field }} field must be positive',\n negative: 'The {{ field }} field must be negative',\n decimal: 'The {{ field }} field must have {{ digits }} decimal places',\n withoutDecimals: 'The {{ field }} field must not have decimal places',\n\n // date\n date: 'The {{ field }} field must be a datetime value',\n 'date.equals': 'The {{ field }} field must be a date equal to {{ expectedValue }}',\n 'date.after': 'The {{ field }} field must be a date after {{ expectedValue }}',\n 'date.before': 'The {{ field }} field must be a date before {{ expectedValue }}',\n 'date.afterOrEqual': 'The {{ field }} field must be a date after or equal to {{ expectedValue }}',\n 'date.beforeOrEqual': 'The {{ field }} field must be a date before or equal to {{ expectedValue }}',\n 'date.sameAs': 'The {{ field }} field and {{ otherField }} field must be the same',\n 'date.notSameAs': 'The {{ field }} field and {{ otherField }} field must be different',\n 'date.afterField': 'The {{ field }} field must be a date after {{ otherField }}',\n\n // accepted\n accepted: 'The {{ field }} field must be accepted',\n\n // enum\n enum: 'The selected {{ field }} is invalid',\n\n // literal\n literal: 'The {{ field }} field must be {{ expectedValue }}',\n\n // object\n object: 'The {{ field }} field must be an object',\n\n // record\n record: 'The {{ field }} field must be an object',\n 'record.minLength': 'The {{ field }} field must have at least {{ min }} items',\n 'record.maxLength': 'The {{ field }} field must not have more than {{ max }} items',\n 'record.fixedLength': 'The {{ field }} field must contain {{ size }} items',\n\n // array\n array: 'The {{ field }} field must be an array',\n 'array.minLength': 'The {{ field }} field must have at least {{ min }} items',\n 'array.maxLength': 'The {{ field }} field must not have more than {{ max }} items',\n 'array.fixedLength': 'The {{ field }} field must contain {{ size }} items',\n notEmpty: 'The {{ field }} field must not be empty',\n distinct: 'The {{ field }} field has duplicate values',\n\n // tuple\n tuple: 'The {{ field }} field must be an array',\n\n // union\n union: 'Invalid value provided for {{ field }} field',\n unionGroup: 'Invalid value provided for {{ field }} field',\n unionOfTypes: 'Invalid value provided for {{ field }} field',\n },\n },\n\n git: {\n hooks: {\n 'pre-commit': 'lint-staged',\n },\n\n scopes: [\n '',\n 'ci',\n 'deps',\n 'dx',\n 'release',\n 'docs',\n 'test',\n 'core',\n 'actions',\n 'arrays',\n 'auth',\n 'build',\n 'cache',\n 'cli',\n 'cloud',\n 'collections',\n 'config',\n 'database',\n 'datetime',\n 'docs',\n 'errors',\n 'git',\n 'lint',\n 'x-ray',\n 'modules',\n 'notifications',\n 'objects',\n 'path',\n 'realtime',\n 'router',\n 'buddy',\n 'security',\n 'server',\n 'storage',\n 'strings',\n 'tests',\n 'types',\n 'ui',\n 'utils',\n ],\n\n messages: {\n type: 'Select the type of change that you’re committing:',\n scope: 'Select the SCOPE of this change (optional):',\n customScope: 'Select the SCOPE of this change:',\n subject: 'Write a SHORT, IMPERATIVE tense description of the change:\\n',\n body: 'Provide a LONGER description of the change (optional). Use \"|\" to break new line:\\n',\n breaking: 'List any BREAKING CHANGES (optional). Use \"|\" to break new line:\\n',\n footerPrefixesSelect: 'Select the ISSUES type of the change list by this change (optional):',\n customFooterPrefixes: 'Input ISSUES prefix:',\n footer: 'List any ISSUES by this change. E.g.: #31, #34:\\n',\n confirmCommit: 'Are you sure you want to proceed with the commit above?',\n },\n\n types: [\n {\n value: 'feat',\n name: 'feat: ✨ A new feature',\n emoji: ':sparkles:',\n },\n { value: 'fix', name: 'fix: 🐛 A bug fix', emoji: ':bug:' },\n {\n value: 'docs',\n name: 'docs: 📝 Documentation only changes',\n emoji: ':memo:',\n },\n {\n value: 'style',\n name: 'style: 💄 Changes that do not affect the meaning of the code',\n emoji: ':lipstick:',\n },\n {\n value: 'refactor',\n name: 'refactor: ♻️ A code change that neither fixes a bug nor adds a feature',\n emoji: ':recycle:',\n },\n {\n value: 'perf',\n name: 'perf: ⚡️ A code change that improves performance',\n emoji: ':zap:',\n },\n {\n value: 'test',\n name: 'test: ✅ Adding missing tests or adjusting existing tests',\n emoji: ':white_check_mark:',\n },\n {\n value: 'build',\n name: 'build: 📦️ Changes that affect the build system or external dependencies',\n emoji: ':package:',\n },\n {\n value: 'ci',\n name: 'ci: 🎡 Changes to our CI configuration files and scripts',\n emoji: ':ferris_wheel:',\n },\n {\n value: 'chore',\n name: 'chore: 🔨 Other changes that don’t modify src or test files',\n emoji: ':hammer:',\n },\n {\n value: 'revert',\n name: 'revert: ⏪️ Reverts a previous commit',\n emoji: ':rewind:',\n },\n ],\n },\n\n hashing: {\n driver: 'argon2',\n\n bcrypt: {\n rounds: 10,\n cost: 4, // number between 4-31\n },\n\n argon2: {\n memory: 65536, // memory usage in kibibytes\n // threads: 1,\n time: 1, // the number of iterations\n },\n },\n\n library: {\n name: 'hello-world',\n owner: '@stacksjs', // you may or may not add the @ prefix here (it is added automatically)\n repository: 'stacksjs/stacks',\n license: 'MIT',\n author: 'Chris Breuer',\n contributors: ['Chris Breuer <chris@stacksjs.org>'],\n defaultLanguage: 'en',\n\n vueComponents: {\n name: 'hello-world-vue',\n description: 'Your Vue component library description',\n keywords: ['component', 'library', 'vue', 'vite', 'typescript', 'javascript'],\n tags: [\n {\n name: ['HelloWorld', 'AppHelloWorld'],\n description: 'The Hello World custom element, built via this framework.',\n attributes: [\n {\n name: 'greeting',\n description: 'The greeting.',\n },\n ],\n },\n ],\n },\n\n webComponents: {\n name: 'hello-world-elements',\n description: 'Your framework agnostic web component library description.',\n keywords: ['custom-elements', 'web-components', 'library', 'framework-agnostic', 'typescript', 'javascript'],\n tags: [\n {\n name: ['HelloWorld', 'AppHelloWorld'],\n description: 'The Hello World custom element, built via this framework.',\n attributes: [\n {\n name: 'greeting',\n description: 'The greeting.',\n },\n ],\n },\n ],\n },\n\n functions: {\n name: 'hello-world-fx',\n description: 'Your function library description.',\n keywords: ['functions', 'composables', 'library', 'typescript', 'javascript'],\n shouldGenerateSourcemap: false,\n files: ['counter', 'dark'],\n },\n },\n\n logger: {\n level: 3,\n logFilePath: 'storage/logs/console.log',\n errorsPath: 'storage/logs/errors.log',\n },\n\n notification: {\n default: 'email',\n },\n\n payment: {\n driver: 'stripe',\n },\n\n ports: {\n frontend: 3000,\n backend: 3001,\n admin: 3002,\n library: 3003,\n desktop: 3004,\n email: 3005,\n docs: 3006,\n inspect: 3007,\n api: 3008,\n systemTray: 3009,\n database: 3010,\n // mobile: 3010,\n },\n\n queue: {\n default: 'sync',\n\n connections: {\n sync: {\n driver: 'sync',\n },\n\n database: {\n driver: 'database',\n table: 'jobs',\n queue: 'default',\n retry_after: 90,\n },\n\n redis: {\n driver: 'redis',\n connection: 'default',\n queue: 'default',\n retry_after: 90,\n },\n\n sqs: {\n driver: 'sqs',\n key: '',\n secret: '',\n prefix: '',\n suffix: '',\n queue: 'default',\n region: 'us-east-1',\n },\n },\n },\n\n searchEngine: {\n driver: 'opensearch',\n },\n\n security: {\n firewall: {\n enabled: true,\n countryCodes: [],\n ipAddresses: [],\n queryString: [],\n httpHeaders: [],\n // ipSets: [],\n rateLimitPerMinute: 1000,\n useIpReputationLists: true,\n useKnownBadInputsRuleSet: true,\n },\n },\n\n services: {\n aws: {\n accountId: '',\n appId: '',\n apiKey: '',\n region: 'us-east-1',\n },\n\n algolia: {\n appId: '',\n apiKey: '',\n },\n\n meilisearch: {\n appId: '',\n apiKey: '',\n },\n\n stripe: {\n appId: '',\n apiKey: '',\n },\n },\n\n storage: {\n driver: 's3',\n },\n\n team: {\n name: 'Stacks',\n members: {\n 'Chris Breuer': 'chris@stacksjs.org',\n },\n },\n\n ui: {\n shortcuts: [\n [\n 'btn',\n 'inline-flex items-center px-4 py-2 ml-2 border border-transparent shadow-sm text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 cursor-pointer',\n ],\n ],\n\n safelist: 'prose prose-sm m-auto text-left',\n\n trigger: ':stx:',\n classPrefix: 'stx-',\n reset: 'tailwind',\n\n icons: ['heroicons'],\n\n fonts: {\n email: {\n title: 'Mona',\n text: 'Hubot',\n },\n\n desktop: {\n title: 'Mona',\n text: 'Hubot',\n },\n\n mobile: {\n title: 'Mona',\n text: 'Hubot',\n },\n\n web: {\n title: 'Mona',\n text: 'Hubot',\n },\n },\n },\n} satisfies StacksOptions\n",
6
+ "import type { AiConfig } from '@stacksjs/types'\n\n/**\n * **AI Configuration**\n *\n * This configuration defines all of your AI options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n default: 'meta.llama2-70b-chat-v1',\n\n models: [\n // 'amazon.titan-embed-text-v1',\n // Supported use cases – Retrieval augmented generation, open-ended text generation, brainstorming, summarizations, code generation, table creation, data formatting, paraphrasing, chain of thought, rewrite, extraction, QnA, and chat\n 'amazon.titan-text-express-v1',\n // Amazon Titan Text Lite is a light weight efficient model, ideal for fine-tuning of English-language tasks, including like summarizations and copy writing, where customers want a smaller, more cost-effective model that is also highly customizable\n 'amazon.titan-text-lite-v1',\n // 'amazon.titan-embed-image-v1',\n // 'amazon.titan-image-generator-v1',\n // 'anthropic.claude-v1',\n // 'anthropic.claude-v2',\n // 'anthropic.claude-v2:1',\n // 'anthropic.claude-instant-v1',\n // 'meta.llama2-13b-chat-v1',\n 'meta.llama2-70b-chat-v1',\n ],\n\n deploy: true, // deploys AI endpoints\n} satisfies AiConfig\n",
7
+ "import type { AnalyticsConfig } from '@stacksjs/types'\n\n/**\n * **Analytics Configuration**\n *\n * This configuration defines all of your Analytics options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n driver: 'fathom',\n\n drivers: {\n googleAnalytics: {\n trackingId: 'UA-XXXXXXXXX-X',\n },\n\n fathom: {\n siteId: 'WOLZMJDL',\n },\n },\n} satisfies AnalyticsConfig\n",
8
+ "import { env } from '@stacksjs/env'\nimport type { AppConfig } from '@stacksjs/types'\n\n/**\n * **Application Configuration**\n *\n * This configuration defines all of your application options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n name: env.APP_NAME ?? 'Stacks',\n description: 'Stacks is a full-stack framework for building modern web applications.',\n env: env.APP_ENV ?? 'local',\n url: env.APP_URL ?? 'stacks.localhost',\n redirectUrls: ['stacksjs.com'],\n debug: env.DEBUG ?? false,\n key: env.APP_KEY,\n\n maintenanceMode: env.APP_MAINTENANCE ?? false,\n // docMode: true, // instead of example.com/docs, deploys example.com as main entry point for docs\n docMode: false,\n\n timezone: 'America/Los_Angeles',\n locale: 'en',\n fallbackLocale: 'en',\n cipher: 'aes-256-cbc',\n} satisfies AppConfig\n",
9
+ "import { env } from '@stacksjs/env'\nimport type { CacheConfig } from '@stacksjs/types'\n\n/**\n * **Cache Configuration**\n *\n * This configuration defines all of your cache options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n driver: 'dynamodb',\n prefix: 'stacks',\n ttl: 3600,\n\n drivers: {\n dynamodb: {\n key: env.AWS_ACCESS_KEY_ID || '',\n secret: env.AWS_SECRET_ACCESS_KEY || '',\n region: env.AWS_DEFAULT_REGION || 'us-east-1',\n table: 'cache',\n endpoint: '',\n },\n\n memcached: {\n persistent_id: '',\n sasl: ['', ''],\n options: {\n // Memcached::OPT_CONNECT_TIMEOUT => 2000,\n },\n servers: [\n {\n host: '127.0.0.1',\n port: 11211,\n weight: 100,\n },\n ],\n },\n\n redis: {\n connection: 'cache',\n host: '127.0.0.1',\n port: 6379,\n password: '',\n username: 'stacks',\n },\n },\n} satisfies CacheConfig\n",
10
+ "import type { BinaryConfig } from '@stacksjs/types'\n\n/**\n * **Binary / CLI Configuration**\n *\n * This configuration defines all of your Binary/CLI options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n name: 'My Custom CLI',\n command: 'custom-cli', // enables `custom-cli <command> <options>`\n description:\n 'This is an example command to illustrate how to create your own commands. Check out `../app/commands` for more.',\n deploy: true, // deploys CLI setup endpoint (./bootstrap)\n} satisfies BinaryConfig\n",
11
+ "import { env } from '@stacksjs/env'\nimport type { CloudConfig } from '@stacksjs/types'\nimport security from './security'\n\n/**\n * **Cloud**\n *\n * This configuration defines your cloud. Because Stacks is fully-typed, you may hover\n * any of the options below and the definitions will be provided. In case you have\n * any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n type: 'serverless',\n driver: 'aws',\n firewall: security.firewall,\n environments: ['production', 'staging', 'development'],\n\n storage: {},\n\n api: {\n prefix: env.API_PREFIX || 'api',\n // version: 'v1',\n description: 'My awesome Stacks API',\n deploy: true,\n memorySize: 512,\n prewarm: 10,\n timeout: 30,\n },\n\n cdn: {\n compress: true,\n\n allowedMethods: 'ALL',\n cachedMethods: 'GET_HEAD',\n originShieldRegion: 'us-east-1',\n minTtl: 0,\n defaultTtl: 86400,\n maxTtl: 31536000,\n cookieBehavior: 'none',\n\n allowList: {\n cookies: [],\n headers: [],\n queryStrings: [],\n },\n\n realtimeLogs: {\n enabled: true,\n samplingRate: 1,\n },\n },\n\n fileSystem: true, // enables file system\n\n // compute: {},\n // queues: false,\n // queue-concurrency: 50\n} satisfies CloudConfig\n",
12
+ "import type { SecurityConfig } from '@stacksjs/types'\n\n/**\n * **Services**\n *\n * This configuration defines all of your services. Because Stacks is fully-typed, you may\n * hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n firewall: {\n enabled: true,\n countryCodes: ['RU', 'IR'],\n ipAddresses: [],\n rateLimitPerMinute: 1000,\n useIpReputationLists: true,\n useKnownBadInputsRuleSet: true,\n queryString: [],\n httpHeaders: [],\n },\n} satisfies SecurityConfig\n",
13
+ "import { env } from '@stacksjs/env'\nimport type { DatabaseConfig } from '@stacksjs/types'\n\n/**\n * **Database Configuration**\n *\n * This configuration defines all of your database options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n default: env.DB_CONNECTION || 'mysql',\n\n connections: {\n sqlite: {\n database: env.DB_DATABASE || 'stacks',\n prefix: '',\n },\n\n dynamodb: {\n key: env.AWS_ACCESS_KEY_ID || '',\n secret: env.AWS_SECRET_ACCESS_KEY || '',\n region: env.AWS_DEFAULT_REGION || 'us-east-1',\n prefix: env.DB_DATABASE || 'stacks',\n endpoint: 'http://localhost',\n port: env.DB_PORT || 8000,\n },\n\n mysql: {\n name: env.DB_DATABASE || 'stacks',\n host: env.DB_HOST || '127.0.0.1',\n port: env.DB_PORT || 3306,\n username: env.DB_USERNAME || 'root',\n password: env.DB_PASSWORD || '',\n prefix: '',\n },\n\n postgres: {\n name: env.DB_DATABASE || 'stacks',\n host: env.DB_HOST || '127.0.0.1',\n port: env.DB_PORT || 3306,\n username: env.DB_USERNAME || '',\n password: env.DB_PASSWORD || '',\n prefix: '',\n },\n },\n\n migrations: 'migrations',\n migrationLocks: 'migration_locks',\n} satisfies DatabaseConfig\n",
14
+ "import { env } from '@stacksjs/env'\nimport type { DnsConfig } from '@stacksjs/types'\n\n/**\n * **DNS Options**\n *\n * This configuration defines all of your DNS options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n a: [\n {\n name: env.APP_URL || '', // Hostname (root domain)\n address: '10.0.0.1', // IPv4 address\n ttl: 300, // Time-to-live in seconds\n },\n\n {\n name: 'www',\n address: '@',\n ttl: 300,\n },\n ],\n aaaa: [],\n cname: [],\n mx: [],\n txt: [],\n\n nameservers: [],\n\n // redirects: ['stacksjs.com', 'buddy.sh'],\n} satisfies DnsConfig\n",
15
+ "import { env } from '@stacksjs/env'\nimport type { EmailConfig } from '@stacksjs/types'\n\n/**\n * **Email Configuration**\n *\n * This configuration defines all of your email options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n from: {\n name: env.MAIL_FROM_NAME || 'Stacks',\n address: env.MAIL_FROM_ADDRESS || 'no-reply@stacksjs.org',\n },\n\n mailboxes: ['chris@stacksjs.org', 'blake@stacksjs.org', 'glenn@stacksjs.org'],\n\n url: env.APP_URL || 'http://localhost:3000',\n charset: 'UTF-8',\n\n server: {\n scan: true, // scans for spam and viruses\n },\n} satisfies EmailConfig\n",
16
+ "import type { ErrorConfig } from '@stacksjs/types'\n\n/**\n * **Error Options**\n *\n * This configuration defines all of your DNS options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n messages: {\n string: 'The {{ field }} field must be a string',\n email: 'The {{ field }} field must be a valid email address',\n regex: 'The {{ field }} field format is invalid',\n url: 'The {{ field }} field must be a valid URL',\n activeUrl: 'The {{ field }} field must be a valid URL',\n alpha: 'The {{ field }} field must contain only letters',\n alphaNumeric: 'The {{ field }} field must contain only letters and numbers',\n minLength: 'The {{ field }} field must have at least {{ min }} characters',\n maxLength: 'The {{ field }} field must not be greater than {{ max }} characters',\n fixedLength: 'The {{ field }} field must be {{ size }} characters long',\n confirmed: 'The {{ field }} field and {{ otherField }} field must be the same',\n endsWith: 'The {{ field }} field must end with {{ substring }}',\n startsWith: 'The {{ field }} field must start with {{ substring }}',\n sameAs: 'The {{ field }} field and {{ otherField }} field must be the same',\n notSameAs: 'The {{ field }} field and {{ otherField }} field must be different',\n in: 'The selected {{ field }} is invalid',\n notIn: 'The selected {{ field }} is invalid',\n ipAddress: 'The {{ field }} field must be a valid IP address',\n uuid: 'The {{ field }} field must be a valid UUID',\n ascii: 'The {{ field }} field must only contain ASCII characters',\n creditCard: 'The {{ field }} field must be a valid {{ providersList }} card number',\n hexCode: 'The {{ field }} field must be a valid hex color code',\n iban: 'The {{ field }} field must be a valid IBAN number',\n jwt: 'The {{ field }} field must be a valid JWT token',\n coordinates: 'The {{ field }} field must contain latitude and longitude coordinates',\n mobile: 'The {{ field }} field must be a valid mobile phone number',\n passport: 'The {{ field }} field must be a valid passport number',\n postalCode: 'The {{ field }} field must be a valid postal code',\n\n // boolean\n boolean: 'The value must be a boolean',\n\n // number\n number: 'The {{ field }} field must be a number',\n min: 'The {{ field }} field must be at least {{ min }}',\n max: 'The {{ field }} field must not be greater than {{ max }}',\n range: 'The {{ field }} field must be between {{ min }} and {{ max }}',\n positive: 'The {{ field }} field must be positive',\n negative: 'The {{ field }} field must be negative',\n decimal: 'The {{ field }} field must have {{ digits }} decimal places',\n withoutDecimals: 'The {{ field }} field must not have decimal places',\n\n // date\n date: 'The {{ field }} field must be a datetime value',\n 'date.equals': 'The {{ field }} field must be a date equal to {{ expectedValue }}',\n 'date.after': 'The {{ field }} field must be a date after {{ expectedValue }}',\n 'date.before': 'The {{ field }} field must be a date before {{ expectedValue }}',\n 'date.afterOrEqual': 'The {{ field }} field must be a date after or equal to {{ expectedValue }}',\n 'date.beforeOrEqual': 'The {{ field }} field must be a date before or equal to {{ expectedValue }}',\n 'date.sameAs': 'The {{ field }} field and {{ otherField }} field must be the same',\n 'date.notSameAs': 'The {{ field }} field and {{ otherField }} field must be different',\n 'date.afterField': 'The {{ field }} field must be a date after {{ otherField }}',\n\n // accepted\n accepted: 'The {{ field }} field must be accepted',\n\n // enum\n enum: 'The selected {{ field }} is invalid',\n\n // literal\n literal: 'The {{ field }} field must be {{ expectedValue }}',\n\n // object\n object: 'The {{ field }} field must be an object',\n\n // record\n record: 'The {{ field }} field must be an object',\n 'record.minLength': 'The {{ field }} field must have at least {{ min }} items',\n 'record.maxLength': 'The {{ field }} field must not have more than {{ max }} items',\n 'record.fixedLength': 'The {{ field }} field must contain {{ size }} items',\n\n // array\n array: 'The {{ field }} field must be an array',\n 'array.minLength': 'The {{ field }} field must have at least {{ min }} items',\n 'array.maxLength': 'The {{ field }} field must not have more than {{ max }} items',\n 'array.fixedLength': 'The {{ field }} field must contain {{ size }} items',\n notEmpty: 'The {{ field }} field must not be empty',\n distinct: 'The {{ field }} field has duplicate values',\n\n // tuple\n tuple: 'The {{ field }} field must be an array',\n\n // union\n union: 'Invalid value provided for {{ field }} field',\n unionGroup: 'Invalid value provided for {{ field }} field',\n unionOfTypes: 'Invalid value provided for {{ field }} field',\n },\n} satisfies ErrorConfig\n",
17
+ "import type { GitConfig } from '@stacksjs/types'\n\n/**\n * **Git Configuration**\n *\n * This configuration defines all of your git options. Because Stacks is fully-typed, you may\n * hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n hooks: {\n 'pre-commit': 'lint-staged',\n },\n\n scopes: [\n '',\n 'ci',\n 'deps',\n 'dx',\n 'release',\n 'docs',\n 'test',\n 'core',\n 'actions',\n 'arrays',\n 'auth',\n 'build',\n 'cache',\n 'cli',\n 'cloud',\n 'collections',\n 'config',\n 'database',\n 'datetime',\n 'docs',\n 'errors',\n 'git',\n 'lint',\n 'x-ray',\n 'modules',\n 'notifications',\n 'objects',\n 'path',\n 'realtime',\n 'router',\n 'buddy',\n 'security',\n 'server',\n 'storage',\n 'strings',\n 'tests',\n 'types',\n 'ui',\n 'utils',\n ],\n\n messages: {\n type: 'Select the type of change that you’re committing:',\n scope: 'Select the SCOPE of this change (optional):',\n customScope: 'Select the SCOPE of this change:',\n subject: 'Write a SHORT, IMPERATIVE tense description of the change:\\n',\n body: 'Provide a LONGER description of the change (optional). Use \"|\" to break new line:\\n',\n breaking: 'List any BREAKING CHANGES (optional). Use \"|\" to break new line:\\n',\n footerPrefixesSelect: 'Select the ISSUES type of the change list by this change (optional):',\n customFooterPrefixes: 'Input ISSUES prefix:',\n footer: 'List any ISSUES by this change. E.g.: #31, #34:\\n',\n confirmCommit: 'Are you sure you want to proceed with the commit above?',\n },\n\n types: [\n { value: 'feat', name: 'feat: ✨ A new feature', emoji: ':sparkles:' },\n { value: 'fix', name: 'fix: 🐛 A bug fix', emoji: ':bug:' },\n {\n value: 'docs',\n name: 'docs: 📝 Documentation only changes',\n emoji: ':memo:',\n },\n {\n value: 'style',\n name: 'style: 💄 Changes that do not affect the meaning of the code',\n emoji: ':lipstick:',\n },\n {\n value: 'refactor',\n name: 'refactor: ♻️ A code change that neither fixes a bug nor adds a feature',\n emoji: ':recycle:',\n },\n {\n value: 'perf',\n name: 'perf: ⚡️ A code change that improves performance',\n emoji: ':zap:',\n },\n {\n value: 'test',\n name: 'test: ✅ Adding missing tests or adjusting existing tests',\n emoji: ':white_check_mark:',\n },\n {\n value: 'build',\n name: 'build: 📦️ Changes that affect the build system or external dependencies',\n emoji: ':package:',\n },\n {\n value: 'ci',\n name: 'ci: 🎡 Changes to our CI configuration files and scripts',\n emoji: ':ferris_wheel:',\n },\n {\n value: 'chore',\n name: 'chore: 🔨 Other changes that don’t modify src or test files',\n emoji: ':hammer:',\n },\n {\n value: 'revert',\n name: 'revert: ⏪️ Reverts a previous commit',\n emoji: ':rewind:',\n },\n ],\n} satisfies GitConfig\n",
18
+ "import type { HashingConfig } from '@stacksjs/types'\n\n/**\n * **Hashing Configuration**\n *\n * This configuration defines all of your hashing options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n driver: 'argon2',\n\n bcrypt: {\n rounds: 10,\n cost: 4, // number between 4-31\n },\n\n argon2: {\n memory: 65536, // memory usage in kibibytes\n threads: 1,\n time: 1, // the number of iterations\n },\n} satisfies HashingConfig\n",
19
+ "import type { LibraryConfig } from '@stacksjs/types'\n\n/**\n * **Library Configuration**\n *\n * This configuration defines all of your library options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n name: 'hello-world',\n owner: '@stacksjs', // you may or may not add the @ prefix here (it is added automatically)\n repository: 'stacksjs/stacks',\n license: 'MIT',\n author: 'Chris Breuer',\n contributors: ['Chris Breuer <chris@stacksjs.org>'],\n defaultLanguage: 'en',\n releaseable: true,\n\n vueComponents: {\n name: 'hello-world-vue',\n description: 'Your Vue component library description',\n keywords: ['component', 'library', 'vue', 'vite', 'typescript', 'javascript'],\n tags: [\n {\n name: ['HelloWorld', 'AppHelloWorld'],\n description: 'The Hello World custom element, built via this framework.',\n attributes: [\n {\n name: 'greeting',\n description: 'The greeting.',\n },\n ],\n },\n ],\n },\n\n webComponents: {\n name: 'hello-world-elements',\n description: 'Your framework agnostic web component library description.',\n keywords: ['custom-elements', 'web-components', 'library', 'framework-agnostic', 'typescript', 'javascript'],\n tags: [\n {\n name: ['HelloWorld', 'AppHelloWorld'],\n description: 'The Hello World custom element, built via this framework.',\n attributes: [\n {\n name: 'greeting',\n description: 'The greeting.',\n },\n ],\n },\n ],\n },\n\n functions: {\n name: 'hello-world-fx',\n description: 'Your function library description.',\n keywords: ['functions', 'composables', 'library', 'typescript', 'javascript'],\n shouldGenerateSourcemap: false,\n files: ['counter', 'dark'],\n },\n} satisfies LibraryConfig\n",
20
+ "import type { LoggerConfig } from '@stacksjs/types'\n\n/**\n * **Logger Configuration**\n *\n * This configuration defines all of your logger options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n /**\n * **Log Level**\n *\n * The log level is a number that represents the verbosity of the logs. The higher the number,\n * the more verbose the logs will be. The log levels are as follows:\n *\n * - 0: Error\n * - 1: Warning\n * - 2: Normal\n * - 3: Info\n * - 4: Debug\n * - 5: Trace\n * - -999: Silent\n * - +999: Verbose\n *\n * @default 3\n */\n level: 3,\n\n /**\n * **Log File Path**\n *\n * The path to the log file. This will be used to write logs to a file. If you do not want to\n * write logs to a file, you may set this to `null`.\n *\n * @default 'storage/logs/console.log'\n */\n logFilePath: 'storage/logs/console.log',\n\n /**\n * **Errors Log Path**\n *\n * The path to the errors log file. This will be used to write error logs to a file. If you do\n * not want to write error logs to a file, you may set this to `null`.\n *\n * @default 'storage/logs/errors.log'\n */\n errorsPath: 'storage/logs/errors.log',\n} satisfies LoggerConfig\n",
21
+ "import type { NotificationConfig } from '@stacksjs/types'\n\n/**\n * **Notification Configuration**\n *\n * This configuration defines all of your notification options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n default: 'email',\n} satisfies NotificationConfig\n",
22
+ "import type { PaymentConfig } from '@stacksjs/types'\n\n/**\n * **Payment Configuration**\n *\n * This configuration defines all of your Payment options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n driver: 'stripe',\n\n // wip\n} satisfies PaymentConfig\n",
23
+ "import { env } from '@stacksjs/env'\nimport type { Ports } from '@stacksjs/types'\n\n/**\n * **Stacks Ports**\n *\n * This configuration defines all of your Stacks Ports. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n frontend: env.PORT ?? 3000,\n backend: env.PORT_BACKEND ?? 3001,\n admin: env.PORT_ADMIN ?? 3002,\n library: env.PORT_LIBRARY ?? 3003,\n desktop: env.PORT_DESKTOP ?? 3004,\n email: env.PORT_EMAIL ?? 3005,\n docs: env.PORT_DOCS ?? 3006,\n inspect: env.PORT_INSPECT ?? 3007,\n api: env.PORT_API ?? 3008,\n systemTray: env.PORT_SYSTEM_TRAY ?? 3009,\n database: 3010,\n} satisfies Ports\n",
24
+ "import type { QueueConfig } from '@stacksjs/types'\n\n/**\n * **Queue Options**\n *\n * This configuration defines all of your search engine options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n default: 'sync',\n\n connections: {\n sync: {\n driver: 'sync',\n },\n\n // database: {\n // driver: 'database',\n // table: 'jobs',\n // queue: 'default',\n // },\n\n // redis: {\n // driver: 'redis',\n // connection: 'default',\n // queue: 'default',\n // },\n\n sqs: {\n driver: 'sqs',\n key: '', // set this if you\n secret: '',\n prefix: '',\n suffix: '',\n queue: 'default',\n region: 'us-east-1',\n },\n },\n} satisfies QueueConfig\n",
25
+ "import type { SearchEngineConfig } from '@stacksjs/types'\n\n/**\n * **Search Engine Options**\n *\n * This configuration defines all of your search engine options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n driver: 'opensearch',\n} satisfies SearchEngineConfig\n",
26
+ "import { env } from '@stacksjs/env'\nimport type { ServicesConfig } from '@stacksjs/types'\n\n/**\n * **Services**\n *\n * This configuration defines all of your services. Because Stacks is fully-typed, you may\n * hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n aws: {\n accountId: env.AWS_ACCOUNT_ID || '',\n appId: env.AWS_ACCESS_KEY_ID || '',\n apiKey: env.AWS_SECRET_ACCESS_KEY || '',\n region: env.AWS_DEFAULT_REGION || 'us-east-1',\n },\n\n algolia: {\n appId: '',\n apiKey: '',\n },\n\n meilisearch: {\n appId: '',\n apiKey: '',\n },\n\n lemonSqueezy: {\n appId: '',\n apiKey: '',\n },\n\n stripe: {\n appId: '',\n apiKey: '',\n },\n} satisfies ServicesConfig\n",
27
+ "import type { StorageConfig } from '@stacksjs/types'\n\n/**\n * **Storage Options**\n *\n * This configuration defines all of your storage options. Because Stacks is fully-typed,\n * you may hover any of the options below and the definitions will be provided. In case\n * you have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n driver: 's3',\n} satisfies StorageConfig\n",
28
+ "import type { Team } from '@stacksjs/types'\n\n/**\n * **Team Members**\n *\n * This configuration defines all of your team members. The key is the name of the team member\n * and the value is their email address. This will automatically generate IAM permissions\n * for each team member, email them their credentials, and add them to the team.\n */\nexport default {\n name: 'Stacks',\n\n members: {\n chris: 'chris@stacksjs.org',\n blake: 'blake@stacksjs.org',\n zoltan: 'zoltan@stacksjs.org',\n freddy: 'freddy@stacksjs.org',\n glenn: 'glenn@stacksjs.org',\n dorell: 'dorell@stacksjs.org',\n avery: 'avery@stacksjs.org',\n adelino: 'adelino@stacksjs.org',\n },\n} satisfies Team\n",
29
+ "import type { UiConfig } from '@stacksjs/types'\n\n/**\n * **UI Engine Options**\n *\n * This configuration defines all of your UI Engine options. Because Stacks is fully-typed, you\n * may hover any of the options below and the definitions will be provided. In case you\n * have any questions, feel free to reach out via Discord or GitHub Discussions.\n */\nexport default {\n shortcuts: [\n [\n 'btn',\n 'inline-flex items-center px-4 py-2 ml-2 border border-transparent shadow-sm text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 cursor-pointer',\n ],\n ],\n\n safelist: 'prose prose-sm m-auto text-left',\n trigger: ':stx:',\n classPrefix: 'stx-',\n reset: 'tailwind',\n\n icons: ['heroicons'],\n\n fonts: {\n email: {\n title: 'Mona',\n text: 'Hubot',\n },\n\n desktop: {\n title: 'Mona',\n text: 'Hubot',\n },\n\n mobile: {\n title: 'Mona',\n text: 'Hubot',\n },\n\n web: {\n title: 'Mona',\n text: 'Hubot',\n },\n },\n\n theme: {\n // ...\n colors: {\n veryCool: '#0000ff', // class=\"text-very-cool\"\n brand: {\n primary: 'hsl(var(--hue, 217) 78% 51%)', // class=\"bg-brand-primary\"\n },\n },\n },\n} satisfies UiConfig\n",
30
+ "import type { StacksConfig } from '@stacksjs/types'\nimport ai from '~/config/ai'\nimport analytics from '~/config/analytics'\nimport app from '~/config/app'\nimport cache from '~/config/cache'\nimport cli from '~/config/cli'\nimport cloud from '~/config/cloud'\nimport database from '~/config/database'\nimport dns from '~/config/dns'\nimport email from '~/config/email'\nimport errors from '~/config/errors'\nimport git from '~/config/git'\nimport hashing from '~/config/hashing'\nimport library from '~/config/library'\nimport logger from '~/config/logger'\nimport notification from '~/config/notification'\nimport payment from '~/config/payment'\nimport ports from '~/config/ports'\nimport queue from '~/config/queue'\nimport searchEngine from '~/config/search-engine'\nimport security from '~/config/security'\nimport services from '~/config/services'\nimport storage from '~/config/storage'\nimport team from '~/config/team'\nimport ui from '~/config/ui'\n// import docs from '~/docs/config'\n\n// this \"user config\" will override the default config options\nexport default {\n ai,\n analytics,\n app,\n cache,\n cli,\n cloud,\n database,\n dns,\n // docs,\n email,\n errors,\n git,\n hashing,\n library,\n logger,\n notification,\n queue,\n payment,\n ports,\n searchEngine,\n security,\n services,\n storage,\n team,\n ui,\n} satisfies StacksConfig\n",
31
+ "import { createLocalTunnel } from '@stacksjs/tunnel'\nimport type {\n AppConfig,\n CacheConfig,\n CdnConfig,\n ChatConfig,\n CliConfig,\n DatabaseConfig,\n DependenciesConfig,\n DnsConfig,\n EmailConfig,\n Events,\n GitConfig,\n HashingConfig,\n JobConfig,\n LibraryConfig,\n Model,\n NotificationConfig,\n PaymentConfig,\n QueueConfig,\n SearchEngineConfig,\n SecurityConfig,\n ServicesConfig,\n StacksConfig,\n StorageConfig,\n UiConfig,\n} from '@stacksjs/types'\nimport { config } from '.'\n\nexport type LocalUrlType =\n | 'frontend'\n | 'backend'\n | 'api'\n | 'admin'\n | 'library'\n | 'email'\n | 'docs'\n | 'inspect'\n | 'desktop'\n\nexport async function localUrl({\n domain = config.app.url || 'stacks',\n type = 'frontend' as LocalUrlType,\n localhost = false,\n https = undefined as boolean | undefined,\n network = undefined as boolean | undefined,\n} = {}) {\n // Ensure url starts with http:// or https://\n // if (!url.startsWith('http://') && !url.startsWith('https://'))\n // url = 'https://' + url\n let url\n\n switch (type) {\n case 'frontend':\n if (network) return await createLocalTunnel(config.ports?.frontend || 3000)\n\n if (localhost) return `http://localhost:${config.ports?.frontend}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost')\n\n if (https) return `https://${url}`\n\n return url\n case 'backend':\n if (network) return await createLocalTunnel(config.ports?.backend || 3001)\n\n if (localhost) return `http://localhost:${config.ports?.backend}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/api/')\n\n if (https) return `https://${url}`\n\n return url\n case 'api':\n if (network) return await createLocalTunnel(config.ports?.backend || 3001)\n\n if (localhost) return `http://localhost:${config.ports?.backend}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/api/')\n\n if (https) return `https://${url}`\n\n return url\n case 'admin':\n if (network) return await createLocalTunnel(config.ports?.admin || 3002)\n\n if (localhost) return `http://localhost:${config.ports?.admin}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/admin/')\n\n if (https) return `https://${url}`\n\n return url\n case 'library':\n if (network) return await createLocalTunnel(config.ports?.library || 3003)\n\n if (localhost) return `http://localhost:${config.ports?.library}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/libs/')\n\n if (https) return `https://${url}`\n\n return url\n case 'email':\n if (network) return await createLocalTunnel(config.ports?.email || 3005)\n\n if (localhost) return `http://localhost:${config.ports?.email}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/email/')\n\n if (https) return `https://${url}`\n\n return url\n case 'desktop':\n if (network) return await createLocalTunnel(config.ports?.desktop || 3004)\n\n if (localhost) return `http://localhost:${config.ports?.email}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/email/')\n\n if (https) return `https://${url}`\n\n return url\n case 'docs':\n if (network) return await createLocalTunnel(config.ports?.desktop || 3006)\n\n if (localhost) return `http://localhost:${config.ports?.docs}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/docs/')\n\n if (https) return `https://${url}`\n\n return url\n case 'inspect':\n if (network) return await createLocalTunnel(config.ports?.desktop || 3007)\n\n if (localhost) return `http://localhost:${config.ports?.inspect}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost/__inspect/')\n\n if (https) return `https://${url}`\n\n return url\n default:\n if (localhost) return `http://localhost:${config.ports?.frontend}`\n\n url = domain.replace(/\\.[^\\.]+$/, '.localhost')\n\n if (https) return `https://${url}`\n\n return url\n }\n}\n\nexport function defineStacksConfig(config: StacksConfig) {\n return config\n}\n\nexport function defineApp(config: AppConfig) {\n return config\n}\n\nexport function defineCache(config: CacheConfig) {\n return config\n}\n\nexport function defineCdn(config: CdnConfig) {\n return config\n}\n\nexport function defineChat(config: ChatConfig) {\n return config\n}\n\nexport function defineCli(config: CliConfig) {\n return config\n}\n\nexport function defineJob(config: JobConfig) {\n return config\n}\n\nexport function defineCronJob(config: JobConfig) {\n return config\n}\n\nexport function defineDatabase(config: DatabaseConfig) {\n return config\n}\n\nexport function defineDependencies(config: DependenciesConfig) {\n return config\n}\n\nexport function defineDns(config: DnsConfig) {\n return config\n}\n\nexport function defineEmailConfig(config: EmailConfig) {\n return config\n}\n\nexport function defineEmail(config: EmailConfig) {\n return config\n}\n\nexport function defineGit(config: GitConfig) {\n return config\n}\n\nexport function defineHashing(config: HashingConfig) {\n return config\n}\n\nexport function defineLibrary(config: LibraryConfig) {\n return config\n}\n\nexport function defineNotification(config: NotificationConfig) {\n return config\n}\n\nexport function definePayment(config: PaymentConfig) {\n return config\n}\n\nexport function defineQueue(config: QueueConfig) {\n return config\n}\n\nexport function defineSearchEngine(config: SearchEngineConfig) {\n return config\n}\n\nexport function defineSecurity(config: SecurityConfig) {\n return config\n}\n\nexport function defineServices(config: ServicesConfig) {\n return config\n}\n\nexport function defineSms(config: any) {\n return config\n}\n\nexport function defineStorage(config: StorageConfig) {\n return config\n}\n\nexport function defineUi(config: UiConfig) {\n return config\n}\n\nexport function defineModel(config: Model) {\n return config\n}\n\nexport function defineEvents(config: Events) {\n return config\n}\n",
32
+ "import type { StacksOptions } from '@stacksjs/types'\nimport defaults from './defaults'\nimport overrides from './overrides'\n\n// merged defaults and overrides\nexport const config: StacksOptions = {\n ...defaults,\n ...overrides,\n}\n\nexport const {\n ai,\n analytics,\n app,\n cache,\n cloud,\n cli,\n database,\n dns,\n docs,\n email,\n errors,\n git,\n hashing,\n library,\n logger,\n notification,\n payment,\n ports,\n queue,\n security,\n searchEngine,\n services,\n storage,\n team,\n ui,\n}: StacksOptions = config\n\nexport { defaults, overrides }\n\nexport * from './helpers'\n\nexport const determineAppEnv = (): string => {\n if (app.env === 'local') return 'dev'\n if (app.env === 'development') return 'dev'\n if (app.env === 'staging') return 'stage'\n if (app.env === 'production') return 'prod'\n\n if (!app.env) throw new Error(\"Couldn't determine app environment\")\n\n return app.env\n}\n"
33
+ ],
34
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAKA,IAAe;AAAA,EACb,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,QAAQ;AAAA,MACN;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAAA,EAEA,WAAW;AAAA,IACT,QAAQ;AAAA,EACV;AAAA,EAeA,KAAK;AAAA,IACH,MAAM;AAAA,IACN,aAAa;AAAA,IACb,KAAK;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,cAAc,CAAC;AAAA,IACf,iBAAiB;AAAA,EACnB;AAAA,EAEA,KAAK;AAAA,IACH,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,QAAQ,aAAa;AAAA,IACrB,QAAQ;AAAA,EACV;AAAA,EAEA,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,KAAK;AAAA,IAEL,SAAS;AAAA,MACP,OAAO;AAAA,QACL,YAAY;AAAA,QACZ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,UAAU;AAAA,QACV,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAAA,EAEA,OAAO;AAAA,IACL,MAAM;AAAA,IAEN,QAAQ;AAAA,IAER,SAAS,CAAC;AAAA,IAEV,cAAc,CAAC,cAAc,WAAW,aAAa;AAAA,IAErD,UAAU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,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,IACiB;AAMZ,IAAM,kBAAkB,MAAc;AAC3C,MAAI,KAAI,QAAQ;AAAS,WAAO;AAChC,MAAI,KAAI,QAAQ;AAAe,WAAO;AACtC,MAAI,KAAI,QAAQ;AAAW,WAAO;AAClC,MAAI,KAAI,QAAQ;AAAc,WAAO;AAErC,OAAK,KAAI;AAAK,UAAM,IAAI,MAAM,oCAAoC;AAElE,SAAO,KAAI;AAAA;",
35
+ "debugId": "73F59A5528E3DEE364756E2164756E21",
36
+ "names": []
37
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
- "version": "0.61.24",
4
+ "version": "0.63.0",
5
5
  "description": "The Stacks config helper methods.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
package/src/defaults.ts CHANGED
@@ -24,18 +24,18 @@ export default {
24
24
  driver: undefined,
25
25
  },
26
26
 
27
- api: {
28
- // version: 'v1',
29
- prefix: 'api',
30
- middleware: ['auth'],
31
- routes: {
32
- index: true,
33
- show: true,
34
- store: true,
35
- update: true,
36
- destroy: true,
37
- },
38
- },
27
+ // api: {
28
+ // // version: 'v1',
29
+ // prefix: 'api',
30
+ // middleware: ['Api'],
31
+ // routes: {
32
+ // index: true,
33
+ // show: true,
34
+ // store: true,
35
+ // update: true,
36
+ // destroy: true,
37
+ // },
38
+ // },
39
39
 
40
40
  app: {
41
41
  name: 'Stacks',
package/src/overrides.ts CHANGED
@@ -7,7 +7,6 @@ import cli from '~/config/cli'
7
7
  import cloud from '~/config/cloud'
8
8
  import database from '~/config/database'
9
9
  import dns from '~/config/dns'
10
- import docs from '~/config/docs'
11
10
  import email from '~/config/email'
12
11
  import errors from '~/config/errors'
13
12
  import git from '~/config/git'
@@ -24,6 +23,7 @@ import services from '~/config/services'
24
23
  import storage from '~/config/storage'
25
24
  import team from '~/config/team'
26
25
  import ui from '~/config/ui'
26
+ // import docs from '~/docs/config'
27
27
 
28
28
  // this "user config" will override the default config options
29
29
  export default {
@@ -35,7 +35,7 @@ export default {
35
35
  cloud,
36
36
  database,
37
37
  dns,
38
- docs,
38
+ // docs,
39
39
  email,
40
40
  errors,
41
41
  git,