@nmshd/connector-types 6.36.4 → 6.36.5
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/AbstractConnectorRuntime.d.ts.map +1 -1
- package/dist/ConnectorRuntimeModule.js +1 -0
- package/dist/ConnectorRuntimeModule.js.map +1 -1
- package/dist/DocumentationLink.js +1 -1
- package/dist/DocumentationLink.js.map +1 -1
- package/dist/QRCode.js +1 -0
- package/dist/QRCode.js.map +1 -1
- package/dist/infrastructure/ConnectorInfrastructure.js +5 -0
- package/dist/infrastructure/ConnectorInfrastructure.js.map +1 -1
- package/dist/infrastructure/httpServer/common/Envelope.js +2 -0
- package/dist/infrastructure/httpServer/common/Envelope.js.map +1 -1
- package/dist/infrastructure/httpServer/common/HttpError.js +12 -5
- package/dist/infrastructure/httpServer/common/HttpError.js.map +1 -1
- package/dist/infrastructure/httpServer/common/Mimetype.js +1 -0
- package/dist/infrastructure/httpServer/common/Mimetype.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractConnectorRuntime.d.ts","sourceRoot":"","sources":["../src/AbstractConnectorRuntime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AAEpE,MAAM,WAAW,sBAAuB,SAAQ,aAAa;IACzD,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;CACtD;AAED,8BAAsB,wBAAwB,CAAC,OAAO,SAAS,sBAAsB,GAAG,sBAAsB,CAAE,SAAQ,OAAO,CAAC,OAAO,CAAC;aAC3G,WAAW,IAAI,eAAe;aACvC,8BAA8B,IAAI,OAAO,CAAC,MAAM,CAAC;aACjD,mBAAmB,IAAI,gCAAgC;IACvE,kBAAyB,cAAc,EAAE,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"AbstractConnectorRuntime.d.ts","sourceRoot":"","sources":["../src/AbstractConnectorRuntime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AAEpE,MAAM,WAAW,sBAAuB,SAAQ,aAAa;IACzD,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;CACtD;AAED,8BAAsB,wBAAwB,CAAC,OAAO,SAAS,sBAAsB,GAAG,sBAAsB,CAAE,SAAQ,OAAO,CAAC,OAAO,CAAC;aAC3G,WAAW,IAAI,eAAe;aACvC,8BAA8B,IAAI,OAAO,CAAC,MAAM,CAAC;aACjD,mBAAmB,IAAI,gCAAgC;IACvE,kBAAyB,cAAc,EAAE,gCAAgC,CAAC;IAE3D,kBAAkB,EAAE,mBAAmB,CAAC;IACvD,SAAwB,aAAa,EAAE,OAAO,CAAC;CAClD"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ConnectorRuntimeModule = void 0;
|
|
4
4
|
const runtime_1 = require("@nmshd/runtime");
|
|
5
5
|
class ConnectorRuntimeModule extends runtime_1.RuntimeModule {
|
|
6
|
+
connectorMode;
|
|
6
7
|
constructor(runtime, configuration, logger, connectorMode) {
|
|
7
8
|
super(runtime, configuration, logger);
|
|
8
9
|
this.connectorMode = connectorMode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorRuntimeModule.js","sourceRoot":"","sources":["../src/ConnectorRuntimeModule.ts"],"names":[],"mappings":";;;AACA,4CAAoE;AASpE,MAAsB,sBAAkH,SAAQ,uBAG/I;
|
|
1
|
+
{"version":3,"file":"ConnectorRuntimeModule.js","sourceRoot":"","sources":["../src/ConnectorRuntimeModule.ts"],"names":[],"mappings":";;;AACA,4CAAoE;AASpE,MAAsB,sBAAkH,SAAQ,uBAG/I;IAK0B;IAJvB,YACI,OAAiC,EACjC,aAAsB,EACtB,MAAe,EACI,aAA4B;QAE/C,KAAK,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;QAFnB,kBAAa,GAAb,aAAa,CAAe;IAGnD,CAAC;IAEM,mBAAmB;QACtB,2FAA2F;QAC3F,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ;AAjBD,wDAiBC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DocumentationLink = void 0;
|
|
4
4
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
5
|
class DocumentationLink {
|
|
6
|
+
static baseUrl = "https://enmeshed.eu";
|
|
6
7
|
static integrate__errorCodes(anchor) {
|
|
7
8
|
return this.build("integrate", "error-codes", anchor);
|
|
8
9
|
}
|
|
@@ -14,5 +15,4 @@ class DocumentationLink {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
exports.DocumentationLink = DocumentationLink;
|
|
17
|
-
DocumentationLink.baseUrl = "https://enmeshed.eu";
|
|
18
18
|
//# sourceMappingURL=DocumentationLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentationLink.js","sourceRoot":"","sources":["../src/DocumentationLink.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,MAAa,iBAAiB;
|
|
1
|
+
{"version":3,"file":"DocumentationLink.js","sourceRoot":"","sources":["../src/DocumentationLink.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,MAAa,iBAAiB;IAClB,MAAM,CAAU,OAAO,GAAW,qBAAqB,CAAC;IAEzD,MAAM,CAAC,qBAAqB,CAAC,MAAe;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,MAAM,GAAG,EAAE;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,eAAe,EAAE,MAAM,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC9E,CAAC;IAEO,MAAM,CAAC,KAAK,CAAC,IAAY,EAAE,OAAe,EAAE,MAAM,GAAG,EAAE;QAC3D,OAAO,GAAG,iBAAiB,CAAC,OAAO,IAAI,IAAI,IAAI,OAAO,IAAI,MAAM,EAAE,CAAC;IACvE,CAAC;;AAbL,8CAcC"}
|
package/dist/QRCode.js
CHANGED
package/dist/QRCode.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QRCode.js","sourceRoot":"","sources":["../src/QRCode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AAExC,MAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"QRCode.js","sourceRoot":"","sources":["../src/QRCode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AAExC,MAAa,MAAM;IACsB;IAArC,YAAqC,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAEhD,QAAQ;QACX,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,SAAiB;QACrC,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,SAAS,EAAE,CAAC,CAAC;QACpH,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAErC,OAAO,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;CACJ;AAbD,wBAaC"}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConnectorInfrastructure = void 0;
|
|
4
4
|
class ConnectorInfrastructure {
|
|
5
|
+
runtime;
|
|
6
|
+
configuration;
|
|
7
|
+
logger;
|
|
8
|
+
name;
|
|
9
|
+
connectorMode;
|
|
5
10
|
constructor(runtime, configuration, logger, name, connectorMode) {
|
|
6
11
|
this.runtime = runtime;
|
|
7
12
|
this.configuration = configuration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorInfrastructure.js","sourceRoot":"","sources":["../../src/infrastructure/ConnectorInfrastructure.ts"],"names":[],"mappings":";;;AAQA,MAAsB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"ConnectorInfrastructure.js","sourceRoot":"","sources":["../../src/infrastructure/ConnectorInfrastructure.ts"],"names":[],"mappings":";;;AAQA,MAAsB,uBAAuB;IAE3B;IACA;IACA;IACM;IACG;IALvB,YACc,OAAiC,EACjC,aAAsB,EACtB,MAAe,EACT,IAAY,EACT,aAA4B;QAJrC,YAAO,GAAP,OAAO,CAA0B;QACjC,kBAAa,GAAb,aAAa,CAAS;QACtB,WAAM,GAAN,MAAM,CAAS;QACT,SAAI,GAAJ,IAAI,CAAQ;QACT,kBAAa,GAAb,aAAa,CAAe;IAChD,CAAC;IAEJ,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC;IACtC,CAAC;CAKJ;AAhBD,0DAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Envelope.js","sourceRoot":"","sources":["../../../../src/infrastructure/httpServer/common/Envelope.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;
|
|
1
|
+
{"version":3,"file":"Envelope.js","sourceRoot":"","sources":["../../../../src/infrastructure/httpServer/common/Envelope.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;IAEN;IACA;IAFX,YACW,MAAY,EACZ,KAAqB;QADrB,WAAM,GAAN,MAAM,CAAM;QACZ,UAAK,GAAL,KAAK,CAAgB;IAC7B,CAAC;IAEG,MAAM,CAAC,EAAE,CAAC,MAAW;QACxB,OAAO,IAAI,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC3C,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,KAAgB,EAAE,aAA4B;QAC9D,QAAQ,aAAa,EAAE,CAAC;YACpB,KAAK,OAAO;gBACR,OAAO,IAAI,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;YAC5D,KAAK,YAAY;gBACb,OAAO,IAAI,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;CACJ;AAlBD,4BAkBC"}
|
|
@@ -3,6 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.HttpErrorId = exports.HttpError = void 0;
|
|
4
4
|
const DocumentationLink_1 = require("../../../DocumentationLink");
|
|
5
5
|
class HttpError {
|
|
6
|
+
code;
|
|
7
|
+
message;
|
|
8
|
+
stacktrace;
|
|
9
|
+
details;
|
|
10
|
+
docs;
|
|
11
|
+
id;
|
|
12
|
+
time;
|
|
6
13
|
constructor(code, message, stacktrace, details) {
|
|
7
14
|
this.code = code;
|
|
8
15
|
this.message = message;
|
|
@@ -29,6 +36,11 @@ class HttpError {
|
|
|
29
36
|
}
|
|
30
37
|
exports.HttpError = HttpError;
|
|
31
38
|
class HttpErrorId {
|
|
39
|
+
static prefix = "ERR";
|
|
40
|
+
static totalLength = 20;
|
|
41
|
+
static lengthOfRandomPart = HttpErrorId.totalLength - HttpErrorId.prefix.length;
|
|
42
|
+
static characters = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789";
|
|
43
|
+
static charactersLength = HttpErrorId.characters.length;
|
|
32
44
|
static create() {
|
|
33
45
|
let result = HttpErrorId.prefix;
|
|
34
46
|
for (let i = 0; i < HttpErrorId.lengthOfRandomPart; i++) {
|
|
@@ -38,9 +50,4 @@ class HttpErrorId {
|
|
|
38
50
|
}
|
|
39
51
|
}
|
|
40
52
|
exports.HttpErrorId = HttpErrorId;
|
|
41
|
-
HttpErrorId.prefix = "ERR";
|
|
42
|
-
HttpErrorId.totalLength = 20;
|
|
43
|
-
HttpErrorId.lengthOfRandomPart = HttpErrorId.totalLength - HttpErrorId.prefix.length;
|
|
44
|
-
HttpErrorId.characters = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789";
|
|
45
|
-
HttpErrorId.charactersLength = HttpErrorId.characters.length;
|
|
46
53
|
//# sourceMappingURL=HttpError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpError.js","sourceRoot":"","sources":["../../../../src/infrastructure/httpServer/common/HttpError.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAY/D,MAAa,SAAS;
|
|
1
|
+
{"version":3,"file":"HttpError.js","sourceRoot":"","sources":["../../../../src/infrastructure/httpServer/common/HttpError.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAY/D,MAAa,SAAS;IAME;IACA;IACA;IACA;IARJ,IAAI,CAAS;IACb,EAAE,CAAS;IACX,IAAI,CAAS;IAE7B,YACoB,IAAY,EACZ,OAAe,EACf,UAAqB,EACrB,OAAgB;QAHhB,SAAI,GAAJ,IAAI,CAAQ;QACZ,YAAO,GAAP,OAAO,CAAQ;QACf,eAAU,GAAV,UAAU,CAAW;QACrB,YAAO,GAAP,OAAO,CAAS;QAEhC,IA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AAC,MAAM,EAAE,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC;QACtG,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;;AAdL,kCAeC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mimetype.js","sourceRoot":"","sources":["../../../../src/infrastructure/httpServer/common/Mimetype.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAQ;
|
|
1
|
+
{"version":3,"file":"Mimetype.js","sourceRoot":"","sources":["../../../../src/infrastructure/httpServer/common/Mimetype.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAQ;IACS;IAA1B,YAA0B,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IAAG,CAAC;IAEpC,MAAM,CAAC,GAAG;QACb,OAAO,IAAI,QAAQ,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IAEM,MAAM,CAAC,IAAI;QACd,OAAO,IAAI,QAAQ,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IAEM,MAAM,CAAC,IAAI;QACd,OAAO,IAAI,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,GAAG;QACb,OAAO,IAAI,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC;CACJ;AAlBD,4BAkBC"}
|
package/package.json
CHANGED
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"@js-soft/logging-abstractions": "^1.0.1",
|
|
52
52
|
"@types/express": "^5.0.3",
|
|
53
53
|
"@types/luxon": "^3.7.1",
|
|
54
|
-
"@types/node": "^
|
|
54
|
+
"@types/node": "^24.3.1",
|
|
55
55
|
"@types/qrcode": "^1.5.5",
|
|
56
56
|
"typescript": "^5.9.2"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@js-soft/docdb-access-abstractions": "^1.2.0",
|
|
60
60
|
"@js-soft/ts-utils": "^2.3.4",
|
|
61
|
-
"@nmshd/runtime": "^6.
|
|
61
|
+
"@nmshd/runtime": "^6.63.1",
|
|
62
62
|
"@nmshd/typescript-rest": "3.1.6",
|
|
63
63
|
"express": "^5.1.0"
|
|
64
64
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public",
|
|
67
67
|
"provenance": true
|
|
68
68
|
},
|
|
69
|
-
"version": "6.36.
|
|
69
|
+
"version": "6.36.5"
|
|
70
70
|
}
|