@stacksjs/config 0.70.258 → 0.70.259

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/defaults.js CHANGED
@@ -1,628 +1,5 @@
1
- var {require}=import.meta;import { commandsPath, projectPath, userDatabasePath } from "@stacksjs/path";
2
- export const FRAMEWORK_DEFAULTS = {
3
- awsRegion: "us-east-1",
4
- timezone: "UTC",
5
- noReplyEmail: "no-reply@stacksjs.com",
6
- fallbackDomain: "stacks.localhost"
7
- };
8
- function deriveAppDefaults() {
9
- try {
10
- const pkgPath = projectPath("package.json"), raw = (require(pkgPath).name ?? "").trim();
11
- if (!raw)
12
- return { name: "Stacks", url: "stacks.localhost" };
13
- const slug = raw.replace(/^@[^/]+\//, "").toLowerCase();
14
- return { name: slug.replace(/[-_]+/g, " ").replace(/(^|\s)\w/g, (c) => c.toUpperCase()), url: `${slug}.localhost` };
15
- } catch {
16
- return { name: "Stacks", url: "stacks.localhost" };
17
- }
18
- }
19
- const appDefaults = deriveAppDefaults();
20
- export const defaults = {
21
- cms: { enabled: !1 },
22
- commerce: { enabled: !1 },
23
- marketing: { enabled: !1 },
24
- monitoring: { enabled: !1 },
25
- ai: {
26
- deploy: !1,
27
- models: [
28
- "anthropic.claude-sonnet-4-20250514-v1:0",
29
- "anthropic.claude-haiku-4-20250514-v1:0",
30
- "anthropic.claude-3-5-sonnet-20241022-v2:0",
31
- "amazon.titan-embed-text-v2:0",
32
- "amazon.titan-text-premier-v1:0",
33
- "amazon.titan-image-generator-v2:0",
34
- "meta.llama3-1-70b-instruct-v1:0",
35
- "meta.llama3-1-8b-instruct-v1:0"
36
- ]
37
- },
38
- auth: {
39
- username: "email",
40
- password: "password",
41
- defaultTokenName: "auth-token",
42
- tokenExpiry: 3600000,
43
- refreshTokenExpiry: 2592000000,
44
- defaultAbilities: ["*"]
45
- },
46
- realtime: {
47
- driver: "pusher"
48
- },
49
- analytics: {
50
- driver: void 0
51
- },
52
- app: {
53
- name: appDefaults.name,
54
- description: "A Stacks application.",
55
- env: "local",
56
- url: appDefaults.url,
57
- debug: !0,
58
- key: "",
59
- timezone: FRAMEWORK_DEFAULTS.timezone,
60
- locale: "en",
61
- fallbackLocale: "en",
62
- cipher: "AES-256-CBC",
63
- docMode: !1,
64
- redirectUrls: [],
65
- maintenanceMode: !1,
66
- comingSoonMode: !1,
67
- comingSoonSecret: ""
68
- },
69
- cli: {
70
- name: "My Custom CLI",
71
- command: "my-custom-cli",
72
- description: "Stacks is a full-stack framework for TypeScript.",
73
- source: commandsPath(),
74
- deploy: !1
75
- },
76
- cache: {
77
- driver: "memory",
78
- prefix: "stx",
79
- ttl: 3600,
80
- maxKeys: -1,
81
- useClones: !0,
82
- drivers: {
83
- redis: {
84
- host: "localhost",
85
- port: 6379,
86
- username: "",
87
- password: "",
88
- database: 0,
89
- tls: !1
90
- },
91
- memory: {
92
- maxKeys: -1,
93
- checkPeriod: 600,
94
- deleteOnExpire: !0
95
- }
96
- }
97
- },
98
- featureFlags: {
99
- default: "memory",
100
- missing: "false",
101
- drivers: {
102
- memory: { cloneValues: !0 },
103
- database: { table: "feature_flags", autoCreate: !1 }
104
- }
105
- },
106
- cloud: {
107
- infrastructure: {
108
- type: "serverless",
109
- driver: "aws",
110
- environments: ["production", "staging", "development"],
111
- firewall: {
112
- enabled: !0,
113
- countryCodes: [],
114
- ipAddresses: [],
115
- queryString: [],
116
- httpHeaders: [],
117
- rateLimitPerMinute: 1000,
118
- useIpReputationLists: !0,
119
- useKnownBadInputsRuleSet: !0
120
- },
121
- cdn: {
122
- allowedMethods: "GET_HEAD",
123
- cachedMethods: "GET_HEAD",
124
- minTtl: 0,
125
- defaultTtl: 86400,
126
- maxTtl: 31536000,
127
- compress: !0,
128
- priceClass: "PriceClass_All",
129
- originShieldRegion: FRAMEWORK_DEFAULTS.awsRegion,
130
- cookieBehavior: "none",
131
- allowList: {
132
- cookies: [],
133
- headers: [],
134
- queryStrings: []
135
- },
136
- realtimeLogs: {
137
- enabled: !0,
138
- samplingRate: 2
139
- }
140
- },
141
- fileSystem: !1,
142
- storage: {}
143
- },
144
- sites: {
145
- root: "",
146
- path: ""
147
- }
148
- },
149
- dashboard: {
150
- sections: {
151
- library: { enabled: !0 },
152
- content: { enabled: !0 },
153
- commerce: { enabled: !0 },
154
- marketing: { enabled: !0 },
155
- analytics: { enabled: !0 },
156
- management: { enabled: !0 },
157
- utilities: { enabled: !0 }
158
- }
159
- },
160
- database: {
161
- default: "sqlite",
162
- logging: !1,
163
- connections: {
164
- sqlite: {
165
- database: userDatabasePath("stacks.sqlite"),
166
- prefix: ""
167
- }
168
- },
169
- migrations: "migrations",
170
- migrationLocks: "migration_locks"
171
- },
172
- dns: {
173
- driver: "aws",
174
- a: [],
175
- aaaa: [],
176
- cname: [],
177
- mx: [],
178
- txt: []
179
- },
180
- docs: {
181
- lang: "en-US",
182
- lastUpdated: !0,
183
- deploy: !1,
184
- themeConfig: {
185
- editLink: {
186
- pattern: "https://github.com/stacksjs/stacks/edit/main/docs/docs/:path",
187
- text: "Edit this page on GitHub"
188
- },
189
- footer: {
190
- message: "Released under the MIT License.",
191
- copyright: "Copyright \xA9 2024-present Stacks.js, Inc."
192
- }
193
- }
194
- },
195
- email: {
196
- from: {
197
- name: "Stacks",
198
- address: FRAMEWORK_DEFAULTS.noReplyEmail
199
- },
200
- mailboxes: [],
201
- server: {
202
- enabled: !0,
203
- scan: !0
204
- }
205
- },
206
- errors: {
207
- messages: {
208
- string: "The {{ field }} field must be a string",
209
- email: "The {{ field }} field must be a valid email address",
210
- regex: "The {{ field }} field format is invalid",
211
- url: "The {{ field }} field must be a valid URL",
212
- activeUrl: "The {{ field }} field must be a valid URL",
213
- alpha: "The {{ field }} field must contain only letters",
214
- alphaNumeric: "The {{ field }} field must contain only letters and numbers",
215
- "min(": "The {{ field }} field must have at least {{ min }} characters",
216
- maxLength: "The {{ field }} field must not be greater than {{ max }} characters",
217
- fixedLength: "The {{ field }} field must be {{ size }} characters long",
218
- confirmed: "The {{ field }} field and {{ otherField }} field must be the same",
219
- endsWith: "The {{ field }} field must end with {{ substring }}",
220
- startsWith: "The {{ field }} field must start with {{ substring }}",
221
- sameAs: "The {{ field }} field and {{ otherField }} field must be the same",
222
- notSameAs: "The {{ field }} field and {{ otherField }} field must be different",
223
- in: "The selected {{ field }} is invalid",
224
- notIn: "The selected {{ field }} is invalid",
225
- ipAddress: "The {{ field }} field must be a valid IP address",
226
- uuid: "The {{ field }} field must be a valid UUID",
227
- ascii: "The {{ field }} field must only contain ASCII characters",
228
- creditCard: "The {{ field }} field must be a valid {{ providersList }} card number",
229
- hexCode: "The {{ field }} field must be a valid hex color code",
230
- iban: "The {{ field }} field must be a valid IBAN number",
231
- jwt: "The {{ field }} field must be a valid JWT token",
232
- coordinates: "The {{ field }} field must contain latitude and longitude coordinates",
233
- mobile: "The {{ field }} field must be a valid mobile phone number",
234
- passport: "The {{ field }} field must be a valid passport number",
235
- postalCode: "The {{ field }} field must be a valid postal code",
236
- boolean: "The value must be a boolean",
237
- number: "The {{ field }} field must be a number",
238
- min: "The {{ field }} field must be at least {{ min }}",
239
- max: "The {{ field }} field must not be greater than {{ max }}",
240
- range: "The {{ field }} field must be between {{ min }} and {{ max }}",
241
- positive: "The {{ field }} field must be positive",
242
- negative: "The {{ field }} field must be negative",
243
- decimal: "The {{ field }} field must have {{ digits }} decimal places",
244
- withoutDecimals: "The {{ field }} field must not have decimal places",
245
- date: "The {{ field }} field must be a datetime value",
246
- "date.equals": "The {{ field }} field must be a date equal to {{ expectedValue }}",
247
- "date.after": "The {{ field }} field must be a date after {{ expectedValue }}",
248
- "date.before": "The {{ field }} field must be a date before {{ expectedValue }}",
249
- "date.afterOrEqual": "The {{ field }} field must be a date after or equal to {{ expectedValue }}",
250
- "date.beforeOrEqual": "The {{ field }} field must be a date before or equal to {{ expectedValue }}",
251
- "date.sameAs": "The {{ field }} field and {{ otherField }} field must be the same",
252
- "date.notSameAs": "The {{ field }} field and {{ otherField }} field must be different",
253
- "date.afterField": "The {{ field }} field must be a date after {{ otherField }}",
254
- accepted: "The {{ field }} field must be accepted",
255
- enum: "The selected {{ field }} is invalid",
256
- literal: "The {{ field }} field must be {{ expectedValue }}",
257
- object: "The {{ field }} field must be an object",
258
- record: "The {{ field }} field must be an object",
259
- "record.min(": "The {{ field }} field must have at least {{ min }} items",
260
- "record.maxLength": "The {{ field }} field must not have more than {{ max }} items",
261
- "record.fixedLength": "The {{ field }} field must contain {{ size }} items",
262
- array: "The {{ field }} field must be an array",
263
- "array.min(": "The {{ field }} field must have at least {{ min }} items",
264
- "array.maxLength": "The {{ field }} field must not have more than {{ max }} items",
265
- "array.fixedLength": "The {{ field }} field must contain {{ size }} items",
266
- notEmpty: "The {{ field }} field must not be empty",
267
- distinct: "The {{ field }} field has duplicate values",
268
- tuple: "The {{ field }} field must be an array",
269
- union: "Invalid value provided for {{ field }} field",
270
- unionGroup: "Invalid value provided for {{ field }} field",
271
- unionOfTypes: "Invalid value provided for {{ field }} field"
272
- }
273
- },
274
- git: {
275
- hooks: {
276
- "pre-commit": "lint-staged"
277
- },
278
- scopes: [
279
- "",
280
- "ci",
281
- "deps",
282
- "dx",
283
- "release",
284
- "docs",
285
- "test",
286
- "core",
287
- "actions",
288
- "arrays",
289
- "auth",
290
- "build",
291
- "cache",
292
- "cli",
293
- "cloud",
294
- "collections",
295
- "config",
296
- "database",
297
- "datetime",
298
- "docs",
299
- "errors",
300
- "git",
301
- "lint",
302
- "modules",
303
- "notifications",
304
- "objects",
305
- "path",
306
- "realtime",
307
- "router",
308
- "buddy",
309
- "security",
310
- "server",
311
- "storage",
312
- "strings",
313
- "tests",
314
- "types",
315
- "ui",
316
- "utils"
317
- ],
318
- messages: {
319
- type: "Select the type of change that you're committing:",
320
- scope: "Select the SCOPE of this change (optional):",
321
- customScope: "Select the SCOPE of this change:",
322
- subject: `Write a SHORT, IMPERATIVE tense description of the change:
323
- `,
324
- body: `Provide a LONGER description of the change (optional). Use "|" to break new line:
325
- `,
326
- breaking: `List any BREAKING CHANGES (optional). Use "|" to break new line:
327
- `,
328
- footerPrefixesSelect: "Select the ISSUES type of the change list by this change (optional):",
329
- customFooterPrefixes: "Input ISSUES prefix:",
330
- footer: `List any ISSUES by this change. E.g.: #31, #34:
331
- `,
332
- confirmCommit: "Are you sure you want to proceed with the commit above?"
333
- },
334
- types: [
335
- {
336
- value: "feat",
337
- name: "feat: \u2728 A new feature",
338
- emoji: ":sparkles:"
339
- },
340
- { value: "fix", name: "fix: \uD83D\uDC1B A bug fix", emoji: ":bug:" },
341
- {
342
- value: "docs",
343
- name: "docs: \uD83D\uDCDD Documentation only changes",
344
- emoji: ":memo:"
345
- },
346
- {
347
- value: "style",
348
- name: "style: \uD83D\uDC84 Changes that do not affect the meaning of the code",
349
- emoji: ":lipstick:"
350
- },
351
- {
352
- value: "refactor",
353
- name: "refactor: \u267B\uFE0F A code change that neither fixes a bug nor adds a feature",
354
- emoji: ":recycle:"
355
- },
356
- {
357
- value: "perf",
358
- name: "perf: \u26A1\uFE0F A code change that improves performance",
359
- emoji: ":zap:"
360
- },
361
- {
362
- value: "test",
363
- name: "test: \u2705 Adding missing tests or adjusting existing tests",
364
- emoji: ":white_check_mark:"
365
- },
366
- {
367
- value: "build",
368
- name: "build: \uD83D\uDCE6\uFE0F Changes that affect the build system or external dependencies",
369
- emoji: ":package:"
370
- },
371
- {
372
- value: "ci",
373
- name: "ci: \uD83C\uDFA1 Changes to our CI configuration files and scripts",
374
- emoji: ":ferris_wheel:"
375
- },
376
- {
377
- value: "chore",
378
- name: "chore: \uD83D\uDD28 Other changes that don't modify src or test files",
379
- emoji: ":hammer:"
380
- },
381
- {
382
- value: "revert",
383
- name: "revert: \u23EA\uFE0F Reverts a previous commit",
384
- emoji: ":rewind:"
385
- }
386
- ]
387
- },
388
- hashing: {
389
- driver: "bcrypt",
390
- bcrypt: {
391
- rounds: 12
392
- },
393
- argon2: {
394
- memory: 65536,
395
- time: 2
396
- }
397
- },
398
- images: {
399
- social: { enabled: !1, outputDir: "public/social", publicPath: "/social", presets: ["og", "square", "portrait"] },
400
- appStore: { enabled: !1, outputDir: "resources/app-store/screenshots" },
401
- appIcons: { enabled: !1, outputDir: "resources/app-icons", platforms: ["ios", "macos"], faviconDir: "public" }
402
- },
403
- library: {
404
- name: "hello-world",
405
- owner: "@stacksjs",
406
- repository: "stacksjs/stacks",
407
- license: "MIT",
408
- author: "",
409
- contributors: [],
410
- defaultLanguage: "en",
411
- webComponents: {
412
- name: "hello-world-elements",
413
- description: "Your framework agnostic web component library description.",
414
- keywords: ["custom-elements", "web-components", "library", "framework-agnostic", "typescript", "javascript"],
415
- tags: [
416
- {
417
- name: ["HelloWorld", "AppHelloWorld"],
418
- description: "The Hello World custom element, built via this framework.",
419
- attributes: [
420
- {
421
- name: "greeting",
422
- description: "The greeting."
423
- }
424
- ]
425
- }
426
- ]
427
- },
428
- functions: {
429
- name: "hello-world-fx",
430
- description: "Your function library description.",
431
- keywords: ["functions", "composables", "library", "typescript", "javascript"],
432
- shouldGenerateSourcemap: !1,
433
- files: ["counter", "dark"]
434
- }
435
- },
436
- logging: {
437
- logsPath: "storage/logs/stacks.log",
438
- deploymentsPath: "storage/logs/deployments.log"
439
- },
440
- notification: {
441
- default: "email"
442
- },
443
- payment: {
444
- driver: "stripe"
445
- },
446
- ports: {
447
- frontend: 3000,
448
- backend: 3001,
449
- admin: 3002,
450
- library: 3003,
451
- desktop: 3004,
452
- email: 3005,
453
- docs: 3006,
454
- inspect: 3007,
455
- api: 3008,
456
- systemTray: 3009,
457
- database: 3010
458
- },
459
- queue: {
460
- default: "sync",
461
- connections: {
462
- sync: {
463
- driver: "sync"
464
- },
465
- database: {
466
- driver: "database",
467
- table: "jobs",
468
- queue: "default",
469
- retryAfter: 90
470
- },
471
- redis: {
472
- driver: "redis",
473
- queue: "default",
474
- retryAfter: 90
475
- },
476
- sqs: {
477
- driver: "sqs",
478
- key: "",
479
- secret: "",
480
- prefix: "",
481
- suffix: "",
482
- queue: "default",
483
- region: FRAMEWORK_DEFAULTS.awsRegion
484
- }
485
- }
486
- },
487
- saas: {
488
- plans: [
489
- {
490
- productName: "Stacks Hobby",
491
- description: "All the Stacks features.",
492
- pricing: [
493
- {
494
- key: "stacks_hobby_monthly",
495
- price: 3900,
496
- interval: "month",
497
- currency: "usd"
498
- },
499
- {
500
- key: "stacks_hobby_yearly",
501
- price: 37900,
502
- interval: "year",
503
- currency: "usd"
504
- }
505
- ],
506
- metadata: {
507
- createdBy: "admin",
508
- version: "1.0.0"
509
- }
510
- },
511
- {
512
- productName: "Stacks Pro",
513
- description: "All the Stacks features, including being able to invite team members.",
514
- pricing: [
515
- {
516
- key: "stacks_pro_monthly",
517
- price: 5900,
518
- interval: "month",
519
- currency: "usd"
520
- },
521
- {
522
- key: "stacks_pro_yearly",
523
- price: 57900,
524
- interval: "year",
525
- currency: "usd"
526
- }
527
- ],
528
- metadata: {
529
- createdBy: "admin",
530
- version: "1.0.0"
531
- }
532
- }
533
- ],
534
- webhook: {
535
- endpoint: "/webhooks/stripe",
536
- secret: ""
537
- },
538
- currencies: ["usd"],
539
- coupons: [
540
- {
541
- code: "SUMMER2024",
542
- amountOff: 500,
543
- duration: "once"
544
- }
545
- ],
546
- products: [
547
- {
548
- name: "Stacks Pro",
549
- description: "All the Stacks features.",
550
- images: ["url_to_image"]
551
- }
552
- ]
553
- },
554
- searchEngine: {
555
- driver: "opensearch"
556
- },
557
- security: {
558
- firewall: {
559
- enabled: !0,
560
- countryCodes: [],
561
- ipAddresses: [],
562
- queryString: [],
563
- httpHeaders: [],
564
- rateLimitPerMinute: 1000,
565
- useIpReputationLists: !0,
566
- useKnownBadInputsRuleSet: !0
567
- }
568
- },
569
- services: {
570
- aws: {
571
- accountId: "",
572
- appId: "",
573
- apiKey: "",
574
- region: FRAMEWORK_DEFAULTS.awsRegion
575
- },
576
- algolia: {
577
- appId: "",
578
- apiKey: ""
579
- },
580
- meilisearch: {
581
- appId: "",
582
- apiKey: ""
583
- },
584
- stripe: {
585
- appId: "",
586
- apiKey: ""
587
- }
588
- },
589
- filesystems: {
590
- driver: "s3"
591
- },
592
- team: {
593
- name: "",
594
- members: {}
595
- },
596
- ui: {
597
- shortcuts: [
598
- [
599
- "btn",
600
- "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"
601
- ]
602
- ],
603
- safelist: "prose prose-sm m-auto text-left",
604
- trigger: ":stx:",
605
- classPrefix: "stx-",
606
- reset: "tailwind",
607
- icons: ["hugeicons"],
608
- fonts: {
609
- email: {
610
- title: "Mona",
611
- text: "Hubot"
612
- },
613
- desktop: {
614
- title: "Mona",
615
- text: "Hubot"
616
- },
617
- mobile: {
618
- title: "Mona",
619
- text: "Hubot"
620
- },
621
- web: {
622
- title: "Mona",
623
- text: "Hubot"
624
- }
625
- }
626
- }
627
- };
628
- export default defaults;
1
+ var {require}=import.meta;import{commandsPath,projectPath,userDatabasePath}from"@stacksjs/path";export const FRAMEWORK_DEFAULTS={awsRegion:"us-east-1",timezone:"UTC",noReplyEmail:"no-reply@stacksjs.com",fallbackDomain:"stacks.localhost"};function deriveAppDefaults(){try{const pkgPath=projectPath("package.json"),raw=(require(pkgPath).name??"").trim();if(!raw)return{name:"Stacks",url:"stacks.localhost"};const slug=raw.replace(/^@[^/]+\//,"").toLowerCase();return{name:slug.replace(/[-_]+/g," ").replace(/(^|\s)\w/g,(c)=>c.toUpperCase()),url:`${slug}.localhost`}}catch{return{name:"Stacks",url:"stacks.localhost"}}}const appDefaults=deriveAppDefaults();export const defaults={cms:{enabled:!1},commerce:{enabled:!1},marketing:{enabled:!1},monitoring:{enabled:!1},ai:{deploy:!1,models:["anthropic.claude-sonnet-4-20250514-v1:0","anthropic.claude-haiku-4-20250514-v1:0","anthropic.claude-3-5-sonnet-20241022-v2:0","amazon.titan-embed-text-v2:0","amazon.titan-text-premier-v1:0","amazon.titan-image-generator-v2:0","meta.llama3-1-70b-instruct-v1:0","meta.llama3-1-8b-instruct-v1:0"]},auth:{username:"email",password:"password",defaultTokenName:"auth-token",tokenExpiry:3600000,refreshTokenExpiry:2592000000,defaultAbilities:["*"]},realtime:{driver:"pusher"},analytics:{driver:void 0},app:{name:appDefaults.name,description:"A Stacks application.",env:"local",url:appDefaults.url,debug:!0,key:"",timezone:FRAMEWORK_DEFAULTS.timezone,locale:"en",fallbackLocale:"en",cipher:"AES-256-CBC",docMode:!1,redirectUrls:[],maintenanceMode:!1,comingSoonMode:!1,comingSoonSecret:""},cli:{name:"My Custom CLI",command:"my-custom-cli",description:"Stacks is a full-stack framework for TypeScript.",source:commandsPath(),deploy:!1},cache:{driver:"memory",prefix:"stx",ttl:3600,maxKeys:-1,useClones:!0,drivers:{redis:{host:"localhost",port:6379,username:"",password:"",database:0,tls:!1},memory:{maxKeys:-1,checkPeriod:600,deleteOnExpire:!0}}},featureFlags:{default:"memory",missing:"false",drivers:{memory:{cloneValues:!0},database:{table:"feature_flags",autoCreate:!1}}},cloud:{infrastructure:{type:"serverless",driver:"aws",environments:["production","staging","development"],firewall:{enabled:!0,countryCodes:[],ipAddresses:[],queryString:[],httpHeaders:[],rateLimitPerMinute:1000,useIpReputationLists:!0,useKnownBadInputsRuleSet:!0},cdn:{allowedMethods:"GET_HEAD",cachedMethods:"GET_HEAD",minTtl:0,defaultTtl:86400,maxTtl:31536000,compress:!0,priceClass:"PriceClass_All",originShieldRegion:FRAMEWORK_DEFAULTS.awsRegion,cookieBehavior:"none",allowList:{cookies:[],headers:[],queryStrings:[]},realtimeLogs:{enabled:!0,samplingRate:2}},fileSystem:!1,storage:{}},sites:{root:"",path:""}},dashboard:{sections:{library:{enabled:!0},content:{enabled:!0},commerce:{enabled:!0},marketing:{enabled:!0},analytics:{enabled:!0},management:{enabled:!0},utilities:{enabled:!0}}},database:{default:"sqlite",logging:!1,connections:{sqlite:{database:userDatabasePath("stacks.sqlite"),prefix:""}},migrations:"migrations",migrationLocks:"migration_locks"},dns:{driver:"aws",a:[],aaaa:[],cname:[],mx:[],txt:[]},docs:{lang:"en-US",lastUpdated:!0,deploy:!1,themeConfig:{editLink:{pattern:"https://github.com/stacksjs/stacks/edit/main/docs/docs/:path",text:"Edit this page on GitHub"},footer:{message:"Released under the MIT License.",copyright:"Copyright \xA9 2024-present Stacks.js, Inc."}}},email:{from:{name:"Stacks",address:FRAMEWORK_DEFAULTS.noReplyEmail},mailboxes:[],server:{enabled:!0,scan:!0}},errors:{messages:{string:"The {{ field }} field must be a string",email:"The {{ field }} field must be a valid email address",regex:"The {{ field }} field format is invalid",url:"The {{ field }} field must be a valid URL",activeUrl:"The {{ field }} field must be a valid URL",alpha:"The {{ field }} field must contain only letters",alphaNumeric:"The {{ field }} field must contain only letters and numbers","min(":"The {{ field }} field must have at least {{ min }} characters",maxLength:"The {{ field }} field must not be greater than {{ max }} characters",fixedLength:"The {{ field }} field must be {{ size }} characters long",confirmed:"The {{ field }} field and {{ otherField }} field must be the same",endsWith:"The {{ field }} field must end with {{ substring }}",startsWith:"The {{ field }} field must start with {{ substring }}",sameAs:"The {{ field }} field and {{ otherField }} field must be the same",notSameAs:"The {{ field }} field and {{ otherField }} field must be different",in:"The selected {{ field }} is invalid",notIn:"The selected {{ field }} is invalid",ipAddress:"The {{ field }} field must be a valid IP address",uuid:"The {{ field }} field must be a valid UUID",ascii:"The {{ field }} field must only contain ASCII characters",creditCard:"The {{ field }} field must be a valid {{ providersList }} card number",hexCode:"The {{ field }} field must be a valid hex color code",iban:"The {{ field }} field must be a valid IBAN number",jwt:"The {{ field }} field must be a valid JWT token",coordinates:"The {{ field }} field must contain latitude and longitude coordinates",mobile:"The {{ field }} field must be a valid mobile phone number",passport:"The {{ field }} field must be a valid passport number",postalCode:"The {{ field }} field must be a valid postal code",boolean:"The value must be a boolean",number:"The {{ field }} field must be a number",min:"The {{ field }} field must be at least {{ min }}",max:"The {{ field }} field must not be greater than {{ max }}",range:"The {{ field }} field must be between {{ min }} and {{ max }}",positive:"The {{ field }} field must be positive",negative:"The {{ field }} field must be negative",decimal:"The {{ field }} field must have {{ digits }} decimal places",withoutDecimals:"The {{ field }} field must not have decimal places",date:"The {{ field }} field must be a datetime value","date.equals":"The {{ field }} field must be a date equal to {{ expectedValue }}","date.after":"The {{ field }} field must be a date after {{ expectedValue }}","date.before":"The {{ field }} field must be a date before {{ expectedValue }}","date.afterOrEqual":"The {{ field }} field must be a date after or equal to {{ expectedValue }}","date.beforeOrEqual":"The {{ field }} field must be a date before or equal to {{ expectedValue }}","date.sameAs":"The {{ field }} field and {{ otherField }} field must be the same","date.notSameAs":"The {{ field }} field and {{ otherField }} field must be different","date.afterField":"The {{ field }} field must be a date after {{ otherField }}",accepted:"The {{ field }} field must be accepted",enum:"The selected {{ field }} is invalid",literal:"The {{ field }} field must be {{ expectedValue }}",object:"The {{ field }} field must be an object",record:"The {{ field }} field must be an object","record.min(":"The {{ field }} field must have at least {{ min }} items","record.maxLength":"The {{ field }} field must not have more than {{ max }} items","record.fixedLength":"The {{ field }} field must contain {{ size }} items",array:"The {{ field }} field must be an array","array.min(":"The {{ field }} field must have at least {{ min }} items","array.maxLength":"The {{ field }} field must not have more than {{ max }} items","array.fixedLength":"The {{ field }} field must contain {{ size }} items",notEmpty:"The {{ field }} field must not be empty",distinct:"The {{ field }} field has duplicate values",tuple:"The {{ field }} field must be an array",union:"Invalid value provided for {{ field }} field",unionGroup:"Invalid value provided for {{ field }} field",unionOfTypes:"Invalid value provided for {{ field }} field"}},git:{hooks:{"pre-commit":"lint-staged"},scopes:["","ci","deps","dx","release","docs","test","core","actions","arrays","auth","build","cache","cli","cloud","collections","config","database","datetime","docs","errors","git","lint","modules","notifications","objects","path","realtime","router","buddy","security","server","storage","strings","tests","types","ui","utils"],messages:{type:"Select the type of change that you're committing:",scope:"Select the SCOPE of this change (optional):",customScope:"Select the SCOPE of this change:",subject:`Write a SHORT, IMPERATIVE tense description of the change:
2
+ `,body:`Provide a LONGER description of the change (optional). Use "|" to break new line:
3
+ `,breaking:`List any BREAKING CHANGES (optional). Use "|" to break new line:
4
+ `,footerPrefixesSelect:"Select the ISSUES type of the change list by this change (optional):",customFooterPrefixes:"Input ISSUES prefix:",footer:`List any ISSUES by this change. E.g.: #31, #34:
5
+ `,confirmCommit:"Are you sure you want to proceed with the commit above?"},types:[{value:"feat",name:"feat: \u2728 A new feature",emoji:":sparkles:"},{value:"fix",name:"fix: \uD83D\uDC1B A bug fix",emoji:":bug:"},{value:"docs",name:"docs: \uD83D\uDCDD Documentation only changes",emoji:":memo:"},{value:"style",name:"style: \uD83D\uDC84 Changes that do not affect the meaning of the code",emoji:":lipstick:"},{value:"refactor",name:"refactor: \u267B\uFE0F A code change that neither fixes a bug nor adds a feature",emoji:":recycle:"},{value:"perf",name:"perf: \u26A1\uFE0F A code change that improves performance",emoji:":zap:"},{value:"test",name:"test: \u2705 Adding missing tests or adjusting existing tests",emoji:":white_check_mark:"},{value:"build",name:"build: \uD83D\uDCE6\uFE0F Changes that affect the build system or external dependencies",emoji:":package:"},{value:"ci",name:"ci: \uD83C\uDFA1 Changes to our CI configuration files and scripts",emoji:":ferris_wheel:"},{value:"chore",name:"chore: \uD83D\uDD28 Other changes that don't modify src or test files",emoji:":hammer:"},{value:"revert",name:"revert: \u23EA\uFE0F Reverts a previous commit",emoji:":rewind:"}]},hashing:{driver:"bcrypt",bcrypt:{rounds:12},argon2:{memory:65536,time:2}},images:{social:{enabled:!1,outputDir:"public/social",publicPath:"/social",presets:["og","square","portrait"]},appStore:{enabled:!1,outputDir:"resources/app-store/screenshots"},appIcons:{enabled:!1,outputDir:"resources/app-icons",platforms:["ios","macos"],faviconDir:"public"}},library:{name:"hello-world",owner:"@stacksjs",repository:"stacksjs/stacks",license:"MIT",author:"",contributors:[],defaultLanguage:"en",webComponents:{name:"hello-world-elements",description:"Your framework agnostic web component library description.",keywords:["custom-elements","web-components","library","framework-agnostic","typescript","javascript"],tags:[{name:["HelloWorld","AppHelloWorld"],description:"The Hello World custom element, built via this framework.",attributes:[{name:"greeting",description:"The greeting."}]}]},functions:{name:"hello-world-fx",description:"Your function library description.",keywords:["functions","composables","library","typescript","javascript"],shouldGenerateSourcemap:!1,files:["counter","dark"]}},logging:{logsPath:"storage/logs/stacks.log",deploymentsPath:"storage/logs/deployments.log"},notification:{default:"email"},payment:{driver:"stripe"},ports:{frontend:3000,backend:3001,admin:3002,library:3003,desktop:3004,email:3005,docs:3006,inspect:3007,api:3008,systemTray:3009,database:3010},queue:{default:"sync",connections:{sync:{driver:"sync"},database:{driver:"database",table:"jobs",queue:"default",retryAfter:90},redis:{driver:"redis",queue:"default",retryAfter:90},sqs:{driver:"sqs",key:"",secret:"",prefix:"",suffix:"",queue:"default",region:FRAMEWORK_DEFAULTS.awsRegion}}},saas:{plans:[{productName:"Stacks Hobby",description:"All the Stacks features.",pricing:[{key:"stacks_hobby_monthly",price:3900,interval:"month",currency:"usd"},{key:"stacks_hobby_yearly",price:37900,interval:"year",currency:"usd"}],metadata:{createdBy:"admin",version:"1.0.0"}},{productName:"Stacks Pro",description:"All the Stacks features, including being able to invite team members.",pricing:[{key:"stacks_pro_monthly",price:5900,interval:"month",currency:"usd"},{key:"stacks_pro_yearly",price:57900,interval:"year",currency:"usd"}],metadata:{createdBy:"admin",version:"1.0.0"}}],webhook:{endpoint:"/webhooks/stripe",secret:""},currencies:["usd"],coupons:[{code:"SUMMER2024",amountOff:500,duration:"once"}],products:[{name:"Stacks Pro",description:"All the Stacks features.",images:["url_to_image"]}]},searchEngine:{driver:"opensearch"},security:{firewall:{enabled:!0,countryCodes:[],ipAddresses:[],queryString:[],httpHeaders:[],rateLimitPerMinute:1000,useIpReputationLists:!0,useKnownBadInputsRuleSet:!0}},services:{aws:{accountId:"",appId:"",apiKey:"",region:FRAMEWORK_DEFAULTS.awsRegion},algolia:{appId:"",apiKey:""},meilisearch:{appId:"",apiKey:""},stripe:{appId:"",apiKey:""}},filesystems:{driver:"s3"},team:{name:"",members:{}},ui:{shortcuts:[["btn","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"]],safelist:"prose prose-sm m-auto text-left",trigger:":stx:",classPrefix:"stx-",reset:"tailwind",icons:["hugeicons"],fonts:{email:{title:"Mona",text:"Hubot"},desktop:{title:"Mona",text:"Hubot"},mobile:{title:"Mona",text:"Hubot"},web:{title:"Mona",text:"Hubot"}}}};export default defaults;