@ruiapp/rapid-configure-tools 0.2.6 → 0.2.7
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/mod.js
CHANGED
|
@@ -523,7 +523,7 @@ function newDictionaryUpdater(rapidConfigApi) {
|
|
|
523
523
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
524
524
|
async updateEntity(input, remoteEntity, mainEntity, inputIndex) {
|
|
525
525
|
const updateEntityInput = lodash.pick(input, ["code", "name", "valueType", "level", "description"]);
|
|
526
|
-
const res = await rapidConfigApi.patch(`meta/
|
|
526
|
+
const res = await rapidConfigApi.patch(`meta/data_dictionaries/${remoteEntity.id}`, updateEntityInput);
|
|
527
527
|
return res.data;
|
|
528
528
|
},
|
|
529
529
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruiapp/rapid-configure-tools",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/mod.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"axios-cookiejar-support": "^4.0.7",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
22
|
"tough-cookie": "^4.1.3",
|
|
23
|
-
"@ruiapp/rapid-extension": "^0.3.
|
|
23
|
+
"@ruiapp/rapid-extension": "^0.3.19"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"scripts": {
|
|
@@ -46,7 +46,7 @@ export function newDictionaryUpdater(rapidConfigApi: AxiosInstance) {
|
|
|
46
46
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
47
47
|
async updateEntity(input, remoteEntity, mainEntity, inputIndex) {
|
|
48
48
|
const updateEntityInput: UpdateDataDictionaryInput = pick(input, ["code", "name", "valueType", "level", "description"]);
|
|
49
|
-
const res = await rapidConfigApi.patch(`meta/
|
|
49
|
+
const res = await rapidConfigApi.patch(`meta/data_dictionaries/${remoteEntity.id}`, updateEntityInput);
|
|
50
50
|
return res.data;
|
|
51
51
|
},
|
|
52
52
|
};
|