@micro-zoe/micro-app 0.8.0 → 0.8.1

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/lib/index.d.ts CHANGED
@@ -16,7 +16,7 @@ declare module '@micro-zoe/micro-app/micro_app' {
16
16
  import { EventCenterForBaseApp } from '@micro-zoe/micro-app/interact';
17
17
  /**
18
18
  * if app not prefetch & not unmount, then app is active
19
- * @param excludeHiddenApp exclude hidden keep-alive app
19
+ * @param excludeHiddenApp exclude hidden keep-alive app, default is false
20
20
  * @returns active apps
21
21
  */
22
22
  export function getActiveApps(excludeHiddenApp?: boolean): string[];
@@ -26,7 +26,7 @@ declare module '@micro-zoe/micro-app/micro_app' {
26
26
  clearAliveState?: boolean;
27
27
  }
28
28
  /**
29
- * unmount app by appname
29
+ * unmount app by appName
30
30
  * @param appName
31
31
  * @param options unmountAppParams
32
32
  * @returns Promise<void>
@@ -148,9 +148,9 @@ declare module '@micro-zoe/micro-app/libs/utils' {
148
148
  /**
149
149
  * Get the folder where the link resource is located,
150
150
  * which is used to complete the relative address in the css
151
- * @param linkpath full link address
151
+ * @param linkPath full link address
152
152
  */
153
- export function getLinkFileDir(linkpath: string): string;
153
+ export function getLinkFileDir(linkPath: string): string;
154
154
  /**
155
155
  * promise stream
156
156
  * @param promiseList promise list
@@ -288,14 +288,14 @@ declare module '@micro-zoe/micro-app/interact' {
288
288
  }
289
289
  /**
290
290
  * Record UMD function before exec umdHookMount
291
- * @param microAppEventCneter
291
+ * @param microAppEventCenter
292
292
  */
293
- export function recordDataCenterSnapshot(microAppEventCneter: EventCenterForMicroApp): void;
293
+ export function recordDataCenterSnapshot(microAppEventCenter: EventCenterForMicroApp): void;
294
294
  /**
295
295
  * Rebind the UMD function of the record before remount
296
- * @param microAppEventCneter instance of EventCenterForMicroApp
296
+ * @param microAppEventCenter instance of EventCenterForMicroApp
297
297
  */
298
- export function rebuildDataCenterSnapshot(microAppEventCneter: EventCenterForMicroApp): void;
298
+ export function rebuildDataCenterSnapshot(microAppEventCenter: EventCenterForMicroApp): void;
299
299
  export {};
300
300
  }
301
301