@itwin/linear-referencing-common 5.2.0-dev.3 → 5.2.0-dev.30

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,53 @@
1
1
  # Change Log - @itwin/linear-referencing-common
2
2
 
3
- This log was last generated on Wed, 06 Aug 2025 15:37:23 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 17 Sep 2025 17:22:51 GMT and should not be manually modified.
4
+
5
+ ## 5.1.8
6
+ Wed, 17 Sep 2025 17:17:16 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 5.1.7
11
+ Tue, 09 Sep 2025 19:28:04 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 5.1.6
16
+ Mon, 08 Sep 2025 13:53:47 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 5.1.5
21
+ Thu, 04 Sep 2025 13:51:09 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 5.1.4
26
+ Fri, 22 Aug 2025 14:22:33 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 5.1.3
31
+ Wed, 20 Aug 2025 13:57:10 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 5.1.2
36
+ Thu, 14 Aug 2025 19:38:08 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 5.1.1
41
+ Fri, 08 Aug 2025 18:06:10 GMT
42
+
43
+ ### Updates
44
+
45
+ - revert delivery of pure esm to deliver cjs/esm
46
+
47
+ ## 5.1.0
48
+ Fri, 08 Aug 2025 12:51:53 GMT
49
+
50
+ _Version update only_
4
51
 
5
52
  ## 5.0.5
6
53
  Wed, 06 Aug 2025 15:34:16 GMT
@@ -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,5 +1,5 @@
1
- export * from "./LinearReferencingCommon.js";
2
- export * from "./LinearReferencingElementProps.js";
1
+ export * from "./LinearReferencingCommon";
2
+ export * from "./LinearReferencingElementProps";
3
3
  /** @docs-package-description
4
4
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAEnD;;GAEG;AAEH;;GAEG"}
1
+ {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;GAEG;AAEH;;GAEG"}
@@ -18,8 +18,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- __exportStar(require("./LinearReferencingCommon.js"), exports);
22
- __exportStar(require("./LinearReferencingElementProps.js"), exports);
21
+ __exportStar(require("./LinearReferencingCommon"), exports);
22
+ __exportStar(require("./LinearReferencingElementProps"), exports);
23
23
  /** @docs-package-description
24
24
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
25
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,+DAA6C;AAC7C,qEAAmD;AAEnD;;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.js\";\nexport * from \"./LinearReferencingElementProps.js\";\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,5 +1,5 @@
1
- export * from "./LinearReferencingCommon.js";
2
- export * from "./LinearReferencingElementProps.js";
1
+ export * from "./LinearReferencingCommon";
2
+ export * from "./LinearReferencingElementProps";
3
3
  /** @docs-package-description
4
4
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAEnD;;GAEG;AAEH;;GAEG"}
1
+ {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;GAEG;AAEH;;GAEG"}
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
- export * from "./LinearReferencingCommon.js";
6
- export * from "./LinearReferencingElementProps.js";
5
+ export * from "./LinearReferencingCommon";
6
+ export * from "./LinearReferencingElementProps";
7
7
  /** @docs-package-description
8
8
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
9
9
  */
@@ -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,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAEnD;;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.js\";\nexport * from \"./LinearReferencingElementProps.js\";\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,16 +1,9 @@
1
1
  {
2
2
  "name": "@itwin/linear-referencing-common",
3
- "version": "5.2.0-dev.3",
3
+ "version": "5.2.0-dev.30",
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",
7
- "type": "module",
8
- "exports": {
9
- ".": {
10
- "import": "./lib/esm/linear-referencing-common.js",
11
- "require": "./lib/cjs/linear-referencing-common.js"
12
- }
13
- },
14
7
  "license": "MIT",
15
8
  "repository": {
16
9
  "type": "git",
@@ -27,8 +20,8 @@
27
20
  "url": "http://www.bentley.com"
28
21
  },
29
22
  "peerDependencies": {
30
- "@itwin/core-bentley": "5.2.0-dev.3",
31
- "@itwin/core-common": "5.2.0-dev.3"
23
+ "@itwin/core-bentley": "5.2.0-dev.30",
24
+ "@itwin/core-common": "5.2.0-dev.30"
32
25
  },
33
26
  "//devDependencies": [
34
27
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
@@ -39,15 +32,14 @@
39
32
  "eslint": "^9.31.0",
40
33
  "rimraf": "^6.0.1",
41
34
  "typescript": "~5.6.2",
42
- "@itwin/build-tools": "5.2.0-dev.3",
43
- "@itwin/core-bentley": "5.2.0-dev.3",
44
- "internal-tools": "3.0.0-dev.69",
45
- "@itwin/core-common": "5.2.0-dev.3"
35
+ "@itwin/build-tools": "5.2.0-dev.30",
36
+ "@itwin/core-common": "5.2.0-dev.30",
37
+ "@itwin/core-bentley": "5.2.0-dev.30"
46
38
  },
47
39
  "scripts": {
48
40
  "build": "npm run -s build:cjs && npm run -s build:esm",
49
- "build:cjs": "internal-tools build-cjs",
50
- "build:esm": "tsc 1>&2 --outDir lib/esm",
41
+ "build:cjs": "tsc 1>&2 --outDir lib/cjs",
42
+ "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
51
43
  "clean": "rimraf -g lib .rush/temp/package-deps*.json",
52
44
  "cover": "",
53
45
  "docs": "betools docs --json=../../../generated-docs/domains/linear-referencing-common/file.json --tsIndexFile=./linear-referencing-common.ts --onlyJson",