@stacksjs/types 0.75.197 → 0.75.199

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 +4 -0
  2. package/package.json +4 -4
package/dist/mobile.d.ts CHANGED
@@ -64,6 +64,7 @@ export declare interface IosBackgroundRefreshConfig {
64
64
  minimumIntervalMinutes?: number
65
65
  }
66
66
  export declare interface IosMobileConfig {
67
+ nativeFonts?: NativeFontsConfig
67
68
  appName: string
68
69
  bundleId: string
69
70
  version?: string
@@ -122,6 +123,7 @@ export declare interface IosMobileConfig {
122
123
  crashReporting?: MobileCrashReportingConfig
123
124
  }
124
125
  export declare interface AndroidMobileConfig {
126
+ nativeFonts?: NativeFontsConfig
125
127
  appName: string
126
128
  packageName: string
127
129
  version?: string
@@ -204,6 +206,8 @@ export declare interface MobileConfig {
204
206
  }
205
207
  export type MobileOrientation = 'portrait' | 'landscape-left' | 'landscape-right' | 'portrait-upside-down';
206
208
  export type IosDeviceFamily = 'iphone' | 'ipad';
209
+ /** Custom native text fonts; the key is the font's PostScript name on both phones. */
210
+ export type NativeFontsConfig = Record<string, { src: string, license?: string }>;
207
211
  /** Health data types, by the names the iOS build's HealthKit uses. */
208
212
  export type AndroidHealthConnectType = 'steps' | 'heartRate' | 'activeEnergy' | 'distance' | 'workouts' | 'restingHeartRate'
209
213
  | 'heartRateVariability' | 'bodyMass' | 'sleep' | 'mindful' | 'dietaryEnergy' | 'dietaryProtein'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.197",
4
+ "version": "0.75.199",
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.197",
62
- "@stacksjs/strings": "0.75.197",
61
+ "@stacksjs/events": "0.75.199",
62
+ "@stacksjs/strings": "0.75.199",
63
63
  "@stacksjs/stx": "^0.2.534",
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.197",
76
+ "@stacksjs/validation": "0.75.199",
77
77
  "better-dx": "^0.2.24",
78
78
  "meilisearch": "^0.62.0"
79
79
  },