@itwin/linear-referencing-common 4.6.0-dev.8 → 4.6.0

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,16 @@
1
1
  # Change Log - @itwin/linear-referencing-common
2
2
 
3
- This log was last generated on Wed, 03 Apr 2024 18:28:10 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 13 May 2024 20:32:51 GMT and should not be manually modified.
4
+
5
+ ## 4.6.0
6
+ Mon, 13 May 2024 20:32:51 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.5.2
11
+ Tue, 16 Apr 2024 14:46:22 GMT
12
+
13
+ _Version update only_
4
14
 
5
15
  ## 4.5.1
6
16
  Wed, 03 Apr 2024 18:26:59 GMT
@@ -12,6 +22,11 @@ Tue, 02 Apr 2024 19:06:00 GMT
12
22
 
13
23
  _Version update only_
14
24
 
25
+ ## 4.4.9
26
+ Mon, 15 Apr 2024 20:29:22 GMT
27
+
28
+ _Version update only_
29
+
15
30
  ## 4.4.8
16
31
  Mon, 25 Mar 2024 22:22:26 GMT
17
32
 
@@ -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 = exports.ComparisonOption || (exports.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 = exports.LinearlyReferencedLocationType || (exports.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,GAAhB,wBAAgB,KAAhB,wBAAgB,QAAyB;AAErD;;GAEG;AACH,IAAY,8BAAkD;AAA9D,WAAY,8BAA8B;IAAG,+EAAE,CAAA;IAAE,uFAAM,CAAA;IAAE,iFAAG,CAAA;AAAC,CAAC,EAAlD,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAAoB","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 LinearReferencing\n */\n\nimport { Id64String } from \"@itwin/core-bentley\";\n\n/** Interface with data returned by LinearElement.queryLinearLocations API\n * @beta\n */\nexport interface LinearLocationReference {\n startDistanceAlong: number;\n stopDistanceAlong: number;\n linearlyLocatedId: Id64String;\n linearlyLocatedClassFullName: string;\n locationAspectId: Id64String;\n}\n\n/** Enum capturing range-comparison options for from/to distanceAlong in QueryParams\n * @beta\n */\nexport enum ComparisonOption { Inclusive, Exclusive }\n\n/** Enum enabling LinearElement.queryLinearLocations performance optimization when the target Linearly-Located classes are all either At or FromTo.\n * @beta\n */\nexport enum LinearlyReferencedLocationType { At, FromTo, Any }\n\n/** Interface capturing various parameters for the execution of LinearElement.queryLinearLocations API\n * @beta\n */\nexport interface QueryParams {\n fromDistanceAlong?: number;\n fromComparisonOption?: ComparisonOption;\n toDistanceAlong?: number;\n toComparisonOption?: ComparisonOption;\n linearlyReferencedLocationTypeFilter?: LinearlyReferencedLocationType;\n linearlyLocatedClassFullNames?: string[];\n}\n"]}
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":["/*---------------------------------------------------------------------------------------------\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 LinearReferencing\n */\n\nimport { Id64String } from \"@itwin/core-bentley\";\n\n/** Interface with data returned by LinearElement.queryLinearLocations API\n * @beta\n */\nexport interface LinearLocationReference {\n startDistanceAlong: number;\n stopDistanceAlong: number;\n linearlyLocatedId: Id64String;\n linearlyLocatedClassFullName: string;\n locationAspectId: Id64String;\n}\n\n/** Enum capturing range-comparison options for from/to distanceAlong in QueryParams\n * @beta\n */\nexport enum ComparisonOption { Inclusive, Exclusive }\n\n/** Enum enabling LinearElement.queryLinearLocations performance optimization when the target Linearly-Located classes are all either At or FromTo.\n * @beta\n */\nexport enum LinearlyReferencedLocationType { At, FromTo, Any }\n\n/** Interface capturing various parameters for the execution of LinearElement.queryLinearLocations API\n * @beta\n */\nexport interface QueryParams {\n fromDistanceAlong?: number;\n fromComparisonOption?: ComparisonOption;\n toDistanceAlong?: number;\n toComparisonOption?: ComparisonOption;\n linearlyReferencedLocationTypeFilter?: LinearlyReferencedLocationType;\n linearlyLocatedClassFullNames?: string[];\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/linear-referencing-common",
3
- "version": "4.6.0-dev.8",
3
+ "version": "4.6.0",
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.6.0-dev.8",
23
- "@itwin/core-common": "^4.6.0-dev.8"
22
+ "@itwin/core-bentley": "^4.6.0",
23
+ "@itwin/core-common": "^4.6.0"
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.0-dev.44",
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.0.2",
40
- "@itwin/core-bentley": "4.6.0-dev.8",
41
- "@itwin/build-tools": "4.6.0-dev.8",
42
- "@itwin/core-common": "4.6.0-dev.8"
39
+ "typescript": "~5.3.3",
40
+ "@itwin/build-tools": "4.6.0",
41
+ "@itwin/core-common": "4.6.0",
42
+ "@itwin/core-bentley": "4.6.0"
43
43
  },
44
44
  "nyc": {
45
45
  "extends": "./node_modules/@itwin/build-tools/.nycrc"