@itwin/linear-referencing-backend 4.0.0-dev.21 → 4.0.0-dev.23
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/lib/cjs/LinearReferencingElementAspects.d.ts +53 -53
- package/lib/cjs/LinearReferencingElementAspects.js +95 -95
- package/lib/cjs/LinearReferencingElementAspects.js.map +1 -1
- package/lib/cjs/LinearReferencingElements.d.ts +201 -201
- package/lib/cjs/LinearReferencingElements.js +609 -609
- package/lib/cjs/LinearReferencingElements.js.map +1 -1
- package/lib/cjs/LinearReferencingRelationships.d.ts +62 -62
- package/lib/cjs/LinearReferencingRelationships.js +88 -88
- package/lib/cjs/LinearReferencingRelationships.js.map +1 -1
- package/lib/cjs/LinearReferencingSchema.d.ts +13 -13
- package/lib/cjs/LinearReferencingSchema.js +33 -33
- package/lib/cjs/LinearReferencingSchema.js.map +1 -1
- package/lib/cjs/linear-referencing-backend.d.ts +10 -10
- package/lib/cjs/linear-referencing-backend.js +26 -26
- package/lib/cjs/linear-referencing-backend.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module LinearReferencing
|
|
3
|
-
*/
|
|
4
|
-
import { Schema } from "@itwin/core-backend";
|
|
5
|
-
/** Schema for the LinearReferencing domain.
|
|
6
|
-
* [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.
|
|
7
|
-
* @beta
|
|
8
|
-
*/
|
|
9
|
-
export declare class LinearReferencingSchema extends Schema {
|
|
10
|
-
static get schemaName(): string;
|
|
11
|
-
static get schemaFilePath(): string;
|
|
12
|
-
static registerSchema(): void;
|
|
13
|
-
}
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module LinearReferencing
|
|
3
|
+
*/
|
|
4
|
+
import { Schema } from "@itwin/core-backend";
|
|
5
|
+
/** Schema for the LinearReferencing domain.
|
|
6
|
+
* [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.
|
|
7
|
+
* @beta
|
|
8
|
+
*/
|
|
9
|
+
export declare class LinearReferencingSchema extends Schema {
|
|
10
|
+
static get schemaName(): string;
|
|
11
|
+
static get schemaFilePath(): string;
|
|
12
|
+
static registerSchema(): void;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=LinearReferencingSchema.d.ts.map
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module LinearReferencing
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.LinearReferencingSchema = void 0;
|
|
11
|
-
const path = require("path");
|
|
12
|
-
const core_backend_1 = require("@itwin/core-backend");
|
|
13
|
-
const aspectsModule = require("./LinearReferencingElementAspects");
|
|
14
|
-
const elementsModule = require("./LinearReferencingElements");
|
|
15
|
-
const relationshipsModule = require("./LinearReferencingRelationships");
|
|
16
|
-
/** Schema for the LinearReferencing domain.
|
|
17
|
-
* [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.
|
|
18
|
-
* @beta
|
|
19
|
-
*/
|
|
20
|
-
class LinearReferencingSchema extends core_backend_1.Schema {
|
|
21
|
-
static get schemaName() { return "LinearReferencing"; }
|
|
22
|
-
static get schemaFilePath() { return path.join(core_backend_1.KnownLocations.nativeAssetsDir, "ECSchemas", "Domain", "LinearReferencing.ecschema.xml"); }
|
|
23
|
-
static registerSchema() {
|
|
24
|
-
if (this !== core_backend_1.Schemas.getRegisteredSchema(this.schemaName)) {
|
|
25
|
-
core_backend_1.Schemas.unregisterSchema(this.schemaName);
|
|
26
|
-
core_backend_1.Schemas.registerSchema(this);
|
|
27
|
-
core_backend_1.ClassRegistry.registerModule(elementsModule, this);
|
|
28
|
-
core_backend_1.ClassRegistry.registerModule(aspectsModule, this);
|
|
29
|
-
core_backend_1.ClassRegistry.registerModule(relationshipsModule, this);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.LinearReferencingSchema = LinearReferencingSchema;
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module LinearReferencing
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LinearReferencingSchema = void 0;
|
|
11
|
+
const path = require("path");
|
|
12
|
+
const core_backend_1 = require("@itwin/core-backend");
|
|
13
|
+
const aspectsModule = require("./LinearReferencingElementAspects");
|
|
14
|
+
const elementsModule = require("./LinearReferencingElements");
|
|
15
|
+
const relationshipsModule = require("./LinearReferencingRelationships");
|
|
16
|
+
/** Schema for the LinearReferencing domain.
|
|
17
|
+
* [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.
|
|
18
|
+
* @beta
|
|
19
|
+
*/
|
|
20
|
+
class LinearReferencingSchema extends core_backend_1.Schema {
|
|
21
|
+
static get schemaName() { return "LinearReferencing"; }
|
|
22
|
+
static get schemaFilePath() { return path.join(core_backend_1.KnownLocations.nativeAssetsDir, "ECSchemas", "Domain", "LinearReferencing.ecschema.xml"); }
|
|
23
|
+
static registerSchema() {
|
|
24
|
+
if (this !== core_backend_1.Schemas.getRegisteredSchema(this.schemaName)) {
|
|
25
|
+
core_backend_1.Schemas.unregisterSchema(this.schemaName);
|
|
26
|
+
core_backend_1.Schemas.registerSchema(this);
|
|
27
|
+
core_backend_1.ClassRegistry.registerModule(elementsModule, this);
|
|
28
|
+
core_backend_1.ClassRegistry.registerModule(aspectsModule, this);
|
|
29
|
+
core_backend_1.ClassRegistry.registerModule(relationshipsModule, this);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.LinearReferencingSchema = LinearReferencingSchema;
|
|
34
34
|
//# sourceMappingURL=LinearReferencingSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinearReferencingSchema.js","sourceRoot":"","sources":["../../src/LinearReferencingSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,6BAA6B;AAC7B,sDAAqF;AACrF,mEAAmE;AACnE,8DAA8D;AAC9D,wEAAwE;AAExE;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,qBAAM;IAC1C,MAAM,KAAc,UAAU,KAAa,OAAO,mBAAmB,CAAC,CAAC,CAAC;IACxE,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,6BAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,gCAAgC,CAAC,CAAC,CAAC,CAAC;IAClJ,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,sBAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACzD,sBAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,sBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAE7B,4BAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;YACnD,4BAAa,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;YAClD,4BAAa,CAAC,cAAc,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;SACzD;IACH,CAAC;CACF;AAbD,0DAaC","sourcesContent":["/*---------------------------------------------------------------------------------------------\
|
|
1
|
+
{"version":3,"file":"LinearReferencingSchema.js","sourceRoot":"","sources":["../../src/LinearReferencingSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,6BAA6B;AAC7B,sDAAqF;AACrF,mEAAmE;AACnE,8DAA8D;AAC9D,wEAAwE;AAExE;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,qBAAM;IAC1C,MAAM,KAAc,UAAU,KAAa,OAAO,mBAAmB,CAAC,CAAC,CAAC;IACxE,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,6BAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,gCAAgC,CAAC,CAAC,CAAC,CAAC;IAClJ,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,sBAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACzD,sBAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,sBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAE7B,4BAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;YACnD,4BAAa,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;YAClD,4BAAa,CAAC,cAAc,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;SACzD;IACH,CAAC;CACF;AAbD,0DAaC","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 * as path from \"path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as aspectsModule from \"./LinearReferencingElementAspects\";\nimport * as elementsModule from \"./LinearReferencingElements\";\nimport * as relationshipsModule from \"./LinearReferencingRelationships\";\n\n/** Schema for the LinearReferencing domain.\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 * @beta\n */\nexport class LinearReferencingSchema extends Schema {\n public static override get schemaName(): string { return \"LinearReferencing\"; }\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", \"LinearReferencing.ecschema.xml\"); }\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\n Schemas.unregisterSchema(this.schemaName);\n Schemas.registerSchema(this);\n\n ClassRegistry.registerModule(elementsModule, this);\n ClassRegistry.registerModule(aspectsModule, this);\n ClassRegistry.registerModule(relationshipsModule, this);\n }\n }\n}\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from "./LinearReferencingElementAspects";
|
|
2
|
-
export * from "./LinearReferencingElements";
|
|
3
|
-
export * from "./LinearReferencingRelationships";
|
|
4
|
-
export * from "./LinearReferencingSchema";
|
|
5
|
-
/** @docs-package-description
|
|
6
|
-
* The `@itwin/linear-referencing-backend` package contains classes for working with the LinearReferencing schema on the backend.
|
|
7
|
-
*/
|
|
8
|
-
/** @docs-group-description LinearReferencing
|
|
9
|
-
* [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.
|
|
10
|
-
*/
|
|
1
|
+
export * from "./LinearReferencingElementAspects";
|
|
2
|
+
export * from "./LinearReferencingElements";
|
|
3
|
+
export * from "./LinearReferencingRelationships";
|
|
4
|
+
export * from "./LinearReferencingSchema";
|
|
5
|
+
/** @docs-package-description
|
|
6
|
+
* The `@itwin/linear-referencing-backend` package contains classes for working with the LinearReferencing schema on the backend.
|
|
7
|
+
*/
|
|
8
|
+
/** @docs-group-description LinearReferencing
|
|
9
|
+
* [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.
|
|
10
|
+
*/
|
|
11
11
|
//# sourceMappingURL=linear-referencing-backend.d.ts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./LinearReferencingElementAspects"), exports);
|
|
18
|
-
__exportStar(require("./LinearReferencingElements"), exports);
|
|
19
|
-
__exportStar(require("./LinearReferencingRelationships"), exports);
|
|
20
|
-
__exportStar(require("./LinearReferencingSchema"), exports);
|
|
21
|
-
/** @docs-package-description
|
|
22
|
-
* The `@itwin/linear-referencing-backend` package contains classes for working with the LinearReferencing schema on the backend.
|
|
23
|
-
*/
|
|
24
|
-
/** @docs-group-description LinearReferencing
|
|
25
|
-
* [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.
|
|
26
|
-
*/
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./LinearReferencingElementAspects"), exports);
|
|
18
|
+
__exportStar(require("./LinearReferencingElements"), exports);
|
|
19
|
+
__exportStar(require("./LinearReferencingRelationships"), exports);
|
|
20
|
+
__exportStar(require("./LinearReferencingSchema"), exports);
|
|
21
|
+
/** @docs-package-description
|
|
22
|
+
* The `@itwin/linear-referencing-backend` package contains classes for working with the LinearReferencing schema on the backend.
|
|
23
|
+
*/
|
|
24
|
+
/** @docs-group-description LinearReferencing
|
|
25
|
+
* [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.
|
|
26
|
+
*/
|
|
27
27
|
//# sourceMappingURL=linear-referencing-backend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linear-referencing-backend.js","sourceRoot":"","sources":["../../src/linear-referencing-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;AAE/F,oEAAkD;AAClD,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAE1C;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\
|
|
1
|
+
{"version":3,"file":"linear-referencing-backend.js","sourceRoot":"","sources":["../../src/linear-referencing-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;AAE/F,oEAAkD;AAClD,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAE1C;;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 \"./LinearReferencingElementAspects\";\nexport * from \"./LinearReferencingElements\";\nexport * from \"./LinearReferencingRelationships\";\nexport * from \"./LinearReferencingSchema\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-backend` package contains classes for working with the LinearReferencing schema on the 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-backend",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.23",
|
|
4
4
|
"main": "lib/cjs/linear-referencing-backend.js",
|
|
5
5
|
"typings": "lib/cjs/linear-referencing-backend",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
"url": "http://www.bentley.com"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@itwin/core-backend": "^4.0.0-dev.
|
|
25
|
-
"@itwin/core-bentley": "^4.0.0-dev.
|
|
26
|
-
"@itwin/core-common": "^4.0.0-dev.
|
|
27
|
-
"@itwin/linear-referencing-common": "^4.0.0-dev.
|
|
24
|
+
"@itwin/core-backend": "^4.0.0-dev.23",
|
|
25
|
+
"@itwin/core-bentley": "^4.0.0-dev.23",
|
|
26
|
+
"@itwin/core-common": "^4.0.0-dev.23",
|
|
27
|
+
"@itwin/linear-referencing-common": "^4.0.0-dev.23"
|
|
28
28
|
},
|
|
29
29
|
"//devDependencies": [
|
|
30
30
|
"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
|
|
31
31
|
"NOTE: All tools used by scripts in this package must be listed as devDependencies"
|
|
32
32
|
],
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@itwin/build-tools": "4.0.0-dev.
|
|
35
|
-
"@itwin/core-backend": "4.0.0-dev.
|
|
36
|
-
"@itwin/core-bentley": "4.0.0-dev.
|
|
37
|
-
"@itwin/core-common": "4.0.0-dev.
|
|
38
|
-
"@itwin/eslint-plugin": "4.0.0-dev.
|
|
39
|
-
"@itwin/linear-referencing-common": "4.0.0-dev.
|
|
34
|
+
"@itwin/build-tools": "4.0.0-dev.23",
|
|
35
|
+
"@itwin/core-backend": "4.0.0-dev.23",
|
|
36
|
+
"@itwin/core-bentley": "4.0.0-dev.23",
|
|
37
|
+
"@itwin/core-common": "4.0.0-dev.23",
|
|
38
|
+
"@itwin/eslint-plugin": "4.0.0-dev.23",
|
|
39
|
+
"@itwin/linear-referencing-common": "4.0.0-dev.23",
|
|
40
40
|
"@types/chai": "4.3.1",
|
|
41
41
|
"@types/fs-extra": "^4.0.7",
|
|
42
42
|
"@types/mocha": "^8.2.2",
|