@itwin/physical-material-backend 5.0.0-dev.9 → 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/CHANGELOG.md CHANGED
@@ -1,6 +1,56 @@
1
1
  # Change Log - @itwin/physical-material-backend
2
2
 
3
- This log was last generated on Thu, 14 Nov 2024 18:13:56 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 19 Mar 2025 15:33:24 GMT and should not be manually modified.
4
+
5
+ ## 4.10.11
6
+ Wed, 19 Mar 2025 15:30:39 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.10.10
11
+ Tue, 11 Mar 2025 15:25:11 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 4.10.9
16
+ Tue, 11 Mar 2025 05:17:33 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 4.10.8
21
+ Thu, 06 Mar 2025 14:13:37 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 4.10.7
26
+ Tue, 18 Feb 2025 17:27:03 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 4.10.6
31
+ Fri, 24 Jan 2025 08:02:40 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 4.10.5
36
+ Tue, 21 Jan 2025 21:56:45 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 4.10.4
41
+ Mon, 13 Jan 2025 14:06:43 GMT
42
+
43
+ _Version update only_
44
+
45
+ ## 4.10.3
46
+ Mon, 06 Jan 2025 14:00:13 GMT
47
+
48
+ _Version update only_
49
+
50
+ ## 4.10.2
51
+ Thu, 21 Nov 2024 15:22:20 GMT
52
+
53
+ _Version update only_
4
54
 
5
55
  ## 4.10.1
6
56
  Thu, 14 Nov 2024 18:11:00 GMT
@@ -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,CAAC;YAC1D,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;QACrD,CAAC;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,CAAC;YAC1D,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;QACrD,CAAC;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"]}
@@ -0,0 +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
+ }
47
+ //# sourceMappingURL=PhysicalMaterialElements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhysicalMaterialElements.d.ts","sourceRoot":"","sources":["../../src/PhysicalMaterialElements.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D;;;GAGG;AACH,qBAAa,SAAU,SAAQ,gBAAgB;IAC7C,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAwB;gBACnD,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,QAAQ;CACnE;AAED;;GAEG;AACH,qBAAa,QAAS,SAAQ,gBAAgB;IAC5C,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAuB;gBAClD,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,QAAQ;CACnE;AAED;;GAEG;AACH,qBAAa,OAAQ,SAAQ,gBAAgB;IAC3C,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAsB;gBACjD,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,QAAQ;CACnE;AAED;;GAEG;AACH,qBAAa,QAAS,SAAQ,gBAAgB;IAC5C,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAuB;gBAClD,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,QAAQ;CACnE;AAED;;GAEG;AACH,qBAAa,KAAM,SAAQ,gBAAgB;IACzC,gBAAgB;IAChB,WAA2B,SAAS,IAAI,MAAM,CAAoB;gBAC/C,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,QAAQ;CACnE"}
@@ -0,0 +1,50 @@
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 PhysicalMaterial
7
+ */
8
+ import { PhysicalMaterial } from "@itwin/core-backend";
9
+ /** Aggregate is a bis:PhysicalMaterial representing a broad category of coarse to medium grained particulate material typically used in construction as
10
+ * well as base material under foundations, roadways, and railways.
11
+ * @public
12
+ */
13
+ export class Aggregate extends PhysicalMaterial {
14
+ /** @internal */
15
+ static get className() { return "Aggregate"; }
16
+ constructor(props, iModel) { super(props, iModel); }
17
+ }
18
+ /** Aluminum is a bis:PhysicalMaterial representing aluminum (atomic symbol Al) or one of its alloys.
19
+ * @public
20
+ */
21
+ export class Aluminum extends PhysicalMaterial {
22
+ /** @internal */
23
+ static get className() { return "Aluminum"; }
24
+ constructor(props, iModel) { super(props, iModel); }
25
+ }
26
+ /** Asphalt is a bis:PhysicalMaterial representing a mixture of a bituminous binder and aggregates. Asphalt is typically used for roadway surfacing.
27
+ * @public
28
+ */
29
+ export class Asphalt extends PhysicalMaterial {
30
+ /** @internal */
31
+ static get className() { return "Asphalt"; }
32
+ constructor(props, iModel) { super(props, iModel); }
33
+ }
34
+ /** Concrete is a bis:PhysicalMaterial representing a mixture of hydraulic cement, aggregates, water and optionally other materials.
35
+ * @public
36
+ */
37
+ export class Concrete extends PhysicalMaterial {
38
+ /** @internal */
39
+ static get className() { return "Concrete"; }
40
+ constructor(props, iModel) { super(props, iModel); }
41
+ }
42
+ /** Steel is a bis:PhysicalMaterial representing an alloy of iron, carbon and other elements.
43
+ * @public
44
+ */
45
+ export class Steel extends PhysicalMaterial {
46
+ /** @internal */
47
+ static get className() { return "Steel"; }
48
+ constructor(props, iModel) { super(props, iModel); }
49
+ }
50
+ //# sourceMappingURL=PhysicalMaterialElements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhysicalMaterialElements.js","sourceRoot":"","sources":["../../src/PhysicalMaterialElements.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAY,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGjE;;;GAGG;AACH,MAAM,OAAO,SAAU,SAAQ,gBAAgB;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;AAED;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,gBAAgB;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;AAED;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,gBAAgB;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;AAED;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,gBAAgB;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;AAED;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,gBAAgB;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","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"]}
@@ -0,0 +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
+ }
15
+ //# sourceMappingURL=PhysicalMaterialSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhysicalMaterialSchema.d.ts","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAiC,MAAM,EAAW,MAAM,qBAAqB,CAAC;AAGrF;;;;GAIG;AACH,qBAAa,sBAAuB,SAAQ,MAAM;IAChD,WAA2B,UAAU,IAAI,MAAM,CAA+B;IAC9E,WAAkB,cAAc,IAAI,MAAM,CAAkI;WAE9J,cAAc;CAO7B"}
@@ -0,0 +1,27 @@
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 PhysicalMaterial
7
+ */
8
+ import * as path from "path";
9
+ import { ClassRegistry, KnownLocations, Schema, Schemas } from "@itwin/core-backend";
10
+ import * as elementsModule from "./PhysicalMaterialElements";
11
+ /** The PhysicalMaterialSchema contains standard physical material classes.
12
+ * A physical material defines the matter that makes up physical elements.
13
+ * @see [PhysicalMaterial]($backend)
14
+ * @public
15
+ */
16
+ export class PhysicalMaterialSchema extends Schema {
17
+ static get schemaName() { return "PhysicalMaterial"; }
18
+ static get schemaFilePath() { return path.join(KnownLocations.nativeAssetsDir, "ECSchemas", "Domain", `${PhysicalMaterialSchema.schemaName}.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
+ }
25
+ }
26
+ }
27
+ //# sourceMappingURL=PhysicalMaterialSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.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,4BAA4B,CAAC;AAE7D;;;;GAIG;AACH,MAAM,OAAO,sBAAuB,SAAQ,MAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IACvE,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,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;YAC7B,aAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACrD,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 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"]}
@@ -0,0 +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
+ */
9
+ //# sourceMappingURL=physical-material-backend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"physical-material-backend.d.ts","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;GAEG"}
@@ -0,0 +1,13 @@
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 "./PhysicalMaterialElements";
6
+ export * from "./PhysicalMaterialSchema";
7
+ /** @docs-package-description
8
+ * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
9
+ */
10
+ /** @docs-group-description PhysicalMaterial
11
+ * A PhysicalMaterial defines the matter that makes up physical elements.
12
+ */
13
+ //# sourceMappingURL=physical-material-backend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;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,7 +1,8 @@
1
1
  {
2
2
  "name": "@itwin/physical-material-backend",
3
- "version": "5.0.0-dev.9",
3
+ "version": "5.0.0-dev.92",
4
4
  "main": "lib/cjs/physical-material-backend.js",
5
+ "module": "lib/esm/physical-material-backend.js",
5
6
  "typings": "lib/cjs/physical-material-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.9",
26
- "@itwin/core-bentley": "^5.0.0-dev.9",
27
- "@itwin/core-common": "^5.0.0-dev.9"
26
+ "@itwin/core-bentley": "5.0.0-dev.92",
27
+ "@itwin/core-backend": "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",
@@ -35,17 +36,17 @@
35
36
  "@types/chai": "4.3.1",
36
37
  "@types/fs-extra": "^4.0.7",
37
38
  "@types/mocha": "^10.0.6",
38
- "@types/node": "~20.9.5",
39
+ "@types/node": "~20.17.0",
39
40
  "chai": "^4.3.10",
40
41
  "eslint": "^9.13.0",
41
- "mocha": "^10.2.0",
42
- "nyc": "^15.1.0",
43
- "rimraf": "^3.0.2",
42
+ "mocha": "^11.1.0",
43
+ "nyc": "^17.1.0",
44
+ "rimraf": "^6.0.1",
44
45
  "typescript": "~5.6.2",
45
- "@itwin/core-backend": "5.0.0-dev.9",
46
- "@itwin/core-bentley": "5.0.0-dev.9",
47
- "@itwin/build-tools": "5.0.0-dev.9",
48
- "@itwin/core-common": "5.0.0-dev.9"
46
+ "@itwin/core-backend": "5.0.0-dev.92",
47
+ "@itwin/build-tools": "5.0.0-dev.92",
48
+ "@itwin/core-bentley": "5.0.0-dev.92",
49
+ "@itwin/core-common": "5.0.0-dev.92"
49
50
  },
50
51
  "TODO-dependencies": {
51
52
  "@bentley/physicalmaterial-schema": "~1.0.1"
@@ -54,9 +55,10 @@
54
55
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
55
56
  },
56
57
  "scripts": {
57
- "build": "npm run -s build:cjs",
58
+ "build": "npm run -s build:cjs && npm run -s build:esm",
58
59
  "build:cjs": "tsc 1>&2 --outDir lib/cjs",
59
- "clean": "rimraf lib .rush/temp/package-deps*.json",
60
+ "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
61
+ "clean": "rimraf -g lib .rush/temp/package-deps*.json",
60
62
  "cover": "nyc npm -s test",
61
63
  "docs": "betools docs --json=../../../generated-docs/domains/physical-material-backend/file.json --tsIndexFile=./physical-material-backend.ts --onlyJson",
62
64
  "extract-api": "betools extract-api --entry=physical-material-backend",