@jd-data-limited/easy-fm 4.0.14 → 4.1.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.
- package/package.json +12 -6
- package/src/FMError.d.ts +2 -2
- package/src/FMError.js +507 -508
- package/src/FMError.ts +510 -511
- package/src/bin/cli.js +7 -5
- package/src/bin/generateTypes.js +215 -121
- package/src/connection/FMHost.d.ts +28 -6
- package/src/connection/FMHost.js +52 -25
- package/src/connection/FMHost.ts +75 -43
- package/src/connection/HostBase.d.ts +7 -3
- package/src/connection/HostBase.ts +8 -4
- package/src/connection/database.d.ts +50 -17
- package/src/connection/database.js +94 -66
- package/src/connection/database.ts +125 -105
- package/src/connection/databaseBase.d.ts +11 -6
- package/src/connection/databaseBase.ts +9 -8
- package/src/connection/generateAuthorizationHeaders.d.ts +1 -1
- package/src/connection/generateAuthorizationHeaders.js +10 -10
- package/src/connection/generateAuthorizationHeaders.ts +21 -21
- package/src/databaseStructure.d.ts +2 -4
- package/src/databaseStructure.ts +3 -5
- package/src/index.d.ts +17 -17
- package/src/index.js +14 -14
- package/src/index.ts +28 -25
- package/src/layouts/layout.d.ts +17 -6
- package/src/layouts/layout.js +19 -8
- package/src/layouts/layout.ts +33 -23
- package/src/layouts/layoutBase.d.ts +5 -5
- package/src/layouts/layoutBase.ts +6 -6
- package/src/layouts/layoutInterface.d.ts +3 -5
- package/src/layouts/layoutInterface.ts +4 -6
- package/src/layouts/layoutRecordManager.d.ts +29 -6
- package/src/layouts/layoutRecordManager.js +32 -9
- package/src/layouts/layoutRecordManager.ts +42 -19
- package/src/layouts/recordFieldsMap.d.ts +2 -4
- package/src/layouts/recordFieldsMap.ts +2 -4
- package/src/models/apiResults.d.ts +7 -13
- package/src/models/apiResults.ts +58 -58
- package/src/records/field.d.ts +42 -12
- package/src/records/field.js +69 -59
- package/src/records/field.ts +102 -81
- package/src/records/getOperations/recordGetOperation.d.ts +44 -24
- package/src/records/getOperations/recordGetOperation.js +89 -58
- package/src/records/getOperations/recordGetOperation.ts +137 -108
- package/src/records/layoutRecord.d.ts +28 -14
- package/src/records/layoutRecord.js +75 -65
- package/src/records/layoutRecord.ts +126 -123
- package/src/records/layoutRecordBase.d.ts +2 -2
- package/src/records/layoutRecordBase.ts +3 -3
- package/src/records/portal.d.ts +19 -5
- package/src/records/portal.js +19 -5
- package/src/records/portal.ts +28 -16
- package/src/records/portalBase.d.ts +5 -5
- package/src/records/portalBase.ts +6 -6
- package/src/records/portalRecord.d.ts +16 -8
- package/src/records/portalRecord.js +16 -6
- package/src/records/portalRecord.ts +29 -19
- package/src/records/recordBase.d.ts +17 -7
- package/src/records/recordBase.js +32 -22
- package/src/records/recordBase.ts +50 -43
- package/src/types.d.ts +21 -24
- package/src/types.ts +55 -59
- package/src/utils/query.d.ts +12 -5
- package/src/utils/query.js +28 -9
- package/src/utils/query.ts +40 -15
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jd-data-limited/easy-fm",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"follow-redirects": "^1.15.5",
|
|
6
5
|
"@types/follow-redirects": "^1.14.4",
|
|
6
|
+
"follow-redirects": "^1.15.5",
|
|
7
7
|
"moment": "^2.29.4"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
@@ -33,20 +33,26 @@
|
|
|
33
33
|
"bugs": {
|
|
34
34
|
"url": "https://github.com/JD-Data-Limited/easy-fm/issues"
|
|
35
35
|
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=20.9.0"
|
|
38
|
+
},
|
|
36
39
|
"devDependencies": {
|
|
37
40
|
"@types/btoa": "^1.2.3",
|
|
38
41
|
"@types/events": "^3.0.0",
|
|
39
42
|
"@types/inquirer": "^9.0.7",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
40
44
|
"dotenv": "^16.3.1",
|
|
45
|
+
"eslint": "^8.57.0",
|
|
46
|
+
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
47
|
+
"eslint-plugin-import": "^2.29.1",
|
|
48
|
+
"eslint-plugin-n": "^16.6.2",
|
|
49
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
41
50
|
"inquirer": "^9.2.13",
|
|
42
51
|
"ts-morph": "^21.0.1",
|
|
43
|
-
"typescript": "^5.
|
|
52
|
+
"typescript": "^5.4.3",
|
|
44
53
|
"webpack": "^5.81.0",
|
|
45
54
|
"webpack-cli": "^5.0.2"
|
|
46
55
|
},
|
|
47
|
-
"engines": {
|
|
48
|
-
"node": ">=20.9.0"
|
|
49
|
-
},
|
|
50
56
|
"bin": {
|
|
51
57
|
"easyfm": "src/bin/cli.js"
|
|
52
58
|
}
|