@thatopen/components 2.2.9 → 2.3.0-alpha.2

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.
Files changed (32) hide show
  1. package/dist/core/Components/index.d.ts +1 -1
  2. package/dist/core/ShadowedScene/index.d.ts +7 -8
  3. package/dist/core/Types/src/base-scene.d.ts +1 -0
  4. package/dist/core/Types/src/base.d.ts +1 -1
  5. package/dist/core/Types/src/component-with-ui.d.ts +13 -0
  6. package/dist/core/Types/src/config-manager.d.ts +50 -0
  7. package/dist/core/Types/src/index.d.ts +2 -0
  8. package/dist/core/Types/src/interfaces.d.ts +4 -5
  9. package/dist/core/Viewpoints/index.d.ts +4 -14
  10. package/dist/core/Viewpoints/src/index.d.ts +1 -1
  11. package/dist/core/Viewpoints/src/{Viewpoint.d.ts → viewpoint.d.ts} +1 -1
  12. package/dist/core/Viewpoints/src/viewpoints-config.d.ts +28 -0
  13. package/dist/core/Worlds/src/index.d.ts +1 -0
  14. package/dist/core/Worlds/src/simple-scene-config.d.ts +92 -0
  15. package/dist/core/Worlds/src/simple-scene.d.ts +5 -20
  16. package/dist/ifc/IfcPropertiesManager/index.d.ts +1 -19
  17. package/dist/ifc/IfcRelationsIndexer/index.d.ts +3 -33
  18. package/dist/ifc/IfcRelationsIndexer/src/relToAttributesMap.d.ts +1 -1
  19. package/dist/ifc/IfcRelationsIndexer/src/types.d.ts +2 -4
  20. package/dist/index.cjs +48 -48
  21. package/dist/index.mjs +8785 -8695
  22. package/dist/namespace.d.ts +3084 -2893
  23. package/dist/openbim/BCFTopics/index.d.ts +5 -4
  24. package/dist/openbim/BCFTopics/src/bcf-topics-config.d.ts +181 -0
  25. package/dist/openbim/BCFTopics/src/index.d.ts +1 -0
  26. package/dist/openbim/BCFTopics/src/types.d.ts +0 -72
  27. package/package.json +4 -4
  28. package/dist/ifc/IfcPropertiesManager/src/index.d.ts +0 -3
  29. package/dist/ifc/IfcPropertiesManager/src/rel-attrs.d.ts +0 -7
  30. package/dist/ifc/IfcPropertiesManager/src/rel-names.d.ts +0 -3
  31. package/dist/ifc/IfcPropertiesManager/src/types.d.ts +0 -18
  32. package/dist/ifc/IfcRelationsIndexer/src/index.d.ts +0 -2
@@ -6,7 +6,7 @@ export declare class Components implements Disposable {
6
6
  /**
7
7
  * The version of the @thatopen/components library.
8
8
  */
9
- static readonly release = "2.2.9";
9
+ static readonly release = "2.3.0-alpha.1";
10
10
  /** {@link Disposable.onDisposed} */
11
11
  readonly onDisposed: Event<void>;
12
12
  /**
@@ -1,6 +1,6 @@
1
- import { SimpleScene, SimpleSceneConfig } from "../Worlds";
1
+ import { SimpleScene, SimpleSceneConfig, SimpleSceneConfigManager } from "../Worlds";
2
2
  import { DistanceRenderer } from "./src";
3
- import { Disposable } from "../Types";
3
+ import { Configurable, Disposable } from "../Types";
4
4
  /**
5
5
  * Configuration interface for the {@link ShadowedScene}. Defines properties for directional and ambient lights,
6
6
  * as well as shadows.
@@ -14,17 +14,16 @@ export interface ShadowedSceneConfig extends SimpleSceneConfig {
14
14
  /**
15
15
  * A scene that supports efficient cast shadows. 📕 [Tutorial](https://docs.thatopen.com/Tutorials/Components/Core/ShadowedScene). 📘 [API](https://docs.thatopen.com/api/@thatopen/components/classes/ShadowedScene).
16
16
  */
17
- export declare class ShadowedScene extends SimpleScene implements Disposable {
17
+ export declare class ShadowedScene extends SimpleScene implements Disposable, Configurable<SimpleSceneConfigManager, ShadowedSceneConfig> {
18
18
  private _distanceRenderer?;
19
19
  /**
20
20
  * Whether the bias property should be set automatically depending on the shadow distance.
21
21
  */
22
22
  autoBias: boolean;
23
- /**
24
- * Configuration interface for the {@link ShadowedScene}.
25
- * Defines properties for directional and ambient lights, as well as shadows.
26
- */
27
- config: Required<ShadowedSceneConfig>;
23
+ protected _defaultShadowConfig: {
24
+ cascade: number;
25
+ resolution: number;
26
+ };
28
27
  private _lightsWithShadow;
29
28
  private _isComputingShadows;
30
29
  private _shadowsEnabled;
@@ -21,4 +21,5 @@ export declare abstract class BaseScene extends BaseWorldItem implements Disposa
21
21
  protected constructor(components: Components);
22
22
  /** {@link Disposable.dispose} */
23
23
  dispose(): void;
24
+ deleteAllLights(): void;
24
25
  }
@@ -15,5 +15,5 @@ export declare abstract class Base {
15
15
  /** Whether is component is {@link Hideable}. */
16
16
  isHideable: () => this is Hideable;
17
17
  /** Whether is component is {@link Configurable}. */
18
- isConfigurable: () => this is Configurable<any>;
18
+ isConfigurable: () => this is Configurable<any, any>;
19
19
  }
@@ -0,0 +1,13 @@
1
+ import { Component } from "./component";
2
+ export type ComponentUIElement = {
3
+ name: string;
4
+ componentID: string;
5
+ attributes: {
6
+ [name: string]: string;
7
+ };
8
+ get: () => HTMLElement;
9
+ };
10
+ export declare abstract class ComponentWithUI extends Component {
11
+ abstract name: string;
12
+ abstract getUI(): ComponentUIElement[];
13
+ }
@@ -0,0 +1,50 @@
1
+ import * as THREE from "three";
2
+ export interface BooleanSettingsControl {
3
+ type: "Boolean";
4
+ value: boolean;
5
+ }
6
+ export interface ColorSettingsControl {
7
+ type: "Color";
8
+ opacity: number;
9
+ value: THREE.Color;
10
+ }
11
+ export interface TextSettingsControl {
12
+ type: "Text";
13
+ value: string;
14
+ }
15
+ export interface NumberSettingControl {
16
+ type: "Number";
17
+ interpolable: boolean;
18
+ min?: number;
19
+ max?: number;
20
+ value: number;
21
+ }
22
+ export interface SelectSettingControl {
23
+ type: "Select";
24
+ options: Set<string>;
25
+ value: string;
26
+ }
27
+ export interface MultiSelectSettingControl {
28
+ type: "MultiSelect";
29
+ options: Set<string>;
30
+ value: Set<string>;
31
+ }
32
+ export interface Vector3SettingControl {
33
+ type: "Vector";
34
+ value: THREE.Vector3;
35
+ }
36
+ export interface TextSetSettingControl {
37
+ type: "TextSet";
38
+ value: Set<string>;
39
+ }
40
+ type ControlEntry = BooleanSettingsControl | ColorSettingsControl | TextSettingsControl | NumberSettingControl | SelectSettingControl | Vector3SettingControl | TextSetSettingControl | MultiSelectSettingControl;
41
+ interface ControlsSchema {
42
+ [name: string]: ControlEntry | ControlsSchema;
43
+ }
44
+ export declare abstract class ConfigManager<T, U extends ControlsSchema> {
45
+ protected abstract _list: U;
46
+ protected _component: T;
47
+ get controls(): any;
48
+ constructor(component: T);
49
+ }
50
+ export {};
@@ -10,3 +10,5 @@ export * from "./base-scene";
10
10
  export * from "./world";
11
11
  export * from "./data-set";
12
12
  export * from "./data-map";
13
+ export * from "./component-with-ui";
14
+ export * from "./config-manager";
@@ -84,15 +84,14 @@ export interface Createable {
84
84
  /**
85
85
  * Whether this component supports to be configured.
86
86
  */
87
- export interface Configurable<T extends Record<string, any>> {
87
+ export interface Configurable<T, U> {
88
88
  /** Wether this components has been already configured. */
89
89
  isSetup: boolean;
90
- /** Use the provided configuration to setup the tool. */
91
- setup: (config?: Partial<T>) => void | Promise<void>;
90
+ /** Use the provided configuration to set up the tool. */
91
+ setup: (config?: Partial<U>) => void | Promise<void>;
92
92
  /** Fired after successfully calling {@link Configurable.setup()} */
93
93
  readonly onSetup: Event<any>;
94
- /** Object holding the tool configuration. Is not meant to be edited directly, if you need
95
- * to make changes to this object, use {@link Configurable.setup()} just after the tool is instantiated.
94
+ /** Object holding the tool configuration. You can edit this directly to change the object.
96
95
  */
97
96
  config: Required<T>;
98
97
  }
@@ -1,18 +1,9 @@
1
1
  import { World, Component, Disposable, Event, DataMap, Configurable } from "../Types";
2
2
  import { Components } from "../Components";
3
3
  import { BCFViewpoint, Viewpoint } from "./src";
4
- /**
5
- * Configuration interface for the Viewpoints general behavior.
6
- */
7
- interface ViewpointsConfig {
8
- /**
9
- * Indicates whether to overwrite the fragments colors when applying viewpoints.
10
- * @remarks BCF Viewpoints comes with information to indicate the colors to be applied to components, if any.
11
- * @default false
12
- */
13
- overwriteColors: boolean;
14
- }
15
- export declare class Viewpoints extends Component implements Disposable, Configurable<ViewpointsConfig> {
4
+ import { ViewpointsConfigManger, ViewpointsConfig } from "./src/viewpoints-config";
5
+ export * from "./src";
6
+ export declare class Viewpoints extends Component implements Disposable, Configurable<ViewpointsConfigManger, ViewpointsConfig> {
16
7
  static readonly uuid: "ee867824-a796-408d-8aa0-4e5962a83c66";
17
8
  enabled: boolean;
18
9
  /**
@@ -33,7 +24,7 @@ export declare class Viewpoints extends Component implements Disposable, Configu
33
24
  isSetup: boolean;
34
25
  setup(): void;
35
26
  onSetup: Event<unknown>;
36
- config: Required<ViewpointsConfig>;
27
+ config: ViewpointsConfigManger;
37
28
  readonly onDisposed: Event<unknown>;
38
29
  /**
39
30
  * Disposes of the Viewpoints component and its associated resources.
@@ -44,4 +35,3 @@ export declare class Viewpoints extends Component implements Disposable, Configu
44
35
  */
45
36
  dispose(): void;
46
37
  }
47
- export * from "./src";
@@ -1,2 +1,2 @@
1
1
  export * from "./types";
2
- export * from "./Viewpoint";
2
+ export * from "./viewpoint";
@@ -186,5 +186,5 @@ export declare class Viewpoint implements BCFViewpoint {
186
186
  * @throws An error if the world's camera does not have camera controls.
187
187
  * @throws An error if the world's renderer is not available.
188
188
  */
189
- serialize(version?: import("../../../openbim/BCFTopics").BCFVersion): Promise<string>;
189
+ serialize(version?: string): Promise<string>;
190
190
  }
@@ -0,0 +1,28 @@
1
+ import { BooleanSettingsControl, ConfigManager } from "../../Types";
2
+ import { Viewpoints } from "../index";
3
+ /**
4
+ * Configuration interface for the Viewpoints general behavior.
5
+ */
6
+ export interface ViewpointsConfig {
7
+ /**
8
+ * Indicates whether to overwrite the fragments colors when applying viewpoints.
9
+ * @remarks BCF Viewpoints comes with information to indicate the colors to be applied to components, if any.
10
+ * @default false
11
+ */
12
+ overwriteColors: boolean;
13
+ }
14
+ type ViewpointsConfigType = {
15
+ overwriteColors: BooleanSettingsControl;
16
+ };
17
+ export declare class ViewpointsConfigManger extends ConfigManager<Viewpoints, ViewpointsConfigType> {
18
+ protected _list: {
19
+ overwriteColors: {
20
+ value: boolean;
21
+ opacity: number;
22
+ type: "Boolean";
23
+ };
24
+ };
25
+ get overwriteColors(): boolean;
26
+ set overwriteColors(value: boolean);
27
+ }
28
+ export {};
@@ -2,3 +2,4 @@ export * from "./simple-world";
2
2
  export * from "./simple-scene";
3
3
  export * from "./simple-renderer";
4
4
  export * from "./simple-camera";
5
+ export * from "./simple-scene-config";
@@ -0,0 +1,92 @@
1
+ import * as THREE from "three";
2
+ import { SimpleScene } from "./simple-scene";
3
+ import { ColorSettingsControl, ConfigManager, NumberSettingControl, Vector3SettingControl } from "../../Types";
4
+ type SimpleSceneConfigType = {
5
+ backgroundColor: ColorSettingsControl;
6
+ ambientLight: {
7
+ color: ColorSettingsControl;
8
+ intensity: NumberSettingControl;
9
+ };
10
+ directionalLight: {
11
+ color: ColorSettingsControl;
12
+ intensity: NumberSettingControl;
13
+ position: Vector3SettingControl;
14
+ };
15
+ };
16
+ declare class DirectionalLightConfig {
17
+ private _list;
18
+ private _scene;
19
+ constructor(list: SimpleSceneConfigType, scene: SimpleScene);
20
+ get color(): THREE.Color;
21
+ set color(value: THREE.Color);
22
+ get intensity(): number;
23
+ set intensity(value: number);
24
+ get position(): THREE.Vector3;
25
+ set position(value: THREE.Vector3);
26
+ }
27
+ declare class AmbientLightConfig {
28
+ private _list;
29
+ private _scene;
30
+ constructor(list: SimpleSceneConfigType, scene: SimpleScene);
31
+ get color(): THREE.Color;
32
+ set color(value: THREE.Color);
33
+ get intensity(): number;
34
+ set intensity(value: number);
35
+ }
36
+ /**
37
+ * Configuration interface for the {@link SimpleScene}.
38
+ */
39
+ export interface SimpleSceneConfig {
40
+ backgroundColor: THREE.Color;
41
+ directionalLight: {
42
+ color: THREE.Color;
43
+ intensity: number;
44
+ position: THREE.Vector3;
45
+ };
46
+ ambientLight: {
47
+ color: THREE.Color;
48
+ intensity: number;
49
+ };
50
+ }
51
+ export declare class SimpleSceneConfigManager extends ConfigManager<SimpleScene, SimpleSceneConfigType> {
52
+ protected _list: {
53
+ backgroundColor: {
54
+ value: THREE.Color;
55
+ opacity: number;
56
+ type: "Color";
57
+ };
58
+ ambientLight: {
59
+ color: {
60
+ type: "Color";
61
+ opacity: number;
62
+ value: THREE.Color;
63
+ };
64
+ intensity: {
65
+ type: "Number";
66
+ interpolable: boolean;
67
+ value: number;
68
+ };
69
+ };
70
+ directionalLight: {
71
+ color: {
72
+ type: "Color";
73
+ opacity: number;
74
+ value: THREE.Color;
75
+ };
76
+ intensity: {
77
+ type: "Number";
78
+ interpolable: boolean;
79
+ value: number;
80
+ };
81
+ position: {
82
+ type: "Vector";
83
+ value: THREE.Vector3;
84
+ };
85
+ };
86
+ };
87
+ ambientLight: AmbientLightConfig;
88
+ directionalLight: DirectionalLightConfig;
89
+ get backgroundColor(): THREE.Color;
90
+ set backgroundColor(value: THREE.Color);
91
+ }
92
+ export {};
@@ -1,24 +1,11 @@
1
1
  import * as THREE from "three";
2
2
  import { BaseScene, Configurable, Event } from "../../Types";
3
3
  import { Components } from "../../Components";
4
- /**
5
- * Configuration interface for the {@link SimpleScene}. Defines properties for directional and ambient lights.
6
- */
7
- export interface SimpleSceneConfig {
8
- directionalLight: {
9
- color: THREE.Color;
10
- intensity: number;
11
- position: THREE.Vector3;
12
- };
13
- ambientLight: {
14
- color: THREE.Color;
15
- intensity: number;
16
- };
17
- }
4
+ import { SimpleSceneConfig, SimpleSceneConfigManager } from "./simple-scene-config";
18
5
  /**
19
6
  * A basic 3D [scene](https://threejs.org/docs/#api/en/scenes/Scene) to add objects hierarchically, and easily dispose them when you are finished with it.
20
7
  */
21
- export declare class SimpleScene extends BaseScene implements Configurable<{}> {
8
+ export declare class SimpleScene extends BaseScene implements Configurable<SimpleSceneConfigManager, SimpleSceneConfig> {
22
9
  /** {@link Configurable.isSetup} */
23
10
  isSetup: boolean;
24
11
  /**
@@ -28,11 +15,9 @@ export declare class SimpleScene extends BaseScene implements Configurable<{}> {
28
15
  three: THREE.Scene;
29
16
  /** {@link Configurable.onSetup} */
30
17
  readonly onSetup: Event<SimpleScene>;
31
- /**
32
- * Configuration interface for the {@link SimpleScene}.
33
- * Defines properties for directional and ambient lights.
34
- */
35
- config: Required<SimpleSceneConfig>;
18
+ /** {@link Configurable.config} */
19
+ config: SimpleSceneConfigManager;
20
+ protected _defaultConfig: SimpleSceneConfig;
36
21
  constructor(components: Components);
37
22
  /** {@link Configurable.setup} */
38
23
  setup(config?: Partial<SimpleSceneConfig>): void;
@@ -1,7 +1,6 @@
1
1
  import * as WEBIFC from "web-ifc";
2
2
  import { FragmentsGroup } from "@thatopen/fragments";
3
3
  import { Component, Disposable, Event, Components } from "../../core";
4
- import { IfcRelation } from "../IfcRelationsIndexer";
5
4
  /**
6
5
  * Types for boolean properties in IFC schema.
7
6
  */
@@ -208,10 +207,7 @@ export declare class IfcPropertiesManager extends Component implements Disposabl
208
207
  * @throws Will throw an error if the Pset to be removed is not of type `IFCPROPERTYSET`.
209
208
  */
210
209
  removePsetProp(model: FragmentsGroup, psetID: number, propID: number): Promise<void>;
211
- /**
212
- * @deprecated Use indexer.addEntitiesRelation instead. This will be removed in future releases.
213
- */
214
- addElementToPset(model: FragmentsGroup, psetID: number, ...expressIDs: number[]): void;
210
+ addElementToPset(model: FragmentsGroup, psetID: number, ...expressIDs: number[]): Promise<void>;
215
211
  /**
216
212
  * Adds elements to a Property Set (Pset) in the given model.
217
213
  *
@@ -226,19 +222,6 @@ export declare class IfcPropertiesManager extends Component implements Disposabl
226
222
  * @throws Will throw an error if no relation is found between the Pset and the model.
227
223
  */
228
224
  addPropToPset(model: FragmentsGroup, psetID: number, ...propID: number[]): Promise<void>;
229
- /**
230
- * Creates a new instance of a relationship between entities in the IFC model.
231
- *
232
- * @param model - The FragmentsGroup model in which to create the relationship.
233
- * @param type - The type of the relationship to create.
234
- * @param relatingID - The express ID of the entity that is related to the other entities.
235
- * @param relatedIDs - The express IDs of the entities that are related to the relating entity.
236
- *
237
- * @returns A promise that resolves with the newly created relationship.
238
- *
239
- * @throws Will throw an error if the relationship type is unsupported.
240
- */
241
- createIfcRel(model: FragmentsGroup, type: IfcRelation, relatingID: number, relatedIDs: number[]): Promise<any>;
242
225
  /**
243
226
  * Saves the changes made to the model to a new IFC file.
244
227
  *
@@ -282,4 +265,3 @@ export declare class IfcPropertiesManager extends Component implements Disposabl
282
265
  private registerChange;
283
266
  private newSingleProperty;
284
267
  }
285
- export * from "./src";
@@ -1,7 +1,8 @@
1
1
  import * as WEBIFC from "web-ifc";
2
2
  import { FragmentsGroup } from "@thatopen/fragments";
3
3
  import { Disposable, Event, Component, Components } from "../../core";
4
- import { RelationsMap, ModelsRelationMap, InverseAttribute, IfcRelation } from "./src";
4
+ import { RelationsMap, ModelsRelationMap, InverseAttribute } from "./src/types";
5
+ export type { InverseAttribute, RelationsMap } from "./src/types";
5
6
  /**
6
7
  * Indexer component for IFC entities, facilitating the indexing and retrieval of IFC entity relationships. It is designed to process models properties by indexing their IFC entities' relations based on predefined inverse attributes, and provides methods to query these relations. 📕 [Tutorial](https://docs.thatopen.com/Tutorials/Components/Core/IfcRelationsIndexer). 📘 [API](https://docs.thatopen.com/api/@thatopen/components/classes/IfcRelationsIndexer).
7
8
  */
@@ -139,7 +140,7 @@ export declare class IfcRelationsIndexer extends Component implements Disposable
139
140
  /** {@link Disposable.dispose} */
140
141
  dispose(): void;
141
142
  /**
142
- * Retrieves the entities within a model that have a specific relation with a given entity.
143
+ * Retrieves the entities within a given model that have a specific relation with a given entity.
143
144
  *
144
145
  * @param model - The BIM model to search for related entities.
145
146
  * @param inv - The IFC schema inverse attribute of the relation to search for (e.g., "IsDefinedBy", "ContainsElements").
@@ -157,40 +158,10 @@ export declare class IfcRelationsIndexer extends Component implements Disposable
157
158
  * @param expressID - The expressID of the entity within the model.
158
159
  * @param relationName - The IFC schema inverse attribute of the relation to add (e.g., "IsDefinedBy", "ContainsElements").
159
160
  * @param relIDs - The expressIDs of the related entities within the model.
160
- * @deprecated Use addEntitiesRelation instead. This will be removed in future versions.
161
161
  *
162
162
  * @throws An error if the relation name is not a valid relation name.
163
163
  */
164
164
  addEntityRelations(model: FragmentsGroup, expressID: number, relationName: InverseAttribute, ...relIDs: number[]): void;
165
- /**
166
- * Converts the relations made into actual IFC data.
167
- *
168
- * @remarks This function iterates through the changes made to the relations and applies them to the corresponding BIM model.
169
- * It only make sense to use if the relations need to be write in the IFC file.
170
- *
171
- * @returns A promise that resolves when all the relation changes have been applied.
172
- */
173
- applyRelationChanges(): Promise<void>;
174
- private readonly _changeMap;
175
- /**
176
- * An event that is triggered when entities are related in a BIM model.
177
- * The event provides information about the type of relation, the inverse attribute,
178
- * the IDs of the entities related, and the IDs of the entities that are being related.
179
- */
180
- readonly onEntitiesRelated: Event<{
181
- /** The type of the IFC relation. */
182
- relType: IfcRelation;
183
- /** The inverse attribute of the relation. */
184
- invAttribute: InverseAttribute;
185
- /** The IDs of the entities that are relating. */
186
- relatingIDs: number[];
187
- /** The IDs of the entities that are being related. */
188
- relatedIDs: number[];
189
- }>;
190
- addEntitiesRelation(model: FragmentsGroup, relatingID: number, rel: {
191
- type: IfcRelation;
192
- inv: InverseAttribute;
193
- }, ...relatedIDs: number[]): void;
194
165
  /**
195
166
  * Gets the children of the given element recursively. E.g. in a model with project - site - building - storeys - rooms, passing a storey will include all its children and the children of the rooms contained in it.
196
167
  *
@@ -202,4 +173,3 @@ export declare class IfcRelationsIndexer extends Component implements Disposable
202
173
  */
203
174
  getEntityChildren(model: FragmentsGroup, expressID: number, found?: Set<number>): Set<number>;
204
175
  }
205
- export * from "./src";
@@ -1,5 +1,5 @@
1
1
  import { InverseAttribute } from "./types";
2
- export declare const relToAttributesMap: Map<160246688 | 2655215786 | 919958153 | 1307041759 | 4186316022 | 781010003 | 307848117 | 3242617779 | 279856033 | 1204542856 | 2857406711 | 2565941209 | 2495723537 | 3268803585 | 982818633, {
2
+ export declare const relToAttributesMap: Map<160246688 | 2655215786 | 919958153 | 1307041759 | 4186316022 | 781010003 | 307848117 | 3242617779 | 279856033 | 1204542856 | 2857406711 | 2565941209 | 2495723537 | 3268803585, {
3
3
  forRelating: InverseAttribute;
4
4
  forRelated: InverseAttribute;
5
5
  }>;
@@ -30,8 +30,7 @@ export type InverseAttributes = [
30
30
  "HasContext",
31
31
  "Controls",
32
32
  "IsNestedBy",
33
- "Nests",
34
- "DocumentRefForObjects"
33
+ "Nests"
35
34
  ];
36
35
  export type InverseAttribute = InverseAttributes[number];
37
36
  /**
@@ -51,7 +50,6 @@ export type IfcRelations = [
51
50
  typeof WEBIFC.IFCRELASSIGNSTOPRODUCT,
52
51
  typeof WEBIFC.IFCRELDECLARES,
53
52
  typeof WEBIFC.IFCRELASSIGNSTOCONTROL,
54
- typeof WEBIFC.IFCRELNESTS,
55
- typeof WEBIFC.IFCRELASSOCIATESDOCUMENT
53
+ typeof WEBIFC.IFCRELNESTS
56
54
  ];
57
55
  export type IfcRelation = IfcRelations[number];