@vyr/service-rpc-universal 0.0.27 → 0.0.29

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/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@vyr/service-rpc-universal",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vyr/engine": "0.0.27",
10
- "camelcase-keys": "^10.0.1",
11
- "decamelize-keys": "^2.0.1",
9
+ "@vyr/engine": "0.0.29",
12
10
  "moment": "^2.30.1"
13
11
  },
14
12
  "files": [
@@ -1,13 +1,6 @@
1
- import camelcaseKeys from 'camelcase-keys'
2
- import decamelizeKeys from 'decamelize-keys'
3
-
4
1
  abstract class Entity {
5
2
  static primaryKey: string
6
3
  static dateFormat = 'YYYY-MM-DD HH:mm:ss'
7
- /**下划线转驼峰 */
8
- static camelcaseKeys = (data: any) => camelcaseKeys(data, { deep: true })
9
- /**驼峰转下划线 */
10
- static decamelizeKeys = (data: any) => decamelizeKeys(data, { deep: true })
11
4
 
12
5
  abstract toVO(): Entity
13
6