node-opcua-address-space-base 2.134.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.
- package/dist/address_space.d.ts +1 -3
- package/dist/instantiate_options.d.ts +3 -2
- package/dist/namespace.d.ts +4 -3
- package/dist/ua_object_type.d.ts +5 -0
- package/package.json +9 -9
- package/source/address_space.ts +1 -1
- package/source/instantiate_options.ts +3 -2
- package/source/namespace.ts +5 -3
- package/source/ua_object_type.ts +6 -0
package/dist/address_space.d.ts
CHANGED
|
@@ -27,9 +27,7 @@ export interface IAddressSpace {
|
|
|
27
27
|
views: UAObject;
|
|
28
28
|
types: UAObject;
|
|
29
29
|
};
|
|
30
|
-
historizingNodes?:
|
|
31
|
-
[key: string]: UAVariable;
|
|
32
|
-
};
|
|
30
|
+
historizingNodes?: Set<UAVariable>;
|
|
33
31
|
/**
|
|
34
32
|
* when this flag is set, properties and components are not added as javascript
|
|
35
33
|
* member of the UAObject/UAVariable node
|
|
@@ -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
|
/**
|
|
@@ -77,4 +77,5 @@ export interface InstantiateOptions {
|
|
|
77
77
|
* shall we also replicate the HasModelling rule reference ?
|
|
78
78
|
*/
|
|
79
79
|
copyAlsoModellingRules?: boolean;
|
|
80
|
+
copyAlsoAllOptionals?: boolean;
|
|
80
81
|
}
|
package/dist/namespace.d.ts
CHANGED
|
@@ -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;
|
|
@@ -102,9 +103,9 @@ export interface VariableStuff {
|
|
|
102
103
|
* n > 1: the Value is an array with the specified number of dimensions.
|
|
103
104
|
* OneDimension (1): The value is an array with one dimension.
|
|
104
105
|
* OneOrMoreDimensions (0): The value is an array with one or more dimensions.
|
|
105
|
-
* Scalar (
|
|
106
|
-
* Any (
|
|
107
|
-
* ScalarOrOneDimension (
|
|
106
|
+
* Scalar (-1): The value is not an array.
|
|
107
|
+
* Any (-2): The value can be a scalar or an array with any number of dimensions.
|
|
108
|
+
* ScalarOrOneDimension (-3): The value can be a scalar or a one dimensional array.
|
|
108
109
|
* NOTE All DataTypes are considered to be scalar, even if they have array-like semantics
|
|
109
110
|
* like ByteString and String.
|
|
110
111
|
*/
|
package/dist/ua_object_type.d.ts
CHANGED
|
@@ -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.
|
|
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",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"node-opcua-basic-types": "2.134.0",
|
|
21
21
|
"node-opcua-constants": "2.125.0",
|
|
22
22
|
"node-opcua-crypto": "4.12.0",
|
|
23
|
-
"node-opcua-data-model": "2.
|
|
24
|
-
"node-opcua-data-value": "2.
|
|
23
|
+
"node-opcua-data-model": "2.137.0",
|
|
24
|
+
"node-opcua-data-value": "2.137.0",
|
|
25
25
|
"node-opcua-date-time": "2.134.0",
|
|
26
26
|
"node-opcua-debug": "2.133.0",
|
|
27
|
-
"node-opcua-extension-object": "2.
|
|
27
|
+
"node-opcua-extension-object": "2.137.0",
|
|
28
28
|
"node-opcua-nodeid": "2.133.0",
|
|
29
|
-
"node-opcua-numeric-range": "2.
|
|
30
|
-
"node-opcua-schemas": "2.
|
|
29
|
+
"node-opcua-numeric-range": "2.137.0",
|
|
30
|
+
"node-opcua-schemas": "2.137.0",
|
|
31
31
|
"node-opcua-status-code": "2.133.0",
|
|
32
|
-
"node-opcua-types": "2.
|
|
33
|
-
"node-opcua-variant": "2.
|
|
32
|
+
"node-opcua-types": "2.137.0",
|
|
33
|
+
"node-opcua-variant": "2.137.0"
|
|
34
34
|
},
|
|
35
35
|
"author": "Etienne Rossignon",
|
|
36
36
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"internet of things"
|
|
48
48
|
],
|
|
49
49
|
"homepage": "http://node-opcua.github.io/",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "383bbe814f9261b2bc01a5d0fe476813153bb110",
|
|
51
51
|
"files": [
|
|
52
52
|
"dist",
|
|
53
53
|
"source"
|
package/source/address_space.ts
CHANGED
|
@@ -27,7 +27,7 @@ interface UARootFolder_Objects extends UAObject {
|
|
|
27
27
|
export interface IAddressSpace {
|
|
28
28
|
rootFolder: { objects: UARootFolder_Objects; views: UAObject; types: UAObject };
|
|
29
29
|
|
|
30
|
-
historizingNodes?:
|
|
30
|
+
historizingNodes?: Set<UAVariable>;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* when this flag is set, properties and components are not added as javascript
|
|
@@ -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
|
|
|
@@ -88,4 +88,5 @@ export interface InstantiateOptions {
|
|
|
88
88
|
* shall we also replicate the HasModelling rule reference ?
|
|
89
89
|
*/
|
|
90
90
|
copyAlsoModellingRules?: boolean;
|
|
91
|
+
copyAlsoAllOptionals?: boolean;
|
|
91
92
|
}
|
package/source/namespace.ts
CHANGED
|
@@ -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 {
|
|
@@ -134,9 +136,9 @@ export interface VariableStuff {
|
|
|
134
136
|
* n > 1: the Value is an array with the specified number of dimensions.
|
|
135
137
|
* OneDimension (1): The value is an array with one dimension.
|
|
136
138
|
* OneOrMoreDimensions (0): The value is an array with one or more dimensions.
|
|
137
|
-
* Scalar (
|
|
138
|
-
* Any (
|
|
139
|
-
* ScalarOrOneDimension (
|
|
139
|
+
* Scalar (-1): The value is not an array.
|
|
140
|
+
* Any (-2): The value can be a scalar or an array with any number of dimensions.
|
|
141
|
+
* ScalarOrOneDimension (-3): The value can be a scalar or a one dimensional array.
|
|
140
142
|
* NOTE All DataTypes are considered to be scalar, even if they have array-like semantics
|
|
141
143
|
* like ByteString and String.
|
|
142
144
|
*/
|
package/source/ua_object_type.ts
CHANGED
|
@@ -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 {
|