@ifc-lite/cli 0.38.0 → 0.38.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"clash-csv.d.ts","sourceRoot":"","sources":["../../src/commands/clash-csv.ts"],"names":[],"mappings":"AAeA,OAAO,EAA6D,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9G,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAsB,aAAa,CACjC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,EACpC,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,CAAC,CAQjB"}
1
+ {"version":3,"file":"clash-csv.d.ts","sourceRoot":"","sources":["../../src/commands/clash-csv.ts"],"names":[],"mappings":"AAeA,OAAO,EAA6D,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9G,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAsB,aAAa,CACjC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,EACpC,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,CAAC,CASjB"}
@@ -16,6 +16,7 @@ import { CLASH_TABLE_COLUMNS, clashTableRows } from '@ifc-lite/clash';
16
16
  import { tableToCsv } from '@ifc-lite/export';
17
17
  export async function writeClashCsv(csvPath, result, store, modelId) {
18
18
  const storeyOf = (ref) => {
19
+ // @raw-entity-enumeration-ok label a clash in this CLI run's freshly parsed, overlay-free model
19
20
  const storeyId = store.spatialHierarchy?.elementToStorey.get(ref.ref);
20
21
  return storeyId ? store.entities.getName(storeyId) || undefined : undefined;
21
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"clash-csv.js","sourceRoot":"","sources":["../../src/commands/clash-csv.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;;;;;;;GASG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAA0C,MAAM,iBAAiB,CAAC;AAC9G,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,OAAe,EACf,MAAoC,EACpC,KAAmB,EACnB,OAAe;IAEf,MAAM,QAAQ,GAAG,CAAC,GAAoB,EAAsB,EAAE;QAC5D,MAAM,QAAQ,GAAG,KAAK,CAAC,gBAAgB,EAAE,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACtE,OAAO,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9E,CAAC,CAAC;IACF,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;IACtF,MAAM,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;IACxE,OAAO,IAAI,CAAC,MAAM,CAAC;AACrB,CAAC"}
1
+ {"version":3,"file":"clash-csv.js","sourceRoot":"","sources":["../../src/commands/clash-csv.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;;;;;;;GASG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAA0C,MAAM,iBAAiB,CAAC;AAC9G,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,OAAe,EACf,MAAoC,EACpC,KAAmB,EACnB,OAAe;IAEf,MAAM,QAAQ,GAAG,CAAC,GAAoB,EAAsB,EAAE;QAC5D,gGAAgG;QAChG,MAAM,QAAQ,GAAG,KAAK,CAAC,gBAAgB,EAAE,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACtE,OAAO,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9E,CAAC,CAAC;IACF,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;IACtF,MAAM,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;IACxE,OAAO,IAAI,CAAC,MAAM,CAAC;AACrB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The `bim.store` authoring surfaces the CLI backend composes from shared SDK
3
- * factories rather than hand-written methods: cost (#4857) and structural
4
- * analysis (#5167 S.1).
3
+ * factories rather than hand-written methods: cost (#4857), structural
4
+ * analysis (#5167 S.1), and openings / hosted doors and windows (#6232).
5
5
  *
6
6
  * Both take the SAME per-call resolution, and that is the point of keeping
7
7
  * them together: an entity authored through one surface must be visible to the
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * It also keeps `headless-backend.ts` inside its module-size budget.
13
13
  */
14
- import { type CostBackendMethods, type CostStoreBackendMethods, type StructuralStoreBackendMethods } from '@ifc-lite/sdk';
14
+ import { type CostBackendMethods, type CostStoreBackendMethods, type ModellingStoreBackendMethods, type StructuralStoreBackendMethods } from '@ifc-lite/sdk';
15
15
  import type { IfcDataStore } from '@ifc-lite/parser';
16
16
  import type { MutablePropertyView, StoreEditor } from '@ifc-lite/mutations';
17
17
  export interface StoreAuthoringDeps {
@@ -24,5 +24,5 @@ export interface StoreAuthoringDeps {
24
24
  ownerHistoryId(): number | null;
25
25
  cost: Pick<CostBackendMethods, 'data'>;
26
26
  }
27
- export declare function createStoreAuthoring(deps: StoreAuthoringDeps): CostStoreBackendMethods & StructuralStoreBackendMethods;
27
+ export declare function createStoreAuthoring(deps: StoreAuthoringDeps): CostStoreBackendMethods & StructuralStoreBackendMethods & ModellingStoreBackendMethods;
28
28
  //# sourceMappingURL=headless-backend-store-authoring.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-backend-store-authoring.d.ts","sourceRoot":"","sources":["../src/headless-backend-store-authoring.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EACnC,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE5E,MAAM,WAAW,kBAAkB;IACjC,6EAA6E;IAC7E,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,IAAI,YAAY,CAAC;IAC1B,MAAM,IAAI,WAAW,CAAC;IACtB,YAAY,IAAI,mBAAmB,CAAC;IACpC,cAAc,IAAI,MAAM,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;CACxC;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,kBAAkB,GACvB,uBAAuB,GAAG,6BAA6B,CAezD"}
1
+ {"version":3,"file":"headless-backend-store-authoring.d.ts","sourceRoot":"","sources":["../src/headless-backend-store-authoring.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE5E,MAAM,WAAW,kBAAkB;IACjC,6EAA6E;IAC7E,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,IAAI,YAAY,CAAC;IAC1B,MAAM,IAAI,WAAW,CAAC;IACtB,YAAY,IAAI,mBAAmB,CAAC;IACpC,cAAc,IAAI,MAAM,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;CACxC;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,kBAAkB,GACvB,uBAAuB,GAAG,6BAA6B,GAAG,4BAA4B,CAgBxF"}
@@ -3,8 +3,8 @@
3
3
  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
4
  /**
5
5
  * The `bim.store` authoring surfaces the CLI backend composes from shared SDK
6
- * factories rather than hand-written methods: cost (#4857) and structural
7
- * analysis (#5167 S.1).
6
+ * factories rather than hand-written methods: cost (#4857), structural
7
+ * analysis (#5167 S.1), and openings / hosted doors and windows (#6232).
8
8
  *
9
9
  * Both take the SAME per-call resolution, and that is the point of keeping
10
10
  * them together: an entity authored through one surface must be visible to the
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * It also keeps `headless-backend.ts` inside its module-size budget.
16
16
  */
17
- import { createCostStoreBackend, createStructuralStoreBackend, } from '@ifc-lite/sdk';
17
+ import { createCostStoreBackend, createModellingStoreBackend, createStructuralStoreBackend, } from '@ifc-lite/sdk';
18
18
  export function createStoreAuthoring(deps) {
19
19
  const resolve = (modelId) => {
20
20
  deps.assertModel(modelId ?? '');
@@ -29,6 +29,7 @@ export function createStoreAuthoring(deps) {
29
29
  return {
30
30
  ...createCostStoreBackend(resolve, deps.cost),
31
31
  ...createStructuralStoreBackend(resolve),
32
+ ...createModellingStoreBackend(resolve),
32
33
  };
33
34
  }
34
35
  //# sourceMappingURL=headless-backend-store-authoring.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-backend-store-authoring.js","sourceRoot":"","sources":["../src/headless-backend-store-authoring.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,GAI7B,MAAM,eAAe,CAAC;AAevB,MAAM,UAAU,oBAAoB,CAClC,IAAwB;IAExB,MAAM,OAAO,GAAG,CAAC,OAAgB,EAAE,EAAE;QACnC,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;QAChC,OAAO;YACL,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC,cAAc;YACvC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YACrB,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE;SACtC,CAAC;IACJ,CAAC,CAAC;IACF,OAAO;QACL,GAAG,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC;QAC7C,GAAG,4BAA4B,CAAC,OAAO,CAAC;KACzC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"headless-backend-store-authoring.js","sourceRoot":"","sources":["../src/headless-backend-store-authoring.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,GAK7B,MAAM,eAAe,CAAC;AAevB,MAAM,UAAU,oBAAoB,CAClC,IAAwB;IAExB,MAAM,OAAO,GAAG,CAAC,OAAgB,EAAE,EAAE;QACnC,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;QAChC,OAAO;YACL,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC,cAAc;YACvC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YACrB,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE;SACtC,CAAC;IACJ,CAAC,CAAC;IACF,OAAO;QACL,GAAG,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC;QAC7C,GAAG,4BAA4B,CAAC,OAAO,CAAC;QACxC,GAAG,2BAA2B,CAAC,OAAO,CAAC;KACxC,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifc-lite/cli",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "CLI toolkit for IFC files — query, validate, export, create, and script BIM data",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,34 +20,34 @@
20
20
  "README.md"
21
21
  ],
22
22
  "dependencies": {
23
+ "@ifc-lite/cache": "^3.7.0",
23
24
  "@ifc-lite/bcf": "^5.0.0",
24
- "@ifc-lite/cache": "^3.6.1",
25
- "@ifc-lite/create": "^3.1.0",
26
- "@ifc-lite/clash": "^2.4.2",
27
- "@ifc-lite/data": "^6.0.0",
25
+ "@ifc-lite/clash": "^2.4.3",
26
+ "@ifc-lite/data": "^6.1.0",
27
+ "@ifc-lite/create": "^3.2.0",
28
28
  "@ifc-lite/diff": "^0.10.0",
29
- "@ifc-lite/export": "^4.7.4",
30
- "@ifc-lite/flow-nodes": "^0.5.0",
31
- "@ifc-lite/ids": "^3.0.3",
32
- "@ifc-lite/flow": "^0.4.0",
33
- "@ifc-lite/geometry": "^7.5.2",
34
- "@ifc-lite/ifcx": "^4.2.1",
35
- "@ifc-lite/mcp": "^0.22.0",
36
- "@ifc-lite/mutations": "^2.8.0",
37
- "@ifc-lite/parser": "^9.0.0",
38
- "@ifc-lite/query": "^2.5.1",
39
- "@ifc-lite/extensions": "^0.10.0",
40
- "@ifc-lite/sandbox": "^2.8.0",
41
- "@ifc-lite/rules": "^0.4.1",
42
- "@ifc-lite/sdk": "^7.1.3",
43
- "@ifc-lite/wasm": "^10.1.2",
44
- "@ifc-lite/viewer-core": "^0.2.23",
45
- "@ifc-lite/merge": "^0.4.7"
29
+ "@ifc-lite/export": "^4.8.0",
30
+ "@ifc-lite/flow": "^0.4.1",
31
+ "@ifc-lite/extensions": "^0.10.1",
32
+ "@ifc-lite/flow-nodes": "^0.5.1",
33
+ "@ifc-lite/geometry": "^7.6.0",
34
+ "@ifc-lite/ifcx": "^4.3.0",
35
+ "@ifc-lite/mcp": "^0.22.1",
36
+ "@ifc-lite/ids": "^3.1.0",
37
+ "@ifc-lite/merge": "^0.4.7",
38
+ "@ifc-lite/parser": "^9.1.0",
39
+ "@ifc-lite/mutations": "^3.0.0",
40
+ "@ifc-lite/query": "^2.5.2",
41
+ "@ifc-lite/sandbox": "^2.9.0",
42
+ "@ifc-lite/rules": "^0.5.0",
43
+ "@ifc-lite/viewer-core": "^0.2.24",
44
+ "@ifc-lite/wasm": "^10.2.0",
45
+ "@ifc-lite/sdk": "^8.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@types/node": "^26.6.1",
48
+ "@types/node": "^26.6.2",
49
49
  "typescript": "^6.0.3",
50
- "vitest": "^5.0.1"
50
+ "vitest": "^5.0.2"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=18.0.0"