node-opcua-address-space-base 2.76.0 → 2.76.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 (51) hide show
  1. package/dist/address_space.d.ts +168 -168
  2. package/dist/address_space.js +2 -2
  3. package/dist/base_node.d.ts +186 -186
  4. package/dist/base_node.js +3 -3
  5. package/dist/bind_variable.d.ts +52 -52
  6. package/dist/bind_variable.js +2 -2
  7. package/dist/clone_options.d.ts +44 -44
  8. package/dist/clone_options.js +18 -18
  9. package/dist/continuation_point.d.ts +2 -2
  10. package/dist/continuation_point.js +2 -2
  11. package/dist/event_notifier_flags.d.ts +7 -7
  12. package/dist/event_notifier_flags.js +11 -11
  13. package/dist/i_event_data.d.ts +17 -17
  14. package/dist/i_event_data.js +2 -2
  15. package/dist/index.d.ts +23 -23
  16. package/dist/index.js +39 -39
  17. package/dist/instantiate_options.d.ts +80 -80
  18. package/dist/instantiate_options.js +2 -2
  19. package/dist/modelling_rule_type.d.ts +1 -1
  20. package/dist/modelling_rule_type.js +2 -2
  21. package/dist/namespace.d.ts +279 -279
  22. package/dist/namespace.js +2 -2
  23. package/dist/session_context.d.ts +51 -51
  24. package/dist/session_context.js +2 -2
  25. package/dist/ua_data_type.d.ts +32 -32
  26. package/dist/ua_data_type.js +2 -2
  27. package/dist/ua_dynamic_variable_array.d.ts +12 -12
  28. package/dist/ua_dynamic_variable_array.js +2 -2
  29. package/dist/ua_event_type.d.ts +3 -3
  30. package/dist/ua_event_type.js +2 -2
  31. package/dist/ua_method.d.ts +41 -41
  32. package/dist/ua_method.js +4 -4
  33. package/dist/ua_object.d.ts +131 -131
  34. package/dist/ua_object.js +2 -2
  35. package/dist/ua_object_type.d.ts +27 -27
  36. package/dist/ua_object_type.js +2 -2
  37. package/dist/ua_property.d.ts +16 -16
  38. package/dist/ua_property.js +2 -2
  39. package/dist/ua_reference.d.ts +12 -12
  40. package/dist/ua_reference.js +2 -2
  41. package/dist/ua_reference_type.d.ts +18 -18
  42. package/dist/ua_reference_type.js +3 -3
  43. package/dist/ua_variable.d.ts +285 -285
  44. package/dist/ua_variable.js +2 -2
  45. package/dist/ua_variable_t.d.ts +15 -15
  46. package/dist/ua_variable_t.js +2 -2
  47. package/dist/ua_variable_type.d.ts +39 -39
  48. package/dist/ua_variable_type.js +3 -3
  49. package/dist/ua_view.d.ts +7 -7
  50. package/dist/ua_view.js +2 -2
  51. package/package.json +14 -14
@@ -1,12 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventNotifierFlags = void 0;
4
- var EventNotifierFlags;
5
- (function (EventNotifierFlags) {
6
- EventNotifierFlags[EventNotifierFlags["SubscribeToEvents"] = 1] = "SubscribeToEvents";
7
- EventNotifierFlags[EventNotifierFlags["Reserved"] = 2] = "Reserved";
8
- EventNotifierFlags[EventNotifierFlags["HistoryRead"] = 4] = "HistoryRead";
9
- EventNotifierFlags[EventNotifierFlags["HistoryWrite"] = 8] = "HistoryWrite";
10
- EventNotifierFlags[EventNotifierFlags["None"] = 0] = "None";
11
- })(EventNotifierFlags = exports.EventNotifierFlags || (exports.EventNotifierFlags = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventNotifierFlags = void 0;
4
+ var EventNotifierFlags;
5
+ (function (EventNotifierFlags) {
6
+ EventNotifierFlags[EventNotifierFlags["SubscribeToEvents"] = 1] = "SubscribeToEvents";
7
+ EventNotifierFlags[EventNotifierFlags["Reserved"] = 2] = "Reserved";
8
+ EventNotifierFlags[EventNotifierFlags["HistoryRead"] = 4] = "HistoryRead";
9
+ EventNotifierFlags[EventNotifierFlags["HistoryWrite"] = 8] = "HistoryWrite";
10
+ EventNotifierFlags[EventNotifierFlags["None"] = 0] = "None";
11
+ })(EventNotifierFlags = exports.EventNotifierFlags || (exports.EventNotifierFlags = {}));
12
12
  //# sourceMappingURL=event_notifier_flags.js.map
@@ -1,17 +1,17 @@
1
- import { NodeId } from "node-opcua-nodeid";
2
- import { BrowsePath, BrowsePathResult } from "node-opcua-types";
3
- import { Variant, VariantLike } from "node-opcua-variant";
4
- import { BaseNode } from "./base_node";
5
- export interface IEventData {
6
- /**
7
- * the event type node
8
- */
9
- $eventDataSource?: BaseNode;
10
- /**
11
- *
12
- */
13
- eventId: NodeId;
14
- _createValue(fullBrowsePath: string, node: BaseNode, variant: VariantLike): void;
15
- _readValue(nodeId: NodeId): Variant | null;
16
- _browse(browsePath: BrowsePath): BrowsePathResult | null;
17
- }
1
+ import { NodeId } from "node-opcua-nodeid";
2
+ import { BrowsePath, BrowsePathResult } from "node-opcua-types";
3
+ import { Variant, VariantLike } from "node-opcua-variant";
4
+ import { BaseNode } from "./base_node";
5
+ export interface IEventData {
6
+ /**
7
+ * the event type node
8
+ */
9
+ $eventDataSource?: BaseNode;
10
+ /**
11
+ *
12
+ */
13
+ eventId: NodeId;
14
+ _createValue(fullBrowsePath: string, node: BaseNode, variant: VariantLike): void;
15
+ _readValue(nodeId: NodeId): Variant | null;
16
+ _browse(browsePath: BrowsePath): BrowsePathResult | null;
17
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i_event_data.js.map
package/dist/index.d.ts CHANGED
@@ -1,23 +1,23 @@
1
- export * from "./address_space";
2
- export * from "./base_node";
3
- export * from "./bind_variable";
4
- export * from "./clone_options";
5
- export * from "./continuation_point";
6
- export * from "./event_notifier_flags";
7
- export * from "./i_event_data";
8
- export * from "./modelling_rule_type";
9
- export * from "./namespace";
10
- export * from "./session_context";
11
- export * from "./ua_data_type";
12
- export * from "./ua_dynamic_variable_array";
13
- export * from "./ua_event_type";
14
- export * from "./ua_method";
15
- export * from "./ua_object_type";
16
- export * from "./ua_object";
17
- export * from "./ua_property";
18
- export * from "./ua_reference_type";
19
- export * from "./ua_reference";
20
- export * from "./ua_variable_t";
21
- export * from "./ua_variable_type";
22
- export * from "./ua_variable";
23
- export * from "./ua_view";
1
+ export * from "./address_space";
2
+ export * from "./base_node";
3
+ export * from "./bind_variable";
4
+ export * from "./clone_options";
5
+ export * from "./continuation_point";
6
+ export * from "./event_notifier_flags";
7
+ export * from "./i_event_data";
8
+ export * from "./modelling_rule_type";
9
+ export * from "./namespace";
10
+ export * from "./session_context";
11
+ export * from "./ua_data_type";
12
+ export * from "./ua_dynamic_variable_array";
13
+ export * from "./ua_event_type";
14
+ export * from "./ua_method";
15
+ export * from "./ua_object_type";
16
+ export * from "./ua_object";
17
+ export * from "./ua_property";
18
+ export * from "./ua_reference_type";
19
+ export * from "./ua_reference";
20
+ export * from "./ua_variable_t";
21
+ export * from "./ua_variable_type";
22
+ export * from "./ua_variable";
23
+ export * from "./ua_view";
package/dist/index.js CHANGED
@@ -1,40 +1,40 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./address_space"), exports);
18
- __exportStar(require("./base_node"), exports);
19
- __exportStar(require("./bind_variable"), exports);
20
- __exportStar(require("./clone_options"), exports);
21
- __exportStar(require("./continuation_point"), exports);
22
- __exportStar(require("./event_notifier_flags"), exports);
23
- __exportStar(require("./i_event_data"), exports);
24
- __exportStar(require("./modelling_rule_type"), exports);
25
- __exportStar(require("./namespace"), exports);
26
- __exportStar(require("./session_context"), exports);
27
- __exportStar(require("./ua_data_type"), exports);
28
- __exportStar(require("./ua_dynamic_variable_array"), exports);
29
- __exportStar(require("./ua_event_type"), exports);
30
- __exportStar(require("./ua_method"), exports);
31
- __exportStar(require("./ua_object_type"), exports);
32
- __exportStar(require("./ua_object"), exports);
33
- __exportStar(require("./ua_property"), exports);
34
- __exportStar(require("./ua_reference_type"), exports);
35
- __exportStar(require("./ua_reference"), exports);
36
- __exportStar(require("./ua_variable_t"), exports);
37
- __exportStar(require("./ua_variable_type"), exports);
38
- __exportStar(require("./ua_variable"), exports);
39
- __exportStar(require("./ua_view"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./address_space"), exports);
18
+ __exportStar(require("./base_node"), exports);
19
+ __exportStar(require("./bind_variable"), exports);
20
+ __exportStar(require("./clone_options"), exports);
21
+ __exportStar(require("./continuation_point"), exports);
22
+ __exportStar(require("./event_notifier_flags"), exports);
23
+ __exportStar(require("./i_event_data"), exports);
24
+ __exportStar(require("./modelling_rule_type"), exports);
25
+ __exportStar(require("./namespace"), exports);
26
+ __exportStar(require("./session_context"), exports);
27
+ __exportStar(require("./ua_data_type"), exports);
28
+ __exportStar(require("./ua_dynamic_variable_array"), exports);
29
+ __exportStar(require("./ua_event_type"), exports);
30
+ __exportStar(require("./ua_method"), exports);
31
+ __exportStar(require("./ua_object_type"), exports);
32
+ __exportStar(require("./ua_object"), exports);
33
+ __exportStar(require("./ua_property"), exports);
34
+ __exportStar(require("./ua_reference_type"), exports);
35
+ __exportStar(require("./ua_reference"), exports);
36
+ __exportStar(require("./ua_variable_t"), exports);
37
+ __exportStar(require("./ua_variable_type"), exports);
38
+ __exportStar(require("./ua_variable"), exports);
39
+ __exportStar(require("./ua_view"), exports);
40
40
  //# sourceMappingURL=index.js.map
@@ -1,80 +1,80 @@
1
- import { QualifiedNameLike, LocalizedTextLike } from "node-opcua-data-model";
2
- import { NodeIdLike } from "node-opcua-nodeid";
3
- import { BaseNode } from "./base_node";
4
- import { ModellingRuleType } from "./modelling_rule_type";
5
- import { INamespace } from "./namespace";
6
- export interface InstantiateOptions {
7
- /**
8
- * the browse name of the new node to instantiate
9
- */
10
- browseName: QualifiedNameLike;
11
- /**
12
- * an optional description
13
- *
14
- * if not provided the default description of the corresponding Type
15
- * will be used.
16
- */
17
- description?: LocalizedTextLike;
18
- /**
19
- * an optional displayName
20
- *
21
- * if not provided the default description of the corresponding browseName
22
- * will be used.
23
- */
24
- displayName?: LocalizedTextLike | null;
25
- /**
26
- * the parent Folder holding this object
27
- *
28
- * note
29
- * - when organizedBy is specified, componentOf must not be defined
30
- */
31
- organizedBy?: NodeIdLike | BaseNode;
32
- /**
33
- * the parent Object holding this object
34
- * note
35
- * - when componentOf is specified, organizedBy must not be defined
36
- */
37
- componentOf?: NodeIdLike | BaseNode;
38
- /**
39
- *
40
- */
41
- notifierOf?: NodeIdLike | BaseNode;
42
- /**
43
- *
44
- */
45
- eventSourceOf?: NodeIdLike | BaseNode;
46
- /**
47
- * a list of components and properties names that have a HasModellingRule of Optional in the
48
- * type definition that we want to instantiate.
49
- * Note:
50
- * - the name must follow the OPCUA naming convention and match the browse name of the property (same case)
51
- * - the name can be composed to represent a path to a property or component
52
- *
53
- * @example
54
- *
55
- * ```javascript
56
- * optionals: ["MyOptionalVariable", "MyOptionalMethod", "MyOptionalComponent.MyProperty"];
57
- * ```
58
- *
59
- * @default: []
60
- */
61
- optionals?: string[];
62
- /**
63
- * modellingRule
64
- */
65
- modellingRule?: ModellingRuleType;
66
- /**
67
- * a (optional) predefined nodeId to assigned to the instance
68
- * If not specified, a default nodeid will be created.
69
- */
70
- nodeId?: NodeIdLike;
71
- /**
72
- * the namespace in which the node shall be instantiated
73
- * (if not specified, the default instance namespace (`own namespace`) of the addressSpace will be used)
74
- */
75
- namespace?: INamespace;
76
- /**
77
- * shall we also replicate the HasModelling rule reference ?
78
- */
79
- copyAlsoModellingRules?: boolean;
80
- }
1
+ import { QualifiedNameLike, LocalizedTextLike } from "node-opcua-data-model";
2
+ import { NodeIdLike } from "node-opcua-nodeid";
3
+ import { BaseNode } from "./base_node";
4
+ import { ModellingRuleType } from "./modelling_rule_type";
5
+ import { INamespace } from "./namespace";
6
+ export interface InstantiateOptions {
7
+ /**
8
+ * the browse name of the new node to instantiate
9
+ */
10
+ browseName: QualifiedNameLike;
11
+ /**
12
+ * an optional description
13
+ *
14
+ * if not provided the default description of the corresponding Type
15
+ * will be used.
16
+ */
17
+ description?: LocalizedTextLike;
18
+ /**
19
+ * an optional displayName
20
+ *
21
+ * if not provided the default description of the corresponding browseName
22
+ * will be used.
23
+ */
24
+ displayName?: LocalizedTextLike | null;
25
+ /**
26
+ * the parent Folder holding this object
27
+ *
28
+ * note
29
+ * - when organizedBy is specified, componentOf must not be defined
30
+ */
31
+ organizedBy?: NodeIdLike | BaseNode;
32
+ /**
33
+ * the parent Object holding this object
34
+ * note
35
+ * - when componentOf is specified, organizedBy must not be defined
36
+ */
37
+ componentOf?: NodeIdLike | BaseNode;
38
+ /**
39
+ *
40
+ */
41
+ notifierOf?: NodeIdLike | BaseNode;
42
+ /**
43
+ *
44
+ */
45
+ eventSourceOf?: NodeIdLike | BaseNode;
46
+ /**
47
+ * a list of components and properties names that have a HasModellingRule of Optional in the
48
+ * type definition that we want to instantiate.
49
+ * Note:
50
+ * - the name must follow the OPCUA naming convention and match the browse name of the property (same case)
51
+ * - the name can be composed to represent a path to a property or component
52
+ *
53
+ * @example
54
+ *
55
+ * ```javascript
56
+ * optionals: ["MyOptionalVariable", "MyOptionalMethod", "MyOptionalComponent.MyProperty"];
57
+ * ```
58
+ *
59
+ * @default: []
60
+ */
61
+ optionals?: string[];
62
+ /**
63
+ * modellingRule
64
+ */
65
+ modellingRule?: ModellingRuleType;
66
+ /**
67
+ * a (optional) predefined nodeId to assigned to the instance
68
+ * If not specified, a default nodeid will be created.
69
+ */
70
+ nodeId?: NodeIdLike;
71
+ /**
72
+ * the namespace in which the node shall be instantiated
73
+ * (if not specified, the default instance namespace (`own namespace`) of the addressSpace will be used)
74
+ */
75
+ namespace?: INamespace;
76
+ /**
77
+ * shall we also replicate the HasModelling rule reference ?
78
+ */
79
+ copyAlsoModellingRules?: boolean;
80
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=instantiate_options.js.map
@@ -1 +1 @@
1
- export declare type ModellingRuleType = "Mandatory" | "Optional" | "MandatoryPlaceholder" | "OptionalPlaceholder" | "ExposesItsArray" | null;
1
+ export declare type ModellingRuleType = "Mandatory" | "Optional" | "MandatoryPlaceholder" | "OptionalPlaceholder" | "ExposesItsArray" | null;
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=modelling_rule_type.js.map