@itwin/presentation-backend 4.5.0-dev.4 → 4.5.0-dev.41

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 (53) hide show
  1. package/CHANGELOG.md +66 -1
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/lib/cjs/presentation-backend/BackendLoggerCategory.js +3 -3
  5. package/lib/cjs/presentation-backend/BackendLoggerCategory.js.map +1 -1
  6. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +11 -11
  7. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -1
  8. package/lib/cjs/presentation-backend/NativePlatform.d.ts.map +1 -1
  9. package/lib/cjs/presentation-backend/NativePlatform.js +19 -11
  10. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -1
  11. package/lib/cjs/presentation-backend/Presentation.d.ts.map +1 -1
  12. package/lib/cjs/presentation-backend/Presentation.js +15 -9
  13. package/lib/cjs/presentation-backend/Presentation.js.map +1 -1
  14. package/lib/cjs/presentation-backend/PresentationIpcHandler.d.ts.map +1 -1
  15. package/lib/cjs/presentation-backend/PresentationIpcHandler.js +3 -3
  16. package/lib/cjs/presentation-backend/PresentationIpcHandler.js.map +1 -1
  17. package/lib/cjs/presentation-backend/PresentationManager.d.ts +1 -1
  18. package/lib/cjs/presentation-backend/PresentationManager.d.ts.map +1 -1
  19. package/lib/cjs/presentation-backend/PresentationManager.js +23 -12
  20. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -1
  21. package/lib/cjs/presentation-backend/PresentationManagerDetail.d.ts.map +1 -1
  22. package/lib/cjs/presentation-backend/PresentationManagerDetail.js +38 -23
  23. package/lib/cjs/presentation-backend/PresentationManagerDetail.js.map +1 -1
  24. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts.map +1 -1
  25. package/lib/cjs/presentation-backend/PresentationRpcImpl.js +34 -26
  26. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -1
  27. package/lib/cjs/presentation-backend/RulesetEmbedder.d.ts.map +1 -1
  28. package/lib/cjs/presentation-backend/RulesetEmbedder.js +25 -17
  29. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -1
  30. package/lib/cjs/presentation-backend/RulesetManager.d.ts.map +1 -1
  31. package/lib/cjs/presentation-backend/RulesetManager.js +9 -6
  32. package/lib/cjs/presentation-backend/RulesetManager.js.map +1 -1
  33. package/lib/cjs/presentation-backend/RulesetVariablesManager.d.ts.map +1 -1
  34. package/lib/cjs/presentation-backend/RulesetVariablesManager.js +33 -21
  35. package/lib/cjs/presentation-backend/RulesetVariablesManager.js.map +1 -1
  36. package/lib/cjs/presentation-backend/SelectionScopesHelper.d.ts.map +1 -1
  37. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +54 -37
  38. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -1
  39. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts.map +1 -1
  40. package/lib/cjs/presentation-backend/TemporaryStorage.js +22 -14
  41. package/lib/cjs/presentation-backend/TemporaryStorage.js.map +1 -1
  42. package/lib/cjs/presentation-backend/Utils.d.ts.map +1 -1
  43. package/lib/cjs/presentation-backend/Utils.js +24 -14
  44. package/lib/cjs/presentation-backend/Utils.js.map +1 -1
  45. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.d.ts.map +1 -1
  46. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js +7 -4
  47. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -1
  48. package/lib/cjs/presentation-backend/domain/RulesetElements.d.ts.map +1 -1
  49. package/lib/cjs/presentation-backend/domain/RulesetElements.js +8 -5
  50. package/lib/cjs/presentation-backend/domain/RulesetElements.js.map +1 -1
  51. package/lib/cjs/presentation-backend.js +3 -3
  52. package/lib/cjs/presentation-backend.js.map +1 -1
  53. package/package.json +18 -15
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationRulesDomain.d.ts","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/PresentationRulesDomain.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAiB,MAAM,EAAW,MAAM,qBAAqB,CAAC;AAGrE,gBAAgB;AAChB,qBAAa,iBAAkB,SAAQ,MAAM;IAC3C,WAA2B,UAAU,IAAI,MAAM,CAAgC;IAE/E,uDAAuD;WACzC,cAAc;CAM7B;AAED,gBAAgB;AAEhB,yBAAiB,iBAAiB,CAAC;IACjC,KAAY,QAAQ;QAClB,OAAO,8BAA8B;KACtC;CACF"}
1
+ {"version":3,"file":"PresentationRulesDomain.d.ts","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/PresentationRulesDomain.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAiB,MAAM,EAAW,MAAM,qBAAqB,CAAC;AAGrE,gBAAgB;AAChB,qBAAa,iBAAkB,SAAQ,MAAM;IAC3C,WAA2B,UAAU,IAAI,MAAM,CAE9C;IAED,uDAAuD;WACzC,cAAc;CAM7B;AAED,gBAAgB;AAEhB,yBAAiB,iBAAiB,CAAC;IAEjC,KAAY,QAAQ;QAClB,OAAO,8BAA8B;KACtC;CACF"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
6
  /** @packageDocumentation
7
7
  * @module Core
8
8
  */
@@ -35,7 +35,9 @@ const core_backend_1 = require("@itwin/core-backend");
35
35
  const RulesetElements = __importStar(require("./RulesetElements"));
36
36
  /** @internal */
37
37
  class PresentationRules extends core_backend_1.Schema {
38
- static get schemaName() { return "PresentationRules"; }
38
+ static get schemaName() {
39
+ return "PresentationRules";
40
+ }
39
41
  /** Registers this schema and it's elements' classes */
40
42
  static registerSchema() {
41
43
  if (this !== core_backend_1.Schemas.getRegisteredSchema(PresentationRules.schemaName)) {
@@ -48,6 +50,7 @@ exports.PresentationRules = PresentationRules;
48
50
  /** @internal */
49
51
  /* istanbul ignore next */
50
52
  (function (PresentationRules) {
53
+ // eslint-disable-line no-redeclare
51
54
  let CodeSpec;
52
55
  (function (CodeSpec) {
53
56
  CodeSpec["Ruleset"] = "PresentationRules:Ruleset";
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationRulesDomain.js","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/PresentationRulesDomain.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sDAAqE;AACrE,mEAAqD;AAErD,gBAAgB;AAChB,MAAa,iBAAkB,SAAQ,qBAAM;IACpC,MAAM,KAAc,UAAU,KAAa,OAAO,mBAAmB,CAAC,CAAC,CAAC;IAE/E,uDAAuD;IAChD,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,sBAAO,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE;YACtE,sBAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;YAC1C,4BAAa,CAAC,cAAc,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;SACrD;IACH,CAAC;CACF;AAVD,8CAUC;AAED,gBAAgB;AAChB,0BAA0B;AAC1B,WAAiB,iBAAiB;IAChC,IAAY,QAEX;IAFD,WAAY,QAAQ;QAClB,iDAAqC,CAAA;IACvC,CAAC,EAFW,QAAQ,GAAR,0BAAQ,KAAR,0BAAQ,QAEnB;AACH,CAAC,EAJgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAIjC","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/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport { ClassRegistry, Schema, Schemas } from \"@itwin/core-backend\";\r\nimport * as RulesetElements from \"./RulesetElements\";\r\n\r\n/** @internal */\r\nexport class PresentationRules extends Schema {\r\n public static override get schemaName(): string { return \"PresentationRules\"; }\r\n\r\n /** Registers this schema and it's elements' classes */\r\n public static registerSchema() {\r\n if (this !== Schemas.getRegisteredSchema(PresentationRules.schemaName)) {\r\n Schemas.registerSchema(PresentationRules);\r\n ClassRegistry.registerModule(RulesetElements, this);\r\n }\r\n }\r\n}\r\n\r\n/** @internal */\r\n/* istanbul ignore next */\r\nexport namespace PresentationRules { // eslint-disable-line no-redeclare\r\n export enum CodeSpec {\r\n Ruleset = \"PresentationRules:Ruleset\",\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"PresentationRulesDomain.js","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/PresentationRulesDomain.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sDAAqE;AACrE,mEAAqD;AAErD,gBAAgB;AAChB,MAAa,iBAAkB,SAAQ,qBAAM;IACpC,MAAM,KAAc,UAAU;QACnC,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,uDAAuD;IAChD,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,sBAAO,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE;YACtE,sBAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;YAC1C,4BAAa,CAAC,cAAc,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;SACrD;IACH,CAAC;CACF;AAZD,8CAYC;AAED,gBAAgB;AAChB,0BAA0B;AAC1B,WAAiB,iBAAiB;IAChC,mCAAmC;IACnC,IAAY,QAEX;IAFD,WAAY,QAAQ;QAClB,iDAAqC,CAAA;IACvC,CAAC,EAFW,QAAQ,GAAR,0BAAQ,KAAR,0BAAQ,QAEnB;AACH,CAAC,EALgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAKjC","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/** @packageDocumentation\n * @module Core\n */\n\nimport { ClassRegistry, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as RulesetElements from \"./RulesetElements\";\n\n/** @internal */\nexport class PresentationRules extends Schema {\n public static override get schemaName(): string {\n return \"PresentationRules\";\n }\n\n /** Registers this schema and it's elements' classes */\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(PresentationRules.schemaName)) {\n Schemas.registerSchema(PresentationRules);\n ClassRegistry.registerModule(RulesetElements, this);\n }\n }\n}\n\n/** @internal */\n/* istanbul ignore next */\nexport namespace PresentationRules {\n // eslint-disable-line no-redeclare\n export enum CodeSpec {\n Ruleset = \"PresentationRules:Ruleset\",\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"RulesetElements.d.ts","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/RulesetElements.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI5E,gBAAgB;AAChB,qBAAa,OAAQ,SAAQ,iBAAiB;IAC5C;;OAEG;IACH,WAA2B,SAAS,IAAI,MAAM,CAAsB;IAEpE;;;;;OAKG;WACW,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,mBAAmB;CAWtG"}
1
+ {"version":3,"file":"RulesetElements.d.ts","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/RulesetElements.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI5E,gBAAgB;AAChB,qBAAa,OAAQ,SAAQ,iBAAiB;IAC5C;;OAEG;IACH,WAA2B,SAAS,IAAI,MAAM,CAE7C;IAED;;;;;OAKG;WACW,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,mBAAmB;CAYtG"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
6
  /** @packageDocumentation
7
7
  * @module Core
8
8
  */
@@ -17,7 +17,9 @@ class Ruleset extends core_backend_1.DefinitionElement {
17
17
  /**
18
18
  * Name of the `Ruleset` element class.
19
19
  */
20
- static get className() { return "Ruleset"; }
20
+ static get className() {
21
+ return "Ruleset";
22
+ }
21
23
  /**
22
24
  * Generates a unique code for a ruleset
23
25
  * @param iModelDb DB the ruleset is supposed to be inserted into
@@ -26,8 +28,9 @@ class Ruleset extends core_backend_1.DefinitionElement {
26
28
  */
27
29
  static createRulesetCode(iModelDb, modelId, ruleset) {
28
30
  let codeValue = ruleset.id;
29
- if (ruleset.version)
31
+ if (ruleset.version) {
30
32
  codeValue += `@${(0, Utils_1.normalizeVersion)(ruleset.version)}`;
33
+ }
31
34
  return new core_common_1.Code({
32
35
  spec: iModelDb.codeSpecs.getByName(PresentationRulesDomain_1.PresentationRules.CodeSpec.Ruleset).id,
33
36
  scope: modelId.toString(),
@@ -1 +1 @@
1
- {"version":3,"file":"RulesetElements.js","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/RulesetElements.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,sDAAkE;AAClE,oDAA0C;AAE1C,oCAA4C;AAC5C,uEAA8D;AAE9D,gBAAgB;AAChB,MAAa,OAAQ,SAAQ,gCAAiB;IAC5C;;OAEG;IACI,MAAM,KAAc,SAAS,KAAa,OAAO,SAAS,CAAC,CAAC,CAAC;IAEpE;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAAC,QAAkB,EAAE,OAAmB,EAAE,OAA4B;QACnG,IAAI,SAAS,GAAG,OAAO,CAAC,EAAE,CAAC;QAC3B,IAAI,OAAO,CAAC,OAAO;YACjB,SAAS,IAAI,IAAI,IAAA,wBAAgB,EAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAEvD,OAAO,IAAI,kBAAI,CAAC;YACd,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,2CAAiB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE;YACzE,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE;YACzB,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,0BAuBC","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/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport { DefinitionElement, IModelDb } from \"@itwin/core-backend\";\r\nimport { Code } from \"@itwin/core-common\";\r\nimport { Ruleset as PresentationRuleset } from \"@itwin/presentation-common\";\r\nimport { normalizeVersion } from \"../Utils\";\r\nimport { PresentationRules } from \"./PresentationRulesDomain\";\r\n\r\n/** @internal */\r\nexport class Ruleset extends DefinitionElement {\r\n /**\r\n * Name of the `Ruleset` element class.\r\n */\r\n public static override get className(): string { return \"Ruleset\"; }\r\n\r\n /**\r\n * Generates a unique code for a ruleset\r\n * @param iModelDb DB the ruleset is supposed to be inserted into\r\n * @param modelId ID of a the model this ruleset should be created in\r\n * @param ruleset The ruleset code is being created for\r\n */\r\n public static createRulesetCode(iModelDb: IModelDb, modelId: Id64String, ruleset: PresentationRuleset) {\r\n let codeValue = ruleset.id;\r\n if (ruleset.version)\r\n codeValue += `@${normalizeVersion(ruleset.version)}`;\r\n\r\n return new Code({\r\n spec: iModelDb.codeSpecs.getByName(PresentationRules.CodeSpec.Ruleset).id,\r\n scope: modelId.toString(),\r\n value: codeValue,\r\n });\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"RulesetElements.js","sourceRoot":"","sources":["../../../../src/presentation-backend/domain/RulesetElements.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAGH,sDAAkE;AAClE,oDAA0C;AAE1C,oCAA4C;AAC5C,uEAA8D;AAE9D,gBAAgB;AAChB,MAAa,OAAQ,SAAQ,gCAAiB;IAC5C;;OAEG;IACI,MAAM,KAAc,SAAS;QAClC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAAC,QAAkB,EAAE,OAAmB,EAAE,OAA4B;QACnG,IAAI,SAAS,GAAG,OAAO,CAAC,EAAE,CAAC;QAC3B,IAAI,OAAO,CAAC,OAAO,EAAE;YACnB,SAAS,IAAI,IAAI,IAAA,wBAAgB,EAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;SACtD;QAED,OAAO,IAAI,kBAAI,CAAC;YACd,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,2CAAiB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE;YACzE,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE;YACzB,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC;IACL,CAAC;CACF;AA1BD,0BA0BC","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/** @packageDocumentation\n * @module Core\n */\n\nimport { Id64String } from \"@itwin/core-bentley\";\nimport { DefinitionElement, IModelDb } from \"@itwin/core-backend\";\nimport { Code } from \"@itwin/core-common\";\nimport { Ruleset as PresentationRuleset } from \"@itwin/presentation-common\";\nimport { normalizeVersion } from \"../Utils\";\nimport { PresentationRules } from \"./PresentationRulesDomain\";\n\n/** @internal */\nexport class Ruleset extends DefinitionElement {\n /**\n * Name of the `Ruleset` element class.\n */\n public static override get className(): string {\n return \"Ruleset\";\n }\n\n /**\n * Generates a unique code for a ruleset\n * @param iModelDb DB the ruleset is supposed to be inserted into\n * @param modelId ID of a the model this ruleset should be created in\n * @param ruleset The ruleset code is being created for\n */\n public static createRulesetCode(iModelDb: IModelDb, modelId: Id64String, ruleset: PresentationRuleset) {\n let codeValue = ruleset.id;\n if (ruleset.version) {\n codeValue += `@${normalizeVersion(ruleset.version)}`;\n }\n\n return new Code({\n spec: iModelDb.codeSpecs.getByName(PresentationRules.CodeSpec.Ruleset).id,\n scope: modelId.toString(),\n value: codeValue,\n });\n }\n}\n"]}
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /*---------------------------------------------------------------------------------------------
18
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
19
- * See LICENSE.md in the project root for license terms and full copyright notice.
20
- *--------------------------------------------------------------------------------------------*/
18
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
19
+ * See LICENSE.md in the project root for license terms and full copyright notice.
20
+ *--------------------------------------------------------------------------------------------*/
21
21
  /**
22
22
  * @module Core
23
23
  *
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-backend.js","sourceRoot":"","sources":["../../src/presentation-backend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;+FAG+F;AAC/F;;;;;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": "4.5.0-dev.4",
3
+ "version": "4.5.0-dev.41",
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": "^4.5.0-dev.4",
27
- "@itwin/core-bentley": "^4.5.0-dev.4",
28
- "@itwin/core-common": "^4.5.0-dev.4",
29
- "@itwin/core-quantity": "^4.5.0-dev.4",
30
- "@itwin/ecschema-metadata": "^4.5.0-dev.4",
31
- "@itwin/presentation-common": "^4.5.0-dev.4"
26
+ "@itwin/core-backend": "^4.5.0-dev.41",
27
+ "@itwin/core-bentley": "^4.5.0-dev.41",
28
+ "@itwin/core-common": "^4.5.0-dev.41",
29
+ "@itwin/core-quantity": "^4.5.0-dev.41",
30
+ "@itwin/ecschema-metadata": "^4.5.0-dev.41",
31
+ "@itwin/presentation-common": "^4.5.0-dev.41"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@itwin/eslint-plugin": "4.0.0-dev.44",
@@ -55,21 +55,23 @@
55
55
  "cross-env": "^5.1.4",
56
56
  "deep-equal": "^1",
57
57
  "eslint": "^8.44.0",
58
+ "eslint-config-prettier": "^9.1.0",
58
59
  "faker": "^4.1.0",
59
60
  "mocha": "^10.2.0",
60
61
  "nyc": "^15.1.0",
62
+ "prettier": "^3.2.5",
61
63
  "rimraf": "^3.0.2",
62
64
  "sinon": "^17.0.1",
63
65
  "sinon-chai": "^3.7.0",
64
66
  "typemoq": "^2.1.0",
65
67
  "typescript": "~5.0.2",
66
- "@itwin/build-tools": "4.5.0-dev.4",
67
- "@itwin/core-bentley": "4.5.0-dev.4",
68
- "@itwin/core-backend": "4.5.0-dev.4",
69
- "@itwin/core-quantity": "4.5.0-dev.4",
70
- "@itwin/core-common": "4.5.0-dev.4",
71
- "@itwin/ecschema-metadata": "4.5.0-dev.4",
72
- "@itwin/presentation-common": "4.5.0-dev.4"
68
+ "@itwin/build-tools": "4.5.0-dev.41",
69
+ "@itwin/core-common": "4.5.0-dev.41",
70
+ "@itwin/core-backend": "4.5.0-dev.41",
71
+ "@itwin/core-bentley": "4.5.0-dev.41",
72
+ "@itwin/core-quantity": "4.5.0-dev.41",
73
+ "@itwin/presentation-common": "4.5.0-dev.41",
74
+ "@itwin/ecschema-metadata": "4.5.0-dev.41"
73
75
  },
74
76
  "dependencies": {
75
77
  "object-hash": "^1.3.1",
@@ -93,6 +95,7 @@
93
95
  "extract-api": "betools extract-api --entry=presentation-backend",
94
96
  "lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2",
95
97
  "test": "mocha --config ../.mocharc.json --file ./lib/cjs/test/index.test.js \"./lib/cjs/test/**/*.test.js\"",
96
- "test:watch": "npm -s test -- --reporter min --watch-extensions ts --watch"
98
+ "test:watch": "npm -s test -- --reporter min --watch-extensions ts --watch",
99
+ "prettier:fix": "prettier --write ."
97
100
  }
98
101
  }