node-opcua-address-space-base 2.137.0 → 2.138.0

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.
@@ -26,13 +26,13 @@ export interface InstantiateOptions {
26
26
  * the parent Folder holding this object
27
27
  *
28
28
  * note
29
- * - when organizedBy is specified, componentOf must not be defined
29
+ * - when organizedBy is specified, componentOf nor addInOf must not be defined
30
30
  */
31
31
  organizedBy?: NodeIdLike | BaseNode;
32
32
  /**
33
33
  * the parent Object holding this object
34
34
  * note
35
- * - when componentOf is specified, organizedBy must not be defined
35
+ * - when componentOf is specified, organizedBy nor addInOf must not be defined
36
36
  */
37
37
  componentOf?: NodeIdLike | BaseNode;
38
38
  /**
@@ -74,6 +74,7 @@ export interface AddObjectOptions extends AddBaseNodeOptions {
74
74
  typeDefinition?: string | NodeId | UAObjectType;
75
75
  nodeVersion?: string;
76
76
  encodingOf?: NodeId | BaseNode;
77
+ addInOf?: NodeId | BaseNode;
77
78
  }
78
79
  export interface AddViewOptions extends AddBaseNodeOptions {
79
80
  typeDefinition?: string | NodeId | UAObjectType;
@@ -10,6 +10,11 @@ export interface InstantiateObjectOptions extends InstantiateOptions {
10
10
  conditionSource?: NodeId | BaseNode | null;
11
11
  eventNotifier?: EventNotifierFlags;
12
12
  encodingOf?: NodeId | BaseNode;
13
+ /**
14
+ * note
15
+ * - when addInOf is specified, organizedBy nor componentOf must not be defined
16
+ */
17
+ addInOf?: NodeId | BaseNode;
13
18
  }
14
19
  export declare interface UAObjectType extends BaseNode, IPropertyAndComponentHolder {
15
20
  readonly nodeClass: NodeClass.ObjectType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.137.0",
3
+ "version": "2.138.0",
4
4
  "description": "pure nodejs OPCUA SDK - module address-space-base",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -47,7 +47,7 @@
47
47
  "internet of things"
48
48
  ],
49
49
  "homepage": "http://node-opcua.github.io/",
50
- "gitHead": "e88e4f20d5436dd68084d2a6d447f170330b373d",
50
+ "gitHead": "383bbe814f9261b2bc01a5d0fe476813153bb110",
51
51
  "files": [
52
52
  "dist",
53
53
  "source"
@@ -31,14 +31,14 @@ export interface InstantiateOptions {
31
31
  * the parent Folder holding this object
32
32
  *
33
33
  * note
34
- * - when organizedBy is specified, componentOf must not be defined
34
+ * - when organizedBy is specified, componentOf nor addInOf must not be defined
35
35
  */
36
36
  organizedBy?: NodeIdLike | BaseNode;
37
37
 
38
38
  /**
39
39
  * the parent Object holding this object
40
40
  * note
41
- * - when componentOf is specified, organizedBy must not be defined
41
+ * - when componentOf is specified, organizedBy nor addInOf must not be defined
42
42
  */
43
43
  componentOf?: NodeIdLike | BaseNode;
44
44
 
@@ -100,6 +100,8 @@ export interface AddObjectOptions extends AddBaseNodeOptions {
100
100
  typeDefinition?: string | NodeId | UAObjectType;
101
101
  nodeVersion?: string;
102
102
  encodingOf?: NodeId | BaseNode;
103
+
104
+ addInOf?: NodeId | BaseNode;
103
105
  }
104
106
 
105
107
  export interface AddViewOptions extends AddBaseNodeOptions {
@@ -14,6 +14,12 @@ export interface InstantiateObjectOptions extends InstantiateOptions {
14
14
  eventNotifier?: EventNotifierFlags;
15
15
  // for DataTypeEncodingType
16
16
  encodingOf?: NodeId | BaseNode;
17
+
18
+ /**
19
+ * note
20
+ * - when addInOf is specified, organizedBy nor componentOf must not be defined
21
+ */
22
+ addInOf?: NodeId | BaseNode;
17
23
  }
18
24
 
19
25
  export declare interface UAObjectType extends BaseNode, IPropertyAndComponentHolder {