@stacksjs/types 0.75.457 → 0.75.459

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 +22 -4
  2. package/package.json +4 -4
package/dist/mobile.d.ts CHANGED
@@ -82,6 +82,26 @@ export declare interface IosBackgroundRefreshConfig {
82
82
  identifier?: string
83
83
  minimumIntervalMinutes?: number
84
84
  }
85
+ /**
86
+ * A native app's launch screen. Every Stacks mobile app gets one by default:
87
+ * `buddy build:ios` / `build:android` render the app icon (or `logo`) with
88
+ * ts-images' splash preset at every scale the platform needs (iOS @1x/@2x/@3x,
89
+ * Android 12's splash icon and the legacy window logo per density), light and
90
+ * dark, on the app's own background colours, so nothing is cropped or blurred
91
+ * and nothing flashes between the launch screen and the first frame.
92
+ */
93
+ export declare interface MobileSplashConfig {
94
+ image?: string
95
+ imageDark?: string
96
+ logo?: string
97
+ logoDark?: string
98
+ text?: string
99
+ font?: string
100
+ uppercase?: boolean
101
+ accent?: string | false
102
+ size?: number
103
+ shape?: 'none' | 'rounded' | 'circle'
104
+ }
85
105
  export declare interface IosMobileConfig {
86
106
  appShortcuts?: Array<{ id: string, title: string, subtitle?: string, symbol: string, url: string, phrases: string[] }>
87
107
  nativeFonts?: NativeFontsConfig
@@ -136,10 +156,7 @@ export declare interface IosMobileConfig {
136
156
  shareStorage?: Record<string, string>
137
157
  appGroups?: string[]
138
158
  appIcon?: string
139
- splash?: {
140
- image?: string
141
- imageDark?: string
142
- }
159
+ splash?: MobileSplashConfig | false
143
160
  privacy?: MobilePrivacyManifest
144
161
  usageDescriptions?: Record<string, string>
145
162
  orientations?: MobileOrientation[]
@@ -168,6 +185,7 @@ export declare interface AndroidMobileConfig {
168
185
  appLinks?: Array<{ host: string, paths?: Array<{ pattern: string, exclude?: boolean }> }>
169
186
  urlSchemes?: string[]
170
187
  appIcon?: string
188
+ splash?: MobileSplashConfig | false
171
189
  notificationIcon?: string
172
190
  notificationColor?: string
173
191
  googleServicesFile?: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.457",
4
+ "version": "0.75.459",
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.457",
68
- "@stacksjs/strings": "0.75.457",
67
+ "@stacksjs/events": "0.75.459",
68
+ "@stacksjs/strings": "0.75.459",
69
69
  "@stacksjs/stx": "0.2.794",
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.457",
86
+ "@stacksjs/validation": "0.75.459",
87
87
  "better-dx": "^0.2.24",
88
88
  "meilisearch": "^0.62.0",
89
89
  "stripe": "23.0.0"