@finos/legend-graph 20.1.5 → 20.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigurationProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/fileGeneration/ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAyB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG5E,qBAAa,qBAAsB,YAAW,QAAQ;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;gBAEH,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAKxC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
1
+ {"version":3,"file":"ConfigurationProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/fileGeneration/ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAG9B,qBAAa,qBAAsB,YAAW,QAAQ;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;gBAEH,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAKxC,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { hashArray, hashObject } from '@finos/legend-shared';
16
+ import { hashArray, hashObject, hashUnknownValue, isObject, } from '@finos/legend-shared';
17
17
  import { CORE_HASH_STRUCTURE } from '../../../../../graph/Core_HashUtils.js';
18
18
  export class ConfigurationProperty {
19
19
  name;
@@ -26,7 +26,9 @@ export class ConfigurationProperty {
26
26
  return hashArray([
27
27
  CORE_HASH_STRUCTURE.CONFIGURATION_PROPERTY,
28
28
  this.name,
29
- hashObject(this.value),
29
+ isObject(this.value)
30
+ ? hashObject(this.value)
31
+ : hashUnknownValue(this.value),
30
32
  ]);
31
33
  }
32
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigurationProperty.js","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/fileGeneration/ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAiB,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,MAAM,OAAO,qBAAqB;IAChC,IAAI,CAAS;IACb,KAAK,CAAU;IAEf,YAAY,IAAY,EAAE,KAAc;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,sBAAsB;YAC1C,IAAI,CAAC,IAAI;YACT,UAAU,CAAC,IAAI,CAAC,KAAe,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"ConfigurationProperty.js","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/fileGeneration/ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,QAAQ,GAET,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,MAAM,OAAO,qBAAqB;IAChC,IAAI,CAAS;IACb,KAAK,CAAU;IAEf,YAAY,IAAY,EAAE,KAAc;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,sBAAsB;YAC1C,IAAI,CAAC,IAAI;YACT,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;gBAClB,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;gBACxB,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"V1_ConfigurationProperty.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/fileGeneration/V1_ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAyB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG5E,qBAAa,wBAAyB,YAAW,QAAQ;IACvD,IAAI,EAAG,MAAM,CAAC;IACd,KAAK,EAAG,OAAO,CAAC;IAEhB,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
1
+ {"version":3,"file":"V1_ConfigurationProperty.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/fileGeneration/V1_ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAG9B,qBAAa,wBAAyB,YAAW,QAAQ;IACvD,IAAI,EAAG,MAAM,CAAC;IACd,KAAK,EAAG,OAAO,CAAC;IAEhB,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { hashArray, hashObject } from '@finos/legend-shared';
16
+ import { hashArray, hashObject, hashUnknownValue, isObject, } from '@finos/legend-shared';
17
17
  import { CORE_HASH_STRUCTURE } from '../../../../../../../graph/Core_HashUtils.js';
18
18
  export class V1_ConfigurationProperty {
19
19
  name;
@@ -22,7 +22,9 @@ export class V1_ConfigurationProperty {
22
22
  return hashArray([
23
23
  CORE_HASH_STRUCTURE.CONFIGURATION_PROPERTY,
24
24
  this.name,
25
- hashObject(this.value),
25
+ isObject(this.value)
26
+ ? hashObject(this.value)
27
+ : hashUnknownValue(this.value),
26
28
  ]);
27
29
  }
28
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"V1_ConfigurationProperty.js","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/fileGeneration/V1_ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAiB,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,MAAM,OAAO,wBAAwB;IACnC,IAAI,CAAU;IACd,KAAK,CAAW,CAAC,MAAM;IAEvB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,sBAAsB;YAC1C,IAAI,CAAC,IAAI;YACT,UAAU,CAAC,IAAI,CAAC,KAAe,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"V1_ConfigurationProperty.js","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/fileGeneration/V1_ConfigurationProperty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,QAAQ,GAET,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,MAAM,OAAO,wBAAwB;IACnC,IAAI,CAAU;IACd,KAAK,CAAW,CAAC,MAAM;IAEvB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,sBAAsB;YAC1C,IAAI,CAAC,IAAI;YACT,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;gBAClB,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;gBACxB,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-graph",
3
- "version": "20.1.5",
3
+ "version": "20.1.7",
4
4
  "description": "Legend graph and graph manager",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-graph",
3
- "version": "20.1.5",
3
+ "version": "20.1.7",
4
4
  "description": "Legend graph and graph manager",
5
5
  "keywords": [
6
6
  "legend",
@@ -39,15 +39,15 @@
39
39
  "test:watch": "jest --watch"
40
40
  },
41
41
  "dependencies": {
42
- "@finos/legend-shared": "6.2.5",
43
- "@finos/legend-storage": "3.0.20",
42
+ "@finos/legend-shared": "6.2.6",
43
+ "@finos/legend-storage": "3.0.21",
44
44
  "mobx": "6.7.0",
45
45
  "mobx-react-lite": "3.4.0",
46
46
  "react": "18.2.0",
47
47
  "serializr": "3.0.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@finos/legend-dev-utils": "2.0.29",
50
+ "@finos/legend-dev-utils": "2.0.30",
51
51
  "@jest/globals": "29.3.1",
52
52
  "cross-env": "7.0.3",
53
53
  "eslint": "8.28.0",
@@ -14,7 +14,13 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { hashArray, hashObject, type Hashable } from '@finos/legend-shared';
17
+ import {
18
+ hashArray,
19
+ hashObject,
20
+ hashUnknownValue,
21
+ isObject,
22
+ type Hashable,
23
+ } from '@finos/legend-shared';
18
24
  import { CORE_HASH_STRUCTURE } from '../../../../../graph/Core_HashUtils.js';
19
25
 
20
26
  export class ConfigurationProperty implements Hashable {
@@ -30,7 +36,9 @@ export class ConfigurationProperty implements Hashable {
30
36
  return hashArray([
31
37
  CORE_HASH_STRUCTURE.CONFIGURATION_PROPERTY,
32
38
  this.name,
33
- hashObject(this.value as object),
39
+ isObject(this.value)
40
+ ? hashObject(this.value)
41
+ : hashUnknownValue(this.value),
34
42
  ]);
35
43
  }
36
44
  }
@@ -14,7 +14,13 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { hashArray, hashObject, type Hashable } from '@finos/legend-shared';
17
+ import {
18
+ hashArray,
19
+ hashObject,
20
+ hashUnknownValue,
21
+ isObject,
22
+ type Hashable,
23
+ } from '@finos/legend-shared';
18
24
  import { CORE_HASH_STRUCTURE } from '../../../../../../../graph/Core_HashUtils.js';
19
25
 
20
26
  export class V1_ConfigurationProperty implements Hashable {
@@ -25,7 +31,9 @@ export class V1_ConfigurationProperty implements Hashable {
25
31
  return hashArray([
26
32
  CORE_HASH_STRUCTURE.CONFIGURATION_PROPERTY,
27
33
  this.name,
28
- hashObject(this.value as object),
34
+ isObject(this.value)
35
+ ? hashObject(this.value)
36
+ : hashUnknownValue(this.value),
29
37
  ]);
30
38
  }
31
39
  }