@itwin/analytical-backend 5.0.0-dev.90 → 5.0.0-dev.92
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/esm/AnalyticalElements.d.ts +35 -0
- package/lib/esm/AnalyticalElements.d.ts.map +1 -0
- package/lib/esm/AnalyticalElements.js +38 -0
- package/lib/esm/AnalyticalElements.js.map +1 -0
- package/lib/esm/AnalyticalModels.d.ts +12 -0
- package/lib/esm/AnalyticalModels.d.ts.map +1 -0
- package/lib/esm/AnalyticalModels.js +16 -0
- package/lib/esm/AnalyticalModels.js.map +1 -0
- package/lib/esm/AnalyticalRelationships.d.ts +12 -0
- package/lib/esm/AnalyticalRelationships.d.ts.map +1 -0
- package/lib/esm/AnalyticalRelationships.js +16 -0
- package/lib/esm/AnalyticalRelationships.js.map +1 -0
- package/lib/esm/AnalyticalSchema.d.ts +13 -0
- package/lib/esm/AnalyticalSchema.d.ts.map +1 -0
- package/lib/esm/AnalyticalSchema.js +29 -0
- package/lib/esm/AnalyticalSchema.js.map +1 -0
- package/lib/esm/analytical-backend.d.ts +11 -0
- package/lib/esm/analytical-backend.d.ts.map +1 -0
- package/lib/esm/analytical-backend.js +15 -0
- package/lib/esm/analytical-backend.js.map +1 -0
- package/package.json +12 -9
@@ -0,0 +1,35 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Analytical
|
3
|
+
*/
|
4
|
+
import { GeometricElement3d, IModelDb, InformationPartitionElement, TypeDefinitionElement } from "@itwin/core-backend";
|
5
|
+
import { GeometricElement3dProps, TypeDefinitionElementProps } from "@itwin/core-common";
|
6
|
+
/** An AnalyticalPartition element indicates that there is a specialized analytical perspective within
|
7
|
+
* the overall information hierarchy. An AnalyticalPartition subclass is always parented to a Subject
|
8
|
+
* and broken down by an AnalyticalModel.
|
9
|
+
* @see [[AnalyticalModel]]
|
10
|
+
* @beta
|
11
|
+
*/
|
12
|
+
export declare class AnalyticalPartition extends InformationPartitionElement {
|
13
|
+
/** @internal */
|
14
|
+
static get className(): string;
|
15
|
+
}
|
16
|
+
/** Spatially located, simulating zero or more SpatialLocationElement or PhysicalElement instances in light of a specialized analytical perspective.
|
17
|
+
* @beta
|
18
|
+
*/
|
19
|
+
export declare abstract class AnalyticalElement extends GeometricElement3d {
|
20
|
+
/** @internal */
|
21
|
+
static get className(): string;
|
22
|
+
/** @internal */
|
23
|
+
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
24
|
+
}
|
25
|
+
/** Defines a shared set of properties (the 'type') that can be associated with an AnalyticalElement.
|
26
|
+
* It is not meant to replace a PhysicalType if it is available.
|
27
|
+
* @beta
|
28
|
+
*/
|
29
|
+
export declare abstract class AnalyticalType extends TypeDefinitionElement {
|
30
|
+
/** @internal */
|
31
|
+
static get className(): string;
|
32
|
+
/** @internal */
|
33
|
+
constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
34
|
+
}
|
35
|
+
//# sourceMappingURL=AnalyticalElements.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalElements.d.ts","sourceRoot":"","sources":["../../src/AnalyticalElements.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACvH,OAAO,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEzF;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,2BAA2B;IAClE,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAkC;CACjF;AAED;;GAEG;AACH,8BAAsB,iBAAkB,SAAQ,kBAAkB;IAChE,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAgC;IAC9E,gBAAgB;gBACG,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ;CACpE;AAED;;;GAGG;AACH,8BAAsB,cAAe,SAAQ,qBAAqB;IAChE,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAA6B;IAC3E,gBAAgB;gBACJ,KAAK,EAAE,0BAA0B,EAAE,MAAM,EAAE,QAAQ;CAChE"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Analytical
|
7
|
+
*/
|
8
|
+
import { GeometricElement3d, InformationPartitionElement, TypeDefinitionElement } from "@itwin/core-backend";
|
9
|
+
/** An AnalyticalPartition element indicates that there is a specialized analytical perspective within
|
10
|
+
* the overall information hierarchy. An AnalyticalPartition subclass is always parented to a Subject
|
11
|
+
* and broken down by an AnalyticalModel.
|
12
|
+
* @see [[AnalyticalModel]]
|
13
|
+
* @beta
|
14
|
+
*/
|
15
|
+
export class AnalyticalPartition extends InformationPartitionElement {
|
16
|
+
/** @internal */
|
17
|
+
static get className() { return "AnalyticalPartition"; }
|
18
|
+
}
|
19
|
+
/** Spatially located, simulating zero or more SpatialLocationElement or PhysicalElement instances in light of a specialized analytical perspective.
|
20
|
+
* @beta
|
21
|
+
*/
|
22
|
+
export class AnalyticalElement extends GeometricElement3d {
|
23
|
+
/** @internal */
|
24
|
+
static get className() { return "AnalyticalElement"; }
|
25
|
+
/** @internal */
|
26
|
+
constructor(props, iModel) { super(props, iModel); }
|
27
|
+
}
|
28
|
+
/** Defines a shared set of properties (the 'type') that can be associated with an AnalyticalElement.
|
29
|
+
* It is not meant to replace a PhysicalType if it is available.
|
30
|
+
* @beta
|
31
|
+
*/
|
32
|
+
export class AnalyticalType extends TypeDefinitionElement {
|
33
|
+
/** @internal */
|
34
|
+
static get className() { return "AnalyticalType"; }
|
35
|
+
/** @internal */
|
36
|
+
constructor(props, iModel) { super(props, iModel); }
|
37
|
+
}
|
38
|
+
//# sourceMappingURL=AnalyticalElements.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalElements.js","sourceRoot":"","sources":["../../src/AnalyticalElements.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAY,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAGvH;;;;;GAKG;AACH,MAAM,OAAO,mBAAoB,SAAQ,2BAA2B;IAClE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,qBAAqB,CAAC,CAAC,CAAC;CACjF;AAED;;GAEG;AACH,MAAM,OAAgB,iBAAkB,SAAQ,kBAAkB;IAChE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,mBAAmB,CAAC,CAAC,CAAC;IAC9E,gBAAgB;IAChB,YAAmB,KAA8B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC/F;AAED;;;GAGG;AACH,MAAM,OAAgB,cAAe,SAAQ,qBAAqB;IAChE,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,gBAAgB,CAAC,CAAC,CAAC;IAC3E,gBAAgB;IAChB,YAAY,KAAiC,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC3F","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 Analytical\n */\n\nimport { GeometricElement3d, IModelDb, InformationPartitionElement, TypeDefinitionElement } from \"@itwin/core-backend\";\nimport { GeometricElement3dProps, TypeDefinitionElementProps } from \"@itwin/core-common\";\n\n/** An AnalyticalPartition element indicates that there is a specialized analytical perspective within\n * the overall information hierarchy. An AnalyticalPartition subclass is always parented to a Subject\n * and broken down by an AnalyticalModel.\n * @see [[AnalyticalModel]]\n * @beta\n */\nexport class AnalyticalPartition extends InformationPartitionElement {\n /** @internal */\n public static override get className(): string { return \"AnalyticalPartition\"; }\n}\n\n/** Spatially located, simulating zero or more SpatialLocationElement or PhysicalElement instances in light of a specialized analytical perspective.\n * @beta\n */\nexport abstract class AnalyticalElement extends GeometricElement3d {\n /** @internal */\n public static override get className(): string { return \"AnalyticalElement\"; }\n /** @internal */\n public constructor(props: GeometricElement3dProps, iModel: IModelDb) { super(props, iModel); }\n}\n\n/** Defines a shared set of properties (the 'type') that can be associated with an AnalyticalElement.\n * It is not meant to replace a PhysicalType if it is available.\n * @beta\n */\nexport abstract class AnalyticalType extends TypeDefinitionElement {\n /** @internal */\n public static override get className(): string { return \"AnalyticalType\"; }\n /** @internal */\n constructor(props: TypeDefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\n}\n"]}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Analytical
|
3
|
+
*/
|
4
|
+
import { GeometricModel3d } from "@itwin/core-backend";
|
5
|
+
/** A container for persisting AnalyticalElement instances used to model a specialized analytical perspective.
|
6
|
+
* @beta
|
7
|
+
*/
|
8
|
+
export declare abstract class AnalyticalModel extends GeometricModel3d {
|
9
|
+
/** @internal */
|
10
|
+
static get className(): string;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=AnalyticalModels.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalModels.d.ts","sourceRoot":"","sources":["../../src/AnalyticalModels.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;GAEG;AACH,8BAAsB,eAAgB,SAAQ,gBAAgB;IAC5D,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAA8B;CAC7E"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Analytical
|
7
|
+
*/
|
8
|
+
import { GeometricModel3d } from "@itwin/core-backend";
|
9
|
+
/** A container for persisting AnalyticalElement instances used to model a specialized analytical perspective.
|
10
|
+
* @beta
|
11
|
+
*/
|
12
|
+
export class AnalyticalModel extends GeometricModel3d {
|
13
|
+
/** @internal */
|
14
|
+
static get className() { return "AnalyticalModel"; }
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=AnalyticalModels.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalModels.js","sourceRoot":"","sources":["../../src/AnalyticalModels.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;GAEG;AACH,MAAM,OAAgB,eAAgB,SAAQ,gBAAgB;IAC5D,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,iBAAiB,CAAC,CAAC,CAAC;CAC7E","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 Analytical\n */\n\nimport { GeometricModel3d } from \"@itwin/core-backend\";\n\n/** A container for persisting AnalyticalElement instances used to model a specialized analytical perspective.\n * @beta\n */\nexport abstract class AnalyticalModel extends GeometricModel3d {\n /** @internal */\n public static override get className(): string { return \"AnalyticalModel\"; }\n}\n"]}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Analytical
|
3
|
+
*/
|
4
|
+
import { ElementRefersToElements } from "@itwin/core-backend";
|
5
|
+
/** Relates an AnalyticalElement to the SpatialLocationElement or PhysicalElement it is simulating within the specialized analytical perspective.
|
6
|
+
* @beta
|
7
|
+
*/
|
8
|
+
export declare class AnalyticalSimulatesSpatialElement extends ElementRefersToElements {
|
9
|
+
/** @internal */
|
10
|
+
static get className(): string;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=AnalyticalRelationships.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalRelationships.d.ts","sourceRoot":"","sources":["../../src/AnalyticalRelationships.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D;;GAEG;AACH,qBAAa,iCAAkC,SAAQ,uBAAuB;IAC5E,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAgD;CAC/F"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Analytical
|
7
|
+
*/
|
8
|
+
import { ElementRefersToElements } from "@itwin/core-backend";
|
9
|
+
/** Relates an AnalyticalElement to the SpatialLocationElement or PhysicalElement it is simulating within the specialized analytical perspective.
|
10
|
+
* @beta
|
11
|
+
*/
|
12
|
+
export class AnalyticalSimulatesSpatialElement extends ElementRefersToElements {
|
13
|
+
/** @internal */
|
14
|
+
static get className() { return "AnalyticalSimulatesSpatialElement"; }
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=AnalyticalRelationships.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalRelationships.js","sourceRoot":"","sources":["../../src/AnalyticalRelationships.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,iCAAkC,SAAQ,uBAAuB;IAC5E,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,mCAAmC,CAAC,CAAC,CAAC;CAC/F","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 Analytical\n */\n\nimport { ElementRefersToElements } from \"@itwin/core-backend\";\n\n/** Relates an AnalyticalElement to the SpatialLocationElement or PhysicalElement it is simulating within the specialized analytical perspective.\n * @beta\n */\nexport class AnalyticalSimulatesSpatialElement extends ElementRefersToElements {\n /** @internal */\n public static override get className(): string { return \"AnalyticalSimulatesSpatialElement\"; }\n}\n"]}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Analytical
|
3
|
+
*/
|
4
|
+
import { Schema } from "@itwin/core-backend";
|
5
|
+
/** Schema class for the Analytical domain.
|
6
|
+
* @beta
|
7
|
+
*/
|
8
|
+
export declare class AnalyticalSchema extends Schema {
|
9
|
+
static get schemaName(): string;
|
10
|
+
static get schemaFilePath(): string;
|
11
|
+
static registerSchema(): void;
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=AnalyticalSchema.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalSchema.d.ts","sourceRoot":"","sources":["../../src/AnalyticalSchema.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAiC,MAAM,EAAW,MAAM,qBAAqB,CAAC;AAKrF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,MAAM;IAC1C,WAA2B,UAAU,IAAI,MAAM,CAAyB;IACxE,WAAkB,cAAc,IAAI,MAAM,CAAwG;WACpI,cAAc;CAU7B"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Analytical
|
7
|
+
*/
|
8
|
+
import * as path from "path";
|
9
|
+
import { ClassRegistry, KnownLocations, Schema, Schemas } from "@itwin/core-backend";
|
10
|
+
import * as elementsModule from "./AnalyticalElements";
|
11
|
+
import * as modelsModule from "./AnalyticalModels";
|
12
|
+
import * as relationshipsModule from "./AnalyticalRelationships";
|
13
|
+
/** Schema class for the Analytical domain.
|
14
|
+
* @beta
|
15
|
+
*/
|
16
|
+
export class AnalyticalSchema extends Schema {
|
17
|
+
static get schemaName() { return "Analytical"; }
|
18
|
+
static get schemaFilePath() { return path.join(KnownLocations.nativeAssetsDir, "ECSchemas", "Domain", "Analytical.ecschema.xml"); }
|
19
|
+
static registerSchema() {
|
20
|
+
if (this !== Schemas.getRegisteredSchema(this.schemaName)) {
|
21
|
+
Schemas.unregisterSchema(this.schemaName);
|
22
|
+
Schemas.registerSchema(this);
|
23
|
+
ClassRegistry.registerModule(elementsModule, this);
|
24
|
+
ClassRegistry.registerModule(modelsModule, this);
|
25
|
+
ClassRegistry.registerModule(relationshipsModule, this);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=AnalyticalSchema.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnalyticalSchema.js","sourceRoot":"","sources":["../../src/AnalyticalSchema.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,mBAAmB,MAAM,2BAA2B,CAAC;AAEjE;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,MAAM;IACnC,MAAM,KAAc,UAAU,KAAa,OAAO,YAAY,CAAC,CAAC,CAAC;IACjE,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,yBAAyB,CAAC,CAAC,CAAC,CAAC;IAC3I,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1D,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAE7B,aAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;YACnD,aAAa,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;YACjD,aAAa,CAAC,cAAc,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;QAC1D,CAAC;IACH,CAAC;CACF","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 Analytical\n */\n\nimport * as path from \"path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as elementsModule from \"./AnalyticalElements\";\nimport * as modelsModule from \"./AnalyticalModels\";\nimport * as relationshipsModule from \"./AnalyticalRelationships\";\n\n/** Schema class for the Analytical domain.\n * @beta\n */\nexport class AnalyticalSchema extends Schema {\n public static override get schemaName(): string { return \"Analytical\"; }\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", \"Analytical.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(modelsModule, this);\n ClassRegistry.registerModule(relationshipsModule, this);\n }\n }\n}\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export * from "./AnalyticalElements";
|
2
|
+
export * from "./AnalyticalModels";
|
3
|
+
export * from "./AnalyticalRelationships";
|
4
|
+
export * from "./AnalyticalSchema";
|
5
|
+
/** @docs-package-description
|
6
|
+
* The `@itwin/analytical-backend` package contains classes for working with analytical schemas on the backend.
|
7
|
+
*/
|
8
|
+
/** @docs-group-description Analytical
|
9
|
+
* The base classes that specialized Analytical domain schemas extend.
|
10
|
+
*/
|
11
|
+
//# sourceMappingURL=analytical-backend.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"analytical-backend.d.ts","sourceRoot":"","sources":["../../src/analytical-backend.ts"],"names":[],"mappings":"AAKA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AAEnC;;GAEG;AAEH;;GAEG"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
export * from "./AnalyticalElements";
|
6
|
+
export * from "./AnalyticalModels";
|
7
|
+
export * from "./AnalyticalRelationships";
|
8
|
+
export * from "./AnalyticalSchema";
|
9
|
+
/** @docs-package-description
|
10
|
+
* The `@itwin/analytical-backend` package contains classes for working with analytical schemas on the backend.
|
11
|
+
*/
|
12
|
+
/** @docs-group-description Analytical
|
13
|
+
* The base classes that specialized Analytical domain schemas extend.
|
14
|
+
*/
|
15
|
+
//# sourceMappingURL=analytical-backend.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"analytical-backend.js","sourceRoot":"","sources":["../../src/analytical-backend.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AAEnC;;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 \"./AnalyticalElements\";\nexport * from \"./AnalyticalModels\";\nexport * from \"./AnalyticalRelationships\";\nexport * from \"./AnalyticalSchema\";\n\n/** @docs-package-description\n * The `@itwin/analytical-backend` package contains classes for working with analytical schemas on the backend.\n */\n\n/** @docs-group-description Analytical\n * The base classes that specialized Analytical domain schemas extend.\n */\n"]}
|
package/package.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@itwin/analytical-backend",
|
3
|
-
"version": "5.0.0-dev.
|
3
|
+
"version": "5.0.0-dev.92",
|
4
4
|
"main": "lib/cjs/analytical-backend.js",
|
5
|
+
"module": "lib/esm/analytical-backend.js",
|
5
6
|
"typings": "lib/cjs/analytical-backend",
|
6
7
|
"license": "MIT",
|
7
8
|
"engines": {
|
@@ -22,9 +23,9 @@
|
|
22
23
|
"url": "http://www.bentley.com"
|
23
24
|
},
|
24
25
|
"peerDependencies": {
|
25
|
-
"@itwin/core-backend": "5.0.0-dev.
|
26
|
-
"@itwin/core-bentley": "5.0.0-dev.
|
27
|
-
"@itwin/core-common": "5.0.0-dev.
|
26
|
+
"@itwin/core-backend": "5.0.0-dev.92",
|
27
|
+
"@itwin/core-bentley": "5.0.0-dev.92",
|
28
|
+
"@itwin/core-common": "5.0.0-dev.92"
|
28
29
|
},
|
29
30
|
"//devDependencies": [
|
30
31
|
"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
|
@@ -45,10 +46,10 @@
|
|
45
46
|
"rimraf": "^6.0.1",
|
46
47
|
"semver": "^7.5.2",
|
47
48
|
"typescript": "~5.6.2",
|
48
|
-
"@itwin/build-tools": "5.0.0-dev.
|
49
|
-
"@itwin/core-
|
50
|
-
"@itwin/core-
|
51
|
-
"@itwin/core-
|
49
|
+
"@itwin/build-tools": "5.0.0-dev.92",
|
50
|
+
"@itwin/core-bentley": "5.0.0-dev.92",
|
51
|
+
"@itwin/core-common": "5.0.0-dev.92",
|
52
|
+
"@itwin/core-backend": "5.0.0-dev.92"
|
52
53
|
},
|
53
54
|
"TODO-dependencies": {
|
54
55
|
"@bentley/analytical-schema": "~1.0.0"
|
@@ -57,7 +58,9 @@
|
|
57
58
|
"extends": "./node_modules/@itwin/build-tools/.nycrc"
|
58
59
|
},
|
59
60
|
"scripts": {
|
60
|
-
"build": "
|
61
|
+
"build": "npm run -s build:cjs && npm run -s build:esm && npm run -s copy:test-assets",
|
62
|
+
"build:cjs": "tsc 1>&2 --outDir lib/cjs",
|
63
|
+
"build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
|
61
64
|
"clean": "rimraf -g lib .rush/temp/package-deps*.json",
|
62
65
|
"copy:test-assets": "cpx \"./src/test/assets/**/*\" ./lib/cjs/test/assets",
|
63
66
|
"cover": "nyc npm -s test",
|