@itwin/linear-referencing-backend 5.0.0-dev.4 → 5.0.0-dev.40
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,33 @@
|
|
|
1
1
|
# Change Log - @itwin/linear-referencing-backend
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 13 Jan 2025 14:09:29 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.10.4
|
|
6
|
+
Mon, 13 Jan 2025 14:06:43 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 4.10.3
|
|
11
|
+
Mon, 06 Jan 2025 14:00:13 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
14
|
+
|
|
15
|
+
## 4.10.2
|
|
16
|
+
Thu, 21 Nov 2024 15:22:20 GMT
|
|
17
|
+
|
|
18
|
+
_Version update only_
|
|
19
|
+
|
|
20
|
+
## 4.10.1
|
|
21
|
+
Thu, 14 Nov 2024 18:11:00 GMT
|
|
22
|
+
|
|
23
|
+
_Version update only_
|
|
24
|
+
|
|
25
|
+
## 4.10.0
|
|
26
|
+
Wed, 13 Nov 2024 15:23:39 GMT
|
|
27
|
+
|
|
28
|
+
### Updates
|
|
29
|
+
|
|
30
|
+
- Add support for Node 22
|
|
4
31
|
|
|
5
32
|
## 4.9.7
|
|
6
33
|
Wed, 06 Nov 2024 19:23:04 GMT
|
|
@@ -30,60 +30,60 @@ exports.ILinearLocationLocatesElement = ILinearLocationLocatesElement;
|
|
|
30
30
|
* @beta
|
|
31
31
|
*/
|
|
32
32
|
class ILinearElementProvidedBySource extends core_common_1.RelatedElement {
|
|
33
|
+
static { this.classFullName = "LinearReferencing:ILinearElementProvidedBySource"; }
|
|
33
34
|
constructor(sourceId, relClassName = ILinearElementProvidedBySource.classFullName) {
|
|
34
35
|
super({ id: sourceId, relClassName });
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
exports.ILinearElementProvidedBySource = ILinearElementProvidedBySource;
|
|
38
|
-
ILinearElementProvidedBySource.classFullName = "LinearReferencing:ILinearElementProvidedBySource";
|
|
39
39
|
/** Relationship indicating the bis:Element being attributed by a concrete instance mixing-in ILinearlyLocatedAttribution.
|
|
40
40
|
* @beta
|
|
41
41
|
*/
|
|
42
42
|
class ILinearlyLocatedAttributesElement extends core_common_1.RelatedElement {
|
|
43
|
+
static { this.classFullName = "LinearReferencing:ILinearlyLocatedAttributesElement"; }
|
|
43
44
|
constructor(attributedElementId, relClassName = ILinearlyLocatedAttributesElement.classFullName) {
|
|
44
45
|
super({ id: attributedElementId, relClassName });
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
exports.ILinearlyLocatedAttributesElement = ILinearlyLocatedAttributesElement;
|
|
48
|
-
ILinearlyLocatedAttributesElement.classFullName = "LinearReferencing:ILinearlyLocatedAttributesElement";
|
|
49
49
|
/** Relationship indicating the bis:SpatialElement being used as Referent for Linear Referencing purposes.
|
|
50
50
|
* @beta
|
|
51
51
|
*/
|
|
52
52
|
class IReferentReferencesElement extends core_common_1.RelatedElement {
|
|
53
|
+
static { this.classFullName = "LinearReferencing:IReferentReferencesElement"; }
|
|
53
54
|
constructor(referencedElementId, relClassName = IReferentReferencesElement.classFullName) {
|
|
54
55
|
super({ id: referencedElementId, relClassName });
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
exports.IReferentReferencesElement = IReferentReferencesElement;
|
|
58
|
-
IReferentReferencesElement.classFullName = "LinearReferencing:IReferentReferencesElement";
|
|
59
59
|
/** Relationship indicating the referent used by a particular linearly-referenced At position.
|
|
60
60
|
* @beta
|
|
61
61
|
*/
|
|
62
62
|
class LinearlyReferencedAtPositionRefersToReferent extends core_common_1.RelatedElement {
|
|
63
|
+
static { this.classFullName = "LinearReferencing:LinearlyReferencedAtPositionRefersToReferent"; }
|
|
63
64
|
constructor(referentId, relClassName = IReferentReferencesElement.classFullName) {
|
|
64
65
|
super({ id: referentId, relClassName });
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
exports.LinearlyReferencedAtPositionRefersToReferent = LinearlyReferencedAtPositionRefersToReferent;
|
|
68
|
-
LinearlyReferencedAtPositionRefersToReferent.classFullName = "LinearReferencing:LinearlyReferencedAtPositionRefersToReferent";
|
|
69
69
|
/** Relationship indicating the referent used by a particular linearly-referenced From position.
|
|
70
70
|
* @beta
|
|
71
71
|
*/
|
|
72
72
|
class LinearlyReferencedFromPositionRefersToReferent extends core_common_1.RelatedElement {
|
|
73
|
+
static { this.classFullName = "LinearReferencing:LinearlyReferencedFromPositionRefersToReferent"; }
|
|
73
74
|
constructor(referentId, relClassName = LinearlyReferencedFromPositionRefersToReferent.classFullName) {
|
|
74
75
|
super({ id: referentId, relClassName });
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
exports.LinearlyReferencedFromPositionRefersToReferent = LinearlyReferencedFromPositionRefersToReferent;
|
|
78
|
-
LinearlyReferencedFromPositionRefersToReferent.classFullName = "LinearReferencing:LinearlyReferencedFromPositionRefersToReferent";
|
|
79
79
|
/** Relationship indicating the referent used by a particular linearly-referenced To position.
|
|
80
80
|
* @beta
|
|
81
81
|
*/
|
|
82
82
|
class LinearlyReferencedToPositionRefersToReferent extends core_common_1.RelatedElement {
|
|
83
|
+
static { this.classFullName = "LinearReferencing:LinearlyReferencedToPositionRefersToReferent"; }
|
|
83
84
|
constructor(referentId, relClassName = LinearlyReferencedToPositionRefersToReferent.classFullName) {
|
|
84
85
|
super({ id: referentId, relClassName });
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
exports.LinearlyReferencedToPositionRefersToReferent = LinearlyReferencedToPositionRefersToReferent;
|
|
88
|
-
LinearlyReferencedToPositionRefersToReferent.classFullName = "LinearReferencing:LinearlyReferencedToPositionRefersToReferent";
|
|
89
89
|
//# sourceMappingURL=LinearReferencingRelationships.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinearReferencingRelationships.js","sourceRoot":"","sources":["../../src/LinearReferencingRelationships.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,sDAA8D;AAC9D,oDAAoD;AAEpD;;GAEG;AACH,MAAa,mCAAoC,SAAQ,sCAAuB;IAC9E,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,qCAAqC,CAAC,CAAC,CAAC;CACjG;AAHD,kFAGC;AAED;;GAEG;AACH,MAAa,6BAA8B,SAAQ,sCAAuB;IACxE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,+BAA+B,CAAC,CAAC,CAAC;CAC3F;AAHD,sEAGC;AAED;;GAEG;AACH,MAAa,8BAA+B,SAAQ,4BAAc;
|
|
1
|
+
{"version":3,"file":"LinearReferencingRelationships.js","sourceRoot":"","sources":["../../src/LinearReferencingRelationships.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,sDAA8D;AAC9D,oDAAoD;AAEpD;;GAEG;AACH,MAAa,mCAAoC,SAAQ,sCAAuB;IAC9E,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,qCAAqC,CAAC,CAAC,CAAC;CACjG;AAHD,kFAGC;AAED;;GAEG;AACH,MAAa,6BAA8B,SAAQ,sCAAuB;IACxE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,+BAA+B,CAAC,CAAC,CAAC;CAC3F;AAHD,sEAGC;AAED;;GAEG;AACH,MAAa,8BAA+B,SAAQ,4BAAc;aAClD,kBAAa,GAAG,kDAAkD,CAAC;IACjF,YAAmB,QAAoB,EAAE,eAAuB,8BAA8B,CAAC,aAAa;QAC1G,KAAK,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,CAAC;IACxC,CAAC;;AAJH,wEAKC;AAED;;GAEG;AACH,MAAa,iCAAkC,SAAQ,4BAAc;aACrD,kBAAa,GAAG,qDAAqD,CAAC;IACpF,YAAmB,mBAA+B,EAAE,eAAuB,iCAAiC,CAAC,aAAa;QACxH,KAAK,CAAC,EAAE,EAAE,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAC,CAAC;IACnD,CAAC;;AAJH,8EAKC;AAED;;GAEG;AACH,MAAa,0BAA2B,SAAQ,4BAAc;aAC9C,kBAAa,GAAG,8CAA8C,CAAC;IAC7E,YAAmB,mBAA+B,EAAE,eAAuB,0BAA0B,CAAC,aAAa;QACjH,KAAK,CAAC,EAAE,EAAE,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAC,CAAC;IACnD,CAAC;;AAJH,gEAKC;AAED;;GAEG;AACH,MAAa,4CAA6C,SAAQ,4BAAc;aAChE,kBAAa,GAAG,gEAAgE,CAAC;IAC/F,YAAmB,UAAsB,EAAE,eAAuB,0BAA0B,CAAC,aAAa;QACxG,KAAK,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC;IAC1C,CAAC;;AAJH,oGAKC;AAED;;GAEG;AACH,MAAa,8CAA+C,SAAQ,4BAAc;aAClE,kBAAa,GAAG,kEAAkE,CAAC;IACjG,YAAmB,UAAsB,EAAE,eAAuB,8CAA8C,CAAC,aAAa;QAC5H,KAAK,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC;IAC1C,CAAC;;AAJH,wGAKC;AAED;;GAEG;AACH,MAAa,4CAA6C,SAAQ,4BAAc;aAChE,kBAAa,GAAG,gEAAgE,CAAC;IAC/F,YAAmB,UAAsB,EAAE,eAAuB,4CAA4C,CAAC,aAAa;QAC1H,KAAK,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC;IAC1C,CAAC;;AAJH,oGAKC","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\";\nimport { ElementRefersToElements } from \"@itwin/core-backend\";\nimport { RelatedElement } from \"@itwin/core-common\";\n\n/** Relationship indicating the Linear-Element along which concrete instances mixing-in ILinearlyLocated are located.\n * @beta\n */\nexport class ILinearlyLocatedAlongILinearElement extends ElementRefersToElements {\n /** @internal */\n public static override get className(): string { return \"ILinearlyLocatedAlongILinearElement\"; }\n}\n\n/** Relationship indicating bis:Element being linearly-located by a concrete instance mixing-in ILinearLocationElement.\n * @beta\n */\nexport class ILinearLocationLocatesElement extends ElementRefersToElements {\n /** @internal */\n public static override get className(): string { return \"ILinearLocationLocatesElement\"; }\n}\n\n/** Relationship associating Linear-Elements with the elements they came from.\n * @beta\n */\nexport class ILinearElementProvidedBySource extends RelatedElement {\n public static classFullName = \"LinearReferencing:ILinearElementProvidedBySource\";\n public constructor(sourceId: Id64String, relClassName: string = ILinearElementProvidedBySource.classFullName) {\n super({ id: sourceId, relClassName });\n }\n}\n\n/** Relationship indicating the bis:Element being attributed by a concrete instance mixing-in ILinearlyLocatedAttribution.\n * @beta\n */\nexport class ILinearlyLocatedAttributesElement extends RelatedElement {\n public static classFullName = \"LinearReferencing:ILinearlyLocatedAttributesElement\";\n public constructor(attributedElementId: Id64String, relClassName: string = ILinearlyLocatedAttributesElement.classFullName) {\n super({ id: attributedElementId, relClassName });\n }\n}\n\n/** Relationship indicating the bis:SpatialElement being used as Referent for Linear Referencing purposes.\n * @beta\n */\nexport class IReferentReferencesElement extends RelatedElement {\n public static classFullName = \"LinearReferencing:IReferentReferencesElement\";\n public constructor(referencedElementId: Id64String, relClassName: string = IReferentReferencesElement.classFullName) {\n super({ id: referencedElementId, relClassName });\n }\n}\n\n/** Relationship indicating the referent used by a particular linearly-referenced At position.\n * @beta\n */\nexport class LinearlyReferencedAtPositionRefersToReferent extends RelatedElement {\n public static classFullName = \"LinearReferencing:LinearlyReferencedAtPositionRefersToReferent\";\n public constructor(referentId: Id64String, relClassName: string = IReferentReferencesElement.classFullName) {\n super({ id: referentId, relClassName });\n }\n}\n\n/** Relationship indicating the referent used by a particular linearly-referenced From position.\n * @beta\n */\nexport class LinearlyReferencedFromPositionRefersToReferent extends RelatedElement {\n public static classFullName = \"LinearReferencing:LinearlyReferencedFromPositionRefersToReferent\";\n public constructor(referentId: Id64String, relClassName: string = LinearlyReferencedFromPositionRefersToReferent.classFullName) {\n super({ id: referentId, relClassName });\n }\n}\n\n/** Relationship indicating the referent used by a particular linearly-referenced To position.\n * @beta\n */\nexport class LinearlyReferencedToPositionRefersToReferent extends RelatedElement {\n public static classFullName = \"LinearReferencing:LinearlyReferencedToPositionRefersToReferent\";\n public constructor(referentId: Id64String, relClassName: string = LinearlyReferencedToPositionRefersToReferent.classFullName) {\n super({ id: referentId, relClassName });\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/linear-referencing-backend",
|
|
3
|
-
"version": "5.0.0-dev.
|
|
3
|
+
"version": "5.0.0-dev.40",
|
|
4
4
|
"main": "lib/cjs/linear-referencing-backend.js",
|
|
5
5
|
"typings": "lib/cjs/linear-referencing-backend",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": "^
|
|
8
|
+
"node": "^20.0.0 || ^22.0.0"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"url": "http://www.bentley.com"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@itwin/core-backend": "
|
|
26
|
-
"@itwin/core-bentley": "
|
|
27
|
-
"@itwin/core-common": "
|
|
28
|
-
"@itwin/linear-referencing-common": "
|
|
25
|
+
"@itwin/core-backend": "5.0.0-dev.40",
|
|
26
|
+
"@itwin/core-bentley": "5.0.0-dev.40",
|
|
27
|
+
"@itwin/core-common": "5.0.0-dev.40",
|
|
28
|
+
"@itwin/linear-referencing-common": "5.0.0-dev.40"
|
|
29
29
|
},
|
|
30
30
|
"//devDependencies": [
|
|
31
31
|
"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/chai": "4.3.1",
|
|
37
37
|
"@types/fs-extra": "^4.0.7",
|
|
38
38
|
"@types/mocha": "^10.0.6",
|
|
39
|
-
"@types/node": "~
|
|
39
|
+
"@types/node": "~20.9.5",
|
|
40
40
|
"chai": "^4.3.10",
|
|
41
41
|
"cpx2": "^3.0.0",
|
|
42
42
|
"eslint": "^9.13.0",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"nyc": "^15.1.0",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"typescript": "~5.6.2",
|
|
47
|
-
"@itwin/build-tools": "5.0.0-dev.
|
|
48
|
-
"@itwin/core-backend": "5.0.0-dev.
|
|
49
|
-
"@itwin/core-
|
|
50
|
-
"@itwin/core-
|
|
51
|
-
"@itwin/linear-referencing-common": "5.0.0-dev.
|
|
47
|
+
"@itwin/build-tools": "5.0.0-dev.40",
|
|
48
|
+
"@itwin/core-backend": "5.0.0-dev.40",
|
|
49
|
+
"@itwin/core-common": "5.0.0-dev.40",
|
|
50
|
+
"@itwin/core-bentley": "5.0.0-dev.40",
|
|
51
|
+
"@itwin/linear-referencing-common": "5.0.0-dev.40"
|
|
52
52
|
},
|
|
53
53
|
"TODO-dependencies": {
|
|
54
54
|
"@itwin/linear-referencing-schema": "~1.0.1"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"clean": "rimraf lib .rush/temp/package-deps*.json",
|
|
62
62
|
"copy:test-assets": "cpx \"./src/test/assets/**/*\" ./lib/cjs/test/assets",
|
|
63
63
|
"cover": "nyc npm -s test",
|
|
64
|
-
"docs": "betools docs --
|
|
64
|
+
"docs": "betools docs --json=../../../generated-docs/domains/linear-referencing-backend/file.json --tsIndexFile=./linear-referencing-backend.ts --onlyJson",
|
|
65
65
|
"extract-api": "betools extract-api --entry=linear-referencing-backend",
|
|
66
66
|
"lint": "eslint \"./src/**/*.ts\" 1>&2",
|
|
67
67
|
"test": "mocha"
|