@itwin/linear-referencing-common 4.6.0-dev.9 → 4.7.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @itwin/linear-referencing-common
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 16 Apr 2024 14:47:36 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.5.2
|
|
6
|
+
Tue, 16 Apr 2024 14:46:22 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 4.5.1
|
|
6
11
|
Wed, 03 Apr 2024 18:26:59 GMT
|
|
@@ -12,6 +17,11 @@ Tue, 02 Apr 2024 19:06:00 GMT
|
|
|
12
17
|
|
|
13
18
|
_Version update only_
|
|
14
19
|
|
|
20
|
+
## 4.4.9
|
|
21
|
+
Mon, 15 Apr 2024 20:29:22 GMT
|
|
22
|
+
|
|
23
|
+
_Version update only_
|
|
24
|
+
|
|
15
25
|
## 4.4.8
|
|
16
26
|
Mon, 25 Mar 2024 22:22:26 GMT
|
|
17
27
|
|
|
@@ -15,7 +15,7 @@ var ComparisonOption;
|
|
|
15
15
|
(function (ComparisonOption) {
|
|
16
16
|
ComparisonOption[ComparisonOption["Inclusive"] = 0] = "Inclusive";
|
|
17
17
|
ComparisonOption[ComparisonOption["Exclusive"] = 1] = "Exclusive";
|
|
18
|
-
})(ComparisonOption
|
|
18
|
+
})(ComparisonOption || (exports.ComparisonOption = ComparisonOption = {}));
|
|
19
19
|
/** Enum enabling LinearElement.queryLinearLocations performance optimization when the target Linearly-Located classes are all either At or FromTo.
|
|
20
20
|
* @beta
|
|
21
21
|
*/
|
|
@@ -24,5 +24,5 @@ var LinearlyReferencedLocationType;
|
|
|
24
24
|
LinearlyReferencedLocationType[LinearlyReferencedLocationType["At"] = 0] = "At";
|
|
25
25
|
LinearlyReferencedLocationType[LinearlyReferencedLocationType["FromTo"] = 1] = "FromTo";
|
|
26
26
|
LinearlyReferencedLocationType[LinearlyReferencedLocationType["Any"] = 2] = "Any";
|
|
27
|
-
})(LinearlyReferencedLocationType
|
|
27
|
+
})(LinearlyReferencedLocationType || (exports.LinearlyReferencedLocationType = LinearlyReferencedLocationType = {}));
|
|
28
28
|
//# sourceMappingURL=LinearReferencingCommon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinearReferencingCommon.js","sourceRoot":"","sources":["../../src/LinearReferencingCommon.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAeH;;GAEG;AACH,IAAY,gBAAyC;AAArD,WAAY,gBAAgB;IAAG,iEAAS,CAAA;IAAE,iEAAS,CAAA;AAAC,CAAC,EAAzC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"LinearReferencingCommon.js","sourceRoot":"","sources":["../../src/LinearReferencingCommon.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAeH;;GAEG;AACH,IAAY,gBAAyC;AAArD,WAAY,gBAAgB;IAAG,iEAAS,CAAA;IAAE,iEAAS,CAAA;AAAC,CAAC,EAAzC,gBAAgB,gCAAhB,gBAAgB,QAAyB;AAErD;;GAEG;AACH,IAAY,8BAAkD;AAA9D,WAAY,8BAA8B;IAAG,+EAAE,CAAA;IAAE,uFAAM,CAAA;IAAE,iFAAG,CAAA;AAAC,CAAC,EAAlD,8BAA8B,8CAA9B,8BAA8B,QAAoB","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 LinearReferencing\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\n\r\n/** Interface with data returned by LinearElement.queryLinearLocations API\r\n * @beta\r\n */\r\nexport interface LinearLocationReference {\r\n startDistanceAlong: number;\r\n stopDistanceAlong: number;\r\n linearlyLocatedId: Id64String;\r\n linearlyLocatedClassFullName: string;\r\n locationAspectId: Id64String;\r\n}\r\n\r\n/** Enum capturing range-comparison options for from/to distanceAlong in QueryParams\r\n * @beta\r\n */\r\nexport enum ComparisonOption { Inclusive, Exclusive }\r\n\r\n/** Enum enabling LinearElement.queryLinearLocations performance optimization when the target Linearly-Located classes are all either At or FromTo.\r\n * @beta\r\n */\r\nexport enum LinearlyReferencedLocationType { At, FromTo, Any }\r\n\r\n/** Interface capturing various parameters for the execution of LinearElement.queryLinearLocations API\r\n * @beta\r\n */\r\nexport interface QueryParams {\r\n fromDistanceAlong?: number;\r\n fromComparisonOption?: ComparisonOption;\r\n toDistanceAlong?: number;\r\n toComparisonOption?: ComparisonOption;\r\n linearlyReferencedLocationTypeFilter?: LinearlyReferencedLocationType;\r\n linearlyLocatedClassFullNames?: string[];\r\n}\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/linear-referencing-common",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0-dev.3",
|
|
4
4
|
"main": "lib/cjs/linear-referencing-common.js",
|
|
5
5
|
"typings": "lib/cjs/linear-referencing-common",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"url": "http://www.bentley.com"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@itwin/core-bentley": "^4.
|
|
23
|
-
"@itwin/core-common": "^4.
|
|
22
|
+
"@itwin/core-bentley": "^4.7.0-dev.3",
|
|
23
|
+
"@itwin/core-common": "^4.7.0-dev.3"
|
|
24
24
|
},
|
|
25
25
|
"//devDependencies": [
|
|
26
26
|
"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
|
|
27
27
|
"NOTE: All tools used by scripts in this package must be listed as devDependencies"
|
|
28
28
|
],
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@itwin/eslint-plugin": "4.0.
|
|
30
|
+
"@itwin/eslint-plugin": "^4.0.2",
|
|
31
31
|
"@types/chai": "4.3.1",
|
|
32
32
|
"@types/fs-extra": "^4.0.7",
|
|
33
33
|
"@types/mocha": "^10.0.6",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"mocha": "^10.2.0",
|
|
37
37
|
"nyc": "^15.1.0",
|
|
38
38
|
"rimraf": "^3.0.2",
|
|
39
|
-
"typescript": "~5.
|
|
40
|
-
"@itwin/
|
|
41
|
-
"@itwin/
|
|
42
|
-
"@itwin/core-bentley": "4.
|
|
39
|
+
"typescript": "~5.3.3",
|
|
40
|
+
"@itwin/core-common": "4.7.0-dev.3",
|
|
41
|
+
"@itwin/build-tools": "4.7.0-dev.3",
|
|
42
|
+
"@itwin/core-bentley": "4.7.0-dev.3"
|
|
43
43
|
},
|
|
44
44
|
"nyc": {
|
|
45
45
|
"extends": "./node_modules/@itwin/build-tools/.nycrc"
|