@itwin/core-backend 4.1.0-dev.8 → 4.1.0-dev.80

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 (188) hide show
  1. package/CHANGELOG.md +99 -1
  2. package/lib/cjs/BackendHubAccess.js.map +1 -1
  3. package/lib/cjs/BackendLoggerCategory.js.map +1 -1
  4. package/lib/cjs/BisCoreSchema.js.map +1 -1
  5. package/lib/cjs/BlobContainerService.d.ts +38 -28
  6. package/lib/cjs/BlobContainerService.d.ts.map +1 -1
  7. package/lib/cjs/BlobContainerService.js.map +1 -1
  8. package/lib/cjs/BriefcaseManager.d.ts +8 -5
  9. package/lib/cjs/BriefcaseManager.d.ts.map +1 -1
  10. package/lib/cjs/BriefcaseManager.js +9 -16
  11. package/lib/cjs/BriefcaseManager.js.map +1 -1
  12. package/lib/cjs/Category.d.ts +4 -16
  13. package/lib/cjs/Category.d.ts.map +1 -1
  14. package/lib/cjs/Category.js +0 -12
  15. package/lib/cjs/Category.js.map +1 -1
  16. package/lib/cjs/ChangeSummaryManager.js +2 -2
  17. package/lib/cjs/ChangeSummaryManager.js.map +1 -1
  18. package/lib/cjs/ChangedElementsDb.js.map +1 -1
  19. package/lib/cjs/ChangedElementsManager.js.map +1 -1
  20. package/lib/cjs/ChannelControl.d.ts +5 -1
  21. package/lib/cjs/ChannelControl.d.ts.map +1 -1
  22. package/lib/cjs/ChannelControl.js +10 -5
  23. package/lib/cjs/ChannelControl.js.map +1 -1
  24. package/lib/cjs/CheckpointManager.d.ts.map +1 -1
  25. package/lib/cjs/CheckpointManager.js +20 -9
  26. package/lib/cjs/CheckpointManager.js.map +1 -1
  27. package/lib/cjs/ClassRegistry.d.ts +2 -1
  28. package/lib/cjs/ClassRegistry.d.ts.map +1 -1
  29. package/lib/cjs/ClassRegistry.js +7 -6
  30. package/lib/cjs/ClassRegistry.js.map +1 -1
  31. package/lib/cjs/CloudSqlite.d.ts +57 -40
  32. package/lib/cjs/CloudSqlite.d.ts.map +1 -1
  33. package/lib/cjs/CloudSqlite.js +54 -39
  34. package/lib/cjs/CloudSqlite.js.map +1 -1
  35. package/lib/cjs/CodeService.js.map +1 -1
  36. package/lib/cjs/CodeSpecs.js.map +1 -1
  37. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  38. package/lib/cjs/CustomViewState3dCreator.js.map +1 -1
  39. package/lib/cjs/DevTools.js.map +1 -1
  40. package/lib/cjs/DisplayStyle.d.ts +2 -5
  41. package/lib/cjs/DisplayStyle.d.ts.map +1 -1
  42. package/lib/cjs/DisplayStyle.js +0 -3
  43. package/lib/cjs/DisplayStyle.js.map +1 -1
  44. package/lib/cjs/ECDb.d.ts +6 -0
  45. package/lib/cjs/ECDb.d.ts.map +1 -1
  46. package/lib/cjs/ECDb.js +6 -0
  47. package/lib/cjs/ECDb.js.map +1 -1
  48. package/lib/cjs/ECSchemaXmlContext.d.ts +28 -1
  49. package/lib/cjs/ECSchemaXmlContext.d.ts.map +1 -1
  50. package/lib/cjs/ECSchemaXmlContext.js +28 -1
  51. package/lib/cjs/ECSchemaXmlContext.js.map +1 -1
  52. package/lib/cjs/ECSqlStatement.js.map +1 -1
  53. package/lib/cjs/Element.d.ts +40 -97
  54. package/lib/cjs/Element.d.ts.map +1 -1
  55. package/lib/cjs/Element.js +0 -57
  56. package/lib/cjs/Element.js.map +1 -1
  57. package/lib/cjs/ElementAspect.d.ts +2 -4
  58. package/lib/cjs/ElementAspect.d.ts.map +1 -1
  59. package/lib/cjs/ElementAspect.js +2 -4
  60. package/lib/cjs/ElementAspect.js.map +1 -1
  61. package/lib/cjs/ElementGraphics.js.map +1 -1
  62. package/lib/cjs/ElementTreeWalker.js.map +1 -1
  63. package/lib/cjs/Entity.d.ts +5 -2
  64. package/lib/cjs/Entity.d.ts.map +1 -1
  65. package/lib/cjs/Entity.js +10 -2
  66. package/lib/cjs/Entity.js.map +1 -1
  67. package/lib/cjs/EntityReferences.js.map +1 -1
  68. package/lib/cjs/ExportGraphics.js.map +1 -1
  69. package/lib/cjs/ExternalSource.d.ts +4 -11
  70. package/lib/cjs/ExternalSource.d.ts.map +1 -1
  71. package/lib/cjs/ExternalSource.js +0 -7
  72. package/lib/cjs/ExternalSource.js.map +1 -1
  73. package/lib/cjs/GeoCoordConfig.js.map +1 -1
  74. package/lib/cjs/GeometrySummary.js +47 -47
  75. package/lib/cjs/GeometrySummary.js.map +1 -1
  76. package/lib/cjs/HubMock.js.map +1 -1
  77. package/lib/cjs/IModelCloneContext.js.map +1 -1
  78. package/lib/cjs/IModelDb.d.ts +61 -26
  79. package/lib/cjs/IModelDb.d.ts.map +1 -1
  80. package/lib/cjs/IModelDb.js +164 -83
  81. package/lib/cjs/IModelDb.js.map +1 -1
  82. package/lib/cjs/IModelElementCloneContext.js.map +1 -1
  83. package/lib/cjs/IModelHost.d.ts +1 -3
  84. package/lib/cjs/IModelHost.d.ts.map +1 -1
  85. package/lib/cjs/IModelHost.js +3 -5
  86. package/lib/cjs/IModelHost.js.map +1 -1
  87. package/lib/cjs/IModelJsFs.js.map +1 -1
  88. package/lib/cjs/IpcHost.js.map +1 -1
  89. package/lib/cjs/LineStyle.js.map +1 -1
  90. package/lib/cjs/LocalHub.js +1 -1
  91. package/lib/cjs/LocalHub.js.map +1 -1
  92. package/lib/cjs/LocalhostIpcHost.js.map +1 -1
  93. package/lib/cjs/Material.d.ts +0 -1
  94. package/lib/cjs/Material.d.ts.map +1 -1
  95. package/lib/cjs/Material.js +1 -2
  96. package/lib/cjs/Material.js.map +1 -1
  97. package/lib/cjs/Model.d.ts +4 -13
  98. package/lib/cjs/Model.d.ts.map +1 -1
  99. package/lib/cjs/Model.js +0 -9
  100. package/lib/cjs/Model.js.map +1 -1
  101. package/lib/cjs/NativeAppStorage.js.map +1 -1
  102. package/lib/cjs/NativeHost.js.map +1 -1
  103. package/lib/cjs/NavigationRelationship.js.map +1 -1
  104. package/lib/cjs/PromiseMemoizer.js.map +1 -1
  105. package/lib/cjs/PropertyStore.d.ts +3 -3
  106. package/lib/cjs/PropertyStore.d.ts.map +1 -1
  107. package/lib/cjs/PropertyStore.js +2 -5
  108. package/lib/cjs/PropertyStore.js.map +1 -1
  109. package/lib/cjs/Relationship.d.ts +2 -5
  110. package/lib/cjs/Relationship.d.ts.map +1 -1
  111. package/lib/cjs/Relationship.js +0 -3
  112. package/lib/cjs/Relationship.js.map +1 -1
  113. package/lib/cjs/RpcBackend.js.map +1 -1
  114. package/lib/cjs/SQLiteDb.d.ts +1 -1
  115. package/lib/cjs/SQLiteDb.d.ts.map +1 -1
  116. package/lib/cjs/SQLiteDb.js +1 -1
  117. package/lib/cjs/SQLiteDb.js.map +1 -1
  118. package/lib/cjs/Schema.d.ts +0 -1
  119. package/lib/cjs/Schema.d.ts.map +1 -1
  120. package/lib/cjs/Schema.js +0 -1
  121. package/lib/cjs/Schema.js.map +1 -1
  122. package/lib/cjs/SchemaUtils.d.ts +19 -0
  123. package/lib/cjs/SchemaUtils.d.ts.map +1 -0
  124. package/lib/cjs/SchemaUtils.js +42 -0
  125. package/lib/cjs/SchemaUtils.js.map +1 -0
  126. package/lib/cjs/ServerBasedLocks.js.map +1 -1
  127. package/lib/cjs/SqliteStatement.d.ts +13 -1
  128. package/lib/cjs/SqliteStatement.d.ts.map +1 -1
  129. package/lib/cjs/SqliteStatement.js +23 -1
  130. package/lib/cjs/SqliteStatement.js.map +1 -1
  131. package/lib/cjs/Texture.d.ts +3 -4
  132. package/lib/cjs/Texture.d.ts.map +1 -1
  133. package/lib/cjs/Texture.js +1 -2
  134. package/lib/cjs/Texture.js.map +1 -1
  135. package/lib/cjs/TileStorage.d.ts +3 -0
  136. package/lib/cjs/TileStorage.d.ts.map +1 -1
  137. package/lib/cjs/TileStorage.js +9 -1
  138. package/lib/cjs/TileStorage.js.map +1 -1
  139. package/lib/cjs/TxnManager.js.map +1 -1
  140. package/lib/cjs/ViewDefinition.d.ts +7 -28
  141. package/lib/cjs/ViewDefinition.d.ts.map +1 -1
  142. package/lib/cjs/ViewDefinition.js +0 -21
  143. package/lib/cjs/ViewDefinition.js.map +1 -1
  144. package/lib/cjs/ViewStateHydrator.js.map +1 -1
  145. package/lib/cjs/ViewStore.d.ts +488 -0
  146. package/lib/cjs/ViewStore.d.ts.map +1 -0
  147. package/lib/cjs/ViewStore.js +1246 -0
  148. package/lib/cjs/ViewStore.js.map +1 -0
  149. package/lib/cjs/assets/IModelChange.02.00.00.ecschema.xml +90 -90
  150. package/lib/cjs/assets/Settings/Schemas/Cloud.Schema.json +44 -44
  151. package/lib/cjs/assets/Settings/Schemas/Gcs.schema.json +31 -31
  152. package/lib/cjs/assets/Settings/Schemas/Workspace.Schema.json +52 -52
  153. package/lib/cjs/assets/Settings/backend.setting.json5 +132 -132
  154. package/lib/cjs/core-backend.d.ts +2 -0
  155. package/lib/cjs/core-backend.d.ts.map +1 -1
  156. package/lib/cjs/core-backend.js +2 -0
  157. package/lib/cjs/core-backend.js.map +1 -1
  158. package/lib/cjs/domains/FunctionalElements.d.ts +6 -12
  159. package/lib/cjs/domains/FunctionalElements.d.ts.map +1 -1
  160. package/lib/cjs/domains/FunctionalElements.js +0 -6
  161. package/lib/cjs/domains/FunctionalElements.js.map +1 -1
  162. package/lib/cjs/domains/FunctionalSchema.js.map +1 -1
  163. package/lib/cjs/domains/GenericElements.js.map +1 -1
  164. package/lib/cjs/domains/GenericSchema.js.map +1 -1
  165. package/lib/cjs/rpc/multipart.js.map +1 -1
  166. package/lib/cjs/rpc/tracing.js +2 -2
  167. package/lib/cjs/rpc/tracing.js.map +1 -1
  168. package/lib/cjs/rpc/web/logging.js.map +1 -1
  169. package/lib/cjs/rpc/web/request.js.map +1 -1
  170. package/lib/cjs/rpc/web/response.js.map +1 -1
  171. package/lib/cjs/rpc-impl/DevToolsRpcImpl.js.map +1 -1
  172. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts +5 -3
  173. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts.map +1 -1
  174. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js +53 -36
  175. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
  176. package/lib/cjs/rpc-impl/IModelTileRpcImpl.js.map +1 -1
  177. package/lib/cjs/rpc-impl/RpcBriefcaseUtility.d.ts.map +1 -1
  178. package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js +0 -2
  179. package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
  180. package/lib/cjs/rpc-impl/SnapshotIModelRpcImpl.js.map +1 -1
  181. package/lib/cjs/rpc-impl/WipRpcImpl.js.map +1 -1
  182. package/lib/cjs/workspace/Settings.js.map +1 -1
  183. package/lib/cjs/workspace/SettingsSchemas.js.map +1 -1
  184. package/lib/cjs/workspace/Workspace.d.ts +1 -1
  185. package/lib/cjs/workspace/Workspace.d.ts.map +1 -1
  186. package/lib/cjs/workspace/Workspace.js +4 -4
  187. package/lib/cjs/workspace/Workspace.js.map +1 -1
  188. package/package.json +21 -40
@@ -1,53 +1,53 @@
1
- {
2
- "$id": "http://itwinjs.org/json-schema/workspace",
3
- "$schema": "http://json-schema.org/draft-07/schema",
4
- "title": "Workspace settings",
5
- "description": "settings for accessing data from workspaces",
6
- "type": "object",
7
- "groupName": "workspace",
8
- "properties": {
9
- "workspace/databases": {
10
- "type": "array",
11
- "cumulative": true,
12
- "description": "array of workspace databases",
13
- "items": {
14
- "type": "object",
15
- "required": [
16
- "name",
17
- "dbName",
18
- "containerName"
19
- ],
20
- "properties": {
21
- "name": {
22
- "type": "string",
23
- "description": "the alias name of the workspace database"
24
- },
25
- "dbName": {
26
- "type": "string",
27
- "description": "the name of the database within its cloud container"
28
- },
29
- "containerName": {
30
- "type": "string",
31
- "description": "the container name"
32
- },
33
- "version": {
34
- "type": "string",
35
- "description": "the (semver) range of acceptable versions"
36
- },
37
- "includePrerelease": {
38
- "type": "boolean",
39
- "description": "include prerelease version as acceptable versions"
40
- },
41
- "priority": {
42
- "type": "number",
43
- "description": "for sorted databases, higher values are searched first"
44
- },
45
- "prefetch": {
46
- "type": "boolean",
47
- "description": "if true, pre-fetch all of the data from the cloud in the background"
48
- }
49
- }
50
- }
51
- }
52
- }
1
+ {
2
+ "$id": "http://itwinjs.org/json-schema/workspace",
3
+ "$schema": "http://json-schema.org/draft-07/schema",
4
+ "title": "Workspace settings",
5
+ "description": "settings for accessing data from workspaces",
6
+ "type": "object",
7
+ "groupName": "workspace",
8
+ "properties": {
9
+ "workspace/databases": {
10
+ "type": "array",
11
+ "cumulative": true,
12
+ "description": "array of workspace databases",
13
+ "items": {
14
+ "type": "object",
15
+ "required": [
16
+ "name",
17
+ "dbName",
18
+ "containerName"
19
+ ],
20
+ "properties": {
21
+ "name": {
22
+ "type": "string",
23
+ "description": "the alias name of the workspace database"
24
+ },
25
+ "dbName": {
26
+ "type": "string",
27
+ "description": "the name of the database within its cloud container"
28
+ },
29
+ "containerName": {
30
+ "type": "string",
31
+ "description": "the container name"
32
+ },
33
+ "version": {
34
+ "type": "string",
35
+ "description": "the (semver) range of acceptable versions"
36
+ },
37
+ "includePrerelease": {
38
+ "type": "boolean",
39
+ "description": "include prerelease version as acceptable versions"
40
+ },
41
+ "priority": {
42
+ "type": "number",
43
+ "description": "for sorted databases, higher values are searched first"
44
+ },
45
+ "prefetch": {
46
+ "type": "boolean",
47
+ "description": "if true, pre-fetch all of the data from the cloud in the background"
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
53
  }
@@ -1,133 +1,133 @@
1
- {
2
- "cloud/containers": [
3
- {
4
- "name": "gcs/container",
5
- "baseUri": "https://geocoord-workspace.itwinjs.org",
6
- "storageType": "azure",
7
- "containerId": "gcs",
8
- "isPublic": true
9
- }
10
- ],
11
- "workspace/databases": [
12
- {
13
- "name": "gcs/base",
14
- "dbName": "base",
15
- "containerName": "gcs/container",
16
- "version": "^1",
17
- "priority": 10000,
18
- "prefetch": true
19
- },
20
- {
21
- "name": "gcs/entire-earth",
22
- "dbName": "allEarth",
23
- "containerName": "gcs/container",
24
- "version": "^1",
25
- "priority": 100
26
- },
27
- {
28
- "name": "gcs/Australia",
29
- "dbName": "Australia",
30
- "containerName": "gcs/container",
31
- "version": "^1",
32
- "priority": 500
33
- },
34
- {
35
- "name": "gcs/Brazil",
36
- "dbName": "Brazil",
37
- "containerName": "gcs/container",
38
- "version": "^1",
39
- "priority": 500
40
- },
41
- {
42
- "name": "gcs/Canada",
43
- "dbName": "Canada",
44
- "containerName": "gcs/container",
45
- "version": "^1",
46
- "priority": 500
47
- },
48
- {
49
- "name": "gcs/France",
50
- "dbName": "France",
51
- "containerName": "gcs/container",
52
- "version": "^1",
53
- "priority": 500
54
- },
55
- {
56
- "name": "gcs/Germany",
57
- "dbName": "Germany",
58
- "containerName": "gcs/container",
59
- "version": "^1",
60
- "priority": 500
61
- },
62
- {
63
- "name": "gcs/Japan",
64
- "dbName": "Japan",
65
- "containerName": "gcs/container",
66
- "version": "^1",
67
- "priority": 500
68
- },
69
- {
70
- "name": "gcs/NewZealand",
71
- "dbName": "NewZealand",
72
- "containerName": "gcs/container",
73
- "version": "^1",
74
- "priority": 500
75
- },
76
- {
77
- "name": "gcs/Portugal",
78
- "dbName": "Portugal",
79
- "containerName": "gcs/container",
80
- "version": "^1",
81
- "priority": 500
82
- },
83
- {
84
- "name": "gcs/Slovakia",
85
- "dbName": "Slovakia",
86
- "containerName": "gcs/container",
87
- "version": "^1",
88
- "priority": 500
89
- },
90
- {
91
- "name": "gcs/SouthAfrica",
92
- "dbName": "SouthAfrica",
93
- "containerName": "gcs/container",
94
- "version": "^1",
95
- "priority": 500
96
- },
97
- {
98
- "name": "gcs/Spain",
99
- "dbName": "Spain",
100
- "containerName": "gcs/container",
101
- "version": "^1",
102
- "priority": 500
103
- },
104
- {
105
- "name": "gcs/Switzerland",
106
- "dbName": "Switzerland",
107
- "containerName": "gcs/container",
108
- "version": "^1",
109
- "priority": 500
110
- },
111
- {
112
- "name": "gcs/UK",
113
- "dbName": "UK",
114
- "containerName": "gcs/container",
115
- "version": "^1",
116
- "priority": 500
117
- },
118
- {
119
- "name": "gcs/Usa",
120
- "dbName": "Usa",
121
- "containerName": "gcs/container",
122
- "version": "^1",
123
- "priority": 500
124
- },
125
- {
126
- "name": "gcs/Venezuela",
127
- "dbName": "Venezuela",
128
- "containerName": "gcs/container",
129
- "version": "^1",
130
- "priority": 500
131
- }
132
- ]
1
+ {
2
+ "cloud/containers": [
3
+ {
4
+ "name": "gcs/container",
5
+ "baseUri": "https://geocoord-workspace.itwinjs.org",
6
+ "storageType": "azure",
7
+ "containerId": "gcs",
8
+ "isPublic": true
9
+ }
10
+ ],
11
+ "workspace/databases": [
12
+ {
13
+ "name": "gcs/base",
14
+ "dbName": "base",
15
+ "containerName": "gcs/container",
16
+ "version": "^1",
17
+ "priority": 10000,
18
+ "prefetch": true
19
+ },
20
+ {
21
+ "name": "gcs/entire-earth",
22
+ "dbName": "allEarth",
23
+ "containerName": "gcs/container",
24
+ "version": "^1",
25
+ "priority": 100
26
+ },
27
+ {
28
+ "name": "gcs/Australia",
29
+ "dbName": "Australia",
30
+ "containerName": "gcs/container",
31
+ "version": "^1",
32
+ "priority": 500
33
+ },
34
+ {
35
+ "name": "gcs/Brazil",
36
+ "dbName": "Brazil",
37
+ "containerName": "gcs/container",
38
+ "version": "^1",
39
+ "priority": 500
40
+ },
41
+ {
42
+ "name": "gcs/Canada",
43
+ "dbName": "Canada",
44
+ "containerName": "gcs/container",
45
+ "version": "^1",
46
+ "priority": 500
47
+ },
48
+ {
49
+ "name": "gcs/France",
50
+ "dbName": "France",
51
+ "containerName": "gcs/container",
52
+ "version": "^1",
53
+ "priority": 500
54
+ },
55
+ {
56
+ "name": "gcs/Germany",
57
+ "dbName": "Germany",
58
+ "containerName": "gcs/container",
59
+ "version": "^1",
60
+ "priority": 500
61
+ },
62
+ {
63
+ "name": "gcs/Japan",
64
+ "dbName": "Japan",
65
+ "containerName": "gcs/container",
66
+ "version": "^1",
67
+ "priority": 500
68
+ },
69
+ {
70
+ "name": "gcs/NewZealand",
71
+ "dbName": "NewZealand",
72
+ "containerName": "gcs/container",
73
+ "version": "^1",
74
+ "priority": 500
75
+ },
76
+ {
77
+ "name": "gcs/Portugal",
78
+ "dbName": "Portugal",
79
+ "containerName": "gcs/container",
80
+ "version": "^1",
81
+ "priority": 500
82
+ },
83
+ {
84
+ "name": "gcs/Slovakia",
85
+ "dbName": "Slovakia",
86
+ "containerName": "gcs/container",
87
+ "version": "^1",
88
+ "priority": 500
89
+ },
90
+ {
91
+ "name": "gcs/SouthAfrica",
92
+ "dbName": "SouthAfrica",
93
+ "containerName": "gcs/container",
94
+ "version": "^1",
95
+ "priority": 500
96
+ },
97
+ {
98
+ "name": "gcs/Spain",
99
+ "dbName": "Spain",
100
+ "containerName": "gcs/container",
101
+ "version": "^1",
102
+ "priority": 500
103
+ },
104
+ {
105
+ "name": "gcs/Switzerland",
106
+ "dbName": "Switzerland",
107
+ "containerName": "gcs/container",
108
+ "version": "^1",
109
+ "priority": 500
110
+ },
111
+ {
112
+ "name": "gcs/UK",
113
+ "dbName": "UK",
114
+ "containerName": "gcs/container",
115
+ "version": "^1",
116
+ "priority": 500
117
+ },
118
+ {
119
+ "name": "gcs/Usa",
120
+ "dbName": "Usa",
121
+ "containerName": "gcs/container",
122
+ "version": "^1",
123
+ "priority": 500
124
+ },
125
+ {
126
+ "name": "gcs/Venezuela",
127
+ "dbName": "Venezuela",
128
+ "containerName": "gcs/container",
129
+ "version": "^1",
130
+ "priority": 500
131
+ }
132
+ ]
133
133
  }
@@ -50,12 +50,14 @@ export * from "./PropertyStore";
50
50
  export * from "./Relationship";
51
51
  export * from "./rpc/tracing";
52
52
  export * from "./Schema";
53
+ export * from "./SchemaUtils";
53
54
  export * from "./SQLiteDb";
54
55
  export * from "./SqliteStatement";
55
56
  export * from "./Texture";
56
57
  export * from "./TileStorage";
57
58
  export * from "./TxnManager";
58
59
  export * from "./ViewDefinition";
60
+ export * from "./ViewStore";
59
61
  export * from "./workspace/Settings";
60
62
  export * from "./workspace/SettingsSchemas";
61
63
  export * from "./workspace/Workspace";
@@ -1 +1 @@
1
- {"version":3,"file":"core-backend.d.ts","sourceRoot":"","sources":["../../src/core-backend.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEnG,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AAEtC;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG"}
1
+ {"version":3,"file":"core-backend.d.ts","sourceRoot":"","sources":["../../src/core-backend.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEnG,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,Y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;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AAEtC;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG"}
@@ -74,12 +74,14 @@ __exportStar(require("./PropertyStore"), exports);
74
74
  __exportStar(require("./Relationship"), exports);
75
75
  __exportStar(require("./rpc/tracing"), exports);
76
76
  __exportStar(require("./Schema"), exports);
77
+ __exportStar(require("./SchemaUtils"), exports);
77
78
  __exportStar(require("./SQLiteDb"), exports);
78
79
  __exportStar(require("./SqliteStatement"), exports);
79
80
  __exportStar(require("./Texture"), exports);
80
81
  __exportStar(require("./TileStorage"), exports);
81
82
  __exportStar(require("./TxnManager"), exports);
82
83
  __exportStar(require("./ViewDefinition"), exports);
84
+ __exportStar(require("./ViewStore"), exports);
83
85
  __exportStar(require("./workspace/Settings"), exports);
84
86
  __exportStar(require("./workspace/SettingsSchemas"), exports);
85
87
  __exportStar(require("./workspace/Workspace"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"core-backend.js","sourceRoot":"","sources":["../../src/core-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;;AAE/F,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;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","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\nexport { IModelJsNative, NativeCloudSqlite, NativeLoggerCategory } from \"@bentley/imodeljs-native\";\r\n\r\nexport * from \"./BackendHubAccess\";\r\nexport * from \"./BackendLoggerCategory\";\r\nexport * from \"./BisCoreSchema\";\r\nexport * from \"./BlobContainerService\";\r\nexport * from \"./BriefcaseManager\";\r\nexport * from \"./Category\";\r\nexport * from \"./ChangedElementsDb\";\r\nexport * from \"./ChangeSummaryManager\";\r\nexport * from \"./ChannelControl\";\r\nexport * from \"./CheckpointManager\";\r\nexport * from \"./ClassRegistry\";\r\nexport * from \"./CloudSqlite\";\r\nexport * from \"./CodeService\";\r\nexport * from \"./CodeSpecs\";\r\nexport * from \"./DevTools\";\r\nexport * from \"./DisplayStyle\";\r\nexport * from \"./domains/FunctionalElements\";\r\nexport * from \"./domains/FunctionalSchema\";\r\nexport * from \"./domains/GenericElements\";\r\nexport * from \"./domains/GenericSchema\";\r\nexport * from \"./ECDb\";\r\nexport * from \"./ECSchemaXmlContext\";\r\nexport * from \"./ECSqlStatement\";\r\nexport * from \"./Element\";\r\nexport * from \"./ElementAspect\";\r\nexport * from \"./ElementGraphics\";\r\nexport * from \"./ElementTreeWalker\";\r\nexport * from \"./Entity\";\r\nexport * from \"./EntityReferences\";\r\nexport * from \"./ExportGraphics\";\r\nexport * from \"./ExternalSource\";\r\nexport * from \"./GeoCoordConfig\";\r\nexport * from \"./HubMock\";\r\nexport * from \"./IModelCloneContext\";\r\nexport * from \"./IModelDb\";\r\nexport * from \"./IModelElementCloneContext\";\r\nexport * from \"./IModelHost\";\r\nexport * from \"./IModelJsFs\";\r\nexport * from \"./IpcHost\";\r\nexport * from \"./LineStyle\";\r\nexport * from \"./LocalhostIpcHost\";\r\nexport * from \"./LocalHub\";\r\nexport * from \"./Material\";\r\nexport * from \"./Model\";\r\nexport * from \"./NativeAppStorage\";\r\nexport * from \"./NativeHost\";\r\nexport * from \"./NavigationRelationship\";\r\nexport * from \"./PropertyStore\";\r\nexport * from \"./Relationship\";\r\nexport * from \"./rpc/tracing\";\r\nexport * from \"./Schema\";\r\nexport * from \"./SQLiteDb\";\r\nexport * from \"./SqliteStatement\";\r\nexport * from \"./Texture\";\r\nexport * from \"./TileStorage\";\r\nexport * from \"./TxnManager\";\r\nexport * from \"./ViewDefinition\";\r\nexport * from \"./workspace/Settings\";\r\nexport * from \"./workspace/SettingsSchemas\";\r\nexport * from \"./workspace/Workspace\";\r\n\r\n/** @docs-package-description\r\n * The core-backend package always runs on the computer with a local Briefcase.\r\n *\r\n * It contains classes that [backend code]($docs/learning/backend/index.md) can use to work with directly with iModels.\r\n */\r\n/**\r\n * @docs-group-description IModelHost\r\n * Classes for configuring and administering the backend [host]($docs/learning/backend/IModelHost.md).\r\n * See [the learning article]($docs/learning/backend/IModelHost.md).\r\n */\r\n/**\r\n * @docs-group-description iModels\r\n * Classes for working with [iModels]($docs/learning/iModels.md).\r\n * See [the learning article]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Schema\r\n * Classes for working with [ECSchemas]($docs/learning/backend/SchemasAndElementsInTypeScript.md)\r\n */\r\n/**\r\n * @docs-group-description Models\r\n * Subclasses of [Models]($docs/BIS/guide/fundamentals/model-fundamentals.md).\r\n * See [the learning articles]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Elements\r\n * Subclasses of [Elements]($docs/BIS/guide/fundamentals/element-fundamentals.md).\r\n * See [the learning articles]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Codes\r\n * Classes for working with [Codes]($docs/BIS/guide/fundamentals/codes.md).\r\n * See [the learning articles]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description ViewDefinitions\r\n * Classes for working with Elements that define what appears in [Views]($docs/learning/frontend/views.md).\r\n * See [the learning articles]($docs/learning/backend/createelements/#orthographicviewdefinition).\r\n */\r\n/**\r\n * @docs-group-description Relationships\r\n * Classes that describe the [relationships]($docs/bis/guide/fundamentals/relationship-fundamentals.md) between elements.\r\n */\r\n/**\r\n * @docs-group-description ElementAspects\r\n * Subclasses of [ElementAspects]($docs/bis/guide/fundamentals/elementaspect-fundamentals.md).\r\n * See [the learning articles]($docs/learning/backend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Categories\r\n * Classes for [Categories]($docs/bis/guide/fundamentals/categories.md).\r\n */\r\n/**\r\n * @docs-group-description Symbology\r\n * Classes for defining the appearance of element geometry\r\n */\r\n/**\r\n * @docs-group-description ECDb\r\n * Classes for working with ECDb.\r\n */\r\n/**\r\n * @docs-group-description SQLiteDb\r\n * Classes for working with SQLiteDb.\r\n */\r\n/**\r\n * @docs-group-description NativeApp\r\n * Classes for working with Mobile/Desktop Application.\r\n */\r\n/**\r\n * @docs-group-description ECSQL\r\n * Classes for working with [ECSQL]($docs/learning/ECSQL.md)\r\n */\r\n/**\r\n * @docs-group-description SQLite\r\n * Classes for working directly with SQLite\r\n */\r\n/**\r\n * @docs-group-description Portability\r\n * Classes to help write [portable apps]($docs/learning/Portability.md) and libraries that will run on any platform, including web apps, node services, Electron desktops apps, and mobile apps.\r\n */\r\n/**\r\n * @docs-group-description Utils\r\n * Miscellaneous utility classes.\r\n */\r\n/**\r\n * @docs-group-description Logging\r\n * Logger categories used by this package.\r\n */\r\n/**\r\n * @docs-group-description RpcInterface\r\n * Classes for working with [RpcInterfaces]($docs/learning/RpcInterface.md).\r\n */\r\n/**\r\n * @docs-group-description BlobContainers\r\n * Classes for working with cloud-based blob containers.\r\n */\r\n/**\r\n * @docs-group-description TileStorage\r\n * Class for working with cloud storage using iTwin/object-storage cloud providers\r\n */\r\n/**\r\n * @docs-group-description Authentication\r\n * Classes for working with Authentication.\r\n */\r\n/**\r\n * @docs-group-description Tiles\r\n * APIs for working with tile graphics.\r\n */\r\n/**\r\n * @docs-group-description HubAccess\r\n * APIs for working with IModelHub\r\n */\r\n/**\r\n * @docs-group-description Workspace\r\n * APIs for loading and using Settings and Workspace resources\r\n */\r\n/**\r\n * @docs-group-description ViewStateHydrator\r\n * Class responsible for loading ViewStates.\r\n */\r\n"]}
1
+ {"version":3,"file":"core-backend.js","sourceRoot":"","sources":["../../src/core-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;;AAE/F,4DAAmG;AAA1F,iHAAA,cAAc,OAAA;AAAE,oHAAA,iBAAiB,OAAA;AAAE,uHAAA,oBAAoB,OAAA;AAEhE,qDAAmC;AACnC,0DAAwC;AACxC,kDAAgC;AAChC,yDAAuC;AACvC,qDAAmC;AACnC,6CAA2B;AAC3B,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,gDAA8B;AAC9B,8CAA4B;AAC5B,6CAA2B;AAC3B,iDAA+B;AAC/B,+DAA6C;AAC7C,6DAA2C;AAC3C,4DAA0C;AAC1C,0DAAwC;AACxC,yCAAuB;AACvB,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,sDAAoC;AACpC,2CAAyB;AACzB,qDAAmC;AACnC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,uDAAqC;AACrC,6CAA2B;AAC3B,8DAA4C;AAC5C,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,8CAA4B;AAC5B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,0CAAwB;AACxB,qDAAmC;AACnC,+CAA6B;AAC7B,2DAAyC;AACzC,kDAAgC;AAChC,iDAA+B;AAC/B,gDAA8B;AAC9B,2CAAyB;AACzB,gDAA8B;AAC9B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,mDAAiC;AACjC,8CAA4B;AAC5B,uDAAqC;AACrC,8DAA4C;AAC5C,wDAAsC;AAEtC;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport { IModelJsNative, NativeCloudSqlite, NativeLoggerCategory } from \"@bentley/imodeljs-native\";\n\nexport * from \"./BackendHubAccess\";\nexport * from \"./BackendLoggerCategory\";\nexport * from \"./BisCoreSchema\";\nexport * from \"./BlobContainerService\";\nexport * from \"./BriefcaseManager\";\nexport * from \"./Category\";\nexport * from \"./ChangedElementsDb\";\nexport * from \"./ChangeSummaryManager\";\nexport * from \"./ChannelControl\";\nexport * from \"./CheckpointManager\";\nexport * from \"./ClassRegistry\";\nexport * from \"./CloudSqlite\";\nexport * from \"./CodeService\";\nexport * from \"./CodeSpecs\";\nexport * from \"./DevTools\";\nexport * from \"./DisplayStyle\";\nexport * from \"./domains/FunctionalElements\";\nexport * from \"./domains/FunctionalSchema\";\nexport * from \"./domains/GenericElements\";\nexport * from \"./domains/GenericSchema\";\nexport * from \"./ECDb\";\nexport * from \"./ECSchemaXmlContext\";\nexport * from \"./ECSqlStatement\";\nexport * from \"./Element\";\nexport * from \"./ElementAspect\";\nexport * from \"./ElementGraphics\";\nexport * from \"./ElementTreeWalker\";\nexport * from \"./Entity\";\nexport * from \"./EntityReferences\";\nexport * from \"./ExportGraphics\";\nexport * from \"./ExternalSource\";\nexport * from \"./GeoCoordConfig\";\nexport * from \"./HubMock\";\nexport * from \"./IModelCloneContext\";\nexport * from \"./IModelDb\";\nexport * from \"./IModelElementCloneContext\";\nexport * from \"./IModelHost\";\nexport * from \"./IModelJsFs\";\nexport * from \"./IpcHost\";\nexport * from \"./LineStyle\";\nexport * from \"./LocalhostIpcHost\";\nexport * from \"./LocalHub\";\nexport * from \"./Material\";\nexport * from \"./Model\";\nexport * from \"./NativeAppStorage\";\nexport * from \"./NativeHost\";\nexport * from \"./NavigationRelationship\";\nexport * from \"./PropertyStore\";\nexport * from \"./Relationship\";\nexport * from \"./rpc/tracing\";\nexport * from \"./Schema\";\nexport * from \"./SchemaUtils\";\nexport * from \"./SQLiteDb\";\nexport * from \"./SqliteStatement\";\nexport * from \"./Texture\";\nexport * from \"./TileStorage\";\nexport * from \"./TxnManager\";\nexport * from \"./ViewDefinition\";\nexport * from \"./ViewStore\";\nexport * from \"./workspace/Settings\";\nexport * from \"./workspace/SettingsSchemas\";\nexport * from \"./workspace/Workspace\";\n\n/** @docs-package-description\n * The core-backend package always runs on the computer with a local Briefcase.\n *\n * It contains classes that [backend code]($docs/learning/backend/index.md) can use to work with directly with iModels.\n */\n/**\n * @docs-group-description IModelHost\n * Classes for configuring and administering the backend [host]($docs/learning/backend/IModelHost.md).\n * See [the learning article]($docs/learning/backend/IModelHost.md).\n */\n/**\n * @docs-group-description iModels\n * Classes for working with [iModels]($docs/learning/iModels.md).\n * See [the learning article]($docs/learning/backend/index.md).\n */\n/**\n * @docs-group-description Schema\n * Classes for working with [ECSchemas]($docs/learning/backend/SchemasAndElementsInTypeScript.md)\n */\n/**\n * @docs-group-description Models\n * Subclasses of [Models]($docs/BIS/guide/fundamentals/model-fundamentals.md).\n * See [the learning articles]($docs/learning/backend/index.md).\n */\n/**\n * @docs-group-description Elements\n * Subclasses of [Elements]($docs/BIS/guide/fundamentals/element-fundamentals.md).\n * See [the learning articles]($docs/learning/backend/index.md).\n */\n/**\n * @docs-group-description Codes\n * Classes for working with [Codes]($docs/BIS/guide/fundamentals/codes.md).\n * See [the learning articles]($docs/learning/backend/index.md).\n */\n/**\n * @docs-group-description ViewDefinitions\n * Classes for working with Elements that define what appears in [Views]($docs/learning/frontend/views.md).\n * See [the learning articles]($docs/learning/backend/createelements/#orthographicviewdefinition).\n */\n/**\n * @docs-group-description Relationships\n * Classes that describe the [relationships]($docs/bis/guide/fundamentals/relationship-fundamentals.md) between elements.\n */\n/**\n * @docs-group-description ElementAspects\n * Subclasses of [ElementAspects]($docs/bis/guide/fundamentals/elementaspect-fundamentals.md).\n * See [the learning articles]($docs/learning/backend/index.md).\n */\n/**\n * @docs-group-description Categories\n * Classes for [Categories]($docs/bis/guide/fundamentals/categories.md).\n */\n/**\n * @docs-group-description Symbology\n * Classes for defining the appearance of element geometry\n */\n/**\n * @docs-group-description ECDb\n * Classes for working with ECDb.\n */\n/**\n * @docs-group-description SQLiteDb\n * Classes for working with SQLiteDb.\n */\n/**\n * @docs-group-description NativeApp\n * Classes for working with Mobile/Desktop Application.\n */\n/**\n * @docs-group-description ECSQL\n * Classes for working with [ECSQL]($docs/learning/ECSQL.md)\n */\n/**\n * @docs-group-description SQLite\n * Classes for working directly with SQLite\n */\n/**\n * @docs-group-description Portability\n * Classes to help write [portable apps]($docs/learning/Portability.md) and libraries that will run on any platform, including web apps, node services, Electron desktops apps, and mobile apps.\n */\n/**\n * @docs-group-description Utils\n * Miscellaneous utility classes.\n */\n/**\n * @docs-group-description Logging\n * Logger categories used by this package.\n */\n/**\n * @docs-group-description RpcInterface\n * Classes for working with [RpcInterfaces]($docs/learning/RpcInterface.md).\n */\n/**\n * @docs-group-description BlobContainers\n * Classes for working with cloud-based blob containers.\n */\n/**\n * @docs-group-description TileStorage\n * Class for working with cloud storage using iTwin/object-storage cloud providers\n */\n/**\n * @docs-group-description Authentication\n * Classes for working with Authentication.\n */\n/**\n * @docs-group-description Tiles\n * APIs for working with tile graphics.\n */\n/**\n * @docs-group-description HubAccess\n * APIs for working with IModelHub\n */\n/**\n * @docs-group-description Workspace\n * APIs for loading and using Settings and Workspace resources\n */\n/**\n * @docs-group-description ViewStateHydrator\n * Class responsible for loading ViewStates.\n */\n"]}
@@ -14,8 +14,7 @@ import { DrawingGraphicRepresentsElement, ElementRefersToElements } from "../Rel
14
14
  export declare class FunctionalPartition extends InformationPartitionElement {
15
15
  /** @internal */
16
16
  static get className(): string;
17
- /** @internal */
18
- constructor(props: InformationPartitionElementProps, iModel: IModelDb);
17
+ protected constructor(props: InformationPartitionElementProps, iModel: IModelDb);
19
18
  }
20
19
  /** A container for persisting FunctionalElements.
21
20
  * @public
@@ -39,8 +38,7 @@ export declare class FunctionalModel extends RoleModel {
39
38
  export declare abstract class FunctionalElement extends RoleElement {
40
39
  /** @internal */
41
40
  static get className(): string;
42
- /** @internal */
43
- constructor(props: FunctionalElementProps, iModel: IModelDb);
41
+ protected constructor(props: FunctionalElementProps, iModel: IModelDb);
44
42
  }
45
43
  /** A FunctionalBreakdownElement is a *folder* node in the functional hierarchy.
46
44
  * @public
@@ -48,15 +46,13 @@ export declare abstract class FunctionalElement extends RoleElement {
48
46
  export declare abstract class FunctionalBreakdownElement extends FunctionalElement {
49
47
  /** @internal */
50
48
  static get className(): string;
51
- /** @internal */
52
- constructor(props: FunctionalElementProps, iModel: IModelDb);
49
+ protected constructor(props: FunctionalElementProps, iModel: IModelDb);
53
50
  }
54
51
  /** @public */
55
52
  export declare class FunctionalComposite extends FunctionalBreakdownElement {
56
53
  /** @internal */
57
54
  static get className(): string;
58
- /** @internal */
59
- constructor(props: FunctionalElementProps, iModel: IModelDb);
55
+ protected constructor(props: FunctionalElementProps, iModel: IModelDb);
60
56
  }
61
57
  /** A FunctionalComponentElement is a *leaf* node in the functional hierarchy.
62
58
  * @public
@@ -64,8 +60,7 @@ export declare class FunctionalComposite extends FunctionalBreakdownElement {
64
60
  export declare abstract class FunctionalComponentElement extends FunctionalElement {
65
61
  /** @internal */
66
62
  static get className(): string;
67
- /** @internal */
68
- constructor(props: FunctionalElementProps, iModel: IModelDb);
63
+ protected constructor(props: FunctionalElementProps, iModel: IModelDb);
69
64
  }
70
65
  /** Defines a set of properties (the 'type') that can be associated with a Functional Element.
71
66
  * @public
@@ -73,8 +68,7 @@ export declare abstract class FunctionalComponentElement extends FunctionalEleme
73
68
  export declare abstract class FunctionalType extends TypeDefinitionElement {
74
69
  /** @internal */
75
70
  static get className(): string;
76
- /** @internal */
77
- constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
71
+ protected constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
78
72
  }
79
73
  /** Relates a [[FunctionalElement]] to its [[FunctionalType]]
80
74
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionalElements.d.ts","sourceRoot":"","sources":["../../../src/domains/FunctionalElements.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EACL,sBAAsB,EAAU,gCAAgC,EAAE,UAAU,EAAE,cAAc,EAAE,0BAA0B,EACzH,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,2BAA2B,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,EAAE,+BAA+B,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE3F;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,2BAA2B;IAClE,gBAAgB;IAChB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AuB;IAC1E,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAA8C;CAC7F;AAED;;GAEG;AACH,qBAAa,yCAA0C,SAAQ,+BAA+B;IAC5F,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAwD;CACvG"}
@@ -20,7 +20,6 @@ const Relationship_1 = require("../Relationship");
20
20
  class FunctionalPartition extends Element_1.InformationPartitionElement {
21
21
  /** @internal */
22
22
  static get className() { return "FunctionalPartition"; }
23
- /** @internal */
24
23
  constructor(props, iModel) {
25
24
  super(props, iModel);
26
25
  }
@@ -63,7 +62,6 @@ exports.FunctionalModel = FunctionalModel;
63
62
  class FunctionalElement extends Element_1.RoleElement {
64
63
  /** @internal */
65
64
  static get className() { return "FunctionalElement"; }
66
- /** @internal */
67
65
  constructor(props, iModel) {
68
66
  super(props, iModel);
69
67
  }
@@ -75,7 +73,6 @@ exports.FunctionalElement = FunctionalElement;
75
73
  class FunctionalBreakdownElement extends FunctionalElement {
76
74
  /** @internal */
77
75
  static get className() { return "FunctionalBreakdownElement"; }
78
- /** @internal */
79
76
  constructor(props, iModel) {
80
77
  super(props, iModel);
81
78
  }
@@ -85,7 +82,6 @@ exports.FunctionalBreakdownElement = FunctionalBreakdownElement;
85
82
  class FunctionalComposite extends FunctionalBreakdownElement {
86
83
  /** @internal */
87
84
  static get className() { return "FunctionalComposite"; }
88
- /** @internal */
89
85
  constructor(props, iModel) {
90
86
  super(props, iModel);
91
87
  }
@@ -97,7 +93,6 @@ exports.FunctionalComposite = FunctionalComposite;
97
93
  class FunctionalComponentElement extends FunctionalElement {
98
94
  /** @internal */
99
95
  static get className() { return "FunctionalComponentElement"; }
100
- /** @internal */
101
96
  constructor(props, iModel) {
102
97
  super(props, iModel);
103
98
  }
@@ -109,7 +104,6 @@ exports.FunctionalComponentElement = FunctionalComponentElement;
109
104
  class FunctionalType extends Element_1.TypeDefinitionElement {
110
105
  /** @internal */
111
106
  static get className() { return "FunctionalType"; }
112
- /** @internal */
113
107
  constructor(props, iModel) {
114
108
  super(props, iModel);
115
109
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionalElements.js","sourceRoot":"","sources":["../../../src/domains/FunctionalElements.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,oDAE4B;AAC5B,wCAA6F;AAE7F,oCAAqC;AACrC,sEAAyE;AACzE,kDAA2F;AAE3F;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,qCAA2B;IAClE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,qBAAqB,CAAC,CAAC,CAAC;IAChF,gBAAgB;IAChB,YAAmB,KAAuC,EAAE,MAAgB;QAC1E,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvB,CAAC;CACF;AAPD,kDAOC;AAED;;GAEG;AACH,MAAa,eAAgB,SAAQ,iBAAS;IAC5C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAC5E,YAAmB,KAAiB,EAAE,MAAgB;QACpD,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvB,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,QAAkB,EAAE,eAA2B,EAAE,IAAY;QAChF,MAAM,cAAc,GAAqC;YACvD,aAAa,EAAE,mBAAmB,CAAC,aAAa;YAChD,KAAK,EAAE,oBAAM,CAAC,iBAAiB;YAC/B,MAAM,EAAE,IAAI,qDAA4B,CAAC,eAAe,CAAC;YACzD,IAAI,EAAE,mBAAmB,CAAC,UAAU,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,CAAC;SACtE,CAAC;QACF,MAAM,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;QACpE,OAAO,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC;YACjC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,EA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,EAAE,MAAgB;QACpE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvB,CAAC;CACF;AAPD,wCAOC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,4BAAc;IAC3D,gBAAgB;IACT,MAAM,KAAK,SAAS,KAAa,OAAO,2BAA2B,CAAC,CAAC,CAAC;IAE7E,YAAmB,EAAc,EAAE,eAAuB,yBAAyB,CAAC,aAAa;QAC/F,KAAK,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;IAC9B,CAAC;;AAHa,uCAAa,GAAG,sCAAsC,CAAC;AAH1D,8DAAyB;AAStC;;GAEG;AACH,MAAa,+BAAgC,SAAQ,sCAAuB;IAC1E,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,iCAAiC,CAAC,CAAC,CAAC;CAC7F;AAHD,0EAGC;AAED;;GAEG;AACH,MAAa,yCAA0C,SAAQ,8CAA+B;IAC5F,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,2CAA2C,CAAC,CAAC,CAAC;CACvG;AAHD,8FAGC","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 Elements\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport {\r\n FunctionalElementProps, IModel, InformationPartitionElementProps, ModelProps, RelatedElement, TypeDefinitionElementProps,\r\n} from \"@itwin/core-common\";\r\nimport { InformationPartitionElement, RoleElement, TypeDefinitionElement } from \"../Element\";\r\nimport { IModelDb } from \"../IModelDb\";\r\nimport { RoleModel } from \"../Model\";\r\nimport { SubjectOwnsPartitionElements } from \"../NavigationRelationship\";\r\nimport { DrawingGraphicRepresentsElement, ElementRefersToElements } from \"../Relationship\";\r\n\r\n/** A FunctionalPartition element is a key part of the iModel information hierarchy and is always parented\r\n * to a Subject and broken down by a FunctionalModel.\r\n * @public\r\n */\r\nexport class FunctionalPartition extends InformationPartitionElement {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalPartition\"; }\r\n /** @internal */\r\n public constructor(props: InformationPartitionElementProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n}\r\n\r\n/** A container for persisting FunctionalElements.\r\n * @public\r\n */\r\nexport class FunctionalModel extends RoleModel {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalModel\"; }\r\n public constructor(props: ModelProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n /** Insert a FunctionalPartition and a FunctionalModel that breaks it down.\r\n * @param iModelDb Insert into this iModel\r\n * @param parentSubjectId The FunctionalPartition will be inserted as a child of this Subject element.\r\n * @param name The name of the FunctionalPartition that the new FunctionalModel will break down.\r\n * @returns The Id of the newly inserted FunctionalPartition and FunctionalModel (same value).\r\n * @throws [[IModelError]] if there is an insert problem.\r\n */\r\n public static insert(iModelDb: IModelDb, parentSubjectId: Id64String, name: string): Id64String {\r\n const partitionProps: InformationPartitionElementProps = {\r\n classFullName: FunctionalPartition.classFullName,\r\n model: IModel.repositoryModelId,\r\n parent: new SubjectOwnsPartitionElements(parentSubjectId),\r\n code: FunctionalPartition.createCode(iModelDb, parentSubjectId, name),\r\n };\r\n const partitionId = iModelDb.elements.insertElement(partitionProps);\r\n return iModelDb.models.insertModel({\r\n classFullName: this.classFullName,\r\n modeledElement: { id: partitionId },\r\n });\r\n }\r\n}\r\n\r\n/** A FunctionalElement captures functional requirements that will ultimately be fulfilled by a PhysicalElement.\r\n * @public\r\n */\r\nexport abstract class FunctionalElement extends RoleElement {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalElement\"; }\r\n /** @internal */\r\n public constructor(props: FunctionalElementProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n}\r\n\r\n/** A FunctionalBreakdownElement is a *folder* node in the functional hierarchy.\r\n * @public\r\n */\r\nexport abstract class FunctionalBreakdownElement extends FunctionalElement {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalBreakdownElement\"; }\r\n /** @internal */\r\n public constructor(props: FunctionalElementProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n}\r\n\r\n/** @public */\r\nexport class FunctionalComposite extends FunctionalBreakdownElement {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalComposite\"; }\r\n /** @internal */\r\n public constructor(props: FunctionalElementProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n}\r\n\r\n/** A FunctionalComponentElement is a *leaf* node in the functional hierarchy.\r\n * @public\r\n */\r\nexport abstract class FunctionalComponentElement extends FunctionalElement {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalComponentElement\"; }\r\n /** @internal */\r\n public constructor(props: FunctionalElementProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n}\r\n\r\n/** Defines a set of properties (the 'type') that can be associated with a Functional Element.\r\n * @public\r\n */\r\nexport abstract class FunctionalType extends TypeDefinitionElement {\r\n /** @internal */\r\n public static override get className(): string { return \"FunctionalType\"; }\r\n /** @internal */\r\n public constructor(props: TypeDefinitionElementProps, iModel: IModelDb) {\r\n super(props, iModel);\r\n }\r\n}\r\n\r\n/** Relates a [[FunctionalElement]] to its [[FunctionalType]]\r\n * @public\r\n */\r\nexport class FunctionalElementIsOfType extends RelatedElement {\r\n /** @internal */\r\n public static get className(): string { return \"FunctionalElementIsOfType\"; }\r\n public static classFullName = \"Functional:FunctionalElementIsOfType\";\r\n public constructor(id: Id64String, relClassName: string = FunctionalElementIsOfType.classFullName) {\r\n super({ id, relClassName });\r\n }\r\n}\r\n\r\n/** Relates a [[PhysicalElement]] to the [[FunctionalElement]] elements that it fulfills.\r\n * @public\r\n */\r\nexport class PhysicalElementFulfillsFunction extends ElementRefersToElements {\r\n /** @internal */\r\n public static override get className(): string { return \"PhysicalElementFulfillsFunction\"; }\r\n}\r\n\r\n/** Relates a [[DrawingGraphic]] to the [[FunctionalElement]] that it represents\r\n * @public\r\n */\r\nexport class DrawingGraphicRepresentsFunctionalElement extends DrawingGraphicRepresentsElement {\r\n /** @internal */\r\n public static override get className(): string { return \"DrawingGraphicRepresentsFunctionalElement\"; }\r\n}\r\n"]}
1
+ {"version":3,"file":"FunctionalElements.js","sourceRoot":"","sources":["../../../src/domains/FunctionalElements.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,oDAE4B;AAC5B,wCAA6F;AAE7F,oCAAqC;AACrC,sEAAyE;AACzE,kDAA2F;AAE3F;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,qCAA2B;IAClE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,qBAAqB,CAAC,CAAC,CAAC;IAEhF,YAAsB,KAAuC,EAAE,MAAgB;QAC7E,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvB,CAAC;CACF;AAPD,kDAOC;AAED;;GAEG;AACH,MAAa,eAAgB,SAAQ,iBAAS;IAC5C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAE5E,YAAmB,KAAiB,EAAE,MAAgB;QACpD,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,QAAkB,EAAE,eAA2B,EAAE,IAAY;QAChF,MAAM,cAAc,GAAqC;YACvD,aAAa,EAAE,mBAAmB,CAAC,aAAa;YAChD,KAAK,EAAE,oBAAM,CAAC,iBAAiB;YAC/B,MAAM,EAAE,IAAI,qDAA4B,CAAC,eAAe,CAAC;YACzD,IAAI,EAAE,mBAAmB,CAAC,UAAU,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,CAAC;SACtE,CAAC;QACF,MAAM,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;QACpE,OAAO,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AAC;IAE3E,YAAsB,KAAiC,EAAE,MAAgB;QACvE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvB,CAAC;CACF;AAPD,wCAOC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,4BAAc;IAC3D,gBAAgB;IACT,MAAM,KAAK,SAAS,KAAa,OAAO,2BAA2B,CAAC,CAAC,CAAC;IAE7E,YAAmB,EAAc,EAAE,eAAuB,yBAAyB,CAAC,aAAa;QAC/F,KAAK,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;IAC9B,CAAC;;AAHa,uCAAa,GAAG,sCAAsC,CAAC;AAH1D,8DAAyB;AAStC;;GAEG;AACH,MAAa,+BAAgC,SAAQ,sCAAuB;IAC1E,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,iCAAiC,CAAC,CAAC,CAAC;CAC7F;AAHD,0EAGC;AAED;;GAEG;AACH,MAAa,yCAA0C,SAAQ,8CAA+B;IAC5F,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,2CAA2C,CAAC,CAAC,CAAC;CACvG;AAHD,8FAGC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Elements\n */\n\nimport { Id64String } from \"@itwin/core-bentley\";\nimport {\n FunctionalElementProps, IModel, InformationPartitionElementProps, ModelProps, RelatedElement, TypeDefinitionElementProps,\n} from \"@itwin/core-common\";\nimport { InformationPartitionElement, RoleElement, TypeDefinitionElement } from \"../Element\";\nimport { IModelDb } from \"../IModelDb\";\nimport { RoleModel } from \"../Model\";\nimport { SubjectOwnsPartitionElements } from \"../NavigationRelationship\";\nimport { DrawingGraphicRepresentsElement, ElementRefersToElements } from \"../Relationship\";\n\n/** A FunctionalPartition element is a key part of the iModel information hierarchy and is always parented\n * to a Subject and broken down by a FunctionalModel.\n * @public\n */\nexport class FunctionalPartition extends InformationPartitionElement {\n /** @internal */\n public static override get className(): string { return \"FunctionalPartition\"; }\n\n protected constructor(props: InformationPartitionElementProps, iModel: IModelDb) {\n super(props, iModel);\n }\n}\n\n/** A container for persisting FunctionalElements.\n * @public\n */\nexport class FunctionalModel extends RoleModel {\n /** @internal */\n public static override get className(): string { return \"FunctionalModel\"; }\n\n public constructor(props: ModelProps, iModel: IModelDb) {\n super(props, iModel);\n }\n\n /** Insert a FunctionalPartition and a FunctionalModel that breaks it down.\n * @param iModelDb Insert into this iModel\n * @param parentSubjectId The FunctionalPartition will be inserted as a child of this Subject element.\n * @param name The name of the FunctionalPartition that the new FunctionalModel will break down.\n * @returns The Id of the newly inserted FunctionalPartition and FunctionalModel (same value).\n * @throws [[IModelError]] if there is an insert problem.\n */\n public static insert(iModelDb: IModelDb, parentSubjectId: Id64String, name: string): Id64String {\n const partitionProps: InformationPartitionElementProps = {\n classFullName: FunctionalPartition.classFullName,\n model: IModel.repositoryModelId,\n parent: new SubjectOwnsPartitionElements(parentSubjectId),\n code: FunctionalPartition.createCode(iModelDb, parentSubjectId, name),\n };\n const partitionId = iModelDb.elements.insertElement(partitionProps);\n return iModelDb.models.insertModel({\n classFullName: this.classFullName,\n modeledElement: { id: partitionId },\n });\n }\n}\n\n/** A FunctionalElement captures functional requirements that will ultimately be fulfilled by a PhysicalElement.\n * @public\n */\nexport abstract class FunctionalElement extends RoleElement {\n /** @internal */\n public static override get className(): string { return \"FunctionalElement\"; }\n\n protected constructor(props: FunctionalElementProps, iModel: IModelDb) {\n super(props, iModel);\n }\n}\n\n/** A FunctionalBreakdownElement is a *folder* node in the functional hierarchy.\n * @public\n */\nexport abstract class FunctionalBreakdownElement extends FunctionalElement {\n /** @internal */\n public static override get className(): string { return \"FunctionalBreakdownElement\"; }\n\n protected constructor(props: FunctionalElementProps, iModel: IModelDb) {\n super(props, iModel);\n }\n}\n\n/** @public */\nexport class FunctionalComposite extends FunctionalBreakdownElement {\n /** @internal */\n public static override get className(): string { return \"FunctionalComposite\"; }\n\n protected constructor(props: FunctionalElementProps, iModel: IModelDb) {\n super(props, iModel);\n }\n}\n\n/** A FunctionalComponentElement is a *leaf* node in the functional hierarchy.\n * @public\n */\nexport abstract class FunctionalComponentElement extends FunctionalElement {\n /** @internal */\n public static override get className(): string { return \"FunctionalComponentElement\"; }\n\n protected constructor(props: FunctionalElementProps, iModel: IModelDb) {\n super(props, iModel);\n }\n}\n\n/** Defines a set of properties (the 'type') that can be associated with a Functional Element.\n * @public\n */\nexport abstract class FunctionalType extends TypeDefinitionElement {\n /** @internal */\n public static override get className(): string { return \"FunctionalType\"; }\n\n protected constructor(props: TypeDefinitionElementProps, iModel: IModelDb) {\n super(props, iModel);\n }\n}\n\n/** Relates a [[FunctionalElement]] to its [[FunctionalType]]\n * @public\n */\nexport class FunctionalElementIsOfType extends RelatedElement {\n /** @internal */\n public static get className(): string { return \"FunctionalElementIsOfType\"; }\n public static classFullName = \"Functional:FunctionalElementIsOfType\";\n public constructor(id: Id64String, relClassName: string = FunctionalElementIsOfType.classFullName) {\n super({ id, relClassName });\n }\n}\n\n/** Relates a [[PhysicalElement]] to the [[FunctionalElement]] elements that it fulfills.\n * @public\n */\nexport class PhysicalElementFulfillsFunction extends ElementRefersToElements {\n /** @internal */\n public static override get className(): string { return \"PhysicalElementFulfillsFunction\"; }\n}\n\n/** Relates a [[DrawingGraphic]] to the [[FunctionalElement]] that it represents\n * @public\n */\nexport class DrawingGraphicRepresentsFunctionalElement extends DrawingGraphicRepresentsElement {\n /** @internal */\n public static override get className(): string { return \"DrawingGraphicRepresentsFunctionalElement\"; }\n}\n"]}