@stacksjs/types 0.58.51 → 0.58.52
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/package.json +3 -3
- package/src/app.ts +2 -2
- package/src/cli.ts +1 -1
- package/src/cloud.ts +5 -1
- package/src/cron-jobs.ts +1 -0
- package/src/queue.ts +3 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.52",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@mdit-vue/plugin-component": "^2.0.0",
|
|
52
52
|
"@mdit-vue/plugin-frontmatter": "^2.0.0",
|
|
53
53
|
"@mdit-vue/types": "^2.0.0",
|
|
54
|
-
"@novu/stateless": "^0.
|
|
54
|
+
"@novu/stateless": "^0.23.0",
|
|
55
55
|
"@rollup/pluginutils": "^5.1.0",
|
|
56
56
|
"@stacksjs/validation": "latest",
|
|
57
57
|
"@types/aws4": "^1.11.6",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"meilisearch": "^0.37.0",
|
|
71
71
|
"neverthrow": "^6.1.0",
|
|
72
72
|
"ora": "^8.0.1",
|
|
73
|
-
"unocss": "^0.58.
|
|
73
|
+
"unocss": "^0.58.5",
|
|
74
74
|
"unplugin-auto-import": "^0.17.5",
|
|
75
75
|
"unplugin-vue-components": "^0.26.0",
|
|
76
76
|
"vite": "^5.0.12",
|
package/src/app.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type AppEnvType = '
|
|
1
|
+
export type AppEnvType = 'local' | 'dev' | 'stage' | 'prod'
|
|
2
2
|
|
|
3
3
|
interface Ports {
|
|
4
4
|
frontend: number
|
|
@@ -46,7 +46,7 @@ export interface AppOptions {
|
|
|
46
46
|
* running in. This may determine how you prefer to configure various
|
|
47
47
|
* services the application utilizes. Set this in your ".env" file
|
|
48
48
|
*
|
|
49
|
-
* @default "
|
|
49
|
+
* @default "local"
|
|
50
50
|
*/
|
|
51
51
|
env: AppEnvType
|
|
52
52
|
|
package/src/cli.ts
CHANGED
|
@@ -179,7 +179,7 @@ export type ActionOptions = {
|
|
|
179
179
|
'count'?: number
|
|
180
180
|
} & CliOptions & DomainsOptions
|
|
181
181
|
|
|
182
|
-
export type BuildOption = 'components' | 'vueComponents' | 'webComponents' | 'elements' | 'functions' | 'docs' | 'views' | 'stacks' | 'all' | 'buddy'
|
|
182
|
+
export type BuildOption = 'components' | 'vueComponents' | 'webComponents' | 'elements' | 'functions' | 'docs' | 'views' | 'stacks' | 'all' | 'buddy' | 'server'
|
|
183
183
|
export type BuildOptions = {
|
|
184
184
|
[key in BuildOption]: boolean;
|
|
185
185
|
} & CliOptions
|
package/src/cloud.ts
CHANGED
|
@@ -64,7 +64,7 @@ export interface CloudOptions {
|
|
|
64
64
|
defaultTtl: number
|
|
65
65
|
maxTtl: number
|
|
66
66
|
compress: boolean
|
|
67
|
-
priceClass
|
|
67
|
+
priceClass?: 'PriceClass_100' | 'PriceClass_200' | 'PriceClass_All'
|
|
68
68
|
originShieldRegion: string
|
|
69
69
|
cookieBehavior: 'none' | 'allowList' | 'all'
|
|
70
70
|
allowList: {
|
|
@@ -72,6 +72,10 @@ export interface CloudOptions {
|
|
|
72
72
|
headers: string[]
|
|
73
73
|
queryStrings: string[]
|
|
74
74
|
}
|
|
75
|
+
realtimeLogs: {
|
|
76
|
+
enabled: boolean
|
|
77
|
+
samplingRate: number
|
|
78
|
+
}
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
api: ApiOptions
|
package/src/cron-jobs.ts
CHANGED
package/src/queue.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { DeepPartial } from './utils'
|
|
2
|
+
|
|
1
3
|
export interface QueueOptions {
|
|
2
4
|
default: 'sync' | 'database' | 'redis' | 'sqs'
|
|
3
5
|
connections: {
|
|
@@ -33,4 +35,4 @@ export interface QueueOptions {
|
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
|
|
36
|
-
export type QueueConfig =
|
|
38
|
+
export type QueueConfig = DeepPartial<QueueOptions>
|