@stacksjs/types 0.75.172 → 0.75.174

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.
Files changed (2) hide show
  1. package/dist/mobile.d.ts +19 -0
  2. package/package.json +4 -4
package/dist/mobile.d.ts CHANGED
@@ -137,6 +137,21 @@ export declare interface AndroidMobileConfig {
137
137
  urlSchemes?: string[]
138
138
  appIcon?: string
139
139
  googleServicesFile?: string
140
+ appearance?: 'light' | 'dark' | 'system'
141
+ backgroundColorDark?: string
142
+ renderer?: 'web' | 'native'
143
+ nativeScreens?: Record<string, string>
144
+ nativeScreensDir?: string
145
+ nativeApp?: string
146
+ tabs?: Array<{ id: string, title: string, symbol?: string }>
147
+ backgroundRefresh?: { enabled?: boolean, minimumIntervalMinutes?: number }
148
+ healthConnect?: {
149
+ read?: AndroidHealthConnectType[]
150
+ write?: AndroidHealthConnectType[]
151
+ background?: boolean
152
+ history?: boolean
153
+ }
154
+ privacyPolicyUrl?: string
140
155
  capabilities?: MobileCapabilities
141
156
  }
142
157
  /**
@@ -169,3 +184,7 @@ export declare interface MobileConfig {
169
184
  }
170
185
  export type MobileOrientation = 'portrait' | 'landscape-left' | 'landscape-right' | 'portrait-upside-down';
171
186
  export type IosDeviceFamily = 'iphone' | 'ipad';
187
+ /** Health data types, by the names the iOS build's HealthKit uses. */
188
+ export type AndroidHealthConnectType = 'steps' | 'heartRate' | 'activeEnergy' | 'distance' | 'workouts' | 'restingHeartRate'
189
+ | 'heartRateVariability' | 'bodyMass' | 'sleep' | 'mindful' | 'dietaryEnergy' | 'dietaryProtein'
190
+ | 'dietaryCarbohydrates' | 'dietaryFat';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.172",
4
+ "version": "0.75.174",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -58,8 +58,8 @@
58
58
  "dependencies": {
59
59
  "@stacksjs/bunpress": "^0.2.15",
60
60
  "@stacksjs/clapp": "^0.2.12",
61
- "@stacksjs/events": "0.75.172",
62
- "@stacksjs/strings": "0.75.172",
61
+ "@stacksjs/events": "0.75.174",
62
+ "@stacksjs/strings": "0.75.174",
63
63
  "@stacksjs/stx": "^0.2.483",
64
64
  "@stacksjs/ts-validation": "^0.5.6",
65
65
  "bun-query-builder": "^0.3.8"
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.172",
76
+ "@stacksjs/validation": "0.75.174",
77
77
  "better-dx": "^0.2.24",
78
78
  "meilisearch": "^0.62.0"
79
79
  },