bmc-common-resource 1.1.89 → 1.1.90

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.
@@ -8,22 +8,22 @@ export declare const CLASSIFY_GROUP_TYPES: Record<string, Record<string, GroupTy
8
8
  export declare const GROUP_TYPES: Record<string, GroupType>;
9
9
  /**
10
10
  * 获取排序后的分组类型数组
11
- * @param groupCategoryMap 分组、产品分类映射
11
+ * @param groupCategoryMap 分组、产品分类映射(JSON格式)
12
12
  * @returns 按order排序的分组类型数组
13
13
  */
14
- export declare function getSortedGroupTypes(groupCategoryMap: Record<string, GroupType>): GroupType[];
14
+ export declare function getSortedGroupTypes(groupCategoryMap: any): any[];
15
15
  /**
16
16
  * 根据分组类型键获取分组信息
17
17
  * @param groupTypeKey 分组类型键
18
- * @param groupCategoryMap 分组、产品分类映射
18
+ * @param groupCategoryMap 分组、产品分类映射(JSON格式)
19
19
  * @returns 分组类型信息
20
20
  */
21
- export declare function getGroupTypeByKey(groupTypeKey: string, groupCategoryMap: Record<string, GroupType>): GroupType | null;
21
+ export declare function getGroupTypeByKey(groupTypeKey: string, groupCategoryMap: any): any | null;
22
22
  /**
23
23
  * 获取分组可用的产品分类
24
24
  * @param groupTypeKey 分组类型键
25
- * @param groupCategoryMap 分组、产品分类映射
25
+ * @param groupCategoryMap 分组、产品分类映射(JSON格式)
26
26
  * @returns 格式化的产品分类对象数组
27
27
  */
28
- export declare function getProductCategoriesByGroupType(groupTypeKey: string, groupCategoryMap: Record<string, GroupType>): ProductCategoryData[];
28
+ export declare function getProductCategoriesByGroupType(groupTypeKey: string, groupCategoryMap: any): ProductCategoryData[];
29
29
  export default BASE_GROUP_TYPES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmc-common-resource",
3
- "version": "1.1.89",
3
+ "version": "1.1.90",
4
4
  "description": "通用枚举、常量和资源的npm包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",