@itwin/core-backend 4.8.0-dev.9 → 4.9.0-dev.2

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 (267) hide show
  1. package/CHANGELOG.md +45 -1
  2. package/lib/cjs/BackendHubAccess.d.ts +18 -16
  3. package/lib/cjs/BackendHubAccess.d.ts.map +1 -1
  4. package/lib/cjs/BackendHubAccess.js +16 -15
  5. package/lib/cjs/BackendHubAccess.js.map +1 -1
  6. package/lib/cjs/BackendLoggerCategory.js.map +1 -1
  7. package/lib/cjs/BisCoreSchema.js.map +1 -1
  8. package/lib/cjs/BlobContainerService.js.map +1 -1
  9. package/lib/cjs/BriefcaseManager.d.ts.map +1 -1
  10. package/lib/cjs/BriefcaseManager.js +19 -11
  11. package/lib/cjs/BriefcaseManager.js.map +1 -1
  12. package/lib/cjs/Category.d.ts +0 -6
  13. package/lib/cjs/Category.d.ts.map +1 -1
  14. package/lib/cjs/Category.js +0 -6
  15. package/lib/cjs/Category.js.map +1 -1
  16. package/lib/cjs/ChangeSummaryManager.d.ts.map +1 -1
  17. package/lib/cjs/ChangeSummaryManager.js +13 -11
  18. package/lib/cjs/ChangeSummaryManager.js.map +1 -1
  19. package/lib/cjs/ChangedElementsDb.d.ts.map +1 -1
  20. package/lib/cjs/ChangedElementsDb.js +5 -3
  21. package/lib/cjs/ChangedElementsDb.js.map +1 -1
  22. package/lib/cjs/ChangedElementsManager.js.map +1 -1
  23. package/lib/cjs/ChangesetECAdaptor.d.ts.map +1 -1
  24. package/lib/cjs/ChangesetECAdaptor.js +242 -237
  25. package/lib/cjs/ChangesetECAdaptor.js.map +1 -1
  26. package/lib/cjs/ChannelControl.d.ts +4 -26
  27. package/lib/cjs/ChannelControl.d.ts.map +1 -1
  28. package/lib/cjs/ChannelControl.js +2 -101
  29. package/lib/cjs/ChannelControl.js.map +1 -1
  30. package/lib/cjs/CheckpointManager.d.ts.map +1 -1
  31. package/lib/cjs/CheckpointManager.js +5 -3
  32. package/lib/cjs/CheckpointManager.js.map +1 -1
  33. package/lib/cjs/ClassRegistry.d.ts.map +1 -1
  34. package/lib/cjs/ClassRegistry.js +8 -7
  35. package/lib/cjs/ClassRegistry.js.map +1 -1
  36. package/lib/cjs/CloudSqlite.d.ts +1 -1
  37. package/lib/cjs/CloudSqlite.d.ts.map +1 -1
  38. package/lib/cjs/CloudSqlite.js +2 -2
  39. package/lib/cjs/CloudSqlite.js.map +1 -1
  40. package/lib/cjs/CodeService.js.map +1 -1
  41. package/lib/cjs/CodeSpecs.js.map +1 -1
  42. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  43. package/lib/cjs/CustomViewState3dCreator.js.map +1 -1
  44. package/lib/cjs/DevTools.d.ts.map +1 -1
  45. package/lib/cjs/DevTools.js +2 -1
  46. package/lib/cjs/DevTools.js.map +1 -1
  47. package/lib/cjs/DisplayStyle.d.ts +0 -3
  48. package/lib/cjs/DisplayStyle.d.ts.map +1 -1
  49. package/lib/cjs/DisplayStyle.js +0 -3
  50. package/lib/cjs/DisplayStyle.js.map +1 -1
  51. package/lib/cjs/ECDb.d.ts +6 -1
  52. package/lib/cjs/ECDb.d.ts.map +1 -1
  53. package/lib/cjs/ECDb.js +19 -14
  54. package/lib/cjs/ECDb.js.map +1 -1
  55. package/lib/cjs/ECSchemaXmlContext.js +2 -2
  56. package/lib/cjs/ECSchemaXmlContext.js.map +1 -1
  57. package/lib/cjs/ECSqlStatement.d.ts +6 -3
  58. package/lib/cjs/ECSqlStatement.d.ts.map +1 -1
  59. package/lib/cjs/ECSqlStatement.js +3 -3
  60. package/lib/cjs/ECSqlStatement.js.map +1 -1
  61. package/lib/cjs/Element.d.ts +2 -59
  62. package/lib/cjs/Element.d.ts.map +1 -1
  63. package/lib/cjs/Element.js +7 -63
  64. package/lib/cjs/Element.js.map +1 -1
  65. package/lib/cjs/ElementAspect.d.ts +0 -5
  66. package/lib/cjs/ElementAspect.d.ts.map +1 -1
  67. package/lib/cjs/ElementAspect.js +4 -8
  68. package/lib/cjs/ElementAspect.js.map +1 -1
  69. package/lib/cjs/ElementGraphics.d.ts.map +1 -1
  70. package/lib/cjs/ElementGraphics.js +2 -1
  71. package/lib/cjs/ElementGraphics.js.map +1 -1
  72. package/lib/cjs/ElementTreeWalker.d.ts +19 -0
  73. package/lib/cjs/ElementTreeWalker.d.ts.map +1 -1
  74. package/lib/cjs/ElementTreeWalker.js +23 -9
  75. package/lib/cjs/ElementTreeWalker.js.map +1 -1
  76. package/lib/cjs/Entity.js.map +1 -1
  77. package/lib/cjs/EntityReferences.js.map +1 -1
  78. package/lib/cjs/ExportGraphics.js.map +1 -1
  79. package/lib/cjs/ExternalSource.js.map +1 -1
  80. package/lib/cjs/GeoCoordConfig.d.ts.map +1 -1
  81. package/lib/cjs/GeoCoordConfig.js +2 -1
  82. package/lib/cjs/GeoCoordConfig.js.map +1 -1
  83. package/lib/cjs/GeographicCRSServices.js +2 -2
  84. package/lib/cjs/GeographicCRSServices.js.map +1 -1
  85. package/lib/cjs/GeometrySummary.d.ts.map +1 -1
  86. package/lib/cjs/GeometrySummary.js +49 -48
  87. package/lib/cjs/GeometrySummary.js.map +1 -1
  88. package/lib/cjs/HubMock.js.map +1 -1
  89. package/lib/cjs/IModelCloneContext.js.map +1 -1
  90. package/lib/cjs/IModelDb.d.ts +24 -94
  91. package/lib/cjs/IModelDb.d.ts.map +1 -1
  92. package/lib/cjs/IModelDb.js +196 -151
  93. package/lib/cjs/IModelDb.js.map +1 -1
  94. package/lib/cjs/IModelElementCloneContext.d.ts.map +1 -1
  95. package/lib/cjs/IModelElementCloneContext.js +5 -4
  96. package/lib/cjs/IModelElementCloneContext.js.map +1 -1
  97. package/lib/cjs/IModelHost.d.ts +5 -3
  98. package/lib/cjs/IModelHost.d.ts.map +1 -1
  99. package/lib/cjs/IModelHost.js +16 -18
  100. package/lib/cjs/IModelHost.js.map +1 -1
  101. package/lib/cjs/IModelJsFs.js.map +1 -1
  102. package/lib/cjs/IpcHost.d.ts.map +1 -1
  103. package/lib/cjs/IpcHost.js +15 -13
  104. package/lib/cjs/IpcHost.js.map +1 -1
  105. package/lib/cjs/LineStyle.js.map +1 -1
  106. package/lib/cjs/LocalHub.d.ts +2 -2
  107. package/lib/cjs/LocalHub.d.ts.map +1 -1
  108. package/lib/cjs/LocalHub.js +18 -18
  109. package/lib/cjs/LocalHub.js.map +1 -1
  110. package/lib/cjs/LocalhostIpcHost.js.map +1 -1
  111. package/lib/cjs/LockControl.d.ts +73 -0
  112. package/lib/cjs/LockControl.d.ts.map +1 -0
  113. package/lib/cjs/LockControl.js +11 -0
  114. package/lib/cjs/LockControl.js.map +1 -0
  115. package/lib/cjs/Material.d.ts +2 -5
  116. package/lib/cjs/Material.d.ts.map +1 -1
  117. package/lib/cjs/Material.js +1 -4
  118. package/lib/cjs/Material.js.map +1 -1
  119. package/lib/cjs/Model.d.ts +0 -22
  120. package/lib/cjs/Model.d.ts.map +1 -1
  121. package/lib/cjs/Model.js +5 -26
  122. package/lib/cjs/Model.js.map +1 -1
  123. package/lib/cjs/NativeAppStorage.js.map +1 -1
  124. package/lib/cjs/NativeHost.js.map +1 -1
  125. package/lib/cjs/NavigationRelationship.js.map +1 -1
  126. package/lib/cjs/PromiseMemoizer.js.map +1 -1
  127. package/lib/cjs/PropertyStore.js.map +1 -1
  128. package/lib/cjs/Relationship.d.ts +0 -12
  129. package/lib/cjs/Relationship.d.ts.map +1 -1
  130. package/lib/cjs/Relationship.js +5 -16
  131. package/lib/cjs/Relationship.js.map +1 -1
  132. package/lib/cjs/RpcBackend.js.map +1 -1
  133. package/lib/cjs/SQLiteDb.d.ts +6 -1
  134. package/lib/cjs/SQLiteDb.d.ts.map +1 -1
  135. package/lib/cjs/SQLiteDb.js +23 -16
  136. package/lib/cjs/SQLiteDb.js.map +1 -1
  137. package/lib/cjs/Schema.js.map +1 -1
  138. package/lib/cjs/SchemaSync.d.ts +3 -0
  139. package/lib/cjs/SchemaSync.d.ts.map +1 -1
  140. package/lib/cjs/SchemaSync.js +24 -11
  141. package/lib/cjs/SchemaSync.js.map +1 -1
  142. package/lib/cjs/SchemaUtils.js +3 -3
  143. package/lib/cjs/SchemaUtils.js.map +1 -1
  144. package/lib/cjs/SqliteChangesetReader.d.ts.map +1 -1
  145. package/lib/cjs/SqliteChangesetReader.js +2 -2
  146. package/lib/cjs/SqliteChangesetReader.js.map +1 -1
  147. package/lib/cjs/SqliteStatement.js +2 -2
  148. package/lib/cjs/SqliteStatement.js.map +1 -1
  149. package/lib/cjs/TextAnnotationElement.js.map +1 -1
  150. package/lib/cjs/TextAnnotationGeometry.js.map +1 -1
  151. package/lib/cjs/TextAnnotationLayout.js.map +1 -1
  152. package/lib/cjs/Texture.js.map +1 -1
  153. package/lib/cjs/TileStorage.js.map +1 -1
  154. package/lib/cjs/TxnManager.d.ts +2 -1
  155. package/lib/cjs/TxnManager.d.ts.map +1 -1
  156. package/lib/cjs/TxnManager.js +4 -2
  157. package/lib/cjs/TxnManager.js.map +1 -1
  158. package/lib/cjs/ViewDefinition.d.ts +1 -18
  159. package/lib/cjs/ViewDefinition.d.ts.map +1 -1
  160. package/lib/cjs/ViewDefinition.js +1 -18
  161. package/lib/cjs/ViewDefinition.js.map +1 -1
  162. package/lib/cjs/ViewStateHydrator.js.map +1 -1
  163. package/lib/cjs/ViewStore.d.ts.map +1 -1
  164. package/lib/cjs/ViewStore.js +6 -5
  165. package/lib/cjs/ViewStore.js.map +1 -1
  166. package/lib/cjs/assets/IModelChange.02.00.00.ecschema.xml +90 -90
  167. package/lib/cjs/assets/Settings/Schemas/Base.Schema.json +32 -32
  168. package/lib/cjs/assets/Settings/Schemas/Gcs.schema.json +27 -27
  169. package/lib/cjs/assets/Settings/Schemas/Workspace.Schema.json +94 -94
  170. package/lib/cjs/assets/Settings/backend.setting.json5 +21 -21
  171. package/lib/cjs/core-backend.d.ts +2 -1
  172. package/lib/cjs/core-backend.d.ts.map +1 -1
  173. package/lib/cjs/core-backend.js +3 -5
  174. package/lib/cjs/core-backend.js.map +1 -1
  175. package/lib/cjs/domains/FunctionalElements.d.ts +0 -10
  176. package/lib/cjs/domains/FunctionalElements.d.ts.map +1 -1
  177. package/lib/cjs/domains/FunctionalElements.js +0 -10
  178. package/lib/cjs/domains/FunctionalElements.js.map +1 -1
  179. package/lib/cjs/domains/FunctionalSchema.d.ts.map +1 -1
  180. package/lib/cjs/domains/FunctionalSchema.js +2 -1
  181. package/lib/cjs/domains/FunctionalSchema.js.map +1 -1
  182. package/lib/cjs/domains/GenericElements.d.ts +0 -18
  183. package/lib/cjs/domains/GenericElements.d.ts.map +1 -1
  184. package/lib/cjs/domains/GenericElements.js +0 -18
  185. package/lib/cjs/domains/GenericElements.js.map +1 -1
  186. package/lib/cjs/domains/GenericSchema.js.map +1 -1
  187. package/lib/cjs/internal/ChangesetConflictArgs.d.ts +24 -0
  188. package/lib/cjs/internal/ChangesetConflictArgs.d.ts.map +1 -0
  189. package/lib/cjs/internal/ChangesetConflictArgs.js +7 -0
  190. package/lib/cjs/internal/ChangesetConflictArgs.js.map +1 -0
  191. package/lib/cjs/internal/ChannelAdmin.d.ts +34 -0
  192. package/lib/cjs/internal/ChannelAdmin.d.ts.map +1 -0
  193. package/lib/cjs/internal/ChannelAdmin.js +117 -0
  194. package/lib/cjs/internal/ChannelAdmin.js.map +1 -0
  195. package/lib/cjs/internal/NativePlatform.d.ts +15 -0
  196. package/lib/cjs/internal/NativePlatform.d.ts.map +1 -0
  197. package/lib/cjs/internal/NativePlatform.js +49 -0
  198. package/lib/cjs/internal/NativePlatform.js.map +1 -0
  199. package/lib/cjs/internal/NoLocks.d.ts +6 -0
  200. package/lib/cjs/internal/NoLocks.d.ts.map +1 -0
  201. package/lib/cjs/internal/NoLocks.js +31 -0
  202. package/lib/cjs/internal/NoLocks.js.map +1 -0
  203. package/lib/cjs/{ServerBasedLocks.d.ts → internal/ServerBasedLocks.d.ts} +10 -16
  204. package/lib/cjs/internal/ServerBasedLocks.d.ts.map +1 -0
  205. package/lib/cjs/{ServerBasedLocks.js → internal/ServerBasedLocks.js} +29 -18
  206. package/lib/cjs/internal/ServerBasedLocks.js.map +1 -0
  207. package/lib/cjs/internal/Symbols.d.ts +11 -0
  208. package/lib/cjs/internal/Symbols.d.ts.map +1 -0
  209. package/lib/cjs/internal/Symbols.js +21 -0
  210. package/lib/cjs/internal/Symbols.js.map +1 -0
  211. package/lib/cjs/internal/cross-package.d.ts +4 -0
  212. package/lib/cjs/internal/cross-package.d.ts.map +1 -0
  213. package/lib/cjs/internal/cross-package.js +16 -0
  214. package/lib/cjs/internal/cross-package.js.map +1 -0
  215. package/lib/cjs/internal/workspace/SettingsImpl.d.ts +2 -2
  216. package/lib/cjs/internal/workspace/SettingsImpl.d.ts.map +1 -1
  217. package/lib/cjs/internal/workspace/SettingsImpl.js +3 -3
  218. package/lib/cjs/internal/workspace/SettingsImpl.js.map +1 -1
  219. package/lib/cjs/internal/workspace/SettingsSchemasImpl.js +2 -2
  220. package/lib/cjs/internal/workspace/SettingsSchemasImpl.js.map +1 -1
  221. package/lib/cjs/internal/workspace/WorkspaceImpl.d.ts.map +1 -1
  222. package/lib/cjs/internal/workspace/WorkspaceImpl.js +31 -27
  223. package/lib/cjs/internal/workspace/WorkspaceImpl.js.map +1 -1
  224. package/lib/cjs/internal/workspace/WorkspaceSqliteDb.d.ts.map +1 -1
  225. package/lib/cjs/internal/workspace/WorkspaceSqliteDb.js +2 -1
  226. package/lib/cjs/internal/workspace/WorkspaceSqliteDb.js.map +1 -1
  227. package/lib/cjs/rpc/multipart.js.map +1 -1
  228. package/lib/cjs/rpc/tracing.d.ts.map +1 -1
  229. package/lib/cjs/rpc/tracing.js +5 -2
  230. package/lib/cjs/rpc/tracing.js.map +1 -1
  231. package/lib/cjs/rpc/web/logging.js.map +1 -1
  232. package/lib/cjs/rpc/web/request.js.map +1 -1
  233. package/lib/cjs/rpc/web/response.js.map +1 -1
  234. package/lib/cjs/rpc-impl/DevToolsRpcImpl.js.map +1 -1
  235. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts +1 -0
  236. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts.map +1 -1
  237. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js +9 -4
  238. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
  239. package/lib/cjs/rpc-impl/IModelTileRpcImpl.d.ts.map +1 -1
  240. package/lib/cjs/rpc-impl/IModelTileRpcImpl.js +5 -3
  241. package/lib/cjs/rpc-impl/IModelTileRpcImpl.js.map +1 -1
  242. package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
  243. package/lib/cjs/rpc-impl/SnapshotIModelRpcImpl.js.map +1 -1
  244. package/lib/cjs/rpc-impl/WipRpcImpl.js.map +1 -1
  245. package/lib/cjs/workspace/Settings.d.ts +3 -3
  246. package/lib/cjs/workspace/Settings.d.ts.map +1 -1
  247. package/lib/cjs/workspace/Settings.js +1 -1
  248. package/lib/cjs/workspace/Settings.js.map +1 -1
  249. package/lib/cjs/workspace/SettingsSchemas.d.ts +2 -2
  250. package/lib/cjs/workspace/SettingsSchemas.d.ts.map +1 -1
  251. package/lib/cjs/workspace/SettingsSchemas.js +1 -1
  252. package/lib/cjs/workspace/SettingsSchemas.js.map +1 -1
  253. package/lib/cjs/workspace/Workspace.d.ts +4 -4
  254. package/lib/cjs/workspace/Workspace.d.ts.map +1 -1
  255. package/lib/cjs/workspace/Workspace.js +1 -1
  256. package/lib/cjs/workspace/Workspace.js.map +1 -1
  257. package/lib/cjs/workspace/WorkspaceEditor.d.ts +2 -2
  258. package/lib/cjs/workspace/WorkspaceEditor.d.ts.map +1 -1
  259. package/lib/cjs/workspace/WorkspaceEditor.js +1 -1
  260. package/lib/cjs/workspace/WorkspaceEditor.js.map +1 -1
  261. package/package.json +13 -13
  262. package/lib/cjs/ServerBasedLocks.d.ts.map +0 -1
  263. package/lib/cjs/ServerBasedLocks.js.map +0 -1
  264. package/lib/cjs/internal/ImplementationProhibited.d.ts +0 -44
  265. package/lib/cjs/internal/ImplementationProhibited.d.ts.map +0 -1
  266. package/lib/cjs/internal/ImplementationProhibited.js +0 -51
  267. package/lib/cjs/internal/ImplementationProhibited.js.map +0 -1
@@ -16,6 +16,7 @@ const core_geometry_1 = require("@itwin/core-geometry");
16
16
  const Entity_1 = require("./Entity");
17
17
  const Model_1 = require("./Model");
18
18
  const NavigationRelationship_1 = require("./NavigationRelationship");
19
+ const Symbols_1 = require("./internal/Symbols");
19
20
  /** The smallest individually identifiable building block for modeling the real world in an iModel.
20
21
  * Each element represents an [[Entity]] in the real world. Sets of Elements (contained in [[Model]]s) are used to model
21
22
  * other Elements that represent larger scale real world entities. Using this recursive modeling strategy,
@@ -41,7 +42,6 @@ const NavigationRelationship_1 = require("./NavigationRelationship");
41
42
  * @public
42
43
  */
43
44
  class Element extends Entity_1.Entity {
44
- /** @internal */
45
45
  static get className() { return "Element"; }
46
46
  /** @internal */
47
47
  static get protectedOperations() { return ["onInsert", "onUpdate", "onDelete"]; }
@@ -63,7 +63,7 @@ class Element extends Entity_1.Entity {
63
63
  static onInsert(arg) {
64
64
  const { iModel, props } = arg;
65
65
  const operation = "insert";
66
- iModel.channels.verifyChannel(arg.props.model);
66
+ iModel.channels[Symbols_1._verifyChannel](arg.props.model);
67
67
  iModel.locks.checkSharedLock(props.model, "model", operation); // inserting requires shared lock on model
68
68
  if (props.parent) // inserting requires shared lock on parent, if present
69
69
  iModel.locks.checkSharedLock(props.parent.id, "parent", operation);
@@ -77,7 +77,7 @@ class Element extends Entity_1.Entity {
77
77
  static onInserted(arg) {
78
78
  const locks = arg.iModel.locks;
79
79
  if (locks && !locks.holdsExclusiveLock(arg.model))
80
- locks.elementWasCreated(arg.id);
80
+ locks[Symbols_1._elementWasCreated](arg.id);
81
81
  }
82
82
  /** Called before an Element is updated.
83
83
  * @note throw an exception to disallow the update
@@ -87,7 +87,7 @@ class Element extends Entity_1.Entity {
87
87
  */
88
88
  static onUpdate(arg) {
89
89
  const { iModel, props } = arg;
90
- iModel.channels.verifyChannel(props.model);
90
+ iModel.channels[Symbols_1._verifyChannel](props.model);
91
91
  iModel.locks.checkExclusiveLock(props.id, "element", "update"); // eslint-disable-line @typescript-eslint/no-non-null-assertion
92
92
  iModel.codeService?.verifyCode(arg);
93
93
  }
@@ -104,7 +104,7 @@ class Element extends Entity_1.Entity {
104
104
  * @beta
105
105
  */
106
106
  static onDelete(arg) {
107
- arg.iModel.channels.verifyChannel(arg.model);
107
+ arg.iModel.channels[Symbols_1._verifyChannel](arg.model);
108
108
  arg.iModel.locks.checkExclusiveLock(arg.id, "element", "delete");
109
109
  }
110
110
  /** Called after an Element was deleted.
@@ -327,7 +327,6 @@ Element.requiredReferenceKeyTypeMap = {
327
327
  * @public
328
328
  */
329
329
  class GeometricElement extends (_b = Element) {
330
- /** @internal */
331
330
  static get className() { return "GeometricElement"; }
332
331
  constructor(props, iModel) {
333
332
  super(props, iModel);
@@ -368,7 +367,6 @@ GeometricElement.requiredReferenceKeyTypeMap = {
368
367
  * @public
369
368
  */
370
369
  class GeometricElement3d extends GeometricElement {
371
- /** @internal */
372
370
  static get className() { return "GeometricElement3d"; }
373
371
  constructor(props, iModel) {
374
372
  super(props, iModel);
@@ -394,7 +392,6 @@ exports.GeometricElement3d = GeometricElement3d;
394
392
  * @public
395
393
  */
396
394
  class GraphicalElement3d extends GeometricElement3d {
397
- /** @internal */
398
395
  static get className() { return "GraphicalElement3d"; }
399
396
  constructor(props, iModel) { super(props, iModel); }
400
397
  }
@@ -403,7 +400,6 @@ exports.GraphicalElement3d = GraphicalElement3d;
403
400
  * @public
404
401
  */
405
402
  class GeometricElement2d extends GeometricElement {
406
- /** @internal */
407
403
  static get className() { return "GeometricElement2d"; }
408
404
  constructor(props, iModel) {
409
405
  super(props, iModel);
@@ -429,7 +425,6 @@ exports.GeometricElement2d = GeometricElement2d;
429
425
  * @public
430
426
  */
431
427
  class GraphicalElement2d extends GeometricElement2d {
432
- /** @internal */
433
428
  static get className() { return "GraphicalElement2d"; }
434
429
  constructor(props, iModel) { super(props, iModel); }
435
430
  }
@@ -438,7 +433,6 @@ exports.GraphicalElement2d = GraphicalElement2d;
438
433
  * @public
439
434
  */
440
435
  class AnnotationElement2d extends GraphicalElement2d {
441
- /** @internal */
442
436
  static get className() { return "AnnotationElement2d"; }
443
437
  constructor(props, iModel) { super(props, iModel); }
444
438
  }
@@ -447,7 +441,6 @@ exports.AnnotationElement2d = AnnotationElement2d;
447
441
  * @public
448
442
  */
449
443
  class DrawingGraphic extends GraphicalElement2d {
450
- /** @internal */
451
444
  static get className() { return "DrawingGraphic"; }
452
445
  constructor(props, iModel) { super(props, iModel); }
453
446
  }
@@ -456,7 +449,6 @@ exports.DrawingGraphic = DrawingGraphic;
456
449
  * @public
457
450
  */
458
451
  class SpatialElement extends GeometricElement3d {
459
- /** @internal */
460
452
  static get className() { return "SpatialElement"; }
461
453
  constructor(props, iModel) { super(props, iModel); }
462
454
  }
@@ -465,7 +457,6 @@ exports.SpatialElement = SpatialElement;
465
457
  * @public
466
458
  */
467
459
  class PhysicalElement extends SpatialElement {
468
- /** @internal */
469
460
  static get className() { return "PhysicalElement"; }
470
461
  constructor(props, iModel) {
471
462
  super(props, iModel);
@@ -482,7 +473,6 @@ exports.PhysicalElement = PhysicalElement;
482
473
  * @public
483
474
  */
484
475
  class SpatialLocationElement extends SpatialElement {
485
- /** @internal */
486
476
  static get className() { return "SpatialLocationElement"; }
487
477
  constructor(props, iModel) { super(props, iModel); }
488
478
  }
@@ -491,7 +481,6 @@ exports.SpatialLocationElement = SpatialLocationElement;
491
481
  * @public
492
482
  */
493
483
  class VolumeElement extends SpatialLocationElement {
494
- /** @internal */
495
484
  static get className() { return "VolumeElement"; }
496
485
  constructor(props, iModel) { super(props, iModel); }
497
486
  }
@@ -502,7 +491,6 @@ exports.VolumeElement = VolumeElement;
502
491
  * @public
503
492
  */
504
493
  class SectionDrawingLocation extends SpatialLocationElement {
505
- /** @internal */
506
494
  static get className() { return "SectionDrawingLocation"; }
507
495
  constructor(props, iModel) {
508
496
  super(props, iModel);
@@ -522,7 +510,6 @@ exports.SectionDrawingLocation = SectionDrawingLocation;
522
510
  * @public
523
511
  */
524
512
  class InformationContentElement extends Element {
525
- /** @internal */
526
513
  static get className() { return "InformationContentElement"; }
527
514
  constructor(props, iModel) { super(props, iModel); }
528
515
  }
@@ -532,7 +519,6 @@ exports.InformationContentElement = InformationContentElement;
532
519
  * @beta
533
520
  */
534
521
  class DriverBundleElement extends InformationContentElement {
535
- /** @internal */
536
522
  static get className() { return "DriverBundleElement"; }
537
523
  constructor(props, iModel) { super(props, iModel); }
538
524
  }
@@ -541,7 +527,6 @@ exports.DriverBundleElement = DriverBundleElement;
541
527
  * @public
542
528
  */
543
529
  class InformationReferenceElement extends InformationContentElement {
544
- /** @internal */
545
530
  static get className() { return "InformationReferenceElement"; }
546
531
  constructor(props, iModel) { super(props, iModel); }
547
532
  }
@@ -551,7 +536,6 @@ exports.InformationReferenceElement = InformationReferenceElement;
551
536
  * @public
552
537
  */
553
538
  class Subject extends InformationReferenceElement {
554
- /** @internal */
555
539
  static get className() { return "Subject"; }
556
540
  constructor(props, iModel) { super(props, iModel); }
557
541
  toJSON() {
@@ -606,7 +590,6 @@ exports.Subject = Subject;
606
590
  * @public
607
591
  */
608
592
  class Document extends InformationContentElement {
609
- /** @internal */
610
593
  static get className() { return "Document"; }
611
594
  constructor(props, iModel) { super(props, iModel); }
612
595
  }
@@ -615,12 +598,9 @@ exports.Document = Document;
615
598
  * @public
616
599
  */
617
600
  class Drawing extends Document {
618
- /** @internal */
619
601
  static get className() { return "Drawing"; }
620
602
  constructor(props, iModel) { super(props, iModel); }
621
- /** The name of the DrawingModel class modeled by this element type.
622
- * @internal
623
- */
603
+ /** The name of the DrawingModel class modeled by this element type. */
624
604
  static get drawingModelFullClassName() { return Model_1.DrawingModel.classFullName; }
625
605
  /** Create a Code for a Drawing given a name that is meant to be unique within the scope of the specified DocumentListModel.
626
606
  * @param iModel The IModelDb
@@ -659,9 +639,7 @@ exports.Drawing = Drawing;
659
639
  * @public
660
640
  */
661
641
  class SectionDrawing extends Drawing {
662
- /** @internal */
663
642
  static get className() { return "SectionDrawing"; }
664
- /** @internal */
665
643
  static get drawingModelFullClassName() { return Model_1.SectionDrawingModel.classFullName; }
666
644
  constructor(props, iModel) {
667
645
  super(props, iModel);
@@ -698,7 +676,6 @@ exports.SectionDrawing = SectionDrawing;
698
676
  * @public
699
677
  */
700
678
  class SheetBorderTemplate extends Document {
701
- /** @internal */
702
679
  static get className() { return "SheetBorderTemplate"; }
703
680
  constructor(props, iModel) { super(props, iModel); }
704
681
  }
@@ -707,7 +684,6 @@ exports.SheetBorderTemplate = SheetBorderTemplate;
707
684
  * @public
708
685
  */
709
686
  class SheetTemplate extends Document {
710
- /** @internal */
711
687
  static get className() { return "SheetTemplate"; }
712
688
  constructor(props, iModel) { super(props, iModel); }
713
689
  collectReferenceIds(referenceIds) {
@@ -721,7 +697,6 @@ exports.SheetTemplate = SheetTemplate;
721
697
  * @public
722
698
  */
723
699
  class Sheet extends Document {
724
- /** @internal */
725
700
  static get className() { return "Sheet"; }
726
701
  constructor(props, iModel) {
727
702
  super(props, iModel);
@@ -751,7 +726,6 @@ exports.Sheet = Sheet;
751
726
  * @public
752
727
  */
753
728
  class InformationRecordElement extends InformationContentElement {
754
- /** @internal */
755
729
  static get className() { return "InformationRecordElement"; }
756
730
  constructor(props, iModel) { super(props, iModel); }
757
731
  }
@@ -760,7 +734,6 @@ exports.InformationRecordElement = InformationRecordElement;
760
734
  * @public
761
735
  */
762
736
  class DefinitionElement extends InformationContentElement {
763
- /** @internal */
764
737
  static get className() { return "DefinitionElement"; }
765
738
  constructor(props, iModel) {
766
739
  super(props, iModel);
@@ -778,7 +751,6 @@ exports.DefinitionElement = DefinitionElement;
778
751
  * @public
779
752
  */
780
753
  class DefinitionSet extends DefinitionElement {
781
- /** @internal */
782
754
  static get className() { return "DefinitionSet"; }
783
755
  }
784
756
  exports.DefinitionSet = DefinitionSet;
@@ -787,7 +759,6 @@ exports.DefinitionSet = DefinitionSet;
787
759
  * @public
788
760
  */
789
761
  class DefinitionContainer extends DefinitionSet {
790
- /** @internal */
791
762
  static get className() { return "DefinitionContainer"; }
792
763
  /** Create a DefinitionContainer
793
764
  * @param iModelDb The IModelDb
@@ -834,7 +805,6 @@ exports.DefinitionContainer = DefinitionContainer;
834
805
  * @public
835
806
  */
836
807
  class DefinitionGroup extends DefinitionSet {
837
- /** @internal */
838
808
  static get className() { return "DefinitionGroup"; }
839
809
  /** Create a DefinitionGroup
840
810
  * @param iModelDb The IModelDb
@@ -860,7 +830,6 @@ exports.DefinitionGroup = DefinitionGroup;
860
830
  * @public
861
831
  */
862
832
  class TypeDefinitionElement extends DefinitionElement {
863
- /** @internal */
864
833
  static get className() { return "TypeDefinitionElement"; }
865
834
  constructor(props, iModel) { super(props, iModel); }
866
835
  collectReferenceIds(referenceIds) {
@@ -874,7 +843,6 @@ exports.TypeDefinitionElement = TypeDefinitionElement;
874
843
  * @beta
875
844
  */
876
845
  class RecipeDefinitionElement extends DefinitionElement {
877
- /** @internal */
878
846
  static get className() { return "RecipeDefinitionElement"; }
879
847
  constructor(props, iModel) { super(props, iModel); }
880
848
  }
@@ -885,7 +853,6 @@ exports.RecipeDefinitionElement = RecipeDefinitionElement;
885
853
  * @public
886
854
  */
887
855
  class PhysicalType extends TypeDefinitionElement {
888
- /** @internal */
889
856
  static get className() { return "PhysicalType"; }
890
857
  constructor(props, iModel) {
891
858
  super(props, iModel);
@@ -911,7 +878,6 @@ exports.PhysicalType = PhysicalType;
911
878
  * @public
912
879
  */
913
880
  class SpatialLocationType extends TypeDefinitionElement {
914
- /** @internal */
915
881
  static get className() { return "SpatialLocationType"; }
916
882
  constructor(props, iModel) { super(props, iModel); }
917
883
  /** Create a Code for a SpatialLocationType element given a name that is meant to be unique within the scope of the specified DefinitionModel.
@@ -929,7 +895,6 @@ exports.SpatialLocationType = SpatialLocationType;
929
895
  * @beta
930
896
  */
931
897
  class TemplateRecipe3d extends RecipeDefinitionElement {
932
- /** @internal */
933
898
  static get className() { return "TemplateRecipe3d"; }
934
899
  constructor(props, iModel) { super(props, iModel); }
935
900
  /** Create a Code for a TemplateRecipe3d given a name that is meant to be unique within the scope of its Model.
@@ -980,7 +945,6 @@ exports.TemplateRecipe3d = TemplateRecipe3d;
980
945
  * @public
981
946
  */
982
947
  class GraphicalType2d extends TypeDefinitionElement {
983
- /** @internal */
984
948
  static get className() { return "GraphicalType2d"; }
985
949
  constructor(props, iModel) { super(props, iModel); }
986
950
  /** Create a Code for a GraphicalType2d element given a name that is meant to be unique within the scope of the specified DefinitionModel.
@@ -998,7 +962,6 @@ exports.GraphicalType2d = GraphicalType2d;
998
962
  * @beta
999
963
  */
1000
964
  class TemplateRecipe2d extends RecipeDefinitionElement {
1001
- /** @internal */
1002
965
  static get className() { return "TemplateRecipe2d"; }
1003
966
  constructor(props, iModel) { super(props, iModel); }
1004
967
  /** Create a Code for a TemplateRecipe2d given a name that is meant to be unique within the scope of its Model.
@@ -1051,7 +1014,6 @@ exports.TemplateRecipe2d = TemplateRecipe2d;
1051
1014
  * @public
1052
1015
  */
1053
1016
  class InformationPartitionElement extends InformationContentElement {
1054
- /** @internal */
1055
1017
  static get className() { return "InformationPartitionElement"; }
1056
1018
  constructor(props, iModel) { super(props, iModel); }
1057
1019
  toJSON() {
@@ -1074,7 +1036,6 @@ exports.InformationPartitionElement = InformationPartitionElement;
1074
1036
  * @public
1075
1037
  */
1076
1038
  class DefinitionPartition extends InformationPartitionElement {
1077
- /** @internal */
1078
1039
  static get className() { return "DefinitionPartition"; }
1079
1040
  }
1080
1041
  exports.DefinitionPartition = DefinitionPartition;
@@ -1084,7 +1045,6 @@ exports.DefinitionPartition = DefinitionPartition;
1084
1045
  * @public
1085
1046
  */
1086
1047
  class DocumentPartition extends InformationPartitionElement {
1087
- /** @internal */
1088
1048
  static get className() { return "DocumentPartition"; }
1089
1049
  }
1090
1050
  exports.DocumentPartition = DocumentPartition;
@@ -1094,7 +1054,6 @@ exports.DocumentPartition = DocumentPartition;
1094
1054
  * @public
1095
1055
  */
1096
1056
  class GroupInformationPartition extends InformationPartitionElement {
1097
- /** @internal */
1098
1057
  static get className() { return "GroupInformationPartition"; }
1099
1058
  }
1100
1059
  exports.GroupInformationPartition = GroupInformationPartition;
@@ -1105,7 +1064,6 @@ exports.GroupInformationPartition = GroupInformationPartition;
1105
1064
  * @public
1106
1065
  */
1107
1066
  class GraphicalPartition3d extends InformationPartitionElement {
1108
- /** @internal */
1109
1067
  static get className() { return "GraphicalPartition3d"; }
1110
1068
  }
1111
1069
  exports.GraphicalPartition3d = GraphicalPartition3d;
@@ -1115,7 +1073,6 @@ exports.GraphicalPartition3d = GraphicalPartition3d;
1115
1073
  * @public
1116
1074
  */
1117
1075
  class InformationRecordPartition extends InformationPartitionElement {
1118
- /** @internal */
1119
1076
  static get className() { return "InformationRecordPartition"; }
1120
1077
  }
1121
1078
  exports.InformationRecordPartition = InformationRecordPartition;
@@ -1124,7 +1081,6 @@ exports.InformationRecordPartition = InformationRecordPartition;
1124
1081
  * @public
1125
1082
  */
1126
1083
  class LinkPartition extends InformationPartitionElement {
1127
- /** @internal */
1128
1084
  static get className() { return "LinkPartition"; }
1129
1085
  }
1130
1086
  exports.LinkPartition = LinkPartition;
@@ -1133,7 +1089,6 @@ exports.LinkPartition = LinkPartition;
1133
1089
  * @public
1134
1090
  */
1135
1091
  class PhysicalPartition extends InformationPartitionElement {
1136
- /** @internal */
1137
1092
  static get className() { return "PhysicalPartition"; }
1138
1093
  }
1139
1094
  exports.PhysicalPartition = PhysicalPartition;
@@ -1143,7 +1098,6 @@ exports.PhysicalPartition = PhysicalPartition;
1143
1098
  * @public
1144
1099
  */
1145
1100
  class SpatialLocationPartition extends InformationPartitionElement {
1146
- /** @internal */
1147
1101
  static get className() { return "SpatialLocationPartition"; }
1148
1102
  }
1149
1103
  exports.SpatialLocationPartition = SpatialLocationPartition;
@@ -1151,7 +1105,6 @@ exports.SpatialLocationPartition = SpatialLocationPartition;
1151
1105
  * @public
1152
1106
  */
1153
1107
  class GroupInformationElement extends InformationReferenceElement {
1154
- /** @internal */
1155
1108
  static get className() { return "GroupInformationElement"; }
1156
1109
  }
1157
1110
  exports.GroupInformationElement = GroupInformationElement;
@@ -1159,7 +1112,6 @@ exports.GroupInformationElement = GroupInformationElement;
1159
1112
  * @public
1160
1113
  */
1161
1114
  class LinkElement extends InformationReferenceElement {
1162
- /** @internal */
1163
1115
  static get className() { return "LinkElement"; }
1164
1116
  /** Create a Code for a LinkElement given a name that is meant to be unique within the scope of the specified Model.
1165
1117
  * @param iModel The IModelDb
@@ -1176,7 +1128,6 @@ exports.LinkElement = LinkElement;
1176
1128
  * @public
1177
1129
  */
1178
1130
  class UrlLink extends LinkElement {
1179
- /** @internal */
1180
1131
  static get className() { return "UrlLink"; }
1181
1132
  constructor(props, iModel) {
1182
1133
  super(props, iModel);
@@ -1196,7 +1147,6 @@ exports.UrlLink = UrlLink;
1196
1147
  * @alpha
1197
1148
  */
1198
1149
  class FolderLink extends UrlLink {
1199
- /** @internal */
1200
1150
  static get className() { return "FolderLink"; }
1201
1151
  }
1202
1152
  exports.FolderLink = FolderLink;
@@ -1204,7 +1154,6 @@ exports.FolderLink = FolderLink;
1204
1154
  * @public
1205
1155
  */
1206
1156
  class RepositoryLink extends UrlLink {
1207
- /** @internal */
1208
1157
  static get className() { return "RepositoryLink"; }
1209
1158
  constructor(props, iModel) {
1210
1159
  super(props, iModel);
@@ -1223,7 +1172,6 @@ exports.RepositoryLink = RepositoryLink;
1223
1172
  * @public
1224
1173
  */
1225
1174
  class EmbeddedFileLink extends LinkElement {
1226
- /** @internal */
1227
1175
  static get className() { return "EmbeddedFileLink"; }
1228
1176
  }
1229
1177
  exports.EmbeddedFileLink = EmbeddedFileLink;
@@ -1233,7 +1181,6 @@ exports.EmbeddedFileLink = EmbeddedFileLink;
1233
1181
  * @public
1234
1182
  */
1235
1183
  class RoleElement extends Element {
1236
- /** @internal */
1237
1184
  static get className() { return "RoleElement"; }
1238
1185
  }
1239
1186
  exports.RoleElement = RoleElement;
@@ -1242,7 +1189,6 @@ exports.RoleElement = RoleElement;
1242
1189
  * @public
1243
1190
  */
1244
1191
  class GeometryPart extends DefinitionElement {
1245
- /** @internal */
1246
1192
  static get className() { return "GeometryPart"; }
1247
1193
  constructor(props, iModel) {
1248
1194
  super(props, iModel);
@@ -1271,7 +1217,6 @@ exports.GeometryPart = GeometryPart;
1271
1217
  * @public
1272
1218
  */
1273
1219
  class LineStyle extends DefinitionElement {
1274
- /** @internal */
1275
1220
  static get className() { return "LineStyle"; }
1276
1221
  constructor(props, iModel) { super(props, iModel); }
1277
1222
  /** Create a Code for a LineStyle definition given a name that is meant to be unique within the scope of the specified model.
@@ -1290,7 +1235,6 @@ exports.LineStyle = LineStyle;
1290
1235
  * @public
1291
1236
  */
1292
1237
  class RenderTimeline extends InformationRecordElement {
1293
- /** @internal */
1294
1238
  static get className() { return "RenderTimeline"; }
1295
1239
  constructor(props, iModel) {
1296
1240
  super(props, iModel);
@@ -1327,7 +1271,7 @@ class RenderTimeline extends InformationRecordElement {
1327
1271
  targetProps.script = JSON.stringify(this.remapScript(context, this.parseScriptProps(targetProps.script)));
1328
1272
  }
1329
1273
  /** Remap Ids when cloning a RenderSchedule.Script between iModels on a DisplayStyle or RenderTimeline.
1330
- * @internal
1274
+ * @beta
1331
1275
  */
1332
1276
  static remapScript(context, input) {
1333
1277
  const scriptProps = [];