@ruiapp/rapid-configure-tools 0.4.3 → 0.5.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/dist/mod.js
CHANGED
|
@@ -665,7 +665,7 @@ function newDictionaryUpdater(rapidConfigApi) {
|
|
|
665
665
|
return entity.code === input.code;
|
|
666
666
|
},
|
|
667
667
|
isEntityChanged(inputEntity, remoteEntity) {
|
|
668
|
-
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["name", "valueType", "description", "locales"]);
|
|
668
|
+
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["name", "valueType", "description", "locales", "deprecated"]);
|
|
669
669
|
if (changedFieldNames.length) {
|
|
670
670
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
|
671
671
|
}
|
|
@@ -715,7 +715,7 @@ function newDictionaryEntryUpdater(rapidConfigApi) {
|
|
|
715
715
|
return entity.name === input.name;
|
|
716
716
|
},
|
|
717
717
|
isEntityChanged(inputEntity, remoteEntity) {
|
|
718
|
-
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["value", "description", "locales"]);
|
|
718
|
+
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["value", "description", "locales", "deprecated"]);
|
|
719
719
|
if (changedFieldNames.length) {
|
|
720
720
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
|
721
721
|
}
|
|
@@ -790,6 +790,7 @@ function newModelUpdater(rapidConfigApi) {
|
|
|
790
790
|
"permissionPolicies",
|
|
791
791
|
"softDelete",
|
|
792
792
|
"locales",
|
|
793
|
+
"deprecated",
|
|
793
794
|
]);
|
|
794
795
|
if (changedFieldNames.length) {
|
|
795
796
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
|
@@ -876,6 +877,7 @@ function newPropertyUpdater(rapidConfigApi) {
|
|
|
876
877
|
"entityDeletingReaction",
|
|
877
878
|
"readonly",
|
|
878
879
|
"locales",
|
|
880
|
+
"deprecated",
|
|
879
881
|
]);
|
|
880
882
|
if (changedFieldNames.length) {
|
|
881
883
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruiapp/rapid-configure-tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
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.
|
|
23
|
+
"@ruiapp/rapid-extension": "^0.5.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"scripts": {
|
|
@@ -42,7 +42,7 @@ export function newDictionaryEntryUpdater(rapidConfigApi: AxiosInstance) {
|
|
|
42
42
|
},
|
|
43
43
|
|
|
44
44
|
isEntityChanged(inputEntity, remoteEntity) {
|
|
45
|
-
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["value", "description", "locales"]);
|
|
45
|
+
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["value", "description", "locales", "deprecated"]);
|
|
46
46
|
if (changedFieldNames.length) {
|
|
47
47
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
|
48
48
|
}
|
|
@@ -30,7 +30,7 @@ export function newDictionaryUpdater(rapidConfigApi: AxiosInstance) {
|
|
|
30
30
|
},
|
|
31
31
|
|
|
32
32
|
isEntityChanged(inputEntity, remoteEntity) {
|
|
33
|
-
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["name", "valueType", "description", "locales"]);
|
|
33
|
+
const changedFieldNames = detectChangedFields(inputEntity, remoteEntity, ["name", "valueType", "description", "locales", "deprecated"]);
|
|
34
34
|
if (changedFieldNames.length) {
|
|
35
35
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
|
36
36
|
}
|
|
@@ -46,6 +46,7 @@ export function newModelUpdater(rapidConfigApi: AxiosInstance) {
|
|
|
46
46
|
"permissionPolicies",
|
|
47
47
|
"softDelete",
|
|
48
48
|
"locales",
|
|
49
|
+
"deprecated",
|
|
49
50
|
]);
|
|
50
51
|
if (changedFieldNames.length) {
|
|
51
52
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|
|
@@ -56,6 +56,7 @@ export function newPropertyUpdater(rapidConfigApi: AxiosInstance) {
|
|
|
56
56
|
"entityDeletingReaction",
|
|
57
57
|
"readonly",
|
|
58
58
|
"locales",
|
|
59
|
+
"deprecated",
|
|
59
60
|
]);
|
|
60
61
|
if (changedFieldNames.length) {
|
|
61
62
|
console.log(`${this.modelType} ${this.inputTitlePrinter(inputEntity)} changed with these fields:`, changedFieldNames);
|