@itwin/linear-referencing-common 4.1.0-dev.8 → 4.1.0-dev.80

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,78 @@
1
1
  # Change Log - @itwin/linear-referencing-common
2
2
 
3
- This log was last generated on Tue, 25 Apr 2023 17:50:35 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Jul 2023 12:35:20 GMT and should not be manually modified.
4
+
5
+ ## 4.0.6
6
+ Mon, 24 Jul 2023 05:07:33 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.0.5
11
+ Tue, 18 Jul 2023 12:21:56 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 4.0.4
16
+ Wed, 12 Jul 2023 15:50:01 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 4.0.3
21
+ Mon, 03 Jul 2023 15:28:41 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 4.0.2
26
+ Wed, 21 Jun 2023 22:04:43 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 4.0.1
31
+ Wed, 21 Jun 2023 20:29:14 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 4.0.0
36
+ Mon, 22 May 2023 15:34:14 GMT
37
+
38
+ ### Updates
39
+
40
+ - Update to eslint@8
41
+
42
+ ## 3.7.11
43
+ Tue, 11 Jul 2023 17:17:22 GMT
44
+
45
+ _Version update only_
46
+
47
+ ## 3.7.10
48
+ Wed, 05 Jul 2023 13:41:21 GMT
49
+
50
+ _Version update only_
51
+
52
+ ## 3.7.9
53
+ Tue, 20 Jun 2023 12:51:02 GMT
54
+
55
+ _Version update only_
56
+
57
+ ## 3.7.8
58
+ Thu, 01 Jun 2023 17:00:39 GMT
59
+
60
+ _Version update only_
61
+
62
+ ## 3.7.7
63
+ Wed, 24 May 2023 17:27:09 GMT
64
+
65
+ _Version update only_
66
+
67
+ ## 3.7.6
68
+ Mon, 15 May 2023 18:23:41 GMT
69
+
70
+ _Version update only_
71
+
72
+ ## 3.7.5
73
+ Thu, 04 May 2023 19:43:18 GMT
74
+
75
+ _Version update only_
4
76
 
5
77
  ## 3.7.4
6
78
  Tue, 25 Apr 2023 17:50:35 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,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":["/*---------------------------------------------------------------------------------------------\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
+ {"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 +1 @@
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
+ {"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 +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":["/*---------------------------------------------------------------------------------------------\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
+ {"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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/linear-referencing-common",
3
- "version": "4.1.0-dev.8",
3
+ "version": "4.1.0-dev.80",
4
4
  "main": "lib/cjs/linear-referencing-common.js",
5
5
  "typings": "lib/cjs/linear-referencing-common",
6
6
  "license": "MIT",
@@ -19,37 +19,31 @@
19
19
  "url": "http://www.bentley.com"
20
20
  },
21
21
  "peerDependencies": {
22
- "@itwin/core-bentley": "^4.1.0-dev.8",
23
- "@itwin/core-common": "^4.1.0-dev.8"
22
+ "@itwin/core-bentley": "^4.1.0-dev.80",
23
+ "@itwin/core-common": "^4.1.0-dev.80"
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.33",
30
+ "@itwin/eslint-plugin": "4.0.0-dev.44",
31
31
  "@types/chai": "4.3.1",
32
32
  "@types/fs-extra": "^4.0.7",
33
33
  "@types/mocha": "^8.2.2",
34
34
  "chai": "^4.1.2",
35
- "eslint": "^8.36.0",
35
+ "eslint": "^8.44.0",
36
36
  "mocha": "^10.0.0",
37
37
  "nyc": "^15.1.0",
38
38
  "rimraf": "^3.0.2",
39
39
  "typescript": "~5.0.2",
40
- "@itwin/build-tools": "4.1.0-dev.8",
41
- "@itwin/core-common": "4.1.0-dev.8",
42
- "@itwin/core-bentley": "4.1.0-dev.8"
40
+ "@itwin/build-tools": "4.1.0-dev.80",
41
+ "@itwin/core-common": "4.1.0-dev.80",
42
+ "@itwin/core-bentley": "4.1.0-dev.80"
43
43
  },
44
44
  "nyc": {
45
45
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
46
46
  },
47
- "eslintConfig": {
48
- "plugins": [
49
- "@itwin"
50
- ],
51
- "extends": "plugin:@itwin/itwinjs-recommended"
52
- },
53
47
  "scripts": {
54
48
  "build": "npm run -s build:cjs",
55
49
  "build:cjs": "tsc 1>&2 --outDir lib/cjs",