@itwin/presentation-backend 5.0.0-dev.6 → 5.0.0-dev.61

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/lib/cjs/presentation-backend/BackendLoggerCategory.js.map +1 -1
  3. package/lib/cjs/presentation-backend/ElementPropertiesHelper.d.ts +31 -4
  4. package/lib/cjs/presentation-backend/ElementPropertiesHelper.d.ts.map +1 -1
  5. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +161 -57
  6. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -1
  7. package/lib/cjs/presentation-backend/NativePlatform.d.ts +2 -2
  8. package/lib/cjs/presentation-backend/NativePlatform.d.ts.map +1 -1
  9. package/lib/cjs/presentation-backend/NativePlatform.js +3 -1
  10. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -1
  11. package/lib/cjs/presentation-backend/Presentation.js +19 -15
  12. package/lib/cjs/presentation-backend/Presentation.js.map +1 -1
  13. package/lib/cjs/presentation-backend/PresentationIpcHandler.js +1 -4
  14. package/lib/cjs/presentation-backend/PresentationIpcHandler.js.map +1 -1
  15. package/lib/cjs/presentation-backend/PresentationManager.d.ts +2 -0
  16. package/lib/cjs/presentation-backend/PresentationManager.d.ts.map +1 -1
  17. package/lib/cjs/presentation-backend/PresentationManager.js +51 -77
  18. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -1
  19. package/lib/cjs/presentation-backend/PresentationManagerDetail.d.ts +3 -3
  20. package/lib/cjs/presentation-backend/PresentationManagerDetail.d.ts.map +1 -1
  21. package/lib/cjs/presentation-backend/PresentationManagerDetail.js +20 -20
  22. package/lib/cjs/presentation-backend/PresentationManagerDetail.js.map +1 -1
  23. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts +8 -8
  24. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts.map +1 -1
  25. package/lib/cjs/presentation-backend/PresentationRpcImpl.js +36 -63
  26. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -1
  27. package/lib/cjs/presentation-backend/RulesetEmbedder.js +8 -6
  28. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -1
  29. package/lib/cjs/presentation-backend/RulesetManager.js +2 -1
  30. package/lib/cjs/presentation-backend/RulesetManager.js.map +1 -1
  31. package/lib/cjs/presentation-backend/RulesetVariablesManager.js +2 -0
  32. package/lib/cjs/presentation-backend/RulesetVariablesManager.js.map +1 -1
  33. package/lib/cjs/presentation-backend/SelectionScopesHelper.d.ts.map +1 -1
  34. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +22 -25
  35. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -1
  36. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts +2 -3
  37. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts.map +1 -1
  38. package/lib/cjs/presentation-backend/TemporaryStorage.js +30 -26
  39. package/lib/cjs/presentation-backend/TemporaryStorage.js.map +1 -1
  40. package/lib/cjs/presentation-backend/Utils.d.ts.map +1 -1
  41. package/lib/cjs/presentation-backend/Utils.js +1 -2
  42. package/lib/cjs/presentation-backend/Utils.js.map +1 -1
  43. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -1
  44. package/lib/cjs/presentation-backend/domain/RulesetElements.js.map +1 -1
  45. package/lib/cjs/presentation-backend.js.map +1 -1
  46. package/package.json +18 -17
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-backend.js","sourceRoot":"","sources":["../../src/presentation-backend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,sEAAoD;AACpD,6EAA2D;AAC3D,wEAAsD;AACtD,iFAA+D;AAC/D,yEAAuD;AACvD,+DAA6C;AAE7C;;;;;GAKG;AACH,+EAA6D","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used for retrieving presentation data from iModels.\r\n */\r\nexport * from \"./presentation-backend/Presentation\";\r\nexport * from \"./presentation-backend/PresentationManager\";\r\nexport * from \"./presentation-backend/RulesetManager\";\r\nexport * from \"./presentation-backend/RulesetVariablesManager\";\r\nexport * from \"./presentation-backend/RulesetEmbedder\";\r\nexport * from \"./presentation-backend/Utils\";\r\n\r\n/**\r\n * @module Logging\r\n *\r\n * @docs-group-description Logging\r\n * Types related to logging in this package.\r\n */\r\nexport * from \"./presentation-backend/BackendLoggerCategory\";\r\n"]}
1
+ {"version":3,"file":"presentation-backend.js","sourceRoot":"","sources":["../../src/presentation-backend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,sEAAoD;AACpD,6EAA2D;AAC3D,wEAAsD;AACtD,iFAA+D;AAC/D,yEAAuD;AACvD,+DAA6C;AAE7C;;;;;GAKG;AACH,+EAA6D","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/**\n * @module Core\n *\n * @docs-group-description Core\n * Common types used for retrieving presentation data from iModels.\n */\nexport * from \"./presentation-backend/Presentation\";\nexport * from \"./presentation-backend/PresentationManager\";\nexport * from \"./presentation-backend/RulesetManager\";\nexport * from \"./presentation-backend/RulesetVariablesManager\";\nexport * from \"./presentation-backend/RulesetEmbedder\";\nexport * from \"./presentation-backend/Utils\";\n\n/**\n * @module Logging\n *\n * @docs-group-description Logging\n * Types related to logging in this package.\n */\nexport * from \"./presentation-backend/BackendLoggerCategory\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/presentation-backend",
3
- "version": "5.0.0-dev.6",
3
+ "version": "5.0.0-dev.61",
4
4
  "description": "Backend of iTwin.js Presentation library",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,12 +23,12 @@
23
23
  "main": "lib/cjs/presentation-backend.js",
24
24
  "typings": "lib/cjs/presentation-backend",
25
25
  "peerDependencies": {
26
- "@itwin/core-backend": "^5.0.0-dev.6",
27
- "@itwin/core-bentley": "^5.0.0-dev.6",
28
- "@itwin/core-common": "^5.0.0-dev.6",
29
- "@itwin/core-quantity": "^5.0.0-dev.6",
30
- "@itwin/ecschema-metadata": "^5.0.0-dev.6",
31
- "@itwin/presentation-common": "^5.0.0-dev.6"
26
+ "@itwin/core-backend": "5.0.0-dev.61",
27
+ "@itwin/core-bentley": "5.0.0-dev.61",
28
+ "@itwin/ecschema-metadata": "5.0.0-dev.61",
29
+ "@itwin/core-common": "5.0.0-dev.61",
30
+ "@itwin/presentation-common": "5.0.0-dev.61",
31
+ "@itwin/core-quantity": "5.0.0-dev.61"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@itwin/eslint-plugin": "5.0.0-dev.1",
@@ -41,18 +41,19 @@
41
41
  "@types/faker": "^4.1.0",
42
42
  "@types/lolex": "^2.1.2",
43
43
  "@types/mocha": "^10.0.6",
44
- "@types/node": "~18.16.20",
44
+ "@types/node": "~20.17.0",
45
45
  "@types/object-hash": "^1.3.0",
46
46
  "@types/semver": "7.3.10",
47
47
  "@types/sinon": "^17.0.2",
48
48
  "@types/sinon-chai": "^3.2.0",
49
49
  "@types/sinonjs__fake-timers": "^8.1.5",
50
+ "@types/source-map-support": "^0.4.0",
50
51
  "chai": "^4.3.10",
51
52
  "chai-as-promised": "^7.1.1",
52
53
  "chai-jest-snapshot": "^2.0.0",
53
54
  "chai-subset": "1.6.0",
54
55
  "cpx2": "^3.0.0",
55
- "cross-env": "^5.1.4",
56
+ "cross-env": "^7.0.3",
56
57
  "deep-equal": "^1",
57
58
  "eslint": "^9.13.0",
58
59
  "eslint-config-prettier": "^9.1.0",
@@ -66,13 +67,13 @@
66
67
  "source-map-support": "^0.5.6",
67
68
  "typemoq": "^2.1.0",
68
69
  "typescript": "~5.6.2",
69
- "@itwin/build-tools": "5.0.0-dev.6",
70
- "@itwin/core-backend": "5.0.0-dev.6",
71
- "@itwin/core-common": "5.0.0-dev.6",
72
- "@itwin/core-bentley": "5.0.0-dev.6",
73
- "@itwin/core-quantity": "5.0.0-dev.6",
74
- "@itwin/ecschema-metadata": "5.0.0-dev.6",
75
- "@itwin/presentation-common": "5.0.0-dev.6"
70
+ "@itwin/build-tools": "5.0.0-dev.61",
71
+ "@itwin/core-bentley": "5.0.0-dev.61",
72
+ "@itwin/core-backend": "5.0.0-dev.61",
73
+ "@itwin/presentation-common": "5.0.0-dev.61",
74
+ "@itwin/core-common": "5.0.0-dev.61",
75
+ "@itwin/core-quantity": "5.0.0-dev.61",
76
+ "@itwin/ecschema-metadata": "5.0.0-dev.61"
76
77
  },
77
78
  "dependencies": {
78
79
  "object-hash": "^1.3.1",
@@ -95,7 +96,7 @@
95
96
  "extract": "betools extract --fileExt=ts --extractFrom=./src/test --recursive --out=../../generated-docs/extract",
96
97
  "extract-api": "betools extract-api --entry=presentation-backend",
97
98
  "lint": "eslint \"./src/**/*.ts\" 1>&2",
98
- "test": "mocha --config ../.mocharc.json --file ./lib/cjs/test/index.test.js \"./lib/cjs/test/**/*.test.js\"",
99
+ "test": "mocha --config ./.mocharc.json",
99
100
  "test:watch": "npm -s test -- --reporter min --watch-extensions ts --watch",
100
101
  "prettier:fix": "prettier --write ."
101
102
  }