@websolutespa/bom-core 1.8.20 → 1.8.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @websolutespa/bom-core
2
2
 
3
+ ## 1.8.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixing: JsonService whereItem_ unresolved relations
8
+
9
+ ## 1.8.21
10
+
11
+ ### Patch Changes
12
+
13
+ - Modified: IMeta
14
+
3
15
  ## 1.8.20
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -232,6 +232,7 @@ type IMeta = {
232
232
  description?: string;
233
233
  keywords?: string;
234
234
  robots?: string;
235
+ image?: IMedia;
235
236
  };
236
237
 
237
238
  type ICategory = IEntity & {
package/dist/index.js CHANGED
@@ -1392,7 +1392,11 @@ function getValue(item, key) {
1392
1392
  const keys = key.split(".");
1393
1393
  const value = keys.reduce((p, c) => {
1394
1394
  if (isObject(p)) {
1395
- return p[c];
1395
+ const v = p[c];
1396
+ if (isUnresolvedRelation(v)) {
1397
+ return v.value;
1398
+ }
1399
+ return v;
1396
1400
  } else {
1397
1401
  return void 0;
1398
1402
  }
package/dist/index.mjs CHANGED
@@ -1223,7 +1223,11 @@ function getValue(item, key) {
1223
1223
  const keys = key.split(".");
1224
1224
  const value = keys.reduce((p, c) => {
1225
1225
  if (isObject(p)) {
1226
- return p[c];
1226
+ const v = p[c];
1227
+ if (isUnresolvedRelation(v)) {
1228
+ return v.value;
1229
+ }
1230
+ return v;
1227
1231
  } else {
1228
1232
  return void 0;
1229
1233
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-core",
3
- "version": "1.8.20",
3
+ "version": "1.8.22",
4
4
  "description": "Core module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",