@itwin/physical-material-backend 4.5.0-dev.8 → 4.5.0

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,68 @@
1
1
  # Change Log - @itwin/physical-material-backend
2
2
 
3
- This log was last generated on Wed, 03 Jan 2024 19:29:41 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 02 Apr 2024 19:06:00 GMT and should not be manually modified.
4
+
5
+ ## 4.5.0
6
+ Tue, 02 Apr 2024 19:06:00 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.4.8
11
+ Mon, 25 Mar 2024 22:22:26 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 4.4.7
16
+ Fri, 15 Mar 2024 19:15:14 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 4.4.6
21
+ Fri, 08 Mar 2024 15:57:12 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 4.4.5
26
+ Tue, 05 Mar 2024 20:37:18 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 4.4.4
31
+ Fri, 01 Mar 2024 18:21:01 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 4.4.3
36
+ Fri, 23 Feb 2024 21:26:07 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 4.4.2
41
+ Fri, 16 Feb 2024 14:22:01 GMT
42
+
43
+ _Version update only_
44
+
45
+ ## 4.4.1
46
+ Fri, 16 Feb 2024 14:17:48 GMT
47
+
48
+ _Version update only_
49
+
50
+ ## 4.4.0
51
+ Mon, 12 Feb 2024 18:15:58 GMT
52
+
53
+ ### Updates
54
+
55
+ - Add support for Node 20.
56
+
57
+ ## 4.3.5
58
+ Mon, 25 Mar 2024 16:54:37 GMT
59
+
60
+ _Version update only_
61
+
62
+ ## 4.3.4
63
+ Fri, 22 Mar 2024 13:30:31 GMT
64
+
65
+ _Version update only_
4
66
 
5
67
  ## 4.3.3
6
68
  Wed, 03 Jan 2024 19:28:38 GMT
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright © 2017-2023 Bentley Systems, Incorporated. All rights reserved.
3
+ Copyright © 2017-2024 Bentley Systems, Incorporated. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
@@ -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":["/*---------------------------------------------------------------------------------------------\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
+ {"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 +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":["/*---------------------------------------------------------------------------------------------\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
+ {"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 +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":["/*---------------------------------------------------------------------------------------------\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"]}
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/physical-material-backend",
3
- "version": "4.5.0-dev.8",
3
+ "version": "4.5.0",
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.5.0-dev.8",
26
- "@itwin/core-bentley": "^4.5.0-dev.8",
27
- "@itwin/core-common": "^4.5.0-dev.8"
25
+ "@itwin/core-backend": "^4.5.0",
26
+ "@itwin/core-bentley": "^4.5.0",
27
+ "@itwin/core-common": "^4.5.0"
28
28
  },
29
29
  "//devDependencies": [
30
30
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
@@ -42,10 +42,10 @@
42
42
  "nyc": "^15.1.0",
43
43
  "rimraf": "^3.0.2",
44
44
  "typescript": "~5.0.2",
45
- "@itwin/core-bentley": "4.5.0-dev.8",
46
- "@itwin/core-backend": "4.5.0-dev.8",
47
- "@itwin/build-tools": "4.5.0-dev.8",
48
- "@itwin/core-common": "4.5.0-dev.8"
45
+ "@itwin/build-tools": "4.5.0",
46
+ "@itwin/core-backend": "4.5.0",
47
+ "@itwin/core-bentley": "4.5.0",
48
+ "@itwin/core-common": "4.5.0"
49
49
  },
50
50
  "TODO-dependencies": {
51
51
  "@bentley/physicalmaterial-schema": "~1.0.1"