gant-core 0.1.34 → 0.1.36

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
@@ -1685,6 +1685,7 @@ interface GantCustomConfig {
1685
1685
  name?: string;
1686
1686
  base?: string;
1687
1687
  mpas?: ConfigMPAS;
1688
+ library?: boolean;
1688
1689
  packages?: {
1689
1690
  [name: string]: string;
1690
1691
  };
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import axios__default from 'axios';
2
2
  export * from 'axios';
3
- import { forEach, groupBy, reduce, find, pick, get as get$1, uniqueId, omit, isEmpty, findIndex, isPlainObject, cloneDeep, mapValues, uniqBy, toLower, isObject, mergeWith, has, join } from 'lodash-es';
3
+ import { forEach, groupBy, reduce, find, keyBy, pick, get as get$1, uniqueId, omit, isEmpty, findIndex, isPlainObject, cloneDeep, mapValues, uniqBy, toLower, isObject, mergeWith, has, join } from 'lodash-es';
4
4
  import mitt from 'mitt';
5
5
 
6
6
  class InterceptorManager {
@@ -218,7 +218,7 @@ class ParameterStoreClass {
218
218
  findAllParameters = async () => {
219
219
  const res = await findSystemParameterApi();
220
220
  const data = res || [];
221
- const dataMap = groupBy(data, 'name');
221
+ const dataMap = keyBy(data, 'name');
222
222
  this.parameterList = data;
223
223
  this.parameterMap = dataMap;
224
224
  };