@itwin/presentation-backend 3.0.0 → 3.1.0-dev.12
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,34 +1,6 @@
|
|
|
1
1
|
# Change Log - @itwin/presentation-backend
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
4
|
-
|
|
5
|
-
## 3.0.0
|
|
6
|
-
Mon, 24 Jan 2022 14:00:52 GMT
|
|
7
|
-
|
|
8
|
-
### Updates
|
|
9
|
-
|
|
10
|
-
- Existing ruleset configurations were updated to no longer use deprecated rule versions for iModel.js 3.0.
|
|
11
|
-
- Upgrade target to ES2019
|
|
12
|
-
- fix ecsql row format
|
|
13
|
-
- rename to @itwin/presentation-backend
|
|
14
|
-
- remove ClientRequestContext and its subclasses
|
|
15
|
-
- Clean up deprecated APIs
|
|
16
|
-
- Added API to get properties of all elements.
|
|
17
|
-
- Added `PresentationManager.getContentSources` API to retrieve information about where content for specific types of elements comes from.
|
|
18
|
-
- Fix class and schema names in RelatedProperties rule for ElementOwnsUniqueAspect relationship.
|
|
19
|
-
- Fix Presentation IPC handler not being registered until the first Presentation request is made.
|
|
20
|
-
- Enforce valid page options on getElementProperties request when requesting properties of multiple elements.
|
|
21
|
-
- Fix for getElementProperties request when requesting all elements of specific classes
|
|
22
|
-
- Use async iterator when getting properties of multiple elements.
|
|
23
|
-
- Add `getContentInstanceKeys` RPC to efficiently get content instance keys.
|
|
24
|
-
- Restructure backend's initialization props
|
|
25
|
-
- Remove `PresentationManager.loadHierarchy` API.
|
|
26
|
-
- Fix ruleset variables storing in IPC apps
|
|
27
|
-
- Updated `RulesetEmbedder` to allow calling callbacks before and after Model/Element is inserted or updated
|
|
28
|
-
- Changed uses of `PresentationUnitSystem` to `UnitSystemKey`.
|
|
29
|
-
- Always create unique ruleset id when handling nodes requests
|
|
30
|
-
- remove ClientRequestContext.current
|
|
31
|
-
- remove requestContext argument from importSchemas
|
|
3
|
+
This log was last generated on Wed, 12 Jan 2022 14:52:38 GMT and should not be manually modified.
|
|
32
4
|
|
|
33
5
|
## 2.19.28
|
|
34
6
|
Wed, 12 Jan 2022 14:52:38 GMT
|
|
@@ -832,7 +804,7 @@ Mon, 13 May 2019 15:52:05 GMT
|
|
|
832
804
|
- Fixed `PresentationRpcImpl.computeSelection` for "model", "category" and "element" scope to return specific class names instead of "BisCore:Model", "BisCore:Category" or "BisCore:Element"
|
|
833
805
|
- Allow requesting content with descriptor overrides instead of descriptor. This allows to competely avoid a descriptor request when content customization requirements are the same for all kinds of content
|
|
834
806
|
- Do not attempt to handle transient element ids when computing selection based on scope
|
|
835
|
-
- Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
|
|
807
|
+
- Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
|
|
836
808
|
- Upgrade TypeDoc dependency to 0.14.2
|
|
837
809
|
|
|
838
810
|
## 0.190.0
|
|
@@ -216,7 +216,11 @@
|
|
|
216
216
|
"propertyCategories": [
|
|
217
217
|
{
|
|
218
218
|
"id": "source_information",
|
|
219
|
-
"label": "@BisCore:Categories.SourceInformation@"
|
|
219
|
+
"label": "@BisCore:Categories.SourceInformation@",
|
|
220
|
+
"parentId": {
|
|
221
|
+
"type": "Root"
|
|
222
|
+
},
|
|
223
|
+
"autoExpand": true
|
|
220
224
|
},
|
|
221
225
|
{
|
|
222
226
|
"id": "model_source",
|
|
@@ -293,60 +297,50 @@
|
|
|
293
297
|
"skipIfDuplicate": true
|
|
294
298
|
},
|
|
295
299
|
{
|
|
296
|
-
"propertiesSource":
|
|
297
|
-
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
+
"propertiesSource": [
|
|
301
|
+
{
|
|
302
|
+
"relationship": {
|
|
303
|
+
"schemaName": "BisCore",
|
|
304
|
+
"className": "ModelContainsElements"
|
|
305
|
+
},
|
|
306
|
+
"direction": "Backward"
|
|
300
307
|
},
|
|
301
|
-
"direction": "Backward"
|
|
302
|
-
},
|
|
303
|
-
"properties": "_none_",
|
|
304
|
-
"relationshipMeaning": "SameInstance",
|
|
305
|
-
"nestedRelatedProperties": [
|
|
306
308
|
{
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
|
|
310
|
-
"className": "ModelModelsElement"
|
|
311
|
-
},
|
|
312
|
-
"direction": "Forward"
|
|
309
|
+
"relationship": {
|
|
310
|
+
"schemaName": "BisCore",
|
|
311
|
+
"className": "ModelModelsElement"
|
|
313
312
|
},
|
|
314
|
-
"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
},
|
|
327
|
-
"direction": "Forward"
|
|
328
|
-
},
|
|
329
|
-
"properties": [
|
|
330
|
-
{
|
|
331
|
-
"name": "Url",
|
|
332
|
-
"overridesPriority": 1001,
|
|
333
|
-
"labelOverride": "@BisCore:Properties.SourceInformation.Path@",
|
|
334
|
-
"categoryId": "model_source",
|
|
335
|
-
"isDisplayed": true
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "UserLabel",
|
|
339
|
-
"overridesPriority": 1001,
|
|
340
|
-
"labelOverride": "@BisCore:Properties.SourceInformation.Name@",
|
|
341
|
-
"categoryId": "model_source",
|
|
342
|
-
"isDisplayed": true
|
|
343
|
-
}
|
|
344
|
-
],
|
|
345
|
-
"relationshipMeaning": "SameInstance"
|
|
346
|
-
}
|
|
347
|
-
]
|
|
313
|
+
"direction": "Forward"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"relationship": {
|
|
317
|
+
"schemaName": "BisCore",
|
|
318
|
+
"className": "ElementHasLinks"
|
|
319
|
+
},
|
|
320
|
+
"targetClass": {
|
|
321
|
+
"schemaName": "BisCore",
|
|
322
|
+
"className": "RepositoryLink"
|
|
323
|
+
},
|
|
324
|
+
"direction": "Forward"
|
|
348
325
|
}
|
|
349
326
|
],
|
|
327
|
+
"properties": [
|
|
328
|
+
{
|
|
329
|
+
"name": "Url",
|
|
330
|
+
"overridesPriority": 1001,
|
|
331
|
+
"labelOverride": "@BisCore:Properties.SourceInformation.Path@",
|
|
332
|
+
"categoryId": "model_source",
|
|
333
|
+
"isDisplayed": true
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "UserLabel",
|
|
337
|
+
"overridesPriority": 1001,
|
|
338
|
+
"labelOverride": "@BisCore:Properties.SourceInformation.Name@",
|
|
339
|
+
"categoryId": "model_source",
|
|
340
|
+
"isDisplayed": true
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"relationshipMeaning": "SameInstance",
|
|
350
344
|
"skipIfDuplicate": true
|
|
351
345
|
}
|
|
352
346
|
]
|
|
@@ -414,6 +408,9 @@
|
|
|
414
408
|
{
|
|
415
409
|
"id": "source_information",
|
|
416
410
|
"label": "@BisCore:Categories.SourceInformation@",
|
|
411
|
+
"parentId": {
|
|
412
|
+
"type": "Root"
|
|
413
|
+
},
|
|
417
414
|
"autoExpand": true
|
|
418
415
|
},
|
|
419
416
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/presentation-backend",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.1.0-dev.12",
|
|
4
4
|
"description": "Backend of iTwin.js Presentation library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
"main": "lib/cjs/presentation-backend.js",
|
|
23
23
|
"typings": "lib/cjs/presentation-backend",
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@itwin/core-backend": "^3.0.
|
|
26
|
-
"@itwin/core-bentley": "^3.0.
|
|
27
|
-
"@itwin/core-common": "^3.0.
|
|
28
|
-
"@itwin/core-quantity": "^3.0.
|
|
29
|
-
"@itwin/presentation-common": "^3.0.
|
|
25
|
+
"@itwin/core-backend": "^3.1.0-dev.12",
|
|
26
|
+
"@itwin/core-bentley": "^3.1.0-dev.12",
|
|
27
|
+
"@itwin/core-common": "^3.1.0-dev.12",
|
|
28
|
+
"@itwin/core-quantity": "^3.1.0-dev.12",
|
|
29
|
+
"@itwin/presentation-common": "^3.1.0-dev.12"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@itwin/build-tools": "3.0.
|
|
33
|
-
"@itwin/core-backend": "3.0.
|
|
34
|
-
"@itwin/core-bentley": "3.0.
|
|
35
|
-
"@itwin/core-common": "3.0.
|
|
36
|
-
"@itwin/core-quantity": "3.0.
|
|
37
|
-
"@itwin/eslint-plugin": "3.0.
|
|
38
|
-
"@itwin/presentation-common": "3.0.
|
|
32
|
+
"@itwin/build-tools": "3.1.0-dev.12",
|
|
33
|
+
"@itwin/core-backend": "3.1.0-dev.12",
|
|
34
|
+
"@itwin/core-bentley": "3.1.0-dev.12",
|
|
35
|
+
"@itwin/core-common": "3.1.0-dev.12",
|
|
36
|
+
"@itwin/core-quantity": "3.1.0-dev.12",
|
|
37
|
+
"@itwin/eslint-plugin": "3.1.0-dev.12",
|
|
38
|
+
"@itwin/presentation-common": "3.1.0-dev.12",
|
|
39
39
|
"@types/chai": "^4.1.4",
|
|
40
40
|
"@types/chai-as-promised": "^7",
|
|
41
41
|
"@types/chai-jest-snapshot": "^1.3.0",
|