@itwin/physical-material-backend 4.1.0-dev.8 → 4.1.0-dev.80

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,80 @@
1
1
  # Change Log - @itwin/physical-material-backend
2
2
 
3
- This log was last generated on Tue, 25 Apr 2023 17:50:35 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Jul 2023 12:35:20 GMT and should not be manually modified.
4
+
5
+ ## 4.0.6
6
+ Mon, 24 Jul 2023 05:07:33 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.0.5
11
+ Tue, 18 Jul 2023 12:21:56 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 4.0.4
16
+ Wed, 12 Jul 2023 15:50:01 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 4.0.3
21
+ Mon, 03 Jul 2023 15:28:41 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 4.0.2
26
+ Wed, 21 Jun 2023 22:04:43 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 4.0.1
31
+ Wed, 21 Jun 2023 20:29:14 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 4.0.0
36
+ Mon, 22 May 2023 15:34:14 GMT
37
+
38
+ ### Updates
39
+
40
+ - Update to eslint@8
41
+ - Drop Node 12 and Node 14.
42
+ - Drop Node 16 support.
43
+
44
+ ## 3.7.11
45
+ Tue, 11 Jul 2023 17:17:22 GMT
46
+
47
+ _Version update only_
48
+
49
+ ## 3.7.10
50
+ Wed, 05 Jul 2023 13:41:21 GMT
51
+
52
+ _Version update only_
53
+
54
+ ## 3.7.9
55
+ Tue, 20 Jun 2023 12:51:02 GMT
56
+
57
+ _Version update only_
58
+
59
+ ## 3.7.8
60
+ Thu, 01 Jun 2023 17:00:39 GMT
61
+
62
+ _Version update only_
63
+
64
+ ## 3.7.7
65
+ Wed, 24 May 2023 17:27:09 GMT
66
+
67
+ _Version update only_
68
+
69
+ ## 3.7.6
70
+ Mon, 15 May 2023 18:23:41 GMT
71
+
72
+ _Version update only_
73
+
74
+ ## 3.7.5
75
+ Thu, 04 May 2023 19:43:18 GMT
76
+
77
+ _Version update only_
4
78
 
5
79
  ## 3.7.4
6
80
  Tue, 25 Apr 2023 17:50:35 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;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.1.0-dev.8",
3
+ "version": "4.1.0-dev.80",
4
4
  "main": "lib/cjs/physical-material-backend.js",
5
5
  "typings": "lib/cjs/physical-material-backend",
6
6
  "license": "MIT",
@@ -22,30 +22,30 @@
22
22
  "url": "http://www.bentley.com"
23
23
  },
24
24
  "peerDependencies": {
25
- "@itwin/core-backend": "^4.1.0-dev.8",
26
- "@itwin/core-bentley": "^4.1.0-dev.8",
27
- "@itwin/core-common": "^4.1.0-dev.8"
25
+ "@itwin/core-backend": "^4.1.0-dev.80",
26
+ "@itwin/core-bentley": "^4.1.0-dev.80",
27
+ "@itwin/core-common": "^4.1.0-dev.80"
28
28
  },
29
29
  "//devDependencies": [
30
30
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
31
31
  "NOTE: All tools used by scripts in this package must be listed as devDependencies"
32
32
  ],
33
33
  "devDependencies": {
34
- "@itwin/eslint-plugin": "^4.0.0-dev.33",
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
37
  "@types/mocha": "^8.2.2",
38
- "@types/node": "^18.11.5",
38
+ "@types/node": "18.16.1",
39
39
  "chai": "^4.1.2",
40
- "eslint": "^8.36.0",
40
+ "eslint": "^8.44.0",
41
41
  "mocha": "^10.0.0",
42
42
  "nyc": "^15.1.0",
43
43
  "rimraf": "^3.0.2",
44
44
  "typescript": "~5.0.2",
45
- "@itwin/build-tools": "4.1.0-dev.8",
46
- "@itwin/core-backend": "4.1.0-dev.8",
47
- "@itwin/core-bentley": "4.1.0-dev.8",
48
- "@itwin/core-common": "4.1.0-dev.8"
45
+ "@itwin/build-tools": "4.1.0-dev.80",
46
+ "@itwin/core-backend": "4.1.0-dev.80",
47
+ "@itwin/core-bentley": "4.1.0-dev.80",
48
+ "@itwin/core-common": "4.1.0-dev.80"
49
49
  },
50
50
  "TODO-dependencies": {
51
51
  "@bentley/physicalmaterial-schema": "~1.0.1"
@@ -53,12 +53,6 @@
53
53
  "nyc": {
54
54
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
55
55
  },
56
- "eslintConfig": {
57
- "plugins": [
58
- "@itwin"
59
- ],
60
- "extends": "plugin:@itwin/itwinjs-recommended"
61
- },
62
56
  "scripts": {
63
57
  "build": "npm run -s build:cjs",
64
58
  "build:cjs": "tsc 1>&2 --outDir lib/cjs",