node-opcua-schemas 2.71.0 → 2.72.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.
@@ -1,4 +1,4 @@
1
- export * from "./parse_binary_xsd";
2
- export * from "./dynamic_extension_object";
3
- export * from "./toTypeScript";
4
- export * from "./tools";
1
+ export * from "./parse_binary_xsd";
2
+ export * from "./dynamic_extension_object";
3
+ export * from "./toTypeScript";
4
+ export * from "./tools";
@@ -1,21 +1,21 @@
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("./parse_binary_xsd"), exports);
18
- __exportStar(require("./dynamic_extension_object"), exports);
19
- __exportStar(require("./toTypeScript"), exports);
20
- __exportStar(require("./tools"), 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("./parse_binary_xsd"), exports);
18
+ __exportStar(require("./dynamic_extension_object"), exports);
19
+ __exportStar(require("./toTypeScript"), exports);
20
+ __exportStar(require("./tools"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -1,44 +1,44 @@
1
- /**
2
- * @module node-opcua-schemas
3
- */
4
- import { DataTypeFactory } from "node-opcua-factory";
5
- import { NodeId } from "node-opcua-nodeid";
6
- export interface EnumeratedType {
7
- name: string;
8
- documentation?: string;
9
- enumeratedValues: any;
10
- lengthInBits?: number;
11
- }
12
- export interface StructureTypeRaw {
13
- name: string;
14
- baseType?: string;
15
- base?: StructureTypeRaw;
16
- fields: any[];
17
- }
18
- export interface ITypeDictionary {
19
- targetNamespace: string;
20
- imports: string[];
21
- structuredTypesRaw: StructureTypeRaw[];
22
- enumeratedTypesRaw: EnumeratedType[];
23
- }
24
- export declare class TypeDictionary implements ITypeDictionary {
25
- targetNamespace: string;
26
- imports: string[];
27
- structuredTypesRaw: StructureTypeRaw[];
28
- enumeratedTypesRaw: EnumeratedType[];
29
- private structuredTypesRawMap;
30
- constructor();
31
- addRaw(structuredType: StructureTypeRaw): void;
32
- getStructuredTypesRawByName(name: string): StructureTypeRaw;
33
- }
34
- export interface DataTypeAndEncodingId {
35
- dataTypeNodeId: NodeId;
36
- binaryEncodingNodeId: NodeId;
37
- xmlEncodingNodeId: NodeId;
38
- jsonEncodingNodeId: NodeId;
39
- }
40
- export interface MapDataTypeAndEncodingIdProvider {
41
- getDataTypeAndEncodingId(key: string): DataTypeAndEncodingId | null;
42
- }
43
- export declare function parseBinaryXSD(xmlString: string, idProvider: MapDataTypeAndEncodingIdProvider, dataTypeFactory: DataTypeFactory, callback: (err?: Error | null) => void): void;
44
- export declare function parseBinaryXSDAsync(xmlString: string, idProvider: MapDataTypeAndEncodingIdProvider, dataTypeFactory: DataTypeFactory): Promise<void>;
1
+ /**
2
+ * @module node-opcua-schemas
3
+ */
4
+ import { DataTypeFactory } from "node-opcua-factory";
5
+ import { NodeId } from "node-opcua-nodeid";
6
+ export interface EnumeratedType {
7
+ name: string;
8
+ documentation?: string;
9
+ enumeratedValues: any;
10
+ lengthInBits?: number;
11
+ }
12
+ export interface StructureTypeRaw {
13
+ name: string;
14
+ baseType?: string;
15
+ base?: StructureTypeRaw;
16
+ fields: any[];
17
+ }
18
+ export interface ITypeDictionary {
19
+ targetNamespace: string;
20
+ imports: string[];
21
+ structuredTypesRaw: StructureTypeRaw[];
22
+ enumeratedTypesRaw: EnumeratedType[];
23
+ }
24
+ export declare class TypeDictionary implements ITypeDictionary {
25
+ targetNamespace: string;
26
+ imports: string[];
27
+ structuredTypesRaw: StructureTypeRaw[];
28
+ enumeratedTypesRaw: EnumeratedType[];
29
+ private structuredTypesRawMap;
30
+ constructor();
31
+ addRaw(structuredType: StructureTypeRaw): void;
32
+ getStructuredTypesRawByName(name: string): StructureTypeRaw;
33
+ }
34
+ export interface DataTypeAndEncodingId {
35
+ dataTypeNodeId: NodeId;
36
+ binaryEncodingNodeId: NodeId;
37
+ xmlEncodingNodeId: NodeId;
38
+ jsonEncodingNodeId: NodeId;
39
+ }
40
+ export interface MapDataTypeAndEncodingIdProvider {
41
+ getDataTypeAndEncodingId(key: string): DataTypeAndEncodingId | null;
42
+ }
43
+ export declare function parseBinaryXSD(xmlString: string, idProvider: MapDataTypeAndEncodingIdProvider, dataTypeFactory: DataTypeFactory, callback: (err?: Error | null) => void): void;
44
+ export declare function parseBinaryXSDAsync(xmlString: string, idProvider: MapDataTypeAndEncodingIdProvider, dataTypeFactory: DataTypeFactory): Promise<void>;