@itwin/physical-material-backend 4.4.0-dev.1 → 4.4.0-dev.10

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,23 @@
1
1
  # Change Log - @itwin/physical-material-backend
2
2
 
3
- This log was last generated on Thu, 30 Nov 2023 17:07:27 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 14 Dec 2023 20:24:02 GMT and should not be manually modified.
4
+
5
+ ## 4.3.2
6
+ Thu, 14 Dec 2023 20:23:02 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.3.1
11
+ Wed, 13 Dec 2023 17:25:55 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 4.3.0
16
+ Thu, 07 Dec 2023 17:43:09 GMT
17
+
18
+ ### Updates
19
+
20
+ - Add support for Node 20.
4
21
 
5
22
  ## 4.2.4
6
23
  Mon, 20 Nov 2023 16:14:45 GMT
@@ -123,6 +140,11 @@ Mon, 22 May 2023 15:34:14 GMT
123
140
  - Drop Node 12 and Node 14.
124
141
  - Drop Node 16 support.
125
142
 
143
+ ## 3.8.0
144
+ Fri, 08 Dec 2023 15:23:59 GMT
145
+
146
+ _Version update only_
147
+
126
148
  ## 3.7.17
127
149
  Mon, 20 Nov 2023 18:24:23 GMT
128
150
 
@@ -1 +1 @@
1
- {"version":3,"file":"PhysicalMaterialElements.js","sourceRoot":"","sources":["../../src/PhysicalMaterialElements.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAiE;AAGjE;;;GAGG;AACH,MAAa,SAAU,SAAQ,+BAAgB;IAC7C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,WAAW,CAAC,CAAC,CAAC;IACtE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,8BAIC;AAED;;GAEG;AACH,MAAa,QAAS,SAAQ,+BAAgB;IAC5C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,UAAU,CAAC,CAAC,CAAC;IACrE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,4BAIC;AAED;;GAEG;AACH,MAAa,OAAQ,SAAQ,+BAAgB;IAC3C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,SAAS,CAAC,CAAC,CAAC;IACpE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,0BAIC;AAED;;GAEG;AACH,MAAa,QAAS,SAAQ,+BAAgB;IAC5C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,UAAU,CAAC,CAAC,CAAC;IACrE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,4BAIC;AAED;;GAEG;AACH,MAAa,KAAM,SAAQ,+BAAgB;IACzC,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,OAAO,CAAC,CAAC,CAAC;IAClE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,sBAIC","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 PhysicalMaterial\r\n */\r\n\r\nimport { IModelDb, PhysicalMaterial } from \"@itwin/core-backend\";\r\nimport { DefinitionElementProps } from \"@itwin/core-common\";\r\n\r\n/** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as\r\n * well as base material under foundations, roadways, and railways.\r\n * @public\r\n */\r\nexport class Aggregate extends PhysicalMaterial {\r\n /** @internal */\r\n public static override get className(): string { return \"Aggregate\"; }\r\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\r\n}\r\n\r\n/** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.\r\n * @public\r\n */\r\nexport class Aluminum extends PhysicalMaterial {\r\n /** @internal */\r\n public static override get className(): string { return \"Aluminum\"; }\r\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\r\n}\r\n\r\n/** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.\r\n * @public\r\n */\r\nexport class Asphalt extends PhysicalMaterial {\r\n /** @internal */\r\n public static override get className(): string { return \"Asphalt\"; }\r\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\r\n}\r\n\r\n/** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.\r\n * @public\r\n */\r\nexport class Concrete extends PhysicalMaterial {\r\n /** @internal */\r\n public static override get className(): string { return \"Concrete\"; }\r\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\r\n}\r\n\r\n/** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.\r\n * @public\r\n */\r\nexport class Steel extends PhysicalMaterial {\r\n /** @internal */\r\n public static override get className(): string { return \"Steel\"; }\r\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\r\n}\r\n"]}
1
+ {"version":3,"file":"PhysicalMaterialElements.js","sourceRoot":"","sources":["../../src/PhysicalMaterialElements.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAiE;AAGjE;;;GAGG;AACH,MAAa,SAAU,SAAQ,+BAAgB;IAC7C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,WAAW,CAAC,CAAC,CAAC;IACtE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,8BAIC;AAED;;GAEG;AACH,MAAa,QAAS,SAAQ,+BAAgB;IAC5C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,UAAU,CAAC,CAAC,CAAC;IACrE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,4BAIC;AAED;;GAEG;AACH,MAAa,OAAQ,SAAQ,+BAAgB;IAC3C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,SAAS,CAAC,CAAC,CAAC;IACpE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,0BAIC;AAED;;GAEG;AACH,MAAa,QAAS,SAAQ,+BAAgB;IAC5C,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,UAAU,CAAC,CAAC,CAAC;IACrE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,4BAIC;AAED;;GAEG;AACH,MAAa,KAAM,SAAQ,+BAAgB;IACzC,gBAAgB;IACT,MAAM,KAAc,SAAS,KAAa,OAAO,OAAO,CAAC,CAAC,CAAC;IAClE,YAAmB,KAA6B,EAAE,MAAgB,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC9F;AAJD,sBAIC","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 PhysicalMaterial\n */\n\nimport { IModelDb, PhysicalMaterial } from \"@itwin/core-backend\";\nimport { DefinitionElementProps } from \"@itwin/core-common\";\n\n/** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as\n * well as base material under foundations, roadways, and railways.\n * @public\n */\nexport class Aggregate extends PhysicalMaterial {\n /** @internal */\n public static override get className(): string { return \"Aggregate\"; }\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\n}\n\n/** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.\n * @public\n */\nexport class Aluminum extends PhysicalMaterial {\n /** @internal */\n public static override get className(): string { return \"Aluminum\"; }\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\n}\n\n/** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.\n * @public\n */\nexport class Asphalt extends PhysicalMaterial {\n /** @internal */\n public static override get className(): string { return \"Asphalt\"; }\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\n}\n\n/** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.\n * @public\n */\nexport class Concrete extends PhysicalMaterial {\n /** @internal */\n public static override get className(): string { return \"Concrete\"; }\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\n}\n\n/** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.\n * @public\n */\nexport class Steel extends PhysicalMaterial {\n /** @internal */\n public static override get className(): string { return \"Steel\"; }\n public constructor(props: DefinitionElementProps, iModel: IModelDb) { super(props, iModel); }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,6BAA6B;AAC7B,sDAAqF;AACrF,6DAA6D;AAE7D;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qBAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IACvE,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,6BAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,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;YAC7B,4BAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;SACpD;IACH,CAAC;CACF;AAXD,wDAWC","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 PhysicalMaterial\r\n */\r\n\r\nimport * as path from \"path\";\r\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\r\nimport * as elementsModule from \"./PhysicalMaterialElements\";\r\n\r\n/** The PhysicalMaterialSchema contains standard physical material classes.\r\n * A physical material defines the matter that makes up physical elements.\r\n * @see [PhysicalMaterial]($backend)\r\n * @public\r\n */\r\nexport class PhysicalMaterialSchema extends Schema {\r\n public static override get schemaName(): string { return \"PhysicalMaterial\"; }\r\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }\r\n\r\n public static registerSchema() {\r\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\r\n Schemas.unregisterSchema(this.schemaName);\r\n Schemas.registerSchema(this);\r\n ClassRegistry.registerModule(elementsModule, this);\r\n }\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,6BAA6B;AAC7B,sDAAqF;AACrF,6DAA6D;AAE7D;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qBAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IACvE,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,6BAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,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;YAC7B,4BAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;SACpD;IACH,CAAC;CACF;AAXD,wDAWC","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 PhysicalMaterial\n */\n\nimport * as path from \"path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as elementsModule from \"./PhysicalMaterialElements\";\n\n/** The PhysicalMaterialSchema contains standard physical material classes.\n * A physical material defines the matter that makes up physical elements.\n * @see [PhysicalMaterial]($backend)\n * @public\n */\nexport class PhysicalMaterialSchema extends Schema {\n public static override get schemaName(): string { return \"PhysicalMaterial\"; }\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }\n\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\n Schemas.unregisterSchema(this.schemaName);\n Schemas.registerSchema(this);\n ClassRegistry.registerModule(elementsModule, this);\n }\n }\n}\n"]}
@@ -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":["/*---------------------------------------------------------------------------------------------\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 \"./PhysicalMaterialElements\";\nexport * from \"./PhysicalMaterialSchema\";\n\n/** @docs-package-description\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\n */\n\n/** @docs-group-description PhysicalMaterial\n * A PhysicalMaterial defines the matter that makes up physical elements.\n */\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/physical-material-backend",
3
- "version": "4.4.0-dev.1",
3
+ "version": "4.4.0-dev.10",
4
4
  "main": "lib/cjs/physical-material-backend.js",
5
5
  "typings": "lib/cjs/physical-material-backend",
6
6
  "license": "MIT",
@@ -22,9 +22,9 @@
22
22
  "url": "http://www.bentley.com"
23
23
  },
24
24
  "peerDependencies": {
25
- "@itwin/core-backend": "^4.4.0-dev.1",
26
- "@itwin/core-bentley": "^4.4.0-dev.1",
27
- "@itwin/core-common": "^4.4.0-dev.1"
25
+ "@itwin/core-backend": "^4.4.0-dev.10",
26
+ "@itwin/core-bentley": "^4.4.0-dev.10",
27
+ "@itwin/core-common": "^4.4.0-dev.10"
28
28
  },
29
29
  "//devDependencies": [
30
30
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
@@ -34,18 +34,18 @@
34
34
  "@itwin/eslint-plugin": "4.0.0-dev.44",
35
35
  "@types/chai": "4.3.1",
36
36
  "@types/fs-extra": "^4.0.7",
37
- "@types/mocha": "^8.2.2",
37
+ "@types/mocha": "^10.0.6",
38
38
  "@types/node": "~18.16.20",
39
39
  "chai": "^4.3.10",
40
40
  "eslint": "^8.44.0",
41
- "mocha": "^10.0.0",
41
+ "mocha": "^10.2.0",
42
42
  "nyc": "^15.1.0",
43
43
  "rimraf": "^3.0.2",
44
44
  "typescript": "~5.0.2",
45
- "@itwin/build-tools": "4.4.0-dev.1",
46
- "@itwin/core-backend": "4.4.0-dev.1",
47
- "@itwin/core-bentley": "4.4.0-dev.1",
48
- "@itwin/core-common": "4.4.0-dev.1"
45
+ "@itwin/core-backend": "4.4.0-dev.10",
46
+ "@itwin/build-tools": "4.4.0-dev.10",
47
+ "@itwin/core-bentley": "4.4.0-dev.10",
48
+ "@itwin/core-common": "4.4.0-dev.10"
49
49
  },
50
50
  "TODO-dependencies": {
51
51
  "@bentley/physicalmaterial-schema": "~1.0.1"