@stacksjs/types 0.75.229 → 0.75.230
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/mobile.d.ts +16 -0
- package/package.json +5 -5
package/dist/mobile.d.ts
CHANGED
|
@@ -58,6 +58,19 @@ export declare interface MobilePrivacyManifest {
|
|
|
58
58
|
accessedApiTypes?: MobilePrivacyAccessedApiType[]
|
|
59
59
|
}
|
|
60
60
|
/** iOS waking the app now and then to refresh its content (BGAppRefreshTask). */
|
|
61
|
+
/**
|
|
62
|
+
* Native screens' messages, a language at a time (stx's `messages`): each
|
|
63
|
+
* language's message modules in a directory of their own,
|
|
64
|
+
* `<dir>/<language>/<area>.ts`, each exporting its messages (plain data) as
|
|
65
|
+
* default and nothing else. The screens' code carries none of them; a
|
|
66
|
+
* screen reads the language it is shown in, and only the areas it uses,
|
|
67
|
+
* when it first looks inside them. Needs a Craft that runs each screen from
|
|
68
|
+
* its own file; with one that does not, the messages stay in the bundle.
|
|
69
|
+
*/
|
|
70
|
+
export declare interface NativeMessagesConfig {
|
|
71
|
+
dir: string
|
|
72
|
+
languages: string[]
|
|
73
|
+
}
|
|
61
74
|
export declare interface IosBackgroundRefreshConfig {
|
|
62
75
|
enabled: boolean
|
|
63
76
|
identifier?: string
|
|
@@ -106,8 +119,10 @@ export declare interface IosMobileConfig {
|
|
|
106
119
|
associatedDomains?: string[]
|
|
107
120
|
nativeScreens?: Record<string, string>
|
|
108
121
|
nativeScreensDir?: string
|
|
122
|
+
nativeMessages?: NativeMessagesConfig
|
|
109
123
|
renderer?: 'web' | 'native'
|
|
110
124
|
nativeApp?: string
|
|
125
|
+
nativeScriptThread?: 'main' | 'background'
|
|
111
126
|
tabs?: Array<{ id: string, title: string, symbol?: string }>
|
|
112
127
|
shareStorage?: Record<string, string>
|
|
113
128
|
appGroups?: string[]
|
|
@@ -151,6 +166,7 @@ export declare interface AndroidMobileConfig {
|
|
|
151
166
|
renderer?: 'web' | 'native'
|
|
152
167
|
nativeScreens?: Record<string, string>
|
|
153
168
|
nativeScreensDir?: string
|
|
169
|
+
nativeMessages?: NativeMessagesConfig
|
|
154
170
|
nativeApp?: string
|
|
155
171
|
tabs?: Array<{ id: string, title: string, symbol?: string }>
|
|
156
172
|
backgroundRefresh?: { enabled?: boolean, minimumIntervalMinutes?: number }
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.75.
|
|
4
|
+
"version": "0.75.230",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@stacksjs/bunpress": "^0.2.15",
|
|
66
66
|
"@stacksjs/clapp": "^0.2.12",
|
|
67
|
-
"@stacksjs/events": "0.75.
|
|
68
|
-
"@stacksjs/strings": "0.75.
|
|
69
|
-
"@stacksjs/stx": "^0.2.
|
|
67
|
+
"@stacksjs/events": "0.75.230",
|
|
68
|
+
"@stacksjs/strings": "0.75.230",
|
|
69
|
+
"@stacksjs/stx": "^0.2.574",
|
|
70
70
|
"@stacksjs/ts-validation": "^0.5.6",
|
|
71
71
|
"bun-query-builder": "^0.3.8"
|
|
72
72
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@stacksjs/validation": "0.75.
|
|
82
|
+
"@stacksjs/validation": "0.75.230",
|
|
83
83
|
"better-dx": "^0.2.24",
|
|
84
84
|
"meilisearch": "^0.62.0"
|
|
85
85
|
},
|