asma-helpers 0.6.13 → 0.6.14
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.
|
@@ -5,7 +5,12 @@
|
|
|
5
5
|
* mst_stores_toPersisit - array of mst stores that should be persisted in indexedDB
|
|
6
6
|
* data_for_registered_subdomain_check - data needed to check if subdomain is registered to an exiting tenant in the db
|
|
7
7
|
*/
|
|
8
|
-
export declare function initAppVitals({
|
|
8
|
+
export declare function initAppVitals({
|
|
9
|
+
/**
|
|
10
|
+
* //TODO invesigate how to internalyze this variable
|
|
11
|
+
* add qiankunWindow.__POWERED_BY_QIANKUN__ there where qiankunWindow is awailable
|
|
12
|
+
*/
|
|
13
|
+
is_child_app, data_for_registered_subdomain_check, mst_stores_toPersisit, setLoadMicroApp, }: {
|
|
9
14
|
setLoadMicroApp(dev_mode: boolean): Promise<void>;
|
|
10
15
|
is_child_app: boolean;
|
|
11
16
|
mst_stores_toPersisit: Object[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initAppVitals.d.ts","sourceRoot":"","sources":["../../src/helpers/initAppVitals.ts"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,wBAAsB,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"initAppVitals.d.ts","sourceRoot":"","sources":["../../src/helpers/initAppVitals.ts"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,wBAAsB,aAAa,CAAC;AAChC;;;GAGG;AACH,YAAoB,EACpB,mCAAmC,EACnC,qBAAqB,EACrB,eAAe,GAClB,EAAE;IACC,eAAe,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACjD,YAAY,EAAE,OAAO,CAAA;IACrB,qBAAqB,EAAE,MAAM,EAAE,CAAA;IAC/B,mCAAmC,EAAE;QACjC;;;WAGG;QACH,sBAAsB,CAAC,EAAE,OAAO,CAAA;QAChC,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;QACnD;;WAEG;QACH,KAAK,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,YAAY,EAAE,MAAM,CAAA;SAAE,CAAA;QACnD;;WAEG;QACH,aAAa,EAAE,MAAM,OAAO,CAAA;QAC5B;;WAEG;QACH,OAAO,EAAE,WAAW,GAAG,YAAY,GAAG,eAAe,CAAA;KACxD,CAAA;CACJ,2CAsBA"}
|
|
@@ -10,7 +10,12 @@ import { initiatieIDBListenersOnMstSnaphsots } from './InitializeIDBListenersOnM
|
|
|
10
10
|
* mst_stores_toPersisit - array of mst stores that should be persisted in indexedDB
|
|
11
11
|
* data_for_registered_subdomain_check - data needed to check if subdomain is registered to an exiting tenant in the db
|
|
12
12
|
*/
|
|
13
|
-
export async function initAppVitals({
|
|
13
|
+
export async function initAppVitals({
|
|
14
|
+
/**
|
|
15
|
+
* //TODO invesigate how to internalyze this variable
|
|
16
|
+
* add qiankunWindow.__POWERED_BY_QIANKUN__ there where qiankunWindow is awailable
|
|
17
|
+
*/
|
|
18
|
+
is_child_app = false, data_for_registered_subdomain_check, mst_stores_toPersisit, setLoadMicroApp, }) {
|
|
14
19
|
await fetchConfigsInternal();
|
|
15
20
|
await clearCacheData(EnvConfigsFnInternal().CACHE_VERSION);
|
|
16
21
|
await setLoadMicroApp(EnvConfigsFnInternal().DEVELOPMENT);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initAppVitals.js","sourceRoot":"","sources":["../../src/helpers/initAppVitals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCA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CAAC"}
|
package/package.json
CHANGED
|
@@ -12,6 +12,10 @@ import { initiatieIDBListenersOnMstSnaphsots } from './InitializeIDBListenersOnM
|
|
|
12
12
|
* data_for_registered_subdomain_check - data needed to check if subdomain is registered to an exiting tenant in the db
|
|
13
13
|
*/
|
|
14
14
|
export async function initAppVitals({
|
|
15
|
+
/**
|
|
16
|
+
* //TODO invesigate how to internalyze this variable
|
|
17
|
+
* add qiankunWindow.__POWERED_BY_QIANKUN__ there where qiankunWindow is awailable
|
|
18
|
+
*/
|
|
15
19
|
is_child_app = false,
|
|
16
20
|
data_for_registered_subdomain_check,
|
|
17
21
|
mst_stores_toPersisit,
|