@itwin/core-common 3.5.0-dev.8 → 3.6.0-dev.3

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 (190) hide show
  1. package/CHANGELOG.md +75 -1
  2. package/lib/cjs/BackendTypes.d.ts +13 -0
  3. package/lib/cjs/BackendTypes.d.ts.map +1 -0
  4. package/lib/cjs/BackendTypes.js +10 -0
  5. package/lib/cjs/BackendTypes.js.map +1 -0
  6. package/lib/cjs/Base64EncodedString.d.ts +2 -0
  7. package/lib/cjs/Base64EncodedString.d.ts.map +1 -1
  8. package/lib/cjs/Base64EncodedString.js +10 -0
  9. package/lib/cjs/Base64EncodedString.js.map +1 -1
  10. package/lib/cjs/ChangedElements.d.ts +3 -1
  11. package/lib/cjs/ChangedElements.d.ts.map +1 -1
  12. package/lib/cjs/ChangedElements.js +2 -0
  13. package/lib/cjs/ChangedElements.js.map +1 -1
  14. package/lib/cjs/ConcurrentQuery.d.ts +181 -1
  15. package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
  16. package/lib/cjs/ConcurrentQuery.js +175 -3
  17. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  18. package/lib/cjs/ElementMesh.d.ts +40 -0
  19. package/lib/cjs/ElementMesh.d.ts.map +1 -0
  20. package/lib/cjs/ElementMesh.js +57 -0
  21. package/lib/cjs/ElementMesh.js.map +1 -0
  22. package/lib/cjs/ElementProps.d.ts +4 -1
  23. package/lib/cjs/ElementProps.d.ts.map +1 -1
  24. package/lib/cjs/ElementProps.js.map +1 -1
  25. package/lib/cjs/EntityReference.d.ts +52 -0
  26. package/lib/cjs/EntityReference.d.ts.map +1 -0
  27. package/lib/cjs/EntityReference.js +57 -0
  28. package/lib/cjs/EntityReference.js.map +1 -0
  29. package/lib/cjs/IpcAppProps.d.ts +18 -1
  30. package/lib/cjs/IpcAppProps.d.ts.map +1 -1
  31. package/lib/cjs/IpcAppProps.js +6 -1
  32. package/lib/cjs/IpcAppProps.js.map +1 -1
  33. package/lib/cjs/Localization.d.ts +2 -0
  34. package/lib/cjs/Localization.d.ts.map +1 -1
  35. package/lib/cjs/Localization.js.map +1 -1
  36. package/lib/cjs/ModelProps.d.ts +1 -0
  37. package/lib/cjs/ModelProps.d.ts.map +1 -1
  38. package/lib/cjs/ModelProps.js.map +1 -1
  39. package/lib/cjs/RenderSchedule.d.ts +12 -9
  40. package/lib/cjs/RenderSchedule.d.ts.map +1 -1
  41. package/lib/cjs/RenderSchedule.js +11 -9
  42. package/lib/cjs/RenderSchedule.js.map +1 -1
  43. package/lib/cjs/TextureMapping.d.ts +17 -2
  44. package/lib/cjs/TextureMapping.d.ts.map +1 -1
  45. package/lib/cjs/TextureMapping.js.map +1 -1
  46. package/lib/cjs/ViewDetails.d.ts.map +1 -1
  47. package/lib/cjs/ViewDetails.js +10 -2
  48. package/lib/cjs/ViewDetails.js.map +1 -1
  49. package/lib/cjs/core-common.d.ts +4 -0
  50. package/lib/cjs/core-common.d.ts.map +1 -1
  51. package/lib/cjs/core-common.js +4 -0
  52. package/lib/cjs/core-common.js.map +1 -1
  53. package/lib/cjs/ipc/IpcWebSocketTransport.d.ts.map +1 -1
  54. package/lib/cjs/ipc/IpcWebSocketTransport.js +5 -3
  55. package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
  56. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts +25 -1
  57. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts.map +1 -1
  58. package/lib/cjs/rpc/IModelReadRpcInterface.js +8 -1
  59. package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
  60. package/lib/cjs/rpc/core/RpcConfiguration.d.ts.map +1 -1
  61. package/lib/cjs/rpc/core/RpcConfiguration.js +0 -1
  62. package/lib/cjs/rpc/core/RpcConfiguration.js.map +1 -1
  63. package/lib/cjs/rpc/core/RpcControl.d.ts +2 -0
  64. package/lib/cjs/rpc/core/RpcControl.d.ts.map +1 -1
  65. package/lib/cjs/rpc/core/RpcControl.js +13 -18
  66. package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
  67. package/lib/cjs/rpc/core/RpcInvocation.d.ts.map +1 -1
  68. package/lib/cjs/rpc/core/RpcInvocation.js +1 -0
  69. package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
  70. package/lib/cjs/rpc/core/RpcMarshaling.d.ts +2 -3
  71. package/lib/cjs/rpc/core/RpcMarshaling.d.ts.map +1 -1
  72. package/lib/cjs/rpc/core/RpcMarshaling.js +5 -2
  73. package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
  74. package/lib/cjs/rpc/web/RpcMultipart.d.ts +11 -7
  75. package/lib/cjs/rpc/web/RpcMultipart.d.ts.map +1 -1
  76. package/lib/cjs/rpc/web/RpcMultipart.js +17 -12
  77. package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
  78. package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts +19 -8
  79. package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
  80. package/lib/cjs/rpc/web/WebAppRpcLogging.js +62 -63
  81. package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
  82. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts +4 -3
  83. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
  84. package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
  85. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts +6 -10
  86. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  87. package/lib/cjs/rpc/web/WebAppRpcRequest.js +14 -149
  88. package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
  89. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts +2 -3
  90. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
  91. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js +34 -21
  92. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  93. package/lib/cjs/tile/ElementGraphics.d.ts +13 -2
  94. package/lib/cjs/tile/ElementGraphics.d.ts.map +1 -1
  95. package/lib/cjs/tile/ElementGraphics.js.map +1 -1
  96. package/lib/esm/BackendTypes.d.ts +13 -0
  97. package/lib/esm/BackendTypes.d.ts.map +1 -0
  98. package/lib/esm/BackendTypes.js +9 -0
  99. package/lib/esm/BackendTypes.js.map +1 -0
  100. package/lib/esm/Base64EncodedString.d.ts +2 -0
  101. package/lib/esm/Base64EncodedString.d.ts.map +1 -1
  102. package/lib/esm/Base64EncodedString.js +10 -0
  103. package/lib/esm/Base64EncodedString.js.map +1 -1
  104. package/lib/esm/ChangedElements.d.ts +3 -1
  105. package/lib/esm/ChangedElements.d.ts.map +1 -1
  106. package/lib/esm/ChangedElements.js +2 -0
  107. package/lib/esm/ChangedElements.js.map +1 -1
  108. package/lib/esm/ConcurrentQuery.d.ts +181 -1
  109. package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
  110. package/lib/esm/ConcurrentQuery.js +175 -3
  111. package/lib/esm/ConcurrentQuery.js.map +1 -1
  112. package/lib/esm/ElementMesh.d.ts +40 -0
  113. package/lib/esm/ElementMesh.d.ts.map +1 -0
  114. package/lib/esm/ElementMesh.js +53 -0
  115. package/lib/esm/ElementMesh.js.map +1 -0
  116. package/lib/esm/ElementProps.d.ts +4 -1
  117. package/lib/esm/ElementProps.d.ts.map +1 -1
  118. package/lib/esm/ElementProps.js.map +1 -1
  119. package/lib/esm/EntityReference.d.ts +52 -0
  120. package/lib/esm/EntityReference.d.ts.map +1 -0
  121. package/lib/esm/EntityReference.js +53 -0
  122. package/lib/esm/EntityReference.js.map +1 -0
  123. package/lib/esm/IpcAppProps.d.ts +18 -1
  124. package/lib/esm/IpcAppProps.d.ts.map +1 -1
  125. package/lib/esm/IpcAppProps.js +4 -0
  126. package/lib/esm/IpcAppProps.js.map +1 -1
  127. package/lib/esm/Localization.d.ts +2 -0
  128. package/lib/esm/Localization.d.ts.map +1 -1
  129. package/lib/esm/Localization.js.map +1 -1
  130. package/lib/esm/ModelProps.d.ts +1 -0
  131. package/lib/esm/ModelProps.d.ts.map +1 -1
  132. package/lib/esm/ModelProps.js.map +1 -1
  133. package/lib/esm/RenderSchedule.d.ts +12 -9
  134. package/lib/esm/RenderSchedule.d.ts.map +1 -1
  135. package/lib/esm/RenderSchedule.js +11 -9
  136. package/lib/esm/RenderSchedule.js.map +1 -1
  137. package/lib/esm/TextureMapping.d.ts +17 -2
  138. package/lib/esm/TextureMapping.d.ts.map +1 -1
  139. package/lib/esm/TextureMapping.js.map +1 -1
  140. package/lib/esm/ViewDetails.d.ts.map +1 -1
  141. package/lib/esm/ViewDetails.js +11 -3
  142. package/lib/esm/ViewDetails.js.map +1 -1
  143. package/lib/esm/core-common.d.ts +4 -0
  144. package/lib/esm/core-common.d.ts.map +1 -1
  145. package/lib/esm/core-common.js +4 -0
  146. package/lib/esm/core-common.js.map +1 -1
  147. package/lib/esm/ipc/IpcWebSocketTransport.d.ts.map +1 -1
  148. package/lib/esm/ipc/IpcWebSocketTransport.js +5 -3
  149. package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
  150. package/lib/esm/rpc/IModelReadRpcInterface.d.ts +25 -1
  151. package/lib/esm/rpc/IModelReadRpcInterface.d.ts.map +1 -1
  152. package/lib/esm/rpc/IModelReadRpcInterface.js +8 -1
  153. package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
  154. package/lib/esm/rpc/core/RpcConfiguration.d.ts.map +1 -1
  155. package/lib/esm/rpc/core/RpcConfiguration.js +0 -1
  156. package/lib/esm/rpc/core/RpcConfiguration.js.map +1 -1
  157. package/lib/esm/rpc/core/RpcControl.d.ts +2 -0
  158. package/lib/esm/rpc/core/RpcControl.d.ts.map +1 -1
  159. package/lib/esm/rpc/core/RpcControl.js +13 -18
  160. package/lib/esm/rpc/core/RpcControl.js.map +1 -1
  161. package/lib/esm/rpc/core/RpcInvocation.d.ts.map +1 -1
  162. package/lib/esm/rpc/core/RpcInvocation.js +2 -1
  163. package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
  164. package/lib/esm/rpc/core/RpcMarshaling.d.ts +2 -3
  165. package/lib/esm/rpc/core/RpcMarshaling.d.ts.map +1 -1
  166. package/lib/esm/rpc/core/RpcMarshaling.js +5 -2
  167. package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
  168. package/lib/esm/rpc/web/RpcMultipart.d.ts +11 -7
  169. package/lib/esm/rpc/web/RpcMultipart.d.ts.map +1 -1
  170. package/lib/esm/rpc/web/RpcMultipart.js +17 -12
  171. package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
  172. package/lib/esm/rpc/web/WebAppRpcLogging.d.ts +19 -8
  173. package/lib/esm/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
  174. package/lib/esm/rpc/web/WebAppRpcLogging.js +62 -63
  175. package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
  176. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts +4 -3
  177. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
  178. package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
  179. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts +6 -10
  180. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  181. package/lib/esm/rpc/web/WebAppRpcRequest.js +15 -150
  182. package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
  183. package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts +2 -3
  184. package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
  185. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js +34 -21
  186. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  187. package/lib/esm/tile/ElementGraphics.d.ts +13 -2
  188. package/lib/esm/tile/ElementGraphics.d.ts.map +1 -1
  189. package/lib/esm/tile/ElementGraphics.js.map +1 -1
  190. package/package.json +8 -10
package/CHANGELOG.md CHANGED
@@ -1,6 +1,80 @@
1
1
  # Change Log - @itwin/core-common
2
2
 
3
- This log was last generated on Thu, 01 Sep 2022 14:37:22 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 30 Nov 2022 14:28:19 GMT and should not be manually modified.
4
+
5
+ ## 3.4.7
6
+ Wed, 30 Nov 2022 14:28:19 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 3.4.6
11
+ Tue, 22 Nov 2022 14:24:19 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 3.4.5
16
+ Thu, 17 Nov 2022 21:32:50 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 3.4.4
21
+ Thu, 10 Nov 2022 19:32:17 GMT
22
+
23
+ ### Updates
24
+
25
+ - handle null ExternalSourceAspect.scope
26
+
27
+ ## 3.4.3
28
+ Fri, 28 Oct 2022 13:34:57 GMT
29
+
30
+ _Version update only_
31
+
32
+ ## 3.4.2
33
+ Mon, 24 Oct 2022 13:23:45 GMT
34
+
35
+ _Version update only_
36
+
37
+ ## 3.4.1
38
+ Mon, 17 Oct 2022 20:06:51 GMT
39
+
40
+ ### Updates
41
+
42
+ - update RenderScheduleScript.discloseIds to use EntityReferences
43
+
44
+ ## 3.4.0
45
+ Thu, 13 Oct 2022 20:24:47 GMT
46
+
47
+ ### Updates
48
+
49
+ - Improve ambient occlusion effect by decreasing the size of shadows for more distant geometry, increasing the default maximum distance of the effect to 10,000 meters, and fading the effect as it approaches maximum distance.
50
+ - Deprecated CloudStorage in favor of TileStorage + iTwin/object-storage
51
+ - added "onlyBaseProperties" to ElementLoadOptions to limit properties to only those in ElementProps, not subclasses
52
+ - Remove renderer-specific logic in Gradient.Symb.getImage
53
+ - Rename LocalizationOptions interface to TranslationOptions and export it
54
+ - lock down @types/semver to 7.3.10
55
+ - deprecate categoryIds from the hydrateViewState request and response props
56
+ - add 408,429, and consider 408,429, and 500 transient fault
57
+ - Updated Node types declaration to support latest v16
58
+ - Reject an iModel's EcefLocation with an origin at the center of the Earth.
59
+ - Add types and utilies for working with buffers of quantized points.
60
+ - ModelProps.parentModel doc change
61
+
62
+ ## 3.3.5
63
+ Tue, 27 Sep 2022 11:50:59 GMT
64
+
65
+ ### Updates
66
+
67
+ - add 408,429, and consider 408,429, and 500 transient fault
68
+
69
+ ## 3.3.4
70
+ Thu, 08 Sep 2022 19:00:04 GMT
71
+
72
+ _Version update only_
73
+
74
+ ## 3.3.3
75
+ Tue, 06 Sep 2022 20:54:19 GMT
76
+
77
+ _Version update only_
4
78
 
5
79
  ## 3.3.2
6
80
  Thu, 01 Sep 2022 14:37:22 GMT
@@ -0,0 +1,13 @@
1
+ /** @packageDocumentation
2
+ * @module Utils
3
+ */
4
+ /// <reference types="node" />
5
+ import type { Readable, Writable } from "stream";
6
+ import type { Buffer } from "buffer";
7
+ /** @public @deprecated */
8
+ export declare type BackendReadable = Readable;
9
+ /** @public @deprecated */
10
+ export declare type BackendWritable = Writable;
11
+ /** @internal @deprecated */
12
+ export declare type BackendBuffer = Buffer;
13
+ //# sourceMappingURL=BackendTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackendTypes.d.ts","sourceRoot":"","sources":["../../src/BackendTypes.ts"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AASrC,0BAA0B;AAC1B,oBAAY,eAAe,GAAG,QAAQ,CAAC;AAEvC,0BAA0B;AAC1B,oBAAY,eAAe,GAAG,QAAQ,CAAC;AAEvC,4BAA4B;AAC5B,oBAAY,aAAa,GAAG,MAAM,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
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
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Utils
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=BackendTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackendTypes.js","sourceRoot":"","sources":["../../src/BackendTypes.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","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\nimport type { Readable, Writable } from \"stream\"; // Must be \"import type\" to avoid webpack polyfill errors\r\nimport type { Buffer } from \"buffer\"; // Must be \"import type\" to avoid webpack polyfill errors\r\n\r\n/*\r\nIMPORTANT:\r\nThis is a temporary source file for backwards compatibility only.\r\nDo not add any new types to this file.\r\nAll types here will be removed in 4.0\r\n*/\r\n\r\n/** @public @deprecated */\r\nexport type BackendReadable = Readable;\r\n\r\n/** @public @deprecated */\r\nexport type BackendWritable = Writable;\r\n\r\n/** @internal @deprecated */\r\nexport type BackendBuffer = Buffer;\r\n"]}
@@ -27,5 +27,7 @@ export declare namespace Base64EncodedString {
27
27
  const reviver: (_name: string, value: any) => any;
28
28
  /** A function suitable for use with `JSON.stringify` to serialize a Uint8Array as a Base64EncodedString. */
29
29
  const replacer: (_name: string, value: any) => any;
30
+ function encode(src: string, urlSafe?: boolean): Base64EncodedString;
31
+ function decode(src: string): Base64EncodedString;
30
32
  }
31
33
  //# sourceMappingURL=Base64EncodedString.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Base64EncodedString.d.ts","sourceRoot":"","sources":["../../src/Base64EncodedString.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;GAIG;AACH,oBAAY,mBAAmB,GAAG,MAAM,CAAC;AAEzC;;GAEG;AACH,yB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AAmB,GAAG,MAAM,CAE/D;IAED,uGAAuG;IAChG,MAAM,OAAO,UAAW,MAAM,SAAS,GAAG,KAAG,GAKnD,CAAC;IAEF,4GAA4G;IACrG,MAAM,QAAQ,UAAW,MAAM,SAAS,GAAG,KAAG,GAKpD,CAAC;IAGF,SAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,mBAAmB,CAE1E;IAGD,SAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAEvD;CACF"}
@@ -53,5 +53,15 @@ var Base64EncodedString;
53
53
  value = fromUint8Array(value);
54
54
  return value;
55
55
  };
56
+ /* Encode a string into a Base64EncodedString. */
57
+ function encode(src, urlSafe) {
58
+ return js_base64_1.Base64.encode(src, urlSafe);
59
+ }
60
+ Base64EncodedString.encode = encode;
61
+ /* Decode a Base64EncodedString into a string. */
62
+ function decode(src) {
63
+ return js_base64_1.Base64.decode(src);
64
+ }
65
+ Base64EncodedString.decode = decode;
56
66
  })(Base64EncodedString = exports.Base64EncodedString || (exports.Base64EncodedString = {}));
57
67
  //# sourceMappingURL=Base64EncodedString.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Base64EncodedString.js","sourceRoot":"","sources":["../../src/Base64EncodedString.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,yCAAmC;AASnC;;GAEG;AACH,IAAiB,mBAAmB,CA4CnC;AA5CD,WAAiB,mBAAmB;IAClC,4EAA4E;IAC/D,0BAAM,GAAG,kBAAkB,CAAC;IAEzC,2DAA2D;IAC3D,SAAgB,cAAc,CAAC,KAAiB;QAC9C,OAAO,GAAG,oBAAA,MAAM,GAAG,kBAAM,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;IACpD,CAAC;IAFe,kCAAc,iBAE7B,CAAA;IAED,2DAA2D;IAC3D,SAAgB,YAAY,CAAC,MAA2B;QACtD,OAAO,kBAAM,CAAC,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAClD,CAAC;IAFe,gCAAY,eAE3B,CAAA;IAED,+HAA+H;IAC/H,SAAgB,SAAS,CAAC,GAAW;QACnC,OAAO,GAAG,CAAC,UAAU,CAAC,oBAAA,MAAM,CAAC,CAAC;IAChC,CAAC;IAFe,6BAAS,YAExB,CAAA;IAED,6FAA6F;IAC7F,SAAgB,YAAY,CAAC,MAAc;QACzC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,oBAAA,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3D,CAAC;IAFe,gCAAY,eAE3B,CAAA;IAED,4EAA4E;IAC5E,SAAgB,WAAW,CAAC,MAA2B;QACrD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,oBAAA,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IACnE,CAAC;IAFe,+BAAW,cAE1B,CAAA;IAED,uGAAuG;IAC1F,2BAAO,GAAG,CAAC,KAAa,EAAE,KAAU,EAAO,EAAE;QACxD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC;YAC/C,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;QAE9B,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAEF,4GAA4G;IAC/F,4BAAQ,GAAG,CAAC,KAAa,EAAE,KAAU,EAAO,EAAE;QACzD,IAAI,KAAK,IAAI,KAAK,CAAC,WAAW,KAAK,UAAU;YAC3C,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;QAEhC,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;AACJ,CAAC,EA5CgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA4CnC","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 Entities\r\n */\r\n\r\nimport { Base64 } from \"js-base64\";\r\n\r\n/** Represents an array of bytes encoded in base-64 with a prefix indicating the encoding, as required when converting EC properties of `binary` type to and from JSON.\r\n * @see [[TextureProps.data]] and [[BRepEntity.DataProps.data]] for examples of properties of this type.\r\n * @public\r\n * @extensions\r\n */\r\nexport type Base64EncodedString = string;\r\n\r\n/** Represents an array of bytes encoded in base-64 with a prefix indicating the encoding, as persisted in an [ECDb]($backend) for properties of `binary` type.\r\n * @public\r\n */\r\nexport namespace Base64EncodedString { // eslint-disable-line @typescript-eslint/no-redeclare\r\n /** The prefix prepended to the string identifying it as base-64-encoded. */\r\n export const prefix = \"encoding=base64;\";\r\n\r\n /** Encode an array of bytes into a Base64EncodedString. */\r\n export function fromUint8Array(bytes: Uint8Array): Base64EncodedString {\r\n return `${prefix}${Base64.fromUint8Array(bytes)}`;\r\n }\r\n\r\n /** Decode a Base64EncodedString into an array of bytes. */\r\n export function toUint8Array(base64: Base64EncodedString): Uint8Array {\r\n return Base64.toUint8Array(stripPrefix(base64));\r\n }\r\n\r\n /** Returns true if the input starts with [[Base64EncodedString.prefix]] indicating it is a well-formed Base64EncodedString. */\r\n export function hasPrefix(str: string): boolean {\r\n return str.startsWith(prefix);\r\n }\r\n\r\n /** Ensure that the base-64-encoded string starts with the [[Base64EncodedString.prefix]]. */\r\n export function ensurePrefix(base64: string): Base64EncodedString {\r\n return hasPrefix(base64) ? base64 : `${prefix}${base64}`;\r\n }\r\n\r\n /** Remove the [[Base64EncodedString.prefix]] from the string if present. */\r\n export function stripPrefix(base64: Base64EncodedString): string {\r\n return hasPrefix(base64) ? base64.substr(prefix.length) : base64;\r\n }\r\n\r\n /** A function suitable for use with `JSON.parse` to revive a Base64EncodedString into a Uint8Array. */\r\n export const reviver = (_name: string, value: any): any => {\r\n if (typeof value === \"string\" && hasPrefix(value))\r\n value = toUint8Array(value);\r\n\r\n return value;\r\n };\r\n\r\n /** A function suitable for use with `JSON.stringify` to serialize a Uint8Array as a Base64EncodedString. */\r\n export const replacer = (_name: string, value: any): any => {\r\n if (value && value.constructor === Uint8Array)\r\n value = fromUint8Array(value);\r\n\r\n return value;\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"Base64EncodedString.js","sourceRoot":"","sources":["../../src/Base64EncodedString.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,yCAAmC;AASnC;;GAEG;AACH,IAAiB,mBAAmB,CAsDnC;AAtDD,WAAiB,mBAAmB;IAClC,4EAA4E;IAC/D,0BAAM,GAAG,kBAAkB,CAAC;IAEzC,2DAA2D;IAC3D,SAAgB,cAAc,CAAC,KAAiB;QAC9C,OAAO,GAAG,oBAAA,MAAM,GAAG,kBAAM,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;IACpD,CAAC;IAFe,kCAAc,iBAE7B,CAAA;IAED,2DAA2D;IAC3D,SAAgB,YAAY,CAAC,MAA2B;QACtD,OAAO,kBAAM,CAAC,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAClD,CAAC;IAFe,gCAAY,eAE3B,CAAA;IAED,+HAA+H;IAC/H,SAAgB,SAAS,CAAC,GAAW;QACnC,OAAO,GAAG,CAAC,UAAU,CAAC,oBAAA,MAAM,CAAC,CAAC;IAChC,CAAC;IAFe,6BAAS,YAExB,CAAA;IAED,6FAA6F;IAC7F,SAAgB,YAAY,CAAC,MAAc;QACzC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,oBAAA,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3D,CAAC;IAFe,gCAAY,eAE3B,CAAA;IAED,4EAA4E;IAC5E,SAAgB,WAAW,CAAC,MAA2B;QACrD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,oBAAA,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IACnE,CAAC;IAFe,+BAAW,cAE1B,CAAA;IAED,uGAAuG;IAC1F,2BAAO,GAAG,CAAC,KAAa,EAAE,KAAU,EAAO,EAAE;QACxD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC;YAC/C,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;QAE9B,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAEF,4GAA4G;IAC/F,4BAAQ,GAAG,CAAC,KAAa,EAAE,KAAU,EAAO,EAAE;QACzD,IAAI,KAAK,IAAI,KAAK,CAAC,WAAW,KAAK,UAAU;YAC3C,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;QAEhC,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAEF,iDAAiD;IACjD,SAAgB,MAAM,CAAC,GAAW,EAAE,OAAiB;QACnD,OAAO,kBAAM,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IACrC,CAAC;IAFe,0BAAM,SAErB,CAAA;IAED,iDAAiD;IACjD,SAAgB,MAAM,CAAC,GAAW;QAChC,OAAO,kBAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC;IAFe,0BAAM,SAErB,CAAA;AACH,CAAC,EAtDgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAsDnC","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 Entities\r\n */\r\n\r\nimport { Base64 } from \"js-base64\";\r\n\r\n/** Represents an array of bytes encoded in base-64 with a prefix indicating the encoding, as required when converting EC properties of `binary` type to and from JSON.\r\n * @see [[TextureProps.data]] and [[BRepEntity.DataProps.data]] for examples of properties of this type.\r\n * @public\r\n * @extensions\r\n */\r\nexport type Base64EncodedString = string;\r\n\r\n/** Represents an array of bytes encoded in base-64 with a prefix indicating the encoding, as persisted in an [ECDb]($backend) for properties of `binary` type.\r\n * @public\r\n */\r\nexport namespace Base64EncodedString { // eslint-disable-line @typescript-eslint/no-redeclare\r\n /** The prefix prepended to the string identifying it as base-64-encoded. */\r\n export const prefix = \"encoding=base64;\";\r\n\r\n /** Encode an array of bytes into a Base64EncodedString. */\r\n export function fromUint8Array(bytes: Uint8Array): Base64EncodedString {\r\n return `${prefix}${Base64.fromUint8Array(bytes)}`;\r\n }\r\n\r\n /** Decode a Base64EncodedString into an array of bytes. */\r\n export function toUint8Array(base64: Base64EncodedString): Uint8Array {\r\n return Base64.toUint8Array(stripPrefix(base64));\r\n }\r\n\r\n /** Returns true if the input starts with [[Base64EncodedString.prefix]] indicating it is a well-formed Base64EncodedString. */\r\n export function hasPrefix(str: string): boolean {\r\n return str.startsWith(prefix);\r\n }\r\n\r\n /** Ensure that the base-64-encoded string starts with the [[Base64EncodedString.prefix]]. */\r\n export function ensurePrefix(base64: string): Base64EncodedString {\r\n return hasPrefix(base64) ? base64 : `${prefix}${base64}`;\r\n }\r\n\r\n /** Remove the [[Base64EncodedString.prefix]] from the string if present. */\r\n export function stripPrefix(base64: Base64EncodedString): string {\r\n return hasPrefix(base64) ? base64.substr(prefix.length) : base64;\r\n }\r\n\r\n /** A function suitable for use with `JSON.parse` to revive a Base64EncodedString into a Uint8Array. */\r\n export const reviver = (_name: string, value: any): any => {\r\n if (typeof value === \"string\" && hasPrefix(value))\r\n value = toUint8Array(value);\r\n\r\n return value;\r\n };\r\n\r\n /** A function suitable for use with `JSON.stringify` to serialize a Uint8Array as a Base64EncodedString. */\r\n export const replacer = (_name: string, value: any): any => {\r\n if (value && value.constructor === Uint8Array)\r\n value = fromUint8Array(value);\r\n\r\n return value;\r\n };\r\n\r\n /* Encode a string into a Base64EncodedString. */\r\n export function encode(src: string, urlSafe?: boolean): Base64EncodedString {\r\n return Base64.encode(src, urlSafe);\r\n }\r\n\r\n /* Decode a Base64EncodedString into a string. */\r\n export function decode(src: string): Base64EncodedString {\r\n return Base64.decode(src);\r\n }\r\n}\r\n"]}
@@ -18,7 +18,9 @@ export declare enum TypeOfChange {
18
18
  /** Indirect change occurred to this element by a related instance */
19
19
  Indirect = 8,
20
20
  /** Hidden properties of the element changed */
21
- Hidden = 16
21
+ Hidden = 16,
22
+ /** The top-most parent of the element has changed */
23
+ Parent = 32
22
24
  }
23
25
  /** Changed elements found in a changeset or between a range of changesets.
24
26
  * All arrays in this object will have the same number of items.
@@ -1 +1 @@
1
- {"version":3,"file":"ChangedElements.d.ts","sourceRoot":"","sources":["../../src/ChangedElements.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAI7D;;;GAGG;AACH,oBAAY,YAAY;IACtB,wCAAwC;IACxC,QAAQ,IAAM;IACd,oEAAoE;IACpE,QAAQ,IAAO;IACf,kEAAkE;IAClE,SAAS,IAAQ;IACjB,qEAAqE;IACrE,QAAQ,IAAS;IACjB,+CAA+C;IAC/C,MAAM,KAAU;CACjB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,mCAAmC;IACnC,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,2CAA2C;IAC3C,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,oDAAoD;IACpD,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IACxB;;MAEE;IACF,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IACxB;;;;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UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,UAAU,EAAE,CAAC;IACzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,UAAU,EAAE,CAAC;CAC/B;AAED,gBAAgB;AAChB,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC;AAED,gBAAgB;AAChB,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;CAC9B"}
@@ -18,5 +18,7 @@ var TypeOfChange;
18
18
  TypeOfChange[TypeOfChange["Indirect"] = 8] = "Indirect";
19
19
  /** Hidden properties of the element changed */
20
20
  TypeOfChange[TypeOfChange["Hidden"] = 16] = "Hidden";
21
+ /** The top-most parent of the element has changed */
22
+ TypeOfChange[TypeOfChange["Parent"] = 32] = "Parent";
21
23
  })(TypeOfChange = exports.TypeOfChange || (exports.TypeOfChange = {}));
22
24
  //# sourceMappingURL=ChangedElements.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangedElements.js","sourceRoot":"","sources":["../../src/ChangedElements.ts"],"names":[],"mappings":";;;AAWA,uBAAuB;AAEvB;;;GAGG;AACH,IAAY,YAWX;AAXD,WAAY,YAAY;IACtB,wCAAwC;IACxC,uDAAc,CAAA;IACd,oEAAoE;IACpE,uDAAe,CAAA;IACf,kEAAkE;IAClE,yDAAiB,CAAA;IACjB,qEAAqE;IACrE,uDAAiB,CAAA;IACjB,+CAA+C;IAC/C,oDAAgB,CAAA;AAClB,CAAC,EAXW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAWvB","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 * @packageDocumentation\r\n * @module Entities\r\n */\r\nimport { DbOpcode, Id64String } from \"@itwin/core-bentley\";\r\nimport { AxisAlignedBox3dProps } from \"./geometry/Placement\";\r\n\r\n// cspell:ignore bboxes\r\n\r\n/** Bitflags describing which aspects of an [Element]($backend) changed as part of a [[ChangedElements]].\r\n * @public\r\n * @extensions\r\n */\r\nexport enum TypeOfChange {\r\n /** A property in the element changed */\r\n Property = 0b1,\r\n /** The geometry stream of a [GeometricElement]($backend) changed */\r\n Geometry = 0b10,\r\n /** The [[Placement]] of a [GeometricElement]($backend) changed */\r\n Placement = 0b100,\r\n /** Indirect change occurred to this element by a related instance */\r\n Indirect = 0b1000,\r\n /** Hidden properties of the element changed */\r\n Hidden = 0b10000,\r\n}\r\n\r\n/** Changed elements found in a changeset or between a range of changesets.\r\n * All arrays in this object will have the same number of items.\r\n * Each index for those arrays refer to the same element, e.g. to get the class Id of\r\n * the element given by element Id changedElements.elements[index], you can use changedElements.classIds[index].\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ChangedElements {\r\n /** Ids of elements that changed */\r\n elements: Id64String[];\r\n /** ECClass Ids of elements that changed */\r\n classIds: Id64String[];\r\n /** Operation that occurred on the element. Whether the element was inserted, updated or deleted.\r\n * See [DbOpcode]($core-bentley)\r\n */\r\n opcodes: DbOpcode[];\r\n /** Type of change bitflags, see [[TypeOfChange]] */\r\n type: TypeOfChange[];\r\n /** Model Ids of the changed elements\r\n * This may be undefined if the agent that did the processing job did not export model Ids\r\n */\r\n modelIds?: Id64String[];\r\n /** Property accessor strings of properties that changed, if any, for each changed element\r\n * This may be undefined if the agent that did the processing job did not export properties\r\n */\r\n properties?: string[][];\r\n /** Before state checksums of the property value\r\n * Useful to determine if property values have changed\r\n * between the versions being inspected\r\n * This may be undefined if the agent that did the processing job did not export checksums\r\n */\r\n oldChecksums?: number[][];\r\n /** After state checksums of the property value\r\n * Useful to determine if property values have changed\r\n * between the versions being inspected\r\n * This may be undefined if the agent that did the processing job did not export checksums\r\n */\r\n newChecksums?: number[][];\r\n /**\r\n * Parent ids of the changed elements\r\n * Will be \"0\" if the element has no parent\r\n * This may be undefined if the agent that did the processing job did not export parent information\r\n */\r\n parentIds?: Id64String[];\r\n /**\r\n * Parent ECClass Ids of the changed elements\r\n * Will be \"0\" if the element has no parent\r\n * This may be undefined if the agent that did the processing job did not export parent information\r\n */\r\n parentClassIds?: Id64String[];\r\n}\r\n\r\n/** @internal */\r\nexport interface ChangedModels {\r\n modelIds: Id64String[];\r\n bboxes: AxisAlignedBox3dProps[];\r\n}\r\n\r\n/** @internal */\r\nexport interface ChangeData {\r\n changedElements: ChangedElements;\r\n changedModels: ChangedModels;\r\n}\r\n"]}
1
+ {"version":3,"file":"ChangedElements.js","sourceRoot":"","sources":["../../src/ChangedElements.ts"],"names":[],"mappings":";;;AAWA,uBAAuB;AAEvB;;;GAGG;AACH,IAAY,YAaX;AAbD,WAAY,YAAY;IACtB,wCAAwC;IACxC,uDAAc,CAAA;IACd,oEAAoE;IACpE,uDAAe,CAAA;IACf,kEAAkE;IAClE,yDAAiB,CAAA;IACjB,qEAAqE;IACrE,uDAAiB,CAAA;IACjB,+CAA+C;IAC/C,oDAAgB,CAAA;IAChB,qDAAqD;IACrD,oDAAiB,CAAA;AACnB,CAAC,EAbW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAavB","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 * @packageDocumentation\r\n * @module Entities\r\n */\r\nimport { DbOpcode, Id64String } from \"@itwin/core-bentley\";\r\nimport { AxisAlignedBox3dProps } from \"./geometry/Placement\";\r\n\r\n// cspell:ignore bboxes\r\n\r\n/** Bitflags describing which aspects of an [Element]($backend) changed as part of a [[ChangedElements]].\r\n * @public\r\n * @extensions\r\n */\r\nexport enum TypeOfChange {\r\n /** A property in the element changed */\r\n Property = 0b1,\r\n /** The geometry stream of a [GeometricElement]($backend) changed */\r\n Geometry = 0b10,\r\n /** The [[Placement]] of a [GeometricElement]($backend) changed */\r\n Placement = 0b100,\r\n /** Indirect change occurred to this element by a related instance */\r\n Indirect = 0b1000,\r\n /** Hidden properties of the element changed */\r\n Hidden = 0b10000,\r\n /** The top-most parent of the element has changed */\r\n Parent = 0b100000,\r\n}\r\n\r\n/** Changed elements found in a changeset or between a range of changesets.\r\n * All arrays in this object will have the same number of items.\r\n * Each index for those arrays refer to the same element, e.g. to get the class Id of\r\n * the element given by element Id changedElements.elements[index], you can use changedElements.classIds[index].\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ChangedElements {\r\n /** Ids of elements that changed */\r\n elements: Id64String[];\r\n /** ECClass Ids of elements that changed */\r\n classIds: Id64String[];\r\n /** Operation that occurred on the element. Whether the element was inserted, updated or deleted.\r\n * See [DbOpcode]($core-bentley)\r\n */\r\n opcodes: DbOpcode[];\r\n /** Type of change bitflags, see [[TypeOfChange]] */\r\n type: TypeOfChange[];\r\n /** Model Ids of the changed elements\r\n * This may be undefined if the agent that did the processing job did not export model Ids\r\n */\r\n modelIds?: Id64String[];\r\n /** Property accessor strings of properties that changed, if any, for each changed element\r\n * This may be undefined if the agent that did the processing job did not export properties\r\n */\r\n properties?: string[][];\r\n /** Before state checksums of the property value\r\n * Useful to determine if property values have changed\r\n * between the versions being inspected\r\n * This may be undefined if the agent that did the processing job did not export checksums\r\n */\r\n oldChecksums?: number[][];\r\n /** After state checksums of the property value\r\n * Useful to determine if property values have changed\r\n * between the versions being inspected\r\n * This may be undefined if the agent that did the processing job did not export checksums\r\n */\r\n newChecksums?: number[][];\r\n /**\r\n * Parent ids of the changed elements\r\n * Will be \"0\" if the element has no parent\r\n * This may be undefined if the agent that did the processing job did not export parent information\r\n */\r\n parentIds?: Id64String[];\r\n /**\r\n * Parent ECClass Ids of the changed elements\r\n * Will be \"0\" if the element has no parent\r\n * This may be undefined if the agent that did the processing job did not export parent information\r\n */\r\n parentClassIds?: Id64String[];\r\n}\r\n\r\n/** @internal */\r\nexport interface ChangedModels {\r\n modelIds: Id64String[];\r\n bboxes: AxisAlignedBox3dProps[];\r\n}\r\n\r\n/** @internal */\r\nexport interface ChangeData {\r\n changedElements: ChangedElements;\r\n changedModels: ChangedModels;\r\n}\r\n"]}
@@ -80,6 +80,12 @@ export interface BaseReaderOptions {
80
80
  usePrimaryConn?: boolean;
81
81
  /** Restrict time or memory for query but use as hint and may be changed base on backend settings */
82
82
  quota?: QueryQuota;
83
+ /**
84
+ * @internal
85
+ * Allow query to be be deferred by milliseconds specified. This parameter is ignore by default unless
86
+ * concurrent query is configure to honour it.
87
+ */
88
+ delay?: number;
83
89
  }
84
90
  /**
85
91
  * ECSql query config
@@ -122,44 +128,210 @@ export declare class QueryOptionsBuilder {
122
128
  private _options;
123
129
  constructor(_options?: QueryOptions);
124
130
  getOptions(): QueryOptions;
131
+ /**
132
+ * @internal
133
+ * Allow to set priority of query. Query will be inserted int queue base on priority value. This value will be ignored if concurrent query is configured with ignored priority is true.
134
+ * @param val integer value which can be negative as well. By default its zero.
135
+ * @returns @type QueryOptionsBuilder for fluent interface.
136
+ */
125
137
  setPriority(val: number): this;
138
+ /**
139
+ * Allow to set restart token. If restart token is set then any other query(s) in queue with same token is cancelled if its not already executed.
140
+ * @param val A string token identifying a use case in which previous query with same token is cancelled.
141
+ * @returns @type QueryOptionsBuilder for fluent interface.
142
+ */
126
143
  setRestartToken(val: string): this;
144
+ /**
145
+ * Allow to set quota restriction for query. Its a hint and may be overriden or ignored by concurrent query manager.
146
+ * @param val @type QueryQuota Specify time and memory that can be used by a query.
147
+ * @returns @type QueryOptionsBuilder for fluent interface.
148
+ */
127
149
  setQuota(val: QueryQuota): this;
150
+ /**
151
+ * Force a query to be executed synchronously against primary connection. This option is ignored if provided by frontend.
152
+ * @param val A boolean value to force use primary connection on main thread to execute query.
153
+ * @returns @type QueryOptionsBuilder for fluent interface.
154
+ */
128
155
  setUsePrimaryConnection(val: boolean): this;
156
+ /**
157
+ * By default all blobs are abbreviated to save memory and network bandwidth. If set to false, all blob data will be returned by query as is.
158
+ * Use @type BlobReader to access blob data more efficiently.
159
+ * @param val A boolean value, if set to false will return complete blob type property data. This could cost time and network bandwidth.
160
+ * @returns @type QueryOptionsBuilder for fluent interface.
161
+ */
129
162
  setAbbreviateBlobs(val: boolean): this;
163
+ /**
164
+ * When query fail to prepare it will log error. This setting will suppress log errors in case where query come from user typing it and its expected to fail often.
165
+ * @param val A boolean value, if set to true, any error logging will be suppressed.
166
+ * @returns @type QueryOptionsBuilder for fluent interface.
167
+ */
130
168
  setSuppressLogErrors(val: boolean): this;
169
+ /**
170
+ * If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
171
+ * @param val A boolean value.
172
+ * @returns @type QueryOptionsBuilder for fluent interface.
173
+ */
131
174
  setConvertClassIdsToNames(val: boolean): this;
175
+ /**
176
+ * Specify limit for query. Limit determine number of rows and offset in result-set.
177
+ * @param val Specify count and offset from within the result-set of a ECSQL query.
178
+ * @returns @type QueryOptionsBuilder for fluent interface.
179
+ */
132
180
  setLimit(val: QueryLimit): this;
181
+ /**
182
+ * Specify row format returned by concurrent query manager.
183
+ * @param val @enum QueryRowFormat specifying format for result.
184
+ * @returns @type QueryOptionsBuilder for fluent interface.
185
+ */
133
186
  setRowFormat(val: QueryRowFormat): this;
187
+ /**
188
+ * @internal
189
+ * Defers execution of query in queue by specified milliseconds. This parameter is ignored by default unless concurrent query is configure to not ignore it.
190
+ * @param val Number of milliseconds.
191
+ * @returns @type QueryOptionsBuilder for fluent interface.
192
+ */
193
+ setDelay(val: number): this;
134
194
  }
135
195
  /** @beta */
136
196
  export declare class BlobOptionsBuilder {
137
197
  private _options;
138
198
  constructor(_options?: BlobOptions);
139
199
  getOptions(): BlobOptions;
200
+ /**
201
+ * @internal
202
+ * Allow to set priority of blob request. Blob request will be inserted int queue base on priority value. This value will be ignored if concurrent query is configured with ignored priority is true.
203
+ * @param val integer value which can be negative as well. By default its zero.
204
+ * @returns @type BlobOptionsBuilder for fluent interface.
205
+ */
140
206
  setPriority(val: number): this;
207
+ /**
208
+ * Allow to set restart token. If restart token is set then any other blob request in queue with same token is cancelled if its not already executed.
209
+ * @param val A string token identifying a use case in which previous blob request with same token is cancelled.
210
+ * @returns @type BlobOptionsBuilder for fluent interface.
211
+ */
141
212
  setRestartToken(val: string): this;
213
+ /**
214
+ * Allow to set quota restriction for blob request. Its a hint and may be overriden or ignored by concurrent query manager.
215
+ * @param val @type QueryQuota Specify time and memory that can be used by a query.
216
+ * @returns @type BlobOptionsBuilder for fluent interface.
217
+ */
142
218
  setQuota(val: QueryQuota): this;
219
+ /**
220
+ * Force a blob request to be executed synchronously against primary connection. This option is ignored if provided by frontend.
221
+ * @param val A boolean value to force use primary connection on main thread to execute blob request.
222
+ * @returns @type BlobOptionsBuilder for fluent interface.
223
+ */
143
224
  setUsePrimaryConnection(val: boolean): this;
225
+ /**
226
+ * Specify range with in the blob that need to be returned.
227
+ * @param val Specify offset and count of bytes that need to be returned.
228
+ * @returns @type BlobOptionsBuilder for fluent interface.
229
+ */
144
230
  setRange(val: BlobRange): this;
231
+ /**
232
+ * @internal
233
+ * Defers execution of blob request in queue by specified milliseconds. This parameter is ignored by default unless concurrent query is configure to not ignore it.
234
+ * @param val Number of milliseconds.
235
+ * @returns @type BlobOptionsBuilder for fluent interface.
236
+ */
237
+ setDelay(val: number): this;
145
238
  }
146
- /** @public */
239
+ /**
240
+ * @public
241
+ * QueryBinder allow to bind values to a ECSQL query.
242
+ * */
147
243
  export declare class QueryBinder {
148
244
  private _args;
149
245
  private verify;
246
+ /**
247
+ * Bind boolean value to ECSQL statement.
248
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
249
+ * @param val Boolean value to bind to ECSQL statement.
250
+ * @returns @type QueryBinder to allow fluent interface.
251
+ */
150
252
  bindBoolean(indexOrName: string | number, val: boolean): this;
253
+ /**
254
+ * Bind blob value to ECSQL statement.
255
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
256
+ * @param val Blob value to bind to ECSQL statement.
257
+ * @returns @type QueryBinder to allow fluent interface.
258
+ */
151
259
  bindBlob(indexOrName: string | number, val: Uint8Array): this;
260
+ /**
261
+ * Bind double value to ECSQL statement.
262
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
263
+ * @param val Double value to bind to ECSQL statement.
264
+ * @returns @type QueryBinder to allow fluent interface.
265
+ */
152
266
  bindDouble(indexOrName: string | number, val: number): this;
267
+ /**
268
+ * Bind @typedef Id64String value to ECSQL statement.
269
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
270
+ * @param val @typedef Id64String value to bind to ECSQL statement.
271
+ * @returns @type QueryBinder to allow fluent interface.
272
+ */
153
273
  bindId(indexOrName: string | number, val: Id64String): this;
274
+ /**
275
+ * Bind @type OrderedId64Iterable to ECSQL statement.
276
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
277
+ * @param val @type OrderedId64Iterable value to bind to ECSQL statement.
278
+ * @returns @type QueryBinder to allow fluent interface.
279
+ */
154
280
  bindIdSet(indexOrName: string | number, val: OrderedId64Iterable): this;
281
+ /**
282
+ * Bind integer to ECSQL statement.
283
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
284
+ * @param val Integer value to bind to ECSQL statement.
285
+ * @returns @type QueryBinder to allow fluent interface.
286
+ */
155
287
  bindInt(indexOrName: string | number, val: number): this;
288
+ /**
289
+ * Bind struct to ECSQL statement. Struct specified as object.
290
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
291
+ * @param val struct value to bind to ECSQL statement.
292
+ * @returns @type QueryBinder to allow fluent interface.
293
+ */
156
294
  bindStruct(indexOrName: string | number, val: object): this;
295
+ /**
296
+ * Bind long to ECSQL statement.
297
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
298
+ * @param val Long value to bind to ECSQL statement.
299
+ * @returns @type QueryBinder to allow fluent interface.
300
+ */
157
301
  bindLong(indexOrName: string | number, val: number): this;
302
+ /**
303
+ * Bind string to ECSQL statement.
304
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
305
+ * @param val String value to bind to ECSQL statement.
306
+ * @returns @type QueryBinder to allow fluent interface.
307
+ */
158
308
  bindString(indexOrName: string | number, val: string): this;
309
+ /**
310
+ * Bind null to ECSQL statement.
311
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
312
+ * @returns @type QueryBinder to allow fluent interface.
313
+ */
159
314
  bindNull(indexOrName: string | number): this;
315
+ /**
316
+ * Bind @type Point2d to ECSQL statement.
317
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
318
+ * @param val @type Point2d value to bind to ECSQL statement.
319
+ * @returns @type QueryBinder to allow fluent interface.
320
+ */
160
321
  bindPoint2d(indexOrName: string | number, val: Point2d): this;
322
+ /**
323
+ * Bind @type Point3d to ECSQL statement.
324
+ * @param indexOrName Specify parameter index or its name used in ECSQL statement.
325
+ * @param val @type Point3d value to bind to ECSQL statement.
326
+ * @returns @type QueryBinder to allow fluent interface.
327
+ */
161
328
  bindPoint3d(indexOrName: string | number, val: Point3d): this;
162
329
  private static bind;
330
+ /**
331
+ * Allow bulk bind either parameters by index as value array or by parameter names as object.
332
+ * @param args if array of values is provided then array index is used as index. If object is provided then object property name is used as parameter name of reach value.
333
+ * @returns @type QueryBinder to allow fluent interface.
334
+ */
163
335
  static from(args: any[] | object | undefined): QueryBinder;
164
336
  serialize(): object;
165
337
  }
@@ -239,4 +411,12 @@ export declare class DbQueryError extends BentleyError {
239
411
  export interface DbRequestExecutor<TRequest extends DbRequest, TResponse extends DbResponse> {
240
412
  execute(request: TRequest): Promise<TResponse>;
241
413
  }
414
+ /** @internal */
415
+ export interface DbQueryConfig {
416
+ globalQuota?: QueryQuota;
417
+ ignoreDelay?: boolean;
418
+ ignorePriority?: boolean;
419
+ requestQueueSize?: number;
420
+ workerThreads?: number;
421
+ }
242
422
  //# sourceMappingURL=ConcurrentQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConcurrentQuery.d.ts","sourceRoot":"","sources":["../../src/ConcurrentQuery.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAqB,QAAQ,EAAQ,UAAU,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACvH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGxD;;;;;;GAMG;AACH,oBAAY,cAAc;IACxB;;OAEG;IACH,qBAAqB,IAAA;IACrB;;OAEG;IACH,uBAAuB,IAAA;IACvB;;OAEG;IACH,kBAAkB,IAAA;CACnB;AACD;;;;KAIK;AACL,MAAM,WAAW,UAAU;IACzB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,YAAY;AACZ,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,YAAY;AACZ,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AACD;;;;KAIK;AACL,MAAM,WAAW,UAAU;IACzB,uGAAuG;IACvG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,u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