node-opcua-address-space-base 2.91.0 → 2.92.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 -1
- package/dist/base_node.d.ts +1 -1
- package/dist/bind_variable.d.ts +14 -14
- package/dist/continuation_point.d.ts +1 -1
- package/dist/modelling_rule_type.d.ts +1 -1
- package/dist/namespace.d.ts +2 -2
- package/dist/ua_method.d.ts +1 -1
- package/dist/ua_object.d.ts +3 -3
- package/dist/ua_variable.d.ts +1 -1
- package/package.json +10 -10
package/dist/address_space.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { UAReferenceType } from "./ua_reference_type";
|
|
|
17
17
|
import { IHistoricalDataNodeOptions, UAVariable } from "./ua_variable";
|
|
18
18
|
import { UAVariableType } from "./ua_variable_type";
|
|
19
19
|
import { UAView } from "./ua_view";
|
|
20
|
-
export
|
|
20
|
+
export type ShutdownTask = ((this: IAddressSpace) => void) | ((this: IAddressSpace) => Promise<void>);
|
|
21
21
|
interface UARootFolder_Objects extends UAObject {
|
|
22
22
|
server: UAObject;
|
|
23
23
|
}
|
package/dist/base_node.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from "events";
|
|
3
|
-
export
|
|
3
|
+
export type Duration = number;
|
|
4
4
|
import { AccessRestrictionsFlag, AttributeIds, BrowseDirection, LocalizedText, NodeClass, QualifiedName, QualifiedNameLike, QualifiedNameOptions } from "node-opcua-data-model";
|
|
5
5
|
import { DataType } from "node-opcua-variant";
|
|
6
6
|
import { DataValue } from "node-opcua-data-value";
|
package/dist/bind_variable.d.ts
CHANGED
|
@@ -6,19 +6,19 @@ import { QualifiedNameLike } from "node-opcua-data-model";
|
|
|
6
6
|
import { DataValue } from "node-opcua-data-value";
|
|
7
7
|
import { UAVariable } from "./ua_variable";
|
|
8
8
|
import { ContinuationData, ISessionContext } from "./session_context";
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
9
|
+
export type VariableSetterVariation1 = (this: UAVariable, value: Variant) => StatusCode;
|
|
10
|
+
export type VariableSetterVariation2 = (this: UAVariable, value: Variant, callback: CallbackT<StatusCode>) => void;
|
|
11
|
+
export type VariableSetter = VariableSetterVariation1 | VariableSetterVariation2;
|
|
12
|
+
export type HistoryReadFunc = (context: ISessionContext, historyReadDetails: ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>) => void;
|
|
13
|
+
export type GetFunc = (this: UAVariable) => Variant;
|
|
14
|
+
export type SetFunc = VariableSetter | null;
|
|
15
|
+
export type VariableDataValueGetterSync = (this: UAVariable) => DataValue;
|
|
16
|
+
export type VariableDataValueGetterPromise = (this: UAVariable) => Promise<DataValue>;
|
|
17
|
+
export type VariableDataValueGetterCallback = (this: UAVariable, callback: CallbackT<DataValue>) => void;
|
|
18
|
+
export type VariableDataValueSetterWithCallback = (this: UAVariable, dataValue: DataValue, callback: CallbackT<StatusCode>) => void;
|
|
19
|
+
export type VariableDataValueSetterWithPromise = (this: UAVariable, dataValue: DataValue) => Promise<StatusCode>;
|
|
20
|
+
export type TimestampGetFunc = VariableDataValueGetterSync | VariableDataValueGetterPromise | VariableDataValueGetterCallback;
|
|
21
|
+
export type TimestampSetFunc = VariableDataValueSetterWithCallback | VariableDataValueSetterWithPromise;
|
|
22
22
|
export interface BindVariableOptionsVariation1 {
|
|
23
23
|
get: GetFunc;
|
|
24
24
|
set?: SetFunc;
|
|
@@ -49,4 +49,4 @@ export interface BindVariableOptionsVariation4 extends VariantLike {
|
|
|
49
49
|
refreshFunc?: (callback: CallbackT<DataValue>) => void;
|
|
50
50
|
historyRead?: HistoryReadFunc;
|
|
51
51
|
}
|
|
52
|
-
export
|
|
52
|
+
export type BindVariableOptions = BindVariableOptionsVariation1 | BindVariableOptionsVariation2 | BindVariableOptionsVariation3 | BindVariableOptionsVariation4;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ByteString } from "node-opcua-basic-types";
|
|
2
|
-
export
|
|
2
|
+
export type ContinuationPoint = ByteString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ModellingRuleType = "Mandatory" | "Optional" | "MandatoryPlaceholder" | "OptionalPlaceholder" | "ExposesItsArray" | null;
|
package/dist/namespace.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export interface AddMethodOptions {
|
|
|
92
92
|
accessRestrictions?: AccessRestrictionsFlag;
|
|
93
93
|
rolePermissions?: RolePermissionTypeOptions[];
|
|
94
94
|
}
|
|
95
|
-
export
|
|
95
|
+
export type AccessLevelString = string;
|
|
96
96
|
export interface VariableStuff {
|
|
97
97
|
dataType?: string | NodeIdLike | UADataType;
|
|
98
98
|
/**
|
|
@@ -205,7 +205,7 @@ export interface AddYArrayItemOptions extends AddVariableOptions {
|
|
|
205
205
|
axisScaleType: AxisScaleEnumeration | string;
|
|
206
206
|
xAxisDefinition?: AxisInformationOptions;
|
|
207
207
|
}
|
|
208
|
-
export
|
|
208
|
+
export type CreateNodeOptions = any;
|
|
209
209
|
export interface RequiredModel {
|
|
210
210
|
modelUri: string;
|
|
211
211
|
version: string;
|
package/dist/ua_method.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { UAVariable } from "./ua_variable";
|
|
|
11
11
|
import { CloneExtraInfo, CloneFilter, CloneOptions } from "./clone_options";
|
|
12
12
|
export declare type MethodFunctorC = (this: UAMethod, inputArguments: Variant[], context: ISessionContext, callback: CallbackT<CallMethodResultOptions>) => void;
|
|
13
13
|
export declare type MethodFunctorA = (this: UAMethod, inputArguments: Variant[], context: ISessionContext) => Promise<CallMethodResultOptions>;
|
|
14
|
-
export
|
|
14
|
+
export type MethodFunctor = MethodFunctorC | MethodFunctorA;
|
|
15
15
|
export declare class UAMethod extends BaseNode {
|
|
16
16
|
readonly nodeClass: NodeClass.Method;
|
|
17
17
|
readonly typeDefinition: NodeId;
|
package/dist/ua_object.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { IEventData } from "./i_event_data";
|
|
|
11
11
|
import { UAEventType } from "./ua_event_type";
|
|
12
12
|
import { UAMethod } from "./ua_method";
|
|
13
13
|
import { EventNotifierFlags } from "./event_notifier_flags";
|
|
14
|
-
export
|
|
14
|
+
export type EventTypeLike = string | NodeId | UAEventType;
|
|
15
15
|
export interface PseudoVariantNull {
|
|
16
16
|
dataType: "Null" | DataType.Null;
|
|
17
17
|
}
|
|
@@ -101,8 +101,8 @@ export interface PseudoVariantVariant {
|
|
|
101
101
|
dataType: "Variant" | DataType.Variant;
|
|
102
102
|
value: Variant;
|
|
103
103
|
}
|
|
104
|
-
export
|
|
105
|
-
export
|
|
104
|
+
export type PseudoVariantNumber = PseudoVariantUInt32 | PseudoVariantUInt16 | PseudoVariantByte | PseudoVariantInt32 | PseudoVariantInt16 | PseudoVariantSByte | PseudoVariantDouble | PseudoVariantFloat;
|
|
105
|
+
export type PseudoVariant = PseudoVariantNull | PseudoVariantString | PseudoVariantBoolean | PseudoVariantByteString | PseudoVariantNodeId | PseudoVariantDateTime | PseudoVariantByteString | PseudoVariantDuration | PseudoVariantLocalizedText | PseudoVariantStatusCode | PseudoVariantNumber | PseudoVariantExtensionObject | PseudoVariantExtensionObjectArray | PseudoVariantVariant | PseudoVariantVariantArray;
|
|
106
106
|
export interface RaiseEventData {
|
|
107
107
|
$eventDataSource?: UAEventType;
|
|
108
108
|
sourceNode?: PseudoVariantNodeId | Variant;
|
package/dist/ua_variable.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface IVariableHistorianOptions {
|
|
|
34
34
|
maxOnlineValues?: number;
|
|
35
35
|
historian?: IVariableHistorian;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type IHistoricalDataNodeOptions = IVariableHistorianOptions | {
|
|
38
38
|
historian: IVariableHistorian;
|
|
39
39
|
};
|
|
40
40
|
export interface VariableAttributes {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-address-space-base",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.92.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -address-space",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"c": "mocha --version"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"node-opcua-basic-types": "2.
|
|
19
|
+
"node-opcua-basic-types": "2.92.0",
|
|
20
20
|
"node-opcua-constants": "2.88.0",
|
|
21
21
|
"node-opcua-crypto": "^2.1.2",
|
|
22
|
-
"node-opcua-data-model": "2.
|
|
23
|
-
"node-opcua-data-value": "2.
|
|
22
|
+
"node-opcua-data-model": "2.92.0",
|
|
23
|
+
"node-opcua-data-value": "2.92.0",
|
|
24
24
|
"node-opcua-date-time": "2.90.1",
|
|
25
|
-
"node-opcua-extension-object": "2.
|
|
25
|
+
"node-opcua-extension-object": "2.92.0",
|
|
26
26
|
"node-opcua-nodeid": "2.90.1",
|
|
27
|
-
"node-opcua-numeric-range": "2.
|
|
28
|
-
"node-opcua-schemas": "2.
|
|
27
|
+
"node-opcua-numeric-range": "2.92.0",
|
|
28
|
+
"node-opcua-schemas": "2.92.0",
|
|
29
29
|
"node-opcua-status-code": "2.90.1",
|
|
30
|
-
"node-opcua-types": "2.
|
|
31
|
-
"node-opcua-variant": "2.
|
|
30
|
+
"node-opcua-types": "2.92.0",
|
|
31
|
+
"node-opcua-variant": "2.92.0"
|
|
32
32
|
},
|
|
33
33
|
"author": "Etienne Rossignon",
|
|
34
34
|
"license": "MIT",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"internet of things"
|
|
46
46
|
],
|
|
47
47
|
"homepage": "http://node-opcua.github.io/",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "6ee0f52395af2c1f4f03518e675dc3f6edb7a455"
|
|
49
49
|
}
|