@byteluck-fe/model-driven-shared 2.9.0-alpha.20 → 2.9.0-alpha.22
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/dist/types/utils.d.ts +10 -0
- package/package.json +2 -2
package/dist/types/utils.d.ts
CHANGED
|
@@ -27,8 +27,18 @@ export declare function wait(time?: number): Promise<unknown>;
|
|
|
27
27
|
})
|
|
28
28
|
*/
|
|
29
29
|
export declare function loop(schemaItems: any[], convertion: (item: any) => any): any;
|
|
30
|
+
/**
|
|
31
|
+
* @description: key转小驼峰
|
|
32
|
+
* @param {object} arg
|
|
33
|
+
* @return {*}
|
|
34
|
+
*/
|
|
30
35
|
export declare function camelizeKeys(arg: object[]): object[];
|
|
31
36
|
export declare function camelizeKeys(arg: object): object;
|
|
37
|
+
/**
|
|
38
|
+
* @description: key转下划线
|
|
39
|
+
* @param {object} arg
|
|
40
|
+
* @return {*}
|
|
41
|
+
*/
|
|
32
42
|
export declare function decamelizeKeys(arg: object[]): object[];
|
|
33
43
|
export declare function decamelizeKeys(arg: object): object;
|
|
34
44
|
export declare function isBuiltInControls(type: string): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-shared",
|
|
3
|
-
"version": "2.9.0-alpha.
|
|
3
|
+
"version": "2.9.0-alpha.22",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"humps": "^2.0.1",
|
|
31
31
|
"ok-i18n": "^3.0.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "dd5c2cb952a47b45dd5dee23a3c16001f7466de2"
|
|
34
34
|
}
|