@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.id];
68
+ const backup = target[item.key];
69
69
  if (backup != null &&
70
70
  (typeof backup !== "object" || !("organizationId" in backup))) {
71
- resourcesCache[item.id] = backup;
71
+ resourcesCache[item.key] = backup;
72
72
  }
73
73
  }
74
74
  if (item.description || item.jsonData) {
75
- const { id, ...rest } = item;
76
- target[item.id] = rest;
75
+ const { key, ...rest } = item;
76
+ target[key] = rest;
77
77
  }
78
78
  else {
79
- target[item.id] = item.title;
79
+ target[item.key] = item.title;
80
80
  }
81
81
  }
82
82
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export type CustomCultureData = {
5
5
  /**
6
- * Target id
6
+ * Key
7
7
  */
8
- id: string;
8
+ key: string;
9
9
  /**
10
10
  * Organization id
11
11
  */
@@ -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.id];
65
+ const backup = target[item.key];
66
66
  if (backup != null &&
67
67
  (typeof backup !== "object" || !("organizationId" in backup))) {
68
- resourcesCache[item.id] = backup;
68
+ resourcesCache[item.key] = backup;
69
69
  }
70
70
  }
71
71
  if (item.description || item.jsonData) {
72
- const { id, ...rest } = item;
73
- target[item.id] = rest;
72
+ const { key, ...rest } = item;
73
+ target[key] = rest;
74
74
  }
75
75
  else {
76
- target[item.id] = item.title;
76
+ target[item.key] = item.title;
77
77
  }
78
78
  }
79
79
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export type CustomCultureData = {
5
5
  /**
6
- * Target id
6
+ * Key
7
7
  */
8
- id: string;
8
+ key: string;
9
9
  /**
10
10
  * Organization id
11
11
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.6.29",
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.69",
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.id];
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.id] = backup;
86
+ resourcesCache[item.key] = backup;
87
87
  }
88
88
  }
89
89
 
90
90
  if (item.description || item.jsonData) {
91
- const { id, ...rest } = item;
92
- target[item.id] = rest;
91
+ const { key, ...rest } = item;
92
+ target[key] = rest;
93
93
  } else {
94
- target[item.id] = item.title;
94
+ target[item.key] = item.title;
95
95
  }
96
96
  }
97
97
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export type CustomCultureData = {
5
5
  /**
6
- * Target id
6
+ * Key
7
7
  */
8
- id: string;
8
+ key: string;
9
9
 
10
10
  /**
11
11
  * Organization id