@stacksjs/types 0.75.177 → 0.75.179
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 +19 -0
- package/package.json +4 -4
package/dist/mobile.d.ts
CHANGED
|
@@ -119,6 +119,7 @@ export declare interface IosMobileConfig {
|
|
|
119
119
|
orientations?: MobileOrientation[]
|
|
120
120
|
deviceFamilies?: IosDeviceFamily[]
|
|
121
121
|
capabilities?: MobileCapabilities
|
|
122
|
+
crashReporting?: MobileCrashReportingConfig
|
|
122
123
|
}
|
|
123
124
|
export declare interface AndroidMobileConfig {
|
|
124
125
|
appName: string
|
|
@@ -153,6 +154,7 @@ export declare interface AndroidMobileConfig {
|
|
|
153
154
|
}
|
|
154
155
|
privacyPolicyUrl?: string
|
|
155
156
|
capabilities?: MobileCapabilities
|
|
157
|
+
crashReporting?: MobileCrashReportingConfig
|
|
156
158
|
}
|
|
157
159
|
/**
|
|
158
160
|
* One kind of application content a device may index for search.
|
|
@@ -177,9 +179,26 @@ export declare interface SpotlightConfig {
|
|
|
177
179
|
kinds: Record<string, SpotlightKindConfig>
|
|
178
180
|
activityTypes?: string[]
|
|
179
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Crash and error reporting to bughq (https://bughq.org) from the native app:
|
|
184
|
+
* crashes, hangs and ANRs, uncaught JavaScript errors in native screens, the
|
|
185
|
+
* app script and web views, sent from an on-disk outbox so offline events
|
|
186
|
+
* arrive later. On when a `key` is set. `MobileConfig.crashReporting` applies
|
|
187
|
+
* to both platforms; `ios.crashReporting` and `android.crashReporting`
|
|
188
|
+
* override it field by field (a project, and so a key, per platform).
|
|
189
|
+
*/
|
|
190
|
+
export declare interface MobileCrashReportingConfig {
|
|
191
|
+
key?: string
|
|
192
|
+
host?: string
|
|
193
|
+
environment?: string
|
|
194
|
+
release?: string
|
|
195
|
+
sessions?: boolean
|
|
196
|
+
uploadSymbols?: boolean
|
|
197
|
+
}
|
|
180
198
|
export declare interface MobileConfig {
|
|
181
199
|
ios: IosMobileConfig
|
|
182
200
|
android?: AndroidMobileConfig
|
|
201
|
+
crashReporting?: MobileCrashReportingConfig
|
|
183
202
|
spotlight?: SpotlightConfig
|
|
184
203
|
}
|
|
185
204
|
export type MobileOrientation = 'portrait' | 'landscape-left' | 'landscape-right' | 'portrait-upside-down';
|
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.179",
|
|
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.
|
|
62
|
-
"@stacksjs/strings": "0.75.
|
|
61
|
+
"@stacksjs/events": "0.75.179",
|
|
62
|
+
"@stacksjs/strings": "0.75.179",
|
|
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.
|
|
76
|
+
"@stacksjs/validation": "0.75.179",
|
|
77
77
|
"better-dx": "^0.2.24",
|
|
78
78
|
"meilisearch": "^0.62.0"
|
|
79
79
|
},
|