@itwin/linear-referencing-common 5.4.0-dev.7 → 5.4.1

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,26 @@
1
1
  # Change Log - @itwin/linear-referencing-common
2
2
 
3
- This log was last generated on Thu, 06 Nov 2025 20:30:21 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 11 Dec 2025 21:29:32 GMT and should not be manually modified.
4
+
5
+ ## 5.4.1
6
+ Thu, 11 Dec 2025 21:29:32 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 5.4.0
11
+ Tue, 02 Dec 2025 21:22:25 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 5.3.3
16
+ Thu, 20 Nov 2025 22:30:37 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 5.3.2
21
+ Thu, 13 Nov 2025 23:23:23 GMT
22
+
23
+ _Version update only_
4
24
 
5
25
  ## 5.3.1
6
26
  Thu, 06 Nov 2025 20:29:07 GMT
@@ -12,6 +32,16 @@ Mon, 03 Nov 2025 19:02:35 GMT
12
32
 
13
33
  _Version update only_
14
34
 
35
+ ## 5.2.6
36
+ Thu, 13 Nov 2025 21:13:51 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 5.2.5
41
+ Thu, 13 Nov 2025 07:45:15 GMT
42
+
43
+ _Version update only_
44
+
15
45
  ## 5.2.4
16
46
  Fri, 24 Oct 2025 16:20:38 GMT
17
47
 
@@ -124,6 +154,11 @@ Fri, 13 Jun 2025 20:25:38 GMT
124
154
  - Added ESM support
125
155
  - Change core peer dependencies to strict version.
126
156
 
157
+ ## 4.11.7
158
+ Thu, 13 Nov 2025 20:49:33 GMT
159
+
160
+ _Version update only_
161
+
127
162
  ## 4.11.6
128
163
  Mon, 16 Jun 2025 15:00:15 GMT
129
164
 
@@ -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,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"]}
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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"LinearReferencingElementProps.js","sourceRoot":"","sources":["../../src/LinearReferencingElementProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","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 { ElementAspectProps, GeometricElement3dProps, RelatedElementProps } from \"@itwin/core-common\";\n\n/** Properties of an ILinearElement\n * @beta\n */\nexport interface ILinearElementProps extends GeometricElement3dProps {\n startValue: number;\n lengthValue: number;\n source: RelatedElementProps;\n}\n\n/** Properties of an ILinearlyLocatedAttribution\n * @beta\n */\nexport interface ILinearlyLocatedAttributionProps {\n attributedElement?: RelatedElementProps;\n}\n\n/** Properties of a [LinearlyLocatedAttribution]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyLocatedAttributionProps extends GeometricElement3dProps, ILinearlyLocatedAttributionProps {\n}\n\n/** Properties of an IReferent\n * @beta\n */\nexport interface IReferentProps {\n referencedElement?: RelatedElementProps;\n}\n\n/** Properties of a [ReferentElement]($linear-referencing-backend)\n * @beta\n */\nexport interface ReferentElementProps extends GeometricElement3dProps, IReferentProps {\n}\n\n/** Properties of a [DistanceExpression]($linear-referencing-backend)\n * @beta\n */\nexport interface DistanceExpressionProps {\n distanceAlongFromStart: number;\n lateralOffsetFromILinearElement?: number;\n verticalOffsetFromILinearElement?: number;\n distanceAlongFromReferent?: number;\n}\n\n/** Core properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedAtLocationProps {\n atPosition: DistanceExpressionProps;\n fromReferent?: RelatedElementProps;\n}\n\n/** Core properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedFromToLocationProps {\n fromPosition: DistanceExpressionProps;\n fromPositionFromReferent?: RelatedElementProps;\n toPosition: DistanceExpressionProps;\n toPositionFromReferent?: RelatedElementProps;\n}\n\n/** Properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedAtLocationAspectProps extends LinearlyReferencedAtLocationProps, ElementAspectProps {\n}\n\n/** Properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedFromToLocationAspectProps extends LinearlyReferencedFromToLocationProps, ElementAspectProps {\n}\n"]}
1
+ {"version":3,"file":"LinearReferencingElementProps.js","sourceRoot":"","sources":["../../src/LinearReferencingElementProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","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 { ElementAspectProps, GeometricElement3dProps, RelatedElementProps } from \"@itwin/core-common\";\r\n\r\n/** Properties of an ILinearElement\r\n * @beta\r\n */\r\nexport interface ILinearElementProps extends GeometricElement3dProps {\r\n startValue: number;\r\n lengthValue: number;\r\n source: RelatedElementProps;\r\n}\r\n\r\n/** Properties of an ILinearlyLocatedAttribution\r\n * @beta\r\n */\r\nexport interface ILinearlyLocatedAttributionProps {\r\n attributedElement?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [LinearlyLocatedAttribution]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyLocatedAttributionProps extends GeometricElement3dProps, ILinearlyLocatedAttributionProps {\r\n}\r\n\r\n/** Properties of an IReferent\r\n * @beta\r\n */\r\nexport interface IReferentProps {\r\n referencedElement?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [ReferentElement]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface ReferentElementProps extends GeometricElement3dProps, IReferentProps {\r\n}\r\n\r\n/** Properties of a [DistanceExpression]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface DistanceExpressionProps {\r\n distanceAlongFromStart: number;\r\n lateralOffsetFromILinearElement?: number;\r\n verticalOffsetFromILinearElement?: number;\r\n distanceAlongFromReferent?: number;\r\n}\r\n\r\n/** Core properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedAtLocationProps {\r\n atPosition: DistanceExpressionProps;\r\n fromReferent?: RelatedElementProps;\r\n}\r\n\r\n/** Core properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedFromToLocationProps {\r\n fromPosition: DistanceExpressionProps;\r\n fromPositionFromReferent?: RelatedElementProps;\r\n toPosition: DistanceExpressionProps;\r\n toPositionFromReferent?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedAtLocationAspectProps extends LinearlyReferencedAtLocationProps, ElementAspectProps {\r\n}\r\n\r\n/** Properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedFromToLocationAspectProps extends LinearlyReferencedFromToLocationProps, ElementAspectProps {\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,4DAA0C;AAC1C,kEAAgD;AAEhD;;GAEG;AAEH;;GAEG","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 * from \"./LinearReferencingCommon\";\nexport * from \"./LinearReferencingElementProps\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\n */\n\n/** @docs-group-description LinearReferencing\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\n */\n"]}
1
+ {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,4DAA0C;AAC1C,kEAAgD;AAEhD;;GAEG;AAEH;;GAEG","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 * from \"./LinearReferencingCommon\";\r\nexport * from \"./LinearReferencingElementProps\";\r\n\r\n/** @docs-package-description\r\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\r\n */\r\n\r\n/** @docs-group-description LinearReferencing\r\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\r\n */\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"LinearReferencingCommon.js","sourceRoot":"","sources":["../../src/LinearReferencingCommon.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAeH;;GAEG;AACH,MAAM,CAAN,IAAY,gBAAyC;AAArD,WAAY,gBAAgB;IAAG,iEAAS,CAAA;IAAE,iEAAS,CAAA;AAAC,CAAC,EAAzC,gBAAgB,KAAhB,gBAAgB,QAAyB;AAErD;;GAEG;AACH,MAAM,CAAN,IAAY,8BAAkD;AAA9D,WAAY,8BAA8B;IAAG,+EAAE,CAAA;IAAE,uFAAM,CAAA;IAAE,iFAAG,CAAA;AAAC,CAAC,EAAlD,8BAA8B,KAA9B,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"]}
1
+ {"version":3,"file":"LinearReferencingCommon.js","sourceRoot":"","sources":["../../src/LinearReferencingCommon.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAeH;;GAEG;AACH,MAAM,CAAN,IAAY,gBAAyC;AAArD,WAAY,gBAAgB;IAAG,iEAAS,CAAA;IAAE,iEAAS,CAAA;AAAC,CAAC,EAAzC,gBAAgB,KAAhB,gBAAgB,QAAyB;AAErD;;GAEG;AACH,MAAM,CAAN,IAAY,8BAAkD;AAA9D,WAAY,8BAA8B;IAAG,+EAAE,CAAA;IAAE,uFAAM,CAAA;IAAE,iFAAG,CAAA;AAAC,CAAC,EAAlD,8BAA8B,KAA9B,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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"LinearReferencingElementProps.js","sourceRoot":"","sources":["../../src/LinearReferencingElementProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","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 { ElementAspectProps, GeometricElement3dProps, RelatedElementProps } from \"@itwin/core-common\";\n\n/** Properties of an ILinearElement\n * @beta\n */\nexport interface ILinearElementProps extends GeometricElement3dProps {\n startValue: number;\n lengthValue: number;\n source: RelatedElementProps;\n}\n\n/** Properties of an ILinearlyLocatedAttribution\n * @beta\n */\nexport interface ILinearlyLocatedAttributionProps {\n attributedElement?: RelatedElementProps;\n}\n\n/** Properties of a [LinearlyLocatedAttribution]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyLocatedAttributionProps extends GeometricElement3dProps, ILinearlyLocatedAttributionProps {\n}\n\n/** Properties of an IReferent\n * @beta\n */\nexport interface IReferentProps {\n referencedElement?: RelatedElementProps;\n}\n\n/** Properties of a [ReferentElement]($linear-referencing-backend)\n * @beta\n */\nexport interface ReferentElementProps extends GeometricElement3dProps, IReferentProps {\n}\n\n/** Properties of a [DistanceExpression]($linear-referencing-backend)\n * @beta\n */\nexport interface DistanceExpressionProps {\n distanceAlongFromStart: number;\n lateralOffsetFromILinearElement?: number;\n verticalOffsetFromILinearElement?: number;\n distanceAlongFromReferent?: number;\n}\n\n/** Core properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedAtLocationProps {\n atPosition: DistanceExpressionProps;\n fromReferent?: RelatedElementProps;\n}\n\n/** Core properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedFromToLocationProps {\n fromPosition: DistanceExpressionProps;\n fromPositionFromReferent?: RelatedElementProps;\n toPosition: DistanceExpressionProps;\n toPositionFromReferent?: RelatedElementProps;\n}\n\n/** Properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedAtLocationAspectProps extends LinearlyReferencedAtLocationProps, ElementAspectProps {\n}\n\n/** Properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\n * @beta\n */\nexport interface LinearlyReferencedFromToLocationAspectProps extends LinearlyReferencedFromToLocationProps, ElementAspectProps {\n}\n"]}
1
+ {"version":3,"file":"LinearReferencingElementProps.js","sourceRoot":"","sources":["../../src/LinearReferencingElementProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","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 { ElementAspectProps, GeometricElement3dProps, RelatedElementProps } from \"@itwin/core-common\";\r\n\r\n/** Properties of an ILinearElement\r\n * @beta\r\n */\r\nexport interface ILinearElementProps extends GeometricElement3dProps {\r\n startValue: number;\r\n lengthValue: number;\r\n source: RelatedElementProps;\r\n}\r\n\r\n/** Properties of an ILinearlyLocatedAttribution\r\n * @beta\r\n */\r\nexport interface ILinearlyLocatedAttributionProps {\r\n attributedElement?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [LinearlyLocatedAttribution]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyLocatedAttributionProps extends GeometricElement3dProps, ILinearlyLocatedAttributionProps {\r\n}\r\n\r\n/** Properties of an IReferent\r\n * @beta\r\n */\r\nexport interface IReferentProps {\r\n referencedElement?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [ReferentElement]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface ReferentElementProps extends GeometricElement3dProps, IReferentProps {\r\n}\r\n\r\n/** Properties of a [DistanceExpression]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface DistanceExpressionProps {\r\n distanceAlongFromStart: number;\r\n lateralOffsetFromILinearElement?: number;\r\n verticalOffsetFromILinearElement?: number;\r\n distanceAlongFromReferent?: number;\r\n}\r\n\r\n/** Core properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedAtLocationProps {\r\n atPosition: DistanceExpressionProps;\r\n fromReferent?: RelatedElementProps;\r\n}\r\n\r\n/** Core properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedFromToLocationProps {\r\n fromPosition: DistanceExpressionProps;\r\n fromPositionFromReferent?: RelatedElementProps;\r\n toPosition: DistanceExpressionProps;\r\n toPositionFromReferent?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [LinearlyReferencedAtLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedAtLocationAspectProps extends LinearlyReferencedAtLocationProps, ElementAspectProps {\r\n}\r\n\r\n/** Properties of a [LinearlyReferencedFromToLocation]($linear-referencing-backend)\r\n * @beta\r\n */\r\nexport interface LinearlyReferencedFromToLocationAspectProps extends LinearlyReferencedFromToLocationProps, ElementAspectProps {\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;GAEG;AAEH;;GAEG","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 * from \"./LinearReferencingCommon\";\nexport * from \"./LinearReferencingElementProps\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\n */\n\n/** @docs-group-description LinearReferencing\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\n */\n"]}
1
+ {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;GAEG;AAEH;;GAEG","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 * from \"./LinearReferencingCommon\";\r\nexport * from \"./LinearReferencingElementProps\";\r\n\r\n/** @docs-package-description\r\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\r\n */\r\n\r\n/** @docs-group-description LinearReferencing\r\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\r\n */\r\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/linear-referencing-common",
3
- "version": "5.4.0-dev.7",
3
+ "version": "5.4.1",
4
4
  "main": "lib/cjs/linear-referencing-common.js",
5
5
  "module": "lib/esm/linear-referencing-common.js",
6
6
  "typings": "lib/cjs/linear-referencing-common",
@@ -20,8 +20,8 @@
20
20
  "url": "http://www.bentley.com"
21
21
  },
22
22
  "peerDependencies": {
23
- "@itwin/core-bentley": "5.4.0-dev.7",
24
- "@itwin/core-common": "5.4.0-dev.7"
23
+ "@itwin/core-bentley": "5.4.1",
24
+ "@itwin/core-common": "5.4.1"
25
25
  },
26
26
  "//devDependencies": [
27
27
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
@@ -32,9 +32,9 @@
32
32
  "eslint": "^9.31.0",
33
33
  "rimraf": "^6.0.1",
34
34
  "typescript": "~5.6.2",
35
- "@itwin/build-tools": "5.4.0-dev.7",
36
- "@itwin/core-bentley": "5.4.0-dev.7",
37
- "@itwin/core-common": "5.4.0-dev.7"
35
+ "@itwin/build-tools": "5.4.1",
36
+ "@itwin/core-bentley": "5.4.1",
37
+ "@itwin/core-common": "5.4.1"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "npm run -s build:cjs && npm run -s build:esm",