@stacksjs/types 0.75.618 → 0.75.621
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 +25 -0
- package/dist/workflows.d.ts +1 -0
- package/package.json +7 -7
package/dist/mobile.d.ts
CHANGED
|
@@ -175,6 +175,7 @@ export declare interface IosMobileConfig {
|
|
|
175
175
|
healthKitBackgroundFrequency?: 'immediate' | 'hourly' | 'daily' | 'weekly'
|
|
176
176
|
capabilities?: MobileCapabilities
|
|
177
177
|
crashReporting?: MobileCrashReportingConfig
|
|
178
|
+
nativeGate?: MobileNativeGateConfig
|
|
178
179
|
}
|
|
179
180
|
export declare interface AndroidMobileConfig {
|
|
180
181
|
mapProvider?: 'google' | 'maplibre'
|
|
@@ -221,6 +222,7 @@ export declare interface AndroidMobileConfig {
|
|
|
221
222
|
privacyPolicyUrl?: string
|
|
222
223
|
capabilities?: MobileCapabilities
|
|
223
224
|
crashReporting?: MobileCrashReportingConfig
|
|
225
|
+
nativeGate?: MobileNativeGateConfig
|
|
224
226
|
}
|
|
225
227
|
/**
|
|
226
228
|
* One kind of application content a device may index for search.
|
|
@@ -253,6 +255,28 @@ export declare interface SpotlightConfig {
|
|
|
253
255
|
* to both platforms; `ios.crashReporting` and `android.crashReporting`
|
|
254
256
|
* override it field by field (a project, and so a key, per platform).
|
|
255
257
|
*/
|
|
258
|
+
/**
|
|
259
|
+
* Where a signed-out launch may start (Craft's `nativeGate`, craft-native
|
|
260
|
+
* >= 0.0.488).
|
|
261
|
+
*
|
|
262
|
+
* The shell checks the start path against it before the first frame is
|
|
263
|
+
* drawn, so a signed-out cold launch opens on `redirect` instead of showing
|
|
264
|
+
* the signed-in home and its tab bar until the app script pushes sign-in on
|
|
265
|
+
* top. The app script runs after that first frame, so only the shell can.
|
|
266
|
+
*
|
|
267
|
+
* The gate checks the start path (the path of `url`), never a deep link.
|
|
268
|
+
* Craft validates it when it generates the project: every path absolute with
|
|
269
|
+
* no query, hash or trailing slash, `redirect` covered by `publicPaths`, and
|
|
270
|
+
* on a native renderer `redirect` must be a native screen.
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
* nativeGate: { token: 'auth.token', redirect: '/m/login', publicPaths: ['/m/login'] }
|
|
274
|
+
*/
|
|
275
|
+
export declare interface MobileNativeGateConfig {
|
|
276
|
+
publicPaths?: string[]
|
|
277
|
+
redirect: string
|
|
278
|
+
token?: string
|
|
279
|
+
}
|
|
256
280
|
export declare interface MobileCrashReportingConfig {
|
|
257
281
|
key?: string
|
|
258
282
|
host?: string
|
|
@@ -279,6 +303,7 @@ export declare interface MobileConfig {
|
|
|
279
303
|
ios: IosMobileConfig
|
|
280
304
|
android?: AndroidMobileConfig
|
|
281
305
|
crashReporting?: MobileCrashReportingConfig
|
|
306
|
+
nativeGate?: MobileNativeGateConfig
|
|
282
307
|
release?: MobileReleaseConfig
|
|
283
308
|
spotlight?: SpotlightConfig
|
|
284
309
|
}
|
package/dist/workflows.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare interface WorkflowConfig {
|
|
|
7
7
|
bun?: string
|
|
8
8
|
pantry?: string
|
|
9
9
|
runners: { checks: string[], deploy?: string[], ios?: string[] }
|
|
10
|
+
priorities?: { checks?: number, deploy?: number, ios?: number }
|
|
10
11
|
secrets?: { checks?: string[], deploy?: string[], ios?: string[] }
|
|
11
12
|
stepSecrets?: Partial<Record<Extract<WorkflowStep, `native-${string}`>, string[]>>
|
|
12
13
|
env?: { checks?: Record<string, string>, deploy?: Record<string, string>, ios?: Record<string, string> }
|
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.621",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -70,16 +70,16 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@stacksjs/bunpress": "^0.2.15",
|
|
72
72
|
"@stacksjs/clapp": "^0.2.17",
|
|
73
|
-
"@stacksjs/events": "0.75.
|
|
74
|
-
"@stacksjs/strings": "0.75.
|
|
75
|
-
"@stacksjs/stx": "^0.2.
|
|
73
|
+
"@stacksjs/events": "0.75.621",
|
|
74
|
+
"@stacksjs/strings": "0.75.621",
|
|
75
|
+
"@stacksjs/stx": "^0.2.907",
|
|
76
76
|
"@stacksjs/ts-validation": "^0.5.7",
|
|
77
77
|
"bun-query-builder": "^0.6.2",
|
|
78
78
|
"meilisearch": "^0.62.0",
|
|
79
79
|
"stripe": "23.0.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@stacksjs/validation": "0.75.
|
|
82
|
+
"@stacksjs/validation": "0.75.621",
|
|
83
83
|
"better-dx": "^0.2.39"
|
|
84
84
|
},
|
|
85
85
|
"sideEffects": false,
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"@stacksjs/actions": "0.75.
|
|
115
|
-
"@stacksjs/scheduler": "0.75.
|
|
114
|
+
"@stacksjs/actions": "0.75.621",
|
|
115
|
+
"@stacksjs/scheduler": "0.75.621"
|
|
116
116
|
}
|
|
117
117
|
}
|