@stacksjs/types 0.75.465 → 0.75.467
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 +9 -0
- package/package.json +4 -4
package/dist/mobile.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Rules for complete decoded native path parameters, applied before query items. */
|
|
2
|
+
export declare interface NativeParameterConstraint {
|
|
3
|
+
pattern?: string
|
|
4
|
+
exclude?: readonly string[]
|
|
5
|
+
ignoreCase?: boolean
|
|
6
|
+
}
|
|
1
7
|
export declare interface MobileCapabilities {
|
|
2
8
|
speechRecognition?: boolean
|
|
3
9
|
haptics?: boolean
|
|
@@ -147,6 +153,7 @@ export declare interface IosMobileConfig {
|
|
|
147
153
|
limitNavigationsToAppBoundDomains?: boolean
|
|
148
154
|
associatedDomains?: string[]
|
|
149
155
|
nativeScreens?: Record<string, string>
|
|
156
|
+
nativeScreenConstraints?: NativeRouteConstraints
|
|
150
157
|
nativeScreensDir?: string
|
|
151
158
|
nativeMessages?: NativeMessagesConfig
|
|
152
159
|
renderer?: 'web' | 'native'
|
|
@@ -196,6 +203,7 @@ export declare interface AndroidMobileConfig {
|
|
|
196
203
|
backgroundColorDark?: string
|
|
197
204
|
renderer?: 'web' | 'native'
|
|
198
205
|
nativeScreens?: Record<string, string>
|
|
206
|
+
nativeScreenConstraints?: NativeRouteConstraints
|
|
199
207
|
nativeScreensDir?: string
|
|
200
208
|
nativeMessages?: NativeMessagesConfig
|
|
201
209
|
nativeApp?: string
|
|
@@ -273,6 +281,7 @@ export declare interface MobileConfig {
|
|
|
273
281
|
}
|
|
274
282
|
export type MobileOrientation = 'portrait' | 'landscape-left' | 'landscape-right' | 'portrait-upside-down';
|
|
275
283
|
export type IosDeviceFamily = 'iphone' | 'ipad';
|
|
284
|
+
export type NativeRouteConstraints = Record<string, Record<string, NativeParameterConstraint>>;
|
|
276
285
|
/** Custom native text fonts; the key is the font's PostScript name on both phones. */
|
|
277
286
|
export type NativeFontsConfig = Record<string, { src: string, license?: string }>;
|
|
278
287
|
/** Health data types, by the names the iOS build's HealthKit uses. */
|
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.467",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -64,8 +64,8 @@
|
|
|
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.
|
|
67
|
+
"@stacksjs/events": "0.75.467",
|
|
68
|
+
"@stacksjs/strings": "0.75.467",
|
|
69
69
|
"@stacksjs/stx": "0.2.798",
|
|
70
70
|
"@stacksjs/ts-validation": "^0.5.7",
|
|
71
71
|
"bun-query-builder": "^0.3.38"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@stacksjs/validation": "0.75.
|
|
86
|
+
"@stacksjs/validation": "0.75.467",
|
|
87
87
|
"better-dx": "^0.2.24",
|
|
88
88
|
"meilisearch": "^0.62.0",
|
|
89
89
|
"stripe": "23.0.0"
|