@xtctwins/tctwins-core 1.0.31 → 1.0.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-core",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "private": false,
5
5
  "description": "Web Programming Toolkit for 3D/2D BIM and CAD",
6
6
  "module": "./dist/tctwins-core.es.js",
@@ -6,79 +6,79 @@ import { MetaObject } from "./MetaObject";
6
6
  * Metadata corresponding to an {@link Entity} that represents a model.
7
7
  */
8
8
  export declare class MetaModel {
9
+ /**
10
+ * Creates a new MetaModel.
11
+ * @param param
12
+ */
13
+ constructor(param: { metaScene: MetaScene; id: any | String | Number | string | number });
9
14
 
10
- /**
11
- * Creates a new MetaModel.
12
- * @param param
13
- */
14
- constructor(param: { metaScene: MetaScene; id: any | String | Number | string | number });
15
+ /**
16
+ * Globally-unique ID.
17
+ *
18
+ * MetaModels are registered by ID in {@link MetaScene.metaModels}.
19
+ *
20
+ * When this MetaModel corresponds to an {@link Entity} then this ID will match the {@link Entity.id}.
21
+ *
22
+ */
23
+ id: string | number;
15
24
 
16
- /**
17
- * Globally-unique ID.
18
- *
19
- * MetaModels are registered by ID in {@link MetaScene.metaModels}.
20
- *
21
- * When this MetaModel corresponds to an {@link Entity} then this ID will match the {@link Entity.id}.
22
- *
23
- */
24
- id: string | number;
25
+ /**
26
+ * The project ID
27
+ */
28
+ projectId: string | number;
25
29
 
26
- /**
27
- * The project ID
28
- */
29
- projectId: string | number;
30
+ /**
31
+ * The revision ID, if available.
32
+ */
33
+ revisionId?: string | number;
30
34
 
31
- /**
32
- * The revision ID, if available.
33
- */
34
- revisionId?: string | number;
35
+ /**
36
+ * The model author, if available.
37
+ */
38
+ author?: string;
35
39
 
36
- /**
37
- * The model author, if available.
38
- */
39
- author?: string;
40
+ /**
41
+ * The date the model was created, if available.
42
+ */
43
+ createdAt?: string;
40
44
 
41
- /**
42
- * The date the model was created, if available.
43
- */
44
- createdAt?: string;
45
+ /**
46
+ * The application that created the model, if available.
47
+ */
48
+ creatingApplication?: string;
45
49
 
46
- /**
47
- * The application that created the model, if available.
48
- */
49
- creatingApplication?: string;
50
+ /**
51
+ * The model schema version, if available.
52
+ */
53
+ schema?: string;
50
54
 
51
- /**
52
- * The model schema version, if available.
53
- */
54
- schema?: string;
55
+ /**
56
+ * Metadata on the {@link Scene}.
57
+ */
58
+ metaScene?: MetaScene;
55
59
 
56
- /**
57
- * Metadata on the {@link Scene}.
58
- */
59
- metaScene?: MetaScene;
60
+ /**
61
+ * The {@link PropertySet}s in this MetaModel.
62
+ */
63
+ propertySets: {
64
+ String: PropertySet;
65
+ };
60
66
 
61
- /**
62
- * The {@link PropertySet}s in this MetaModel.
63
- */
64
- propertySets: {
65
- String: PropertySet;
66
- };
67
+ /**
68
+ * The root {@link MetaObject} in this MetaModel's composition structure hierarchy.
69
+ */
70
+ rootMetaObject: MetaObject;
67
71
 
68
- /**
69
- * The root {@link MetaObject} in this MetaModel's composition structure hierarchy.
70
- */
71
- rootMetaObject: MetaObject;
72
+ /**
73
+ * Finalizes this MetaModel.
74
+ */
75
+ finalize(): void;
72
76
 
73
- /**
74
- * Finalizes this MetaModel.
75
- */
76
- finalize(): void;
77
-
78
- /**
79
- * Loads data into this MetaModel.
80
- * @param metaModelData
81
- * @param options
82
- */
83
- loadData(metaModelData: any, options: { includeTypes: String[]; excludeTypes: String[]; globalizeObjectIds: any }): void;
77
+ /**
78
+ * Loads data into this MetaModel.
79
+ * @param metaModelData
80
+ * @param options
81
+ */
82
+ // loadData(metaModelData: any, options: { includeTypes: String[]; excludeTypes: String[]; globalizeObjectIds: any }): void;
83
+ loadData(metaModelData: any, done: Function, err: Function): void;
84
84
  }