@modern-js/plugin-garfish 1.4.4-beta.3 → 1.4.4-beta.4
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.
|
@@ -35,7 +35,7 @@ async function initOptions(manifest = {}, options) {
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
if (manifest !== null && manifest !== void 0 && manifest.getAppList) {
|
|
38
|
-
const getAppList = await (manifest === null || manifest === void 0 ? void 0 : manifest.getAppList());
|
|
38
|
+
const getAppList = await (manifest === null || manifest === void 0 ? void 0 : manifest.getAppList(manifest));
|
|
39
39
|
|
|
40
40
|
if (getAppList.length > 0) {
|
|
41
41
|
apps = getAppList;
|
|
@@ -52,7 +52,7 @@ async function initOptions(manifest = {}, options) {
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
if (manifest !== null && manifest !== void 0 && manifest.getAppList) {
|
|
55
|
-
const getAppList = await (manifest === null || manifest === void 0 ? void 0 : manifest.getAppList());
|
|
55
|
+
const getAppList = await (manifest === null || manifest === void 0 ? void 0 : manifest.getAppList(manifest));
|
|
56
56
|
|
|
57
57
|
if (getAppList.length > 0) {
|
|
58
58
|
apps = getAppList;
|
|
@@ -88,7 +88,7 @@ function _initOptions() {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
_context2.next = 7;
|
|
91
|
-
return manifest === null || manifest === void 0 ? void 0 : manifest.getAppList();
|
|
91
|
+
return manifest === null || manifest === void 0 ? void 0 : manifest.getAppList(manifest);
|
|
92
92
|
|
|
93
93
|
case 7:
|
|
94
94
|
getAppList = _context2.sent;
|
|
@@ -9,7 +9,7 @@ export declare type ModulesInfo = Array<ModuleInfo>;
|
|
|
9
9
|
export declare type Manifest = {
|
|
10
10
|
modules?: ModulesInfo;
|
|
11
11
|
loadable?: LoadableConfig;
|
|
12
|
-
getAppList?: () => Promise<Array<GarfishInterfaces.AppInfo>>;
|
|
12
|
+
getAppList?: (info: any) => Promise<Array<GarfishInterfaces.AppInfo>>;
|
|
13
13
|
};
|
|
14
14
|
export declare type LoadingComponent = React.ComponentType<{
|
|
15
15
|
isLoading: boolean;
|