@jd-data-limited/easy-fm 4.0.16 → 4.1.1
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 +16 -7
- package/src/FMError.d.ts +2 -2
- package/src/FMError.js +507 -508
- package/src/FMError.ts +510 -511
- package/src/connection/FMHost.d.ts +23 -5
- package/src/connection/FMHost.js +42 -26
- package/src/connection/FMHost.ts +63 -49
- package/src/connection/HostBase.d.ts +3 -3
- package/src/connection/HostBase.ts +5 -5
- package/src/connection/database.d.ts +53 -20
- package/src/connection/database.js +107 -90
- package/src/connection/database.ts +133 -121
- package/src/connection/databaseBase.d.ts +11 -7
- package/src/connection/databaseBase.ts +8 -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 +13 -13
- package/src/index.ts +24 -24
- 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 +39 -17
- package/src/records/field.js +248 -131
- package/src/records/field.ts +160 -82
- package/src/records/getOperations/recordGetOperation.d.ts +44 -24
- package/src/records/getOperations/recordGetOperation.js +88 -61
- package/src/records/getOperations/recordGetOperation.ts +128 -108
- package/src/records/layoutRecord.d.ts +28 -14
- package/src/records/layoutRecord.js +69 -60
- package/src/records/layoutRecord.ts +121 -119
- 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 +18 -8
- package/src/records/recordBase.js +23 -16
- package/src/records/recordBase.ts +41 -37
- package/src/types.d.ts +23 -30
- package/src/types.js +0 -5
- package/src/types.ts +55 -64
- package/src/utils/query.d.ts +7 -7
- package/src/utils/query.js +10 -10
- package/src/utils/query.ts +19 -20
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jd-data-limited/easy-fm",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"follow-redirects": "^1.15.5",
|
|
6
5
|
"@types/follow-redirects": "^1.14.4",
|
|
7
|
-
"
|
|
6
|
+
"follow-redirects": "^1.15.5",
|
|
7
|
+
"moment": "^2.29.4",
|
|
8
|
+
"node-fetch": "^3.3.2",
|
|
9
|
+
"node-fetch-cookies": "^2.1.1"
|
|
8
10
|
},
|
|
9
11
|
"type": "module",
|
|
10
12
|
"main": "src/index.js",
|
|
@@ -33,20 +35,27 @@
|
|
|
33
35
|
"bugs": {
|
|
34
36
|
"url": "https://github.com/JD-Data-Limited/easy-fm/issues"
|
|
35
37
|
},
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=20.9.0"
|
|
40
|
+
},
|
|
36
41
|
"devDependencies": {
|
|
37
42
|
"@types/btoa": "^1.2.3",
|
|
38
43
|
"@types/events": "^3.0.0",
|
|
39
44
|
"@types/inquirer": "^9.0.7",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
40
46
|
"dotenv": "^16.3.1",
|
|
47
|
+
"eslint": "^8.57.0",
|
|
48
|
+
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
49
|
+
"eslint-plugin-import": "^2.29.1",
|
|
50
|
+
"eslint-plugin-n": "^16.6.2",
|
|
51
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
41
52
|
"inquirer": "^9.2.13",
|
|
42
53
|
"ts-morph": "^21.0.1",
|
|
43
|
-
"
|
|
54
|
+
"typedoc": "^0.25.12",
|
|
55
|
+
"typescript": "^5.4.3",
|
|
44
56
|
"webpack": "^5.81.0",
|
|
45
57
|
"webpack-cli": "^5.0.2"
|
|
46
58
|
},
|
|
47
|
-
"engines": {
|
|
48
|
-
"node": ">=20.9.0"
|
|
49
|
-
},
|
|
50
59
|
"bin": {
|
|
51
60
|
"easyfm": "src/bin/cli.js"
|
|
52
61
|
}
|