@itwin/core-bentley 3.0.0-extension.0 → 3.0.1

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 (76) hide show
  1. package/CHANGELOG.md +117 -12
  2. package/LICENSE.md +1 -1
  3. package/ThirdPartyNotices.md +24 -0
  4. package/lib/cjs/Assert.d.ts +20 -10
  5. package/lib/cjs/Assert.d.ts.map +1 -1
  6. package/lib/cjs/Assert.js +31 -12
  7. package/lib/cjs/Assert.js.map +1 -1
  8. package/lib/cjs/BentleyError.d.ts +1 -2
  9. package/lib/cjs/BentleyError.d.ts.map +1 -1
  10. package/lib/cjs/BentleyError.js +1 -3
  11. package/lib/cjs/BentleyError.js.map +1 -1
  12. package/lib/cjs/ByteStream.d.ts +31 -1
  13. package/lib/cjs/ByteStream.d.ts.map +1 -1
  14. package/lib/cjs/ByteStream.js +33 -1
  15. package/lib/cjs/ByteStream.js.map +1 -1
  16. package/lib/cjs/Compare.d.ts +1 -1
  17. package/lib/cjs/Compare.js.map +1 -1
  18. package/lib/cjs/Disposable.d.ts +1 -1
  19. package/lib/cjs/Disposable.js.map +1 -1
  20. package/lib/cjs/JsonSchema.d.ts +78 -0
  21. package/lib/cjs/JsonSchema.d.ts.map +1 -0
  22. package/lib/cjs/JsonSchema.js +10 -0
  23. package/lib/cjs/JsonSchema.js.map +1 -0
  24. package/lib/cjs/JsonUtils.d.ts +1 -1
  25. package/lib/cjs/JsonUtils.js +1 -1
  26. package/lib/cjs/JsonUtils.js.map +1 -1
  27. package/lib/cjs/Logger.d.ts +2 -0
  28. package/lib/cjs/Logger.d.ts.map +1 -1
  29. package/lib/cjs/Logger.js +7 -2
  30. package/lib/cjs/Logger.js.map +1 -1
  31. package/lib/cjs/SortedArray.d.ts +1 -1
  32. package/lib/cjs/SortedArray.js.map +1 -1
  33. package/lib/cjs/UtilityTypes.d.ts +8 -0
  34. package/lib/cjs/UtilityTypes.d.ts.map +1 -1
  35. package/lib/cjs/UtilityTypes.js.map +1 -1
  36. package/lib/cjs/core-bentley.d.ts +5 -7
  37. package/lib/cjs/core-bentley.d.ts.map +1 -1
  38. package/lib/cjs/core-bentley.js +5 -7
  39. package/lib/cjs/core-bentley.js.map +1 -1
  40. package/lib/esm/Assert.d.ts +20 -10
  41. package/lib/esm/Assert.d.ts.map +1 -1
  42. package/lib/esm/Assert.js +31 -12
  43. package/lib/esm/Assert.js.map +1 -1
  44. package/lib/esm/BentleyError.d.ts +1 -2
  45. package/lib/esm/BentleyError.d.ts.map +1 -1
  46. package/lib/esm/BentleyError.js +1 -3
  47. package/lib/esm/BentleyError.js.map +1 -1
  48. package/lib/esm/ByteStream.d.ts +31 -1
  49. package/lib/esm/ByteStream.d.ts.map +1 -1
  50. package/lib/esm/ByteStream.js +33 -1
  51. package/lib/esm/ByteStream.js.map +1 -1
  52. package/lib/esm/Compare.d.ts +1 -1
  53. package/lib/esm/Compare.js.map +1 -1
  54. package/lib/esm/Disposable.d.ts +1 -1
  55. package/lib/esm/Disposable.js.map +1 -1
  56. package/lib/esm/JsonSchema.d.ts +78 -0
  57. package/lib/esm/JsonSchema.d.ts.map +1 -0
  58. package/lib/esm/JsonSchema.js +9 -0
  59. package/lib/esm/JsonSchema.js.map +1 -0
  60. package/lib/esm/JsonUtils.d.ts +1 -1
  61. package/lib/esm/JsonUtils.js +1 -1
  62. package/lib/esm/JsonUtils.js.map +1 -1
  63. package/lib/esm/Logger.d.ts +2 -0
  64. package/lib/esm/Logger.d.ts.map +1 -1
  65. package/lib/esm/Logger.js +7 -2
  66. package/lib/esm/Logger.js.map +1 -1
  67. package/lib/esm/SortedArray.d.ts +1 -1
  68. package/lib/esm/SortedArray.js.map +1 -1
  69. package/lib/esm/UtilityTypes.d.ts +8 -0
  70. package/lib/esm/UtilityTypes.d.ts.map +1 -1
  71. package/lib/esm/UtilityTypes.js.map +1 -1
  72. package/lib/esm/core-bentley.d.ts +5 -7
  73. package/lib/esm/core-bentley.d.ts.map +1 -1
  74. package/lib/esm/core-bentley.js +5 -7
  75. package/lib/esm/core-bentley.js.map +1 -1
  76. package/package.json +6 -5
package/CHANGELOG.md CHANGED
@@ -1,6 +1,111 @@
1
1
  # Change Log - @itwin/core-bentley
2
2
 
3
- This log was last generated on Tue, 21 Sep 2021 21:06:40 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 24 Feb 2022 15:26:55 GMT and should not be manually modified.
4
+
5
+ ## 3.0.1
6
+ Thu, 24 Feb 2022 15:26:55 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 3.0.0
11
+ Mon, 24 Jan 2022 14:00:52 GMT
12
+
13
+ ### Updates
14
+
15
+ - Drop deprecated ElectronUtils and Id methods.
16
+ - make ChangeSetApplyOption @internal - to be removed in future
17
+ - add MarkRequired utility type
18
+ - assert accepts a function for condition and/or message, and does nothing unless NODE_ENV-development or explicitly enabled.
19
+ - Upgrade target to ES2019 and deliver both a CommonJs and ESModule version of package
20
+ - Add ByteStream.nextUint24.
21
+ - added UnexpectedErrors class
22
+ - allow intercept log and filter it
23
+ - Add various utility types.
24
+ - rename to @itwin/core-bentley
25
+ - Support for Node 16
26
+ - Deprecate ByteStream constructor in favor of less error-prone initialization methods.
27
+ - remove ClientRequestContext and its subclasses
28
+ - Deprecated Config and removed config.app usage
29
+ - remove ChangeSetApplyOption
30
+ - remove ClientRequestContext.current
31
+ - Switching to consume new Projects-Client
32
+ - Renamed an iModel's parent container to iTwin
33
+ - added JSONSchema
34
+
35
+ ## 2.19.28
36
+ Wed, 12 Jan 2022 14:52:38 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 2.19.27
41
+ Wed, 05 Jan 2022 20:07:20 GMT
42
+
43
+ _Version update only_
44
+
45
+ ## 2.19.26
46
+ Wed, 08 Dec 2021 20:54:52 GMT
47
+
48
+ _Version update only_
49
+
50
+ ## 2.19.25
51
+ Fri, 03 Dec 2021 20:05:49 GMT
52
+
53
+ _Version update only_
54
+
55
+ ## 2.19.24
56
+ Mon, 29 Nov 2021 18:44:31 GMT
57
+
58
+ _Version update only_
59
+
60
+ ## 2.19.23
61
+ Mon, 22 Nov 2021 20:41:39 GMT
62
+
63
+ _Version update only_
64
+
65
+ ## 2.19.22
66
+ Wed, 17 Nov 2021 01:23:26 GMT
67
+
68
+ _Version update only_
69
+
70
+ ## 2.19.21
71
+ Wed, 10 Nov 2021 10:58:24 GMT
72
+
73
+ _Version update only_
74
+
75
+ ## 2.19.20
76
+ Fri, 29 Oct 2021 16:14:22 GMT
77
+
78
+ _Version update only_
79
+
80
+ ## 2.19.19
81
+ Mon, 25 Oct 2021 16:16:25 GMT
82
+
83
+ _Version update only_
84
+
85
+ ## 2.19.18
86
+ Thu, 21 Oct 2021 20:59:44 GMT
87
+
88
+ _Version update only_
89
+
90
+ ## 2.19.17
91
+ Thu, 14 Oct 2021 21:19:43 GMT
92
+
93
+ _Version update only_
94
+
95
+ ## 2.19.16
96
+ Mon, 11 Oct 2021 17:37:46 GMT
97
+
98
+ _Version update only_
99
+
100
+ ## 2.19.15
101
+ Fri, 08 Oct 2021 16:44:23 GMT
102
+
103
+ _Version update only_
104
+
105
+ ## 2.19.14
106
+ Fri, 01 Oct 2021 13:07:03 GMT
107
+
108
+ _Version update only_
4
109
 
5
110
  ## 2.19.13
6
111
  Tue, 21 Sep 2021 21:06:40 GMT
@@ -555,7 +660,7 @@ Thu, 28 May 2020 22:48:59 GMT
555
660
  ### Updates
556
661
 
557
662
  - Added FailedToGetProductSettings error
558
- - Setup Guid.normalize() for internal use.
663
+ - Setup Guid.normalize() for internal use.
559
664
  - channel rules
560
665
 
561
666
  ## 2.0.0
@@ -563,12 +668,12 @@ Wed, 06 May 2020 13:17:49 GMT
563
668
 
564
669
  ### Updates
565
670
 
566
- - Monitor progress of downloading briefcases, ability to cancel download of briefcases.
671
+ - Monitor progress of downloading briefcases, ability to cancel download of briefcases.
567
672
  - Update Config.App documentation to reflect the removal of the config.json file
568
673
  - Added ContextDoesNotExist error
569
674
  - BUG273249
570
- - Updated docs.
571
- - Updated error text.
675
+ - Updated docs.
676
+ - Updated error text.
572
677
  - added raw log method that bypass catogory check
573
678
  - order imports.
574
679
  - Add a type guard for `IDisposable`
@@ -602,7 +707,7 @@ Wed, 22 Jan 2020 19:24:11 GMT
602
707
 
603
708
  ### Updates
604
709
 
605
- - VSS$257397: Temporary fix for checking electron renderer.
710
+ - VSS$257397: Temporary fix for checking electron renderer.
606
711
  - Upgrade to TypeScript 3.7.2.
607
712
 
608
713
  ## 1.10.0
@@ -617,7 +722,7 @@ Tue, 10 Dec 2019 18:08:56 GMT
617
722
 
618
723
  ### Updates
619
724
 
620
- - Setup OidcDesktopClient for Electron use cases.
725
+ - Setup OidcDesktopClient for Electron use cases.
621
726
  - Added non-static wait and executeAfter to BeDuration
622
727
  - Fix warnings from static analysis
623
728
  - Added `BeDuration.race` for common timeout operations.
@@ -670,7 +775,7 @@ Mon, 01 Jul 2019 19:04:29 GMT
670
775
  ### Updates
671
776
 
672
777
  - Added OneAtATimeActivity class
673
- - Introduced AsyncMutex - a utility to run async blocks of code in sequence.
778
+ - Introduced AsyncMutex - a utility to run async blocks of code in sequence.
674
779
  - Update to TypeScript 3.5
675
780
 
676
781
  ## 1.0.0
@@ -697,10 +802,10 @@ Mon, 13 May 2019 15:52:05 GMT
697
802
  - Logged the fields in ClientRequestContext
698
803
  - Logging fixes.
699
804
  - Put sourcemap in npm package.
700
- - Fixed logger to not mutate incoming objects.
805
+ - Fixed logger to not mutate incoming objects.
701
806
  - Improved performance logging
702
807
  - Added functions for iterating and obtaining the number of elements of a collection of Id64s represented as an Id64Arg.
703
- - Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
808
+ - Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
704
809
  - Use TextDecoder to decode binary utf-8 strings if supported.
705
810
  - Upgrade TypeDoc dependency to 0.14.2
706
811
 
@@ -736,7 +841,7 @@ Mon, 14 Jan 2019 23:09:10 GMT
736
841
 
737
842
  ### Updates
738
843
 
739
- - Removed IModelDb's cache of accessToken. For long running operations like AutoPush, the user must explicitly supply an IAccessTokenManager to keep the token current.
844
+ - Removed IModelDb's cache of accessToken. For long running operations like AutoPush, the user must explicitly supply an IAccessTokenManager to keep the token current.
740
845
 
741
846
  ## 0.185.0
742
847
  Fri, 11 Jan 2019 18:29:00 GMT
@@ -843,7 +948,7 @@ Fri, 16 Nov 2018 21:45:44 GMT
843
948
 
844
949
  ### Updates
845
950
 
846
- - Changes to debug utilities.
951
+ - Changes to debug utilities.
847
952
  - Fluentd Bunnyan Logger added
848
953
 
849
954
  ## 0.166.0
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright © 2017-2021 Bentley Systems, Incorporated. All rights reserved.
3
+ Copyright © 2017-2022 Bentley Systems, Incorporated. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
@@ -35,3 +35,27 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35
35
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36
36
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37
37
  SOFTWARE.
38
+
39
+ ## [VSCode](https://github.com/microsoft/vscode)
40
+
41
+ MIT License
42
+
43
+ Copyright (c) 2015 - present Microsoft Corporation
44
+
45
+ Permission is hereby granted, free of charge, to any person obtaining a copy
46
+ of this software and associated documentation files (the "Software"), to deal
47
+ in the Software without restriction, including without limitation the rights
48
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
49
+ copies of the Software, and to permit persons to whom the Software is
50
+ furnished to do so, subject to the following conditions:
51
+
52
+ The above copyright notice and this permission notice shall be included in all
53
+ copies or substantial portions of the Software.
54
+
55
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
56
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
57
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
58
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
59
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
60
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
61
+ SOFTWARE.
@@ -1,16 +1,26 @@
1
1
  /** @packageDocumentation
2
2
  * @module Utils
3
3
  */
4
- /**
5
- * Asserts that a condition is `true`, and in development builds throws an error if it is not.
6
- * This is an [assertion function](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions) that alters the
7
- * behavior of the TypeScript compiler.
8
- * @param condition The result of a boolean expression.
9
- * @param msg An optional message to include in the thrown exception. Defaults to "Programmer Error".
10
- * @throws Error containing the specified message if condition is false.
11
- * @note This function should be used to validate conditions that should never realistically occur, or
12
- * which indicate a misuse of the API which should be eliminated during development.
4
+ /** Asserts that a condition is `true` and - when enabled - throws an error if it is not.
5
+ * Assertions are enabled only if the build configuration defines `process.env.NODE_ENV` as `development` at build time.
6
+ *
7
+ * Assertions exist solely to assist programmers during development, in the following ways:
8
+ * 1 They allow the programmer to declare conditions that they believe cannot possibly occur. If such conditions occur, they indicate
9
+ * a serious flaw in the programmer's logic.
10
+ * 2 They allow the programmer to assure the TypeScript compiler of the truth of some condition that the compiler cannot itself infer.
11
+ * 3 They allow the author of an API to indicate to consumers of the API a serious misuse that should be corrected during development.
12
+ *
13
+ * Assertions should **never** be used to test for conditions - however unlikely - that could be expected to occur at run-time,
14
+ * such as failing to write to a file or load a resource over the network. If the condition asserted ever fails in a production environment,
15
+ * the programmer has made a serious mistake.
16
+ *
17
+ * Note that even when assertions are disabled, calls to `assert` remain in the code and their arguments will be evaluated at run-time.
18
+ * Therefore, if your condition or message requires computation, prefer to pass it as a function to prevent it from being evaluated when assertions are disabled.
19
+ *
20
+ * @param condition The condition that is asserted to be `true`. If the condition is more complex than a simple `boolean` variable, pass it as a function to prevent it from being evaluated when assertions are disabled.
21
+ * @param message An optional description of the condition being asserted, to be included in the exception if `condition` is `false`. If the message must be computed, pass it as a function to prevent it from being evaluated when assertions are disabled. Defaults to "Programmer Error".
22
+ * @throws Error containing the specified `message` if `condition` is `false`.
13
23
  * @public
14
24
  */
15
- export declare function assert(condition: boolean, msg?: string): asserts condition;
25
+ export declare function assert(condition: boolean | (() => boolean), message?: string | (() => string)): asserts condition;
16
26
  //# sourceMappingURL=Assert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Assert.d.ts","sourceRoot":"","sources":["../../src/Assert.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAG1E"}
1
+ {"version":3,"file":"Assert.d.ts","sourceRoot":"","sources":["../../src/Assert.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,MAAM,CAAC,SAAS,EAAE,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,OAAO,CAAC,SAAS,CAejH"}
package/lib/cjs/Assert.js CHANGED
@@ -8,20 +8,39 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.assert = void 0;
11
- /**
12
- * Asserts that a condition is `true`, and in development builds throws an error if it is not.
13
- * This is an [assertion function](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions) that alters the
14
- * behavior of the TypeScript compiler.
15
- * @param condition The result of a boolean expression.
16
- * @param msg An optional message to include in the thrown exception. Defaults to "Programmer Error".
17
- * @throws Error containing the specified message if condition is false.
18
- * @note This function should be used to validate conditions that should never realistically occur, or
19
- * which indicate a misuse of the API which should be eliminated during development.
11
+ const assertionsEnabled = process.env.NODE_ENV === "development";
12
+ /** Asserts that a condition is `true` and - when enabled - throws an error if it is not.
13
+ * Assertions are enabled only if the build configuration defines `process.env.NODE_ENV` as `development` at build time.
14
+ *
15
+ * Assertions exist solely to assist programmers during development, in the following ways:
16
+ * 1 They allow the programmer to declare conditions that they believe cannot possibly occur. If such conditions occur, they indicate
17
+ * a serious flaw in the programmer's logic.
18
+ * 2 They allow the programmer to assure the TypeScript compiler of the truth of some condition that the compiler cannot itself infer.
19
+ * 3 They allow the author of an API to indicate to consumers of the API a serious misuse that should be corrected during development.
20
+ *
21
+ * Assertions should **never** be used to test for conditions - however unlikely - that could be expected to occur at run-time,
22
+ * such as failing to write to a file or load a resource over the network. If the condition asserted ever fails in a production environment,
23
+ * the programmer has made a serious mistake.
24
+ *
25
+ * Note that even when assertions are disabled, calls to `assert` remain in the code and their arguments will be evaluated at run-time.
26
+ * Therefore, if your condition or message requires computation, prefer to pass it as a function to prevent it from being evaluated when assertions are disabled.
27
+ *
28
+ * @param condition The condition that is asserted to be `true`. If the condition is more complex than a simple `boolean` variable, pass it as a function to prevent it from being evaluated when assertions are disabled.
29
+ * @param message An optional description of the condition being asserted, to be included in the exception if `condition` is `false`. If the message must be computed, pass it as a function to prevent it from being evaluated when assertions are disabled. Defaults to "Programmer Error".
30
+ * @throws Error containing the specified `message` if `condition` is `false`.
20
31
  * @public
21
32
  */
22
- function assert(condition, msg) {
23
- if (!condition)
24
- throw new Error(`Assert: ${msg !== null && msg !== void 0 ? msg : "Programmer Error"}`);
33
+ function assert(condition, message) {
34
+ if (!assertionsEnabled)
35
+ return;
36
+ if ("boolean" !== typeof condition)
37
+ condition = condition();
38
+ if (condition)
39
+ return;
40
+ message = message !== null && message !== void 0 ? message : "Programmer Error";
41
+ if ("string" !== typeof message)
42
+ message = message();
43
+ throw new Error(`Assert: ${message}`);
25
44
  }
26
45
  exports.assert = assert;
27
46
  //# sourceMappingURL=Assert.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Assert.js","sourceRoot":"","sources":["../../src/Assert.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH;;;;;;;;;;GAUG;AACH,SAAgB,MAAM,CAAC,SAAkB,EAAE,GAAY;IACrD,IAAI,CAAC,SAAS;QACZ,MAAM,IAAI,KAAK,CAAC,WAAW,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,kBAAkB,EAAE,CAAC,CAAC;AAC5D,CAAC;AAHD,wBAGC","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 Utils\r\n */\r\n\r\n/**\r\n * Asserts that a condition is `true`, and in development builds throws an error if it is not.\r\n * This is an [assertion function](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions) that alters the\r\n * behavior of the TypeScript compiler.\r\n * @param condition The result of a boolean expression.\r\n * @param msg An optional message to include in the thrown exception. Defaults to \"Programmer Error\".\r\n * @throws Error containing the specified message if condition is false.\r\n * @note This function should be used to validate conditions that should never realistically occur, or\r\n * which indicate a misuse of the API which should be eliminated during development.\r\n * @public\r\n */\r\nexport function assert(condition: boolean, msg?: string): asserts condition {\r\n if (!condition)\r\n throw new Error(`Assert: ${msg ?? \"Programmer Error\"}`);\r\n}\r\n"]}
1
+ {"version":3,"file":"Assert.js","sourceRoot":"","sources":["../../src/Assert.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,MAAM,CAAC,SAAoC,EAAE,OAAiC;IAC5F,IAAI,CAAC,iBAAiB;QACpB,OAAO;IAET,IAAI,SAAS,KAAK,OAAO,SAAS;QAChC,SAAS,GAAG,SAAS,EAAE,CAAC;IAE1B,IAAI,SAAS;QACX,OAAO;IAET,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,kBAAkB,CAAC;IACxC,IAAI,QAAQ,KAAK,OAAO,OAAO;QAC7B,OAAO,GAAG,OAAO,EAAE,CAAC;IAEtB,MAAM,IAAI,KAAK,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;AACxC,CAAC;AAfD,wBAeC","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 Utils\r\n */\r\n\r\nconst assertionsEnabled = process.env.NODE_ENV === \"development\";\r\n\r\n/** Asserts that a condition is `true` and - when enabled - throws an error if it is not.\r\n * Assertions are enabled only if the build configuration defines `process.env.NODE_ENV` as `development` at build time.\r\n *\r\n * Assertions exist solely to assist programmers during development, in the following ways:\r\n * 1 They allow the programmer to declare conditions that they believe cannot possibly occur. If such conditions occur, they indicate\r\n * a serious flaw in the programmer's logic.\r\n * 2 They allow the programmer to assure the TypeScript compiler of the truth of some condition that the compiler cannot itself infer.\r\n * 3 They allow the author of an API to indicate to consumers of the API a serious misuse that should be corrected during development.\r\n *\r\n * Assertions should **never** be used to test for conditions - however unlikely - that could be expected to occur at run-time,\r\n * such as failing to write to a file or load a resource over the network. If the condition asserted ever fails in a production environment,\r\n * the programmer has made a serious mistake.\r\n *\r\n * Note that even when assertions are disabled, calls to `assert` remain in the code and their arguments will be evaluated at run-time.\r\n * Therefore, if your condition or message requires computation, prefer to pass it as a function to prevent it from being evaluated when assertions are disabled.\r\n *\r\n * @param condition The condition that is asserted to be `true`. If the condition is more complex than a simple `boolean` variable, pass it as a function to prevent it from being evaluated when assertions are disabled.\r\n * @param message An optional description of the condition being asserted, to be included in the exception if `condition` is `false`. If the message must be computed, pass it as a function to prevent it from being evaluated when assertions are disabled. Defaults to \"Programmer Error\".\r\n * @throws Error containing the specified `message` if `condition` is `false`.\r\n * @public\r\n */\r\nexport function assert(condition: boolean | (() => boolean), message?: string | (() => string)): asserts condition {\r\n if (!assertionsEnabled)\r\n return;\r\n\r\n if (\"boolean\" !== typeof condition)\r\n condition = condition();\r\n\r\n if (condition)\r\n return;\r\n\r\n message = message ?? \"Programmer Error\";\r\n if (\"string\" !== typeof message)\r\n message = message();\r\n\r\n throw new Error(`Assert: ${message}`);\r\n}\r\n"]}
@@ -113,7 +113,7 @@ export declare enum RpcInterfaceStatus {
113
113
  /** The RpcInterface implemented by the server is incompatible with the interface requested by the client. */
114
114
  IncompatibleVersion = 135168
115
115
  }
116
- /** Error status from various ChangeSet operations
116
+ /** Error status from various Changeset operations
117
117
  * @beta Should these be internal?
118
118
  */
119
119
  export declare enum ChangeSetStatus {
@@ -275,7 +275,6 @@ export declare enum IModelHubStatus {
275
275
  FailedToGetAssetPermissions = 102445,
276
276
  FailedToGetAssetMembers = 102446,
277
277
  ITwinDoesNotExist = 102447,
278
- FailedToGetProductSettings = 102448,
279
278
  LockChunkDoesNotExist = 102449,
280
279
  CheckpointAlreadyExists = 102450,
281
280
  CheckpointDoesNotExist = 102451,
@@ -1 +1 @@
1
- {"version":3,"file":"BentleyError.d.ts","sourceRoot":"","sources":["../../src/BentleyError.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;;GAKG;AACH,oBAAY,aAAa;IACvB,OAAO,IAAS;IAChB,KAAK,QAAS;CACf;AAED;;;GAGG;AACH,oBAAY,YAAY;IACtB,i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M,EAAE,QAAQ,CAAC,EAAE,eAAe;IAO3F,sEAAsE;IACtE,IAAW,WAAW,IAAI,OAAO,CAAyC;IAE1E,mEAAmE;IAC5D,WAAW,IAAI,MAAM,GAAG,SAAS;IAIxC,4EAA4E;WAC9D,WAAW,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS;IAIxE,mHAAmH;IACnH,SAAS,CAAC,SAAS,IAAI,MAAM;IAwR7B;;;OAGG;WACW,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM;IAqBrD;;;OAGG;WACW,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS;IAO/D;;;;OAIG;WACW,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS;IAUlE;;;;OAIG;WACW,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU;CAexD"}
@@ -125,7 +125,7 @@ var RpcInterfaceStatus;
125
125
  /** The RpcInterface implemented by the server is incompatible with the interface requested by the client. */
126
126
  RpcInterfaceStatus[RpcInterfaceStatus["IncompatibleVersion"] = 135168] = "IncompatibleVersion";
127
127
  })(RpcInterfaceStatus = exports.RpcInterfaceStatus || (exports.RpcInterfaceStatus = {}));
128
- /** Error status from various ChangeSet operations
128
+ /** Error status from various Changeset operations
129
129
  * @beta Should these be internal?
130
130
  */
131
131
  var ChangeSetStatus;
@@ -291,7 +291,6 @@ var IModelHubStatus;
291
291
  IModelHubStatus[IModelHubStatus["FailedToGetAssetPermissions"] = 102445] = "FailedToGetAssetPermissions";
292
292
  IModelHubStatus[IModelHubStatus["FailedToGetAssetMembers"] = 102446] = "FailedToGetAssetMembers";
293
293
  IModelHubStatus[IModelHubStatus["ITwinDoesNotExist"] = 102447] = "ITwinDoesNotExist";
294
- IModelHubStatus[IModelHubStatus["FailedToGetProductSettings"] = 102448] = "FailedToGetProductSettings";
295
294
  IModelHubStatus[IModelHubStatus["LockChunkDoesNotExist"] = 102449] = "LockChunkDoesNotExist";
296
295
  IModelHubStatus[IModelHubStatus["CheckpointAlreadyExists"] = 102450] = "CheckpointAlreadyExists";
297
296
  IModelHubStatus[IModelHubStatus["CheckpointDoesNotExist"] = 102451] = "CheckpointDoesNotExist";
@@ -612,7 +611,6 @@ class BentleyError extends Error {
612
611
  case IModelHubStatus.JobSchedulingFailed: return "Failed to schedule a background job";
613
612
  case IModelHubStatus.ConflictsAggregate: return "Codes or locks are owned by another briefcase";
614
613
  case IModelHubStatus.FailedToGetITwinById: return "Failed to query iTwin by its id";
615
- case IModelHubStatus.FailedToGetProductSettings: return "Failed to get product settings";
616
614
  case IModelHubStatus.DatabaseOperationFailed: return "Database operation has failed";
617
615
  case IModelHubStatus.ITwinDoesNotExist: return "ITwin does not exist";
618
616
  case IModelHubStatus.UndefinedArgumentError: return "Undefined argument";