@etsoo/appscript 1.6.29 → 1.6.30
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.
|
@@ -65,18 +65,18 @@ var BusinessUtils;
|
|
|
65
65
|
for (const item of resources) {
|
|
66
66
|
if (item.organizationId) {
|
|
67
67
|
// Backup
|
|
68
|
-
const backup = target[item.
|
|
68
|
+
const backup = target[item.key];
|
|
69
69
|
if (backup != null &&
|
|
70
70
|
(typeof backup !== "object" || !("organizationId" in backup))) {
|
|
71
|
-
resourcesCache[item.
|
|
71
|
+
resourcesCache[item.key] = backup;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
if (item.description || item.jsonData) {
|
|
75
|
-
const {
|
|
76
|
-
target[
|
|
75
|
+
const { key, ...rest } = item;
|
|
76
|
+
target[key] = rest;
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
|
-
target[item.
|
|
79
|
+
target[item.key] = item.title;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -62,18 +62,18 @@ export var BusinessUtils;
|
|
|
62
62
|
for (const item of resources) {
|
|
63
63
|
if (item.organizationId) {
|
|
64
64
|
// Backup
|
|
65
|
-
const backup = target[item.
|
|
65
|
+
const backup = target[item.key];
|
|
66
66
|
if (backup != null &&
|
|
67
67
|
(typeof backup !== "object" || !("organizationId" in backup))) {
|
|
68
|
-
resourcesCache[item.
|
|
68
|
+
resourcesCache[item.key] = backup;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
if (item.description || item.jsonData) {
|
|
72
|
-
const {
|
|
73
|
-
target[
|
|
72
|
+
const { key, ...rest } = item;
|
|
73
|
+
target[key] = rest;
|
|
74
74
|
}
|
|
75
75
|
else {
|
|
76
|
-
target[item.
|
|
76
|
+
target[item.key] = item.title;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.30",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@etsoo/notificationbase": "^1.1.60",
|
|
39
39
|
"@etsoo/restclient": "^1.1.27",
|
|
40
|
-
"@etsoo/shared": "^1.2.
|
|
40
|
+
"@etsoo/shared": "^1.2.70",
|
|
41
41
|
"crypto-js": "^4.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -78,20 +78,20 @@ export namespace BusinessUtils {
|
|
|
78
78
|
for (const item of resources) {
|
|
79
79
|
if (item.organizationId) {
|
|
80
80
|
// Backup
|
|
81
|
-
const backup = target[item.
|
|
81
|
+
const backup = target[item.key];
|
|
82
82
|
if (
|
|
83
83
|
backup != null &&
|
|
84
84
|
(typeof backup !== "object" || !("organizationId" in backup))
|
|
85
85
|
) {
|
|
86
|
-
resourcesCache[item.
|
|
86
|
+
resourcesCache[item.key] = backup;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
if (item.description || item.jsonData) {
|
|
91
|
-
const {
|
|
92
|
-
target[
|
|
91
|
+
const { key, ...rest } = item;
|
|
92
|
+
target[key] = rest;
|
|
93
93
|
} else {
|
|
94
|
-
target[item.
|
|
94
|
+
target[item.key] = item.title;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|