@kmkf-fe-packages/kmkf-utils 1.25.2 → 1.26.0

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,3 +5,4 @@ export declare const getMapping: (data: {
5
5
  }[]) => {
6
6
  [key: string]: string;
7
7
  };
8
+ export { default as msgTypeCh } from "./msgTypeMapping";
@@ -5,4 +5,5 @@ export var getMapping = function getMapping(data) {
5
5
  mapping[item.dataIndex] = item.title;
6
6
  });
7
7
  return mapping;
8
- };
8
+ };
9
+ export { default as msgTypeCh } from "./msgTypeMapping";
@@ -0,0 +1,5 @@
1
+ declare type msgTypeChType = {
2
+ [key in string]: string;
3
+ };
4
+ declare const msgTypeCh: msgTypeChType;
5
+ export default msgTypeCh;
@@ -0,0 +1,13 @@
1
+ var msgTypeCh = {
2
+ pdd: "拼多多",
3
+ ding: "钉钉",
4
+ wechat: "微信",
5
+ qq: "QQ消息 [RPA]",
6
+ qywx: "企业微信 [RPA]",
7
+ YZDKH: "邮政拦截",
8
+ YT: "圆通拦截",
9
+ feishu: "飞书",
10
+ xz_qywx: "企业微信 [接口]",
11
+ xz_qq: "QQ消息 [接口]"
12
+ };
13
+ export default msgTypeCh;
@@ -9,5 +9,5 @@ export { default as LabelData } from "./labelData";
9
9
  export { default as request } from "./request";
10
10
  export * as servers from "./servers";
11
11
  export * from "./utils";
12
+ export * from "./constants";
12
13
  export { SendDataCenter } from "./utils/SendData";
13
- export { getMapping, columnsGoodsList } from "./constants";
package/dist/esm/index.js CHANGED
@@ -10,5 +10,5 @@ export { default as request } from "./request";
10
10
  import * as _servers from "./servers";
11
11
  export { _servers as servers };
12
12
  export * from "./utils";
13
- export { SendDataCenter } from "./utils/SendData";
14
- export { getMapping, columnsGoodsList } from "./constants";
13
+ export * from "./constants";
14
+ export { SendDataCenter } from "./utils/SendData";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "1.25.2",
3
+ "version": "1.26.0",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "b4ff6dc6968a7982ce86c447e3b40b75b045c2c7",
44
+ "gitHead": "adac4396452e1d31651bf5e712b78e96b6619954",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }