akanjs 3.0.0-beta.30 → 3.0.0-beta.31

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/index.ts CHANGED
@@ -142,6 +142,8 @@ export interface AkanNativeUpdatesConfig {
142
142
  }
143
143
 
144
144
  export interface AkanNativeIosConfig {
145
+ /** Where the iOS app starts, over the section's `indexPath`. */
146
+ indexPath?: string;
145
147
  /** The Apple team id: the universal links of `deepLinks.domains` (apple-app-site-association). */
146
148
  teamId?: string;
147
149
  infoPlist?: Record<string, AkanNativeValue>;
@@ -153,6 +155,8 @@ export interface AkanNativeIosConfig {
153
155
  }
154
156
 
155
157
  export interface AkanNativeAndroidConfig {
158
+ /** Where the Android app starts, over the section's `indexPath`. */
159
+ indexPath?: string;
156
160
  /** The signing certificates' SHA-256 fingerprints: the app links of `deepLinks.domains` (assetlinks.json). */
157
161
  sha256CertFingerprints?: string[];
158
162
  /** The Firebase project's google-services.json, relative to the app folder, for FCM push. */
@@ -172,6 +176,8 @@ export interface AkanNativeAndroidConfig {
172
176
  }
173
177
 
174
178
  export interface AkanNativeDesktopConfig {
179
+ /** Where the desktop app starts, over the section's `indexPath`. */
180
+ indexPath?: string;
175
181
  /**
176
182
  * The desktop app carries the app's server (API only, database mode single, on loopback) and its pages call
177
183
  * nothing else. `build-desktop`, `start-desktop` and `publish-update` all read it, and an installed app refuses
@@ -201,7 +207,10 @@ export interface AkanNativeDesktopConfig {
201
207
  export interface AkanNativeSettings {
202
208
  /** The client the app opens, a basePath the routes declare; an app without basePaths leaves it out. */
203
209
  basePath?: string;
204
- /** Where the app starts, and falls back to for a deep link's stack and a back with no history. Default `/`. */
210
+ /**
211
+ * Where the app starts, and falls back to for a deep link's stack and a back with no history. Default `/`. A platform
212
+ * section's own `indexPath` (`desktop.indexPath`) wins on that platform.
213
+ */
205
214
  indexPath?: string;
206
215
  /** Default: the app's folder name. */
207
216
  appName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akanjs",
3
- "version": "3.0.0-beta.30",
3
+ "version": "3.0.0-beta.31",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/types/index.d.ts CHANGED
@@ -127,6 +127,8 @@ export interface AkanNativeUpdatesConfig {
127
127
  readyTimeout?: number;
128
128
  }
129
129
  export interface AkanNativeIosConfig {
130
+ /** Where the iOS app starts, over the section's `indexPath`. */
131
+ indexPath?: string;
130
132
  /** The Apple team id: the universal links of `deepLinks.domains` (apple-app-site-association). */
131
133
  teamId?: string;
132
134
  infoPlist?: Record<string, AkanNativeValue>;
@@ -137,6 +139,8 @@ export interface AkanNativeIosConfig {
137
139
  files?: Record<string, string>;
138
140
  }
139
141
  export interface AkanNativeAndroidConfig {
142
+ /** Where the Android app starts, over the section's `indexPath`. */
143
+ indexPath?: string;
140
144
  /** The signing certificates' SHA-256 fingerprints: the app links of `deepLinks.domains` (assetlinks.json). */
141
145
  sha256CertFingerprints?: string[];
142
146
  /** The Firebase project's google-services.json, relative to the app folder, for FCM push. */
@@ -155,6 +159,8 @@ export interface AkanNativeAndroidConfig {
155
159
  files?: Record<string, string>;
156
160
  }
157
161
  export interface AkanNativeDesktopConfig {
162
+ /** Where the desktop app starts, over the section's `indexPath`. */
163
+ indexPath?: string;
158
164
  /**
159
165
  * The desktop app carries the app's server (API only, database mode single, on loopback) and its pages call
160
166
  * nothing else. `build-desktop`, `start-desktop` and `publish-update` all read it, and an installed app refuses
@@ -186,7 +192,10 @@ export interface AkanNativeDesktopConfig {
186
192
  export interface AkanNativeSettings {
187
193
  /** The client the app opens, a basePath the routes declare; an app without basePaths leaves it out. */
188
194
  basePath?: string;
189
- /** Where the app starts, and falls back to for a deep link's stack and a back with no history. Default `/`. */
195
+ /**
196
+ * Where the app starts, and falls back to for a deep link's stack and a back with no history. Default `/`. A platform
197
+ * section's own `indexPath` (`desktop.indexPath`) wins on that platform.
198
+ */
190
199
  indexPath?: string;
191
200
  /** Default: the app's folder name. */
192
201
  appName?: string;