node-opcua-types 2.64.1 → 2.66.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/.eslintignore DELETED
@@ -1 +0,0 @@
1
- source/_generated*
@@ -1 +0,0 @@
1
- export {};
package/dist/generate.js DELETED
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- /**
13
- * @module node-opcua-types
14
- */
15
- // tslint:disable:no-console
16
- const path = require("path");
17
- const d = require("node-opcua-data-model");
18
- const node_opcua_data_value_1 = require("node-opcua-data-value");
19
- const node_opcua_generator_1 = require("node-opcua-generator");
20
- const n = require("node-opcua-numeric-range");
21
- const node_opcua_variant_1 = require("node-opcua-variant");
22
- const force_inclusion = n.NumericRange;
23
- const force_inclusion_QualifiedName = d.QualifiedName;
24
- const force_inclusion_LocalizedText = d.LocalizedText;
25
- const force_inclusion_Variant = node_opcua_variant_1.Variant;
26
- const force_inclusion_DataValue = node_opcua_data_value_1.DataValue;
27
- function main() {
28
- return __awaiter(this, void 0, void 0, function* () {
29
- try {
30
- // await build_generated_folder();
31
- const filename = path.join(__dirname, "../xmlschemas/Opc.Ua.Types.bsd");
32
- const generatedTypescriptFilename = path.join(__dirname, "_generated_opcua_types.ts");
33
- yield (0, node_opcua_generator_1.generate)(filename, generatedTypescriptFilename);
34
- }
35
- catch (err) {
36
- console.log(err);
37
- }
38
- });
39
- }
40
- main().then().catch();
41
- //# sourceMappingURL=generate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../source/generate.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA;;GAEG;AACH,4BAA4B;AAC5B,6BAA6B;AAC7B,2CAA2C;AAC3C,iEAAkD;AAClD,+DAAgD;AAChD,8CAA8C;AAC9C,2DAA6C;AAE7C,MAAM,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;AACvC,MAAM,6BAA6B,GAAG,CAAC,CAAC,aAAa,CAAC;AACtD,MAAM,6BAA6B,GAAG,CAAC,CAAC,aAAa,CAAC;AACtD,MAAM,uBAAuB,GAAG,4BAAO,CAAC;AACxC,MAAM,yBAAyB,GAAG,iCAAS,CAAC;AAE5C,SAAe,IAAI;;QACf,IAAI;YACA,kCAAkC;YAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,gCAAgC,CAAC,CAAC;YACxE,MAAM,2BAA2B,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAC;YACtF,MAAM,IAAA,+BAAQ,EAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;SACzD;QAAC,OAAO,GAAG,EAAE;YACV,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SACpB;IACL,CAAC;CAAA;AACD,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC"}
@@ -1,28 +0,0 @@
1
- /**
2
- * @module node-opcua-types
3
- */
4
- // tslint:disable:no-console
5
- import * as path from "path";
6
- import * as d from "node-opcua-data-model";
7
- import { DataValue } from "node-opcua-data-value";
8
- import { generate } from "node-opcua-generator";
9
- import * as n from "node-opcua-numeric-range";
10
- import { Variant } from "node-opcua-variant";
11
-
12
- const force_inclusion = n.NumericRange;
13
- const force_inclusion_QualifiedName = d.QualifiedName;
14
- const force_inclusion_LocalizedText = d.LocalizedText;
15
- const force_inclusion_Variant = Variant;
16
- const force_inclusion_DataValue = DataValue;
17
-
18
- async function main() {
19
- try {
20
- // await build_generated_folder();
21
- const filename = path.join(__dirname, "../xmlschemas/Opc.Ua.Types.bsd");
22
- const generatedTypescriptFilename = path.join(__dirname, "_generated_opcua_types.ts");
23
- await generate(filename, generatedTypescriptFilename);
24
- } catch (err) {
25
- console.log(err);
26
- }
27
- }
28
- main().then().catch();
package/tsconfig.pre.json DELETED
@@ -1,77 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "rootDir": "source",
5
- "outDir": "dist",
6
- "composite": true,
7
- "incremental": true
8
- },
9
-
10
- "include": [""],
11
- "exclude": ["node_modules", "dist", "source"],
12
- "references": [
13
- {
14
- "path": "../node-opcua-assert"
15
- },
16
- {
17
- "path": "../node-opcua-basic-types"
18
- },
19
- {
20
- "path": "../node-opcua-benchmarker"
21
- },
22
- {
23
- "path": "../node-opcua-binary-stream"
24
- },
25
- {
26
- "path": "../node-opcua-buffer-utils"
27
- },
28
- {
29
- "path": "../node-opcua-data-model"
30
- },
31
- {
32
- "path": "../node-opcua-data-value"
33
- },
34
- {
35
- "path": "../node-opcua-date-time"
36
- },
37
- {
38
- "path": "../node-opcua-debug"
39
- },
40
- {
41
- "path": "../node-opcua-enum"
42
- },
43
- {
44
- "path": "../node-opcua-extension-object"
45
- },
46
- {
47
- "path": "../node-opcua-factory"
48
- },
49
- {
50
- "path": "../node-opcua-generator"
51
- },
52
- {
53
- "path": "../node-opcua-guid"
54
- },
55
- {
56
- "path": "../node-opcua-nodeid"
57
- },
58
- {
59
- "path": "../node-opcua-numeric-range"
60
- },
61
- {
62
- "path": "../node-opcua-packet-analyzer"
63
- },
64
- {
65
- "path": "../node-opcua-schemas"
66
- },
67
- {
68
- "path": "../node-opcua-status-code"
69
- },
70
- {
71
- "path": "../node-opcua-utils"
72
- },
73
- {
74
- "path": "../node-opcua-variant"
75
- }
76
- ]
77
- }