@itwin/physical-material-backend 4.0.0-dev.6 → 4.0.0-dev.60

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,16 @@
1
1
  # Change Log - @itwin/physical-material-backend
2
2
 
3
- This log was last generated on Thu, 26 Jan 2023 22:53:28 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 Feb 2023 14:58:40 GMT and should not be manually modified.
4
+
5
+ ## 3.6.0
6
+ Wed, 08 Feb 2023 14:58:40 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 3.5.6
11
+ Fri, 24 Feb 2023 16:02:47 GMT
12
+
13
+ _Version update only_
4
14
 
5
15
  ## 3.5.5
6
16
  Thu, 26 Jan 2023 22:53:28 GMT
@@ -1,47 +1,47 @@
1
- /** @packageDocumentation
2
- * @module PhysicalMaterial
3
- */
4
- import { IModelDb, PhysicalMaterial } from "@itwin/core-backend";
5
- import { DefinitionElementProps } from "@itwin/core-common";
6
- /** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as
7
- * well as base material under foundations, roadways, and railways.
8
- * @public
9
- */
10
- export declare class Aggregate extends PhysicalMaterial {
11
- /** @internal */
12
- static get className(): string;
13
- constructor(props: DefinitionElementProps, iModel: IModelDb);
14
- }
15
- /** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.
16
- * @public
17
- */
18
- export declare class Aluminum extends PhysicalMaterial {
19
- /** @internal */
20
- static get className(): string;
21
- constructor(props: DefinitionElementProps, iModel: IModelDb);
22
- }
23
- /** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.
24
- * @public
25
- */
26
- export declare class Asphalt extends PhysicalMaterial {
27
- /** @internal */
28
- static get className(): string;
29
- constructor(props: DefinitionElementProps, iModel: IModelDb);
30
- }
31
- /** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.
32
- * @public
33
- */
34
- export declare class Concrete extends PhysicalMaterial {
35
- /** @internal */
36
- static get className(): string;
37
- constructor(props: DefinitionElementProps, iModel: IModelDb);
38
- }
39
- /** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.
40
- * @public
41
- */
42
- export declare class Steel extends PhysicalMaterial {
43
- /** @internal */
44
- static get className(): string;
45
- constructor(props: DefinitionElementProps, iModel: IModelDb);
46
- }
1
+ /** @packageDocumentation
2
+ * @module PhysicalMaterial
3
+ */
4
+ import { IModelDb, PhysicalMaterial } from "@itwin/core-backend";
5
+ import { DefinitionElementProps } from "@itwin/core-common";
6
+ /** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as
7
+ * well as base material under foundations, roadways, and railways.
8
+ * @public
9
+ */
10
+ export declare class Aggregate extends PhysicalMaterial {
11
+ /** @internal */
12
+ static get className(): string;
13
+ constructor(props: DefinitionElementProps, iModel: IModelDb);
14
+ }
15
+ /** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.
16
+ * @public
17
+ */
18
+ export declare class Aluminum extends PhysicalMaterial {
19
+ /** @internal */
20
+ static get className(): string;
21
+ constructor(props: DefinitionElementProps, iModel: IModelDb);
22
+ }
23
+ /** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.
24
+ * @public
25
+ */
26
+ export declare class Asphalt extends PhysicalMaterial {
27
+ /** @internal */
28
+ static get className(): string;
29
+ constructor(props: DefinitionElementProps, iModel: IModelDb);
30
+ }
31
+ /** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.
32
+ * @public
33
+ */
34
+ export declare class Concrete extends PhysicalMaterial {
35
+ /** @internal */
36
+ static get className(): string;
37
+ constructor(props: DefinitionElementProps, iModel: IModelDb);
38
+ }
39
+ /** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.
40
+ * @public
41
+ */
42
+ export declare class Steel extends PhysicalMaterial {
43
+ /** @internal */
44
+ static get className(): string;
45
+ constructor(props: DefinitionElementProps, iModel: IModelDb);
46
+ }
47
47
  //# sourceMappingURL=PhysicalMaterialElements.d.ts.map
@@ -1,58 +1,58 @@
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 PhysicalMaterial
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.Steel = exports.Concrete = exports.Asphalt = exports.Aluminum = exports.Aggregate = void 0;
11
- const core_backend_1 = require("@itwin/core-backend");
12
- /** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as
13
- * well as base material under foundations, roadways, and railways.
14
- * @public
15
- */
16
- class Aggregate extends core_backend_1.PhysicalMaterial {
17
- /** @internal */
18
- static get className() { return "Aggregate"; }
19
- constructor(props, iModel) { super(props, iModel); }
20
- }
21
- exports.Aggregate = Aggregate;
22
- /** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.
23
- * @public
24
- */
25
- class Aluminum extends core_backend_1.PhysicalMaterial {
26
- /** @internal */
27
- static get className() { return "Aluminum"; }
28
- constructor(props, iModel) { super(props, iModel); }
29
- }
30
- exports.Aluminum = Aluminum;
31
- /** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.
32
- * @public
33
- */
34
- class Asphalt extends core_backend_1.PhysicalMaterial {
35
- /** @internal */
36
- static get className() { return "Asphalt"; }
37
- constructor(props, iModel) { super(props, iModel); }
38
- }
39
- exports.Asphalt = Asphalt;
40
- /** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.
41
- * @public
42
- */
43
- class Concrete extends core_backend_1.PhysicalMaterial {
44
- /** @internal */
45
- static get className() { return "Concrete"; }
46
- constructor(props, iModel) { super(props, iModel); }
47
- }
48
- exports.Concrete = Concrete;
49
- /** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.
50
- * @public
51
- */
52
- class Steel extends core_backend_1.PhysicalMaterial {
53
- /** @internal */
54
- static get className() { return "Steel"; }
55
- constructor(props, iModel) { super(props, iModel); }
56
- }
57
- exports.Steel = Steel;
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 PhysicalMaterial
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.Steel = exports.Concrete = exports.Asphalt = exports.Aluminum = exports.Aggregate = void 0;
11
+ const core_backend_1 = require("@itwin/core-backend");
12
+ /** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as
13
+ * well as base material under foundations, roadways, and railways.
14
+ * @public
15
+ */
16
+ class Aggregate extends core_backend_1.PhysicalMaterial {
17
+ /** @internal */
18
+ static get className() { return "Aggregate"; }
19
+ constructor(props, iModel) { super(props, iModel); }
20
+ }
21
+ exports.Aggregate = Aggregate;
22
+ /** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.
23
+ * @public
24
+ */
25
+ class Aluminum extends core_backend_1.PhysicalMaterial {
26
+ /** @internal */
27
+ static get className() { return "Aluminum"; }
28
+ constructor(props, iModel) { super(props, iModel); }
29
+ }
30
+ exports.Aluminum = Aluminum;
31
+ /** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.
32
+ * @public
33
+ */
34
+ class Asphalt extends core_backend_1.PhysicalMaterial {
35
+ /** @internal */
36
+ static get className() { return "Asphalt"; }
37
+ constructor(props, iModel) { super(props, iModel); }
38
+ }
39
+ exports.Asphalt = Asphalt;
40
+ /** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.
41
+ * @public
42
+ */
43
+ class Concrete extends core_backend_1.PhysicalMaterial {
44
+ /** @internal */
45
+ static get className() { return "Concrete"; }
46
+ constructor(props, iModel) { super(props, iModel); }
47
+ }
48
+ exports.Concrete = Concrete;
49
+ /** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.
50
+ * @public
51
+ */
52
+ class Steel extends core_backend_1.PhysicalMaterial {
53
+ /** @internal */
54
+ static get className() { return "Steel"; }
55
+ constructor(props, iModel) { super(props, iModel); }
56
+ }
57
+ exports.Steel = Steel;
58
58
  //# sourceMappingURL=PhysicalMaterialElements.js.map
@@ -1,15 +1,15 @@
1
- /** @packageDocumentation
2
- * @module PhysicalMaterial
3
- */
4
- import { Schema } from "@itwin/core-backend";
5
- /** The PhysicalMaterialSchema contains standard physical material classes.
6
- * A physical material defines the matter that makes up physical elements.
7
- * @see [PhysicalMaterial]($backend)
8
- * @public
9
- */
10
- export declare class PhysicalMaterialSchema extends Schema {
11
- static get schemaName(): string;
12
- static get schemaFilePath(): string;
13
- static registerSchema(): void;
14
- }
1
+ /** @packageDocumentation
2
+ * @module PhysicalMaterial
3
+ */
4
+ import { Schema } from "@itwin/core-backend";
5
+ /** The PhysicalMaterialSchema contains standard physical material classes.
6
+ * A physical material defines the matter that makes up physical elements.
7
+ * @see [PhysicalMaterial]($backend)
8
+ * @public
9
+ */
10
+ export declare class PhysicalMaterialSchema extends Schema {
11
+ static get schemaName(): string;
12
+ static get schemaFilePath(): string;
13
+ static registerSchema(): void;
14
+ }
15
15
  //# sourceMappingURL=PhysicalMaterialSchema.d.ts.map
@@ -1,31 +1,31 @@
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 PhysicalMaterial
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PhysicalMaterialSchema = void 0;
11
- const path = require("path");
12
- const core_backend_1 = require("@itwin/core-backend");
13
- const elementsModule = require("./PhysicalMaterialElements");
14
- /** The PhysicalMaterialSchema contains standard physical material classes.
15
- * A physical material defines the matter that makes up physical elements.
16
- * @see [PhysicalMaterial]($backend)
17
- * @public
18
- */
19
- class PhysicalMaterialSchema extends core_backend_1.Schema {
20
- static get schemaName() { return "PhysicalMaterial"; }
21
- static get schemaFilePath() { return path.join(core_backend_1.KnownLocations.nativeAssetsDir, "ECSchemas", "Domain", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }
22
- static registerSchema() {
23
- if (this !== core_backend_1.Schemas.getRegisteredSchema(this.schemaName)) {
24
- core_backend_1.Schemas.unregisterSchema(this.schemaName);
25
- core_backend_1.Schemas.registerSchema(this);
26
- core_backend_1.ClassRegistry.registerModule(elementsModule, this);
27
- }
28
- }
29
- }
30
- exports.PhysicalMaterialSchema = PhysicalMaterialSchema;
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 PhysicalMaterial
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PhysicalMaterialSchema = void 0;
11
+ const path = require("path");
12
+ const core_backend_1 = require("@itwin/core-backend");
13
+ const elementsModule = require("./PhysicalMaterialElements");
14
+ /** The PhysicalMaterialSchema contains standard physical material classes.
15
+ * A physical material defines the matter that makes up physical elements.
16
+ * @see [PhysicalMaterial]($backend)
17
+ * @public
18
+ */
19
+ class PhysicalMaterialSchema extends core_backend_1.Schema {
20
+ static get schemaName() { return "PhysicalMaterial"; }
21
+ static get schemaFilePath() { return path.join(core_backend_1.KnownLocations.nativeAssetsDir, "ECSchemas", "Domain", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }
22
+ static registerSchema() {
23
+ if (this !== core_backend_1.Schemas.getRegisteredSchema(this.schemaName)) {
24
+ core_backend_1.Schemas.unregisterSchema(this.schemaName);
25
+ core_backend_1.Schemas.registerSchema(this);
26
+ core_backend_1.ClassRegistry.registerModule(elementsModule, this);
27
+ }
28
+ }
29
+ }
30
+ exports.PhysicalMaterialSchema = PhysicalMaterialSchema;
31
31
  //# sourceMappingURL=PhysicalMaterialSchema.js.map
@@ -1,9 +1,9 @@
1
- export * from "./PhysicalMaterialElements";
2
- export * from "./PhysicalMaterialSchema";
3
- /** @docs-package-description
4
- * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
5
- */
6
- /** @docs-group-description PhysicalMaterial
7
- * A PhysicalMaterial defines the matter that makes up physical elements.
8
- */
1
+ export * from "./PhysicalMaterialElements";
2
+ export * from "./PhysicalMaterialSchema";
3
+ /** @docs-package-description
4
+ * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
5
+ */
6
+ /** @docs-group-description PhysicalMaterial
7
+ * A PhysicalMaterial defines the matter that makes up physical elements.
8
+ */
9
9
  //# sourceMappingURL=physical-material-backend.d.ts.map
@@ -1,25 +1,29 @@
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("./PhysicalMaterialElements"), exports);
18
- __exportStar(require("./PhysicalMaterialSchema"), exports);
19
- /** @docs-package-description
20
- * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
21
- */
22
- /** @docs-group-description PhysicalMaterial
23
- * A PhysicalMaterial defines the matter that makes up physical elements.
24
- */
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
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ __exportStar(require("./PhysicalMaterialElements"), exports);
22
+ __exportStar(require("./PhysicalMaterialSchema"), exports);
23
+ /** @docs-package-description
24
+ * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
25
+ */
26
+ /** @docs-group-description PhysicalMaterial
27
+ * A PhysicalMaterial defines the matter that makes up physical elements.
28
+ */
25
29
  //# sourceMappingURL=physical-material-backend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;AAE/F,6DAA2C;AAC3C,2DAAyC;AAEzC;;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 \"./PhysicalMaterialElements\";\r\nexport * from \"./PhysicalMaterialSchema\";\r\n\r\n/** @docs-package-description\r\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\r\n */\r\n\r\n/** @docs-group-description PhysicalMaterial\r\n * A PhysicalMaterial defines the matter that makes up physical elements.\r\n */\r\n"]}
1
+ {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,6DAA2C;AAC3C,2DAAyC;AAEzC;;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 \"./PhysicalMaterialElements\";\r\nexport * from \"./PhysicalMaterialSchema\";\r\n\r\n/** @docs-package-description\r\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\r\n */\r\n\r\n/** @docs-group-description PhysicalMaterial\r\n * A PhysicalMaterial defines the matter that makes up physical elements.\r\n */\r\n"]}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@itwin/physical-material-backend",
3
- "version": "4.0.0-dev.6",
3
+ "version": "4.0.0-dev.60",
4
4
  "main": "lib/cjs/physical-material-backend.js",
5
5
  "typings": "lib/cjs/physical-material-backend",
6
6
  "license": "MIT",
7
7
  "engines": {
8
- "node": ">=16.13.0 < 19.0"
8
+ "node": "^18.0.0"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -21,30 +21,30 @@
21
21
  "url": "http://www.bentley.com"
22
22
  },
23
23
  "peerDependencies": {
24
- "@itwin/core-backend": "^4.0.0-dev.6",
25
- "@itwin/core-bentley": "^4.0.0-dev.6",
26
- "@itwin/core-common": "^4.0.0-dev.6"
24
+ "@itwin/core-backend": "^4.0.0-dev.60",
25
+ "@itwin/core-bentley": "^4.0.0-dev.60",
26
+ "@itwin/core-common": "^4.0.0-dev.60"
27
27
  },
28
28
  "//devDependencies": [
29
29
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
30
30
  "NOTE: All tools used by scripts in this package must be listed as devDependencies"
31
31
  ],
32
32
  "devDependencies": {
33
- "@itwin/build-tools": "4.0.0-dev.6",
34
- "@itwin/core-backend": "4.0.0-dev.6",
35
- "@itwin/core-bentley": "4.0.0-dev.6",
36
- "@itwin/core-common": "4.0.0-dev.6",
37
- "@itwin/eslint-plugin": "4.0.0-dev.6",
33
+ "@itwin/build-tools": "4.0.0-dev.60",
34
+ "@itwin/core-backend": "4.0.0-dev.60",
35
+ "@itwin/core-bentley": "4.0.0-dev.60",
36
+ "@itwin/core-common": "4.0.0-dev.60",
37
+ "@itwin/eslint-plugin": "^4.0.0-dev.32",
38
38
  "@types/chai": "4.3.1",
39
39
  "@types/fs-extra": "^4.0.7",
40
40
  "@types/mocha": "^8.2.2",
41
- "@types/node": "18.11.5",
41
+ "@types/node": "^18.11.5",
42
42
  "chai": "^4.1.2",
43
43
  "eslint": "^7.11.0",
44
44
  "mocha": "^10.0.0",
45
45
  "nyc": "^15.1.0",
46
46
  "rimraf": "^3.0.2",
47
- "typescript": "~4.4.0"
47
+ "typescript": "~5.0.2"
48
48
  },
49
49
  "TODO-dependencies": {
50
50
  "@bentley/physicalmaterial-schema": "~1.0.1"