@nmshd/runtime 4.1.2 → 4.1.4
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/buildInformation.js +5 -5
- package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.d.ts +3 -3
- package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.d.ts.map +1 -1
- package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.js +1 -1
- package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.js.map +1 -1
- package/dist/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.d.ts +3 -3
- package/dist/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.d.ts.map +1 -1
- package/dist/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.js +1 -1
- package/dist/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.js.map +1 -1
- package/lib-web/nmshd.runtime.js +56 -43
- package/lib-web/nmshd.runtime.js.map +1 -1
- package/lib-web/nmshd.runtime.min.js +1 -1
- package/lib-web/nmshd.runtime.min.js.map +1 -1
- package/package.json +4 -3
- package/dist/useCases/consumption/attributes/AttributeSuccessionResponse.d.ts +0 -6
- package/dist/useCases/consumption/attributes/AttributeSuccessionResponse.d.ts.map +0 -1
- package/dist/useCases/consumption/attributes/AttributeSuccessionResponse.js +0 -3
- package/dist/useCases/consumption/attributes/AttributeSuccessionResponse.js.map +0 -1
package/dist/buildInformation.js
CHANGED
|
@@ -7,11 +7,11 @@ const content_1 = require("@nmshd/content");
|
|
|
7
7
|
const crypto_1 = require("@nmshd/crypto");
|
|
8
8
|
const transport_1 = require("@nmshd/transport");
|
|
9
9
|
exports.buildInformation = {
|
|
10
|
-
version: "4.1.
|
|
11
|
-
build: "
|
|
12
|
-
date: "2024-02-
|
|
13
|
-
commit: "
|
|
14
|
-
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.2","@js-soft/logging-abstractions":"^1.0.1","@js-soft/ts-serval":"2.0.10","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"3.9.
|
|
10
|
+
version: "4.1.4",
|
|
11
|
+
build: "30",
|
|
12
|
+
date: "2024-02-23T11:56:40+00:00",
|
|
13
|
+
commit: "f595da4c58bfeccdfa4911aa46532be9b0898a44",
|
|
14
|
+
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.2","@js-soft/logging-abstractions":"^1.0.1","@js-soft/ts-serval":"2.0.10","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"3.9.4","@nmshd/content":"2.8.7","@nmshd/crypto":"2.0.6","@nmshd/transport":"2.3.1","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.4","qrcode":"1.5.3","reflect-metadata":"^0.2.1","ts-simple-nameof":"^1.3.1","typescript-ioc":"3.2.2"},
|
|
15
15
|
libraries: {
|
|
16
16
|
serval: ts_serval_1.buildInformation,
|
|
17
17
|
consumption: consumption_1.buildInformation,
|
package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Result } from "@js-soft/ts-utils";
|
|
2
2
|
import { AttributesController } from "@nmshd/consumption";
|
|
3
|
-
import { AccountController,
|
|
3
|
+
import { AccountController, MessageController } from "@nmshd/transport";
|
|
4
4
|
import { LocalAttributeDTO } from "../../../types";
|
|
5
|
-
import { AddressString, AttributeIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common";
|
|
5
|
+
import { AddressString, AttributeIdString, NotificationIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common";
|
|
6
6
|
export interface NotifyPeerAboutRepositoryAttributeSuccessionResponse {
|
|
7
7
|
predecessor: LocalAttributeDTO;
|
|
8
8
|
successor: LocalAttributeDTO;
|
|
9
|
-
notificationId:
|
|
9
|
+
notificationId: NotificationIdString;
|
|
10
10
|
}
|
|
11
11
|
export interface NotifyPeerAboutRepositoryAttributeSuccessionRequest {
|
|
12
12
|
attributeId: AttributeIdString;
|
package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotifyPeerAboutRepositoryAttributeSuccession.d.ts","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAA6D,MAAM,oBAAoB,CAAC;AAErH,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"NotifyPeerAboutRepositoryAttributeSuccession.d.ts","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAA6D,MAAM,oBAAoB,CAAC;AAErH,OAAO,EAAE,iBAAiB,EAAuB,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAiB,gBAAgB,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGjJ,MAAM,WAAW,oDAAoD;IACjE,WAAW,EAAE,iBAAiB,CAAC;IAC/B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,cAAc,EAAE,oBAAoB,CAAC;CACxC;AAED,MAAM,WAAW,mDAAmD;IAChE,WAAW,EAAE,iBAAiB,CAAC;IAC/B,IAAI,EAAE,aAAa,CAAC;CACvB;AAED,cAAM,SAAU,SAAQ,eAAe,CAAC,mDAAmD,CAAC;gBAC7D,gBAAgB,EAAE,gBAAgB;CAGhE;AAED,qBAAa,mDAAoD,SAAQ,OAAO,CAC5E,mDAAmD,EACnD,oDAAoD,CACvD;IAEe,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,oBAAoB,EACzC,iBAAiB,EAAE,iBAAiB,EACrD,SAAS,EAAE,SAAS;cAKhB,eAAe,CAAC,OAAO,EAAE,mDAAmD,GAAG,OAAO,CAAC,MAAM,CAAC,oDAAoD,CAAC,CAAC;CA+DvK"}
|
package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.js
CHANGED
|
@@ -82,7 +82,7 @@ let NotifyPeerAboutRepositoryAttributeSuccessionUseCase = class NotifyPeerAboutR
|
|
|
82
82
|
const result = {
|
|
83
83
|
predecessor: AttributeMapper_1.AttributeMapper.toAttributeDTO(updatedOwnSharedIdentityAttributePredecessor),
|
|
84
84
|
successor: AttributeMapper_1.AttributeMapper.toAttributeDTO(ownSharedIdentityAttributeSuccessor),
|
|
85
|
-
notificationId: notificationId
|
|
85
|
+
notificationId: notificationId.toString()
|
|
86
86
|
};
|
|
87
87
|
return ts_utils_1.Result.ok(result);
|
|
88
88
|
}
|
package/dist/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotifyPeerAboutRepositoryAttributeSuccession.js","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA2C;AAC3C,oDAAqH;AACrH,4CAA4F;AAC5F,gDAA6F;AAC7F,mDAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"NotifyPeerAboutRepositoryAttributeSuccession.js","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA2C;AAC3C,oDAAqH;AACrH,4CAA4F;AAC5F,gDAA6F;AAC7F,mDAAwC;AAExC,yCAAiJ;AACjJ,uDAAoD;AAapD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,wBAAoE;IACxF,YAA2B,gBAAkC;QACzD,KAAK,CAAC,gBAAgB,CAAC,SAAS,CAAC,qDAAqD,CAAC,CAAC,CAAC;IAC7F,CAAC;CACJ,CAAA;AAJK,SAAS;IACS,WAAA,uBAAM,CAAA;qCAAmB,yBAAgB;GAD3D,SAAS,CAId;AAED,IAAa,mDAAmD,GAAhE,MAAa,mDAAoD,SAAQ,gBAGxE;IACG,YAC6B,iBAAoC,EACpC,mBAAyC,EACzC,iBAAoC,EACrD,SAAoB;QAE5B,KAAK,CAAC,SAAS,CAAC,CAAC;QALQ,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,wBAAmB,GAAnB,mBAAmB,CAAsB;QACzC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAIjE,CAAC;IAES,KAAK,CAAC,eAAe,CAAC,OAA4D;QACxF,MAAM,8BAA8B,GAAG,kBAAM,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QACxE,MAAM,4BAA4B,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,8BAA8B,CAAC,CAAC;QAEtH,IAAI,OAAO,4BAA4B,KAAK,WAAW,EAAE,CAAC;YACtD,OAAO,iBAAM,CAAC,IAAI,CAAC,sBAAa,CAAC,OAAO,CAAC,cAAc,CAAC,4BAAc,CAAC,IAAI,CAAC,CAAC,CAAC;QAClF,CAAC;QAED,IAAI,CAAC,4BAA4B,CAAC,qBAAqB,CAAC,IAAI,CAAC,iBAAiB,CAAC,QAA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AAC;IAC7B,CAAC;CACJ,CAAA;AA5EY,kHAAmD;8DAAnD,mDAAmD;IAKvD,WAAA,uBAAM,CAAA;IACN,WAAA,uBAAM,CAAA;IACN,WAAA,uBAAM,CAAA;IACN,WAAA,uBAAM,CAAA;qCAHqC,6BAAiB;QACf,kCAAoB;QACtB,6BAAiB;QAC1C,SAAS;GARvB,mDAAmD,CA4E/D"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Result } from "@js-soft/ts-utils";
|
|
2
2
|
import { AttributesController } from "@nmshd/consumption";
|
|
3
3
|
import { AttributeValues } from "@nmshd/content";
|
|
4
|
-
import { AccountController,
|
|
4
|
+
import { AccountController, MessageController } from "@nmshd/transport";
|
|
5
5
|
import { LocalAttributeDTO } from "../../../types";
|
|
6
|
-
import { AttributeIdString, ISO8601DateTimeString, SchemaRepository, SchemaValidator, UseCase } from "../../common";
|
|
6
|
+
import { AttributeIdString, ISO8601DateTimeString, NotificationIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common";
|
|
7
7
|
export interface SucceedRelationshipAttributeAndNotifyPeerResponse {
|
|
8
8
|
predecessor: LocalAttributeDTO;
|
|
9
9
|
successor: LocalAttributeDTO;
|
|
10
|
-
notificationId:
|
|
10
|
+
notificationId: NotificationIdString;
|
|
11
11
|
}
|
|
12
12
|
export interface SucceedRelationshipAttributeAndNotifyPeerRequest {
|
|
13
13
|
predecessorId: AttributeIdString;
|
package/dist/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SucceedRelationshipAttributeAndNotifyPeer.d.ts","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAwD,MAAM,oBAAoB,CAAC;AAChH,OAAO,EAAE,eAAe,EAAgH,MAAM,gBAAgB,CAAC;AAC/J,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SucceedRelationshipAttributeAndNotifyPeer.d.ts","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAwD,MAAM,oBAAoB,CAAC;AAChH,OAAO,EAAE,eAAe,EAAgH,MAAM,gBAAgB,CAAC;AAC/J,OAAO,EAAE,iBAAiB,EAAU,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAG1I,MAAM,WAAW,iDAAiD;IAC9D,WAAW,EAAE,iBAAiB,CAAC;IAC/B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,cAAc,EAAE,oBAAoB,CAAC;CACxC;AAED,MAAM,WAAW,gDAAgD;IAC7D,aAAa,EAAE,iBAAiB,CAAC;IACjC,gBAAgB,EAAE;QACd,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC;QACzC,SAAS,CAAC,EAAE,qBAAqB,CAAC;QAClC,OAAO,CAAC,EAAE,qBAAqB,CAAC;KACnC,CAAC;CACL;AAED,cAAM,SAAU,SAAQ,eAAe,CAAC,gDAAgD,CAAC;gBAC1D,gBAAgB,EAAE,gBAAgB;CAGhE;AAED,qBAAa,gDAAiD,SAAQ,OAAO,CAAC,gDAAgD,EAAE,iDAAiD,CAAC;IAElK,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,oBAAoB,EACzC,iBAAiB,EAAE,iBAAiB,EACrD,SAAS,EAAE,SAAS;cAKhB,eAAe,CAAC,OAAO,EAAE,gDAAgD,GAAG,OAAO,CAAC,MAAM,CAAC,iDAAiD,CAAC,CAAC;CAoDjK"}
|
|
@@ -79,7 +79,7 @@ let SucceedRelationshipAttributeAndNotifyPeerUseCase = class SucceedRelationship
|
|
|
79
79
|
const response = {
|
|
80
80
|
predecessor: AttributeMapper_1.AttributeMapper.toAttributeDTO(updatedPredecessor),
|
|
81
81
|
successor: AttributeMapper_1.AttributeMapper.toAttributeDTO(successor),
|
|
82
|
-
notificationId: notificationId
|
|
82
|
+
notificationId: notificationId.toString()
|
|
83
83
|
};
|
|
84
84
|
return ts_utils_1.Result.ok(response);
|
|
85
85
|
}
|
package/dist/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SucceedRelationshipAttributeAndNotifyPeer.js","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA2C;AAC3C,oDAAgH;AAChH,4CAA+J;AAC/J,gDAAgF;AAChF,mDAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"SucceedRelationshipAttributeAndNotifyPeer.js","sourceRoot":"","sources":["../../../../src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA2C;AAC3C,oDAAgH;AAChH,4CAA+J;AAC/J,gDAAgF;AAChF,mDAAwC;AAExC,yCAA0I;AAC1I,uDAAoD;AAiBpD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,wBAAiE;IACrF,YAA2B,gBAAkC;QACzD,KAAK,CAAC,gBAAgB,CAAC,S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C,IAAI,CAAC;YACxC,OAAO,EAAE,YAAY;SACxB,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAsD;YAChE,WAAW,EAAE,iCAAe,CAAC,cAAc,CAAC,kBAAkB,CAAC;YAC/D,SAAS,EAAE,iCAAe,CAAC,cAAc,CAAC,SAAS,CAAC;YACpD,cAAc,EAAE,cAAc,CAAC,QAAQ,EAAE;SAC5C,CAAC;QAEF,OAAO,iBAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AA9DY,4GAAgD;2DAAhD,gDAAgD;IAEpD,WAAA,uBAAM,CAAA;IACN,WAAA,uBAAM,CAAA;IACN,WAAA,uBAAM,CAAA;IACN,WAAA,uBAAM,CAAA;qCAHqC,6BAAiB;QACf,kCAAoB;QACtB,6BAAiB;QAC1C,SAAS;GALvB,gDAAgD,CA8D5D"}
|
package/lib-web/nmshd.runtime.js
CHANGED
|
@@ -43649,7 +43649,7 @@ exports.validate = validate;
|
|
|
43649
43649
|
/***/ ((module) => {
|
|
43650
43650
|
|
|
43651
43651
|
"use strict";
|
|
43652
|
-
//
|
|
43652
|
+
// @generated by Peggy 4.0.0.
|
|
43653
43653
|
//
|
|
43654
43654
|
// https://peggyjs.org/
|
|
43655
43655
|
|
|
@@ -43979,14 +43979,14 @@ function peg$parse(input, options) {
|
|
|
43979
43979
|
var peg$f11 = function (val) {
|
|
43980
43980
|
return val.join("").replaceAll("\\\\", "\\").replaceAll("\\'", "'");
|
|
43981
43981
|
};
|
|
43982
|
-
var peg$currPos = 0;
|
|
43983
|
-
var peg$savedPos =
|
|
43982
|
+
var peg$currPos = options.peg$currPos | 0;
|
|
43983
|
+
var peg$savedPos = peg$currPos;
|
|
43984
43984
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
43985
|
-
var peg$maxFailPos =
|
|
43986
|
-
var peg$maxFailExpected = [];
|
|
43987
|
-
var peg$silentFails = 0;
|
|
43985
|
+
var peg$maxFailPos = peg$currPos;
|
|
43986
|
+
var peg$maxFailExpected = options.peg$maxFailExpected || [];
|
|
43987
|
+
var peg$silentFails = options.peg$silentFails | 0;
|
|
43988
43988
|
var peg$result;
|
|
43989
|
-
if (
|
|
43989
|
+
if (options.startRule) {
|
|
43990
43990
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
43991
43991
|
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
|
|
43992
43992
|
}
|
|
@@ -44042,9 +44042,12 @@ function peg$parse(input, options) {
|
|
|
44042
44042
|
return details;
|
|
44043
44043
|
}
|
|
44044
44044
|
else {
|
|
44045
|
-
|
|
44046
|
-
|
|
44047
|
-
|
|
44045
|
+
if (pos >= peg$posDetailsCache.length) {
|
|
44046
|
+
p = peg$posDetailsCache.length - 1;
|
|
44047
|
+
}
|
|
44048
|
+
else {
|
|
44049
|
+
p = pos;
|
|
44050
|
+
while (!peg$posDetailsCache[--p]) { }
|
|
44048
44051
|
}
|
|
44049
44052
|
details = peg$posDetailsCache[p];
|
|
44050
44053
|
details = {
|
|
@@ -44747,8 +44750,8 @@ function peg$parse(input, options) {
|
|
|
44747
44750
|
function peg$parsePredicate() {
|
|
44748
44751
|
var s0, s1, s2;
|
|
44749
44752
|
s0 = peg$currPos;
|
|
44750
|
-
|
|
44751
|
-
|
|
44753
|
+
s1 = input.charAt(peg$currPos);
|
|
44754
|
+
if (peg$r0.test(s1)) {
|
|
44752
44755
|
peg$currPos++;
|
|
44753
44756
|
}
|
|
44754
44757
|
else {
|
|
@@ -44774,8 +44777,8 @@ function peg$parse(input, options) {
|
|
|
44774
44777
|
}
|
|
44775
44778
|
if (s0 === peg$FAILED) {
|
|
44776
44779
|
s0 = peg$currPos;
|
|
44777
|
-
|
|
44778
|
-
|
|
44780
|
+
s1 = input.charAt(peg$currPos);
|
|
44781
|
+
if (peg$r1.test(s1)) {
|
|
44779
44782
|
peg$currPos++;
|
|
44780
44783
|
}
|
|
44781
44784
|
else {
|
|
@@ -44829,8 +44832,8 @@ function peg$parse(input, options) {
|
|
|
44829
44832
|
}
|
|
44830
44833
|
}
|
|
44831
44834
|
if (s3 === peg$FAILED) {
|
|
44832
|
-
|
|
44833
|
-
|
|
44835
|
+
s3 = input.charAt(peg$currPos);
|
|
44836
|
+
if (peg$r2.test(s3)) {
|
|
44834
44837
|
peg$currPos++;
|
|
44835
44838
|
}
|
|
44836
44839
|
else {
|
|
@@ -44865,8 +44868,8 @@ function peg$parse(input, options) {
|
|
|
44865
44868
|
}
|
|
44866
44869
|
}
|
|
44867
44870
|
if (s3 === peg$FAILED) {
|
|
44868
|
-
|
|
44869
|
-
|
|
44871
|
+
s3 = input.charAt(peg$currPos);
|
|
44872
|
+
if (peg$r2.test(s3)) {
|
|
44870
44873
|
peg$currPos++;
|
|
44871
44874
|
}
|
|
44872
44875
|
else {
|
|
@@ -44926,8 +44929,8 @@ function peg$parse(input, options) {
|
|
|
44926
44929
|
}
|
|
44927
44930
|
}
|
|
44928
44931
|
if (s2 === peg$FAILED) {
|
|
44929
|
-
|
|
44930
|
-
|
|
44932
|
+
s2 = input.charAt(peg$currPos);
|
|
44933
|
+
if (peg$r3.test(s2)) {
|
|
44931
44934
|
peg$currPos++;
|
|
44932
44935
|
}
|
|
44933
44936
|
else {
|
|
@@ -44962,8 +44965,8 @@ function peg$parse(input, options) {
|
|
|
44962
44965
|
}
|
|
44963
44966
|
}
|
|
44964
44967
|
if (s2 === peg$FAILED) {
|
|
44965
|
-
|
|
44966
|
-
|
|
44968
|
+
s2 = input.charAt(peg$currPos);
|
|
44969
|
+
if (peg$r3.test(s2)) {
|
|
44967
44970
|
peg$currPos++;
|
|
44968
44971
|
}
|
|
44969
44972
|
else {
|
|
@@ -44985,8 +44988,8 @@ function peg$parse(input, options) {
|
|
|
44985
44988
|
var s0, s1, s2, s3, s4;
|
|
44986
44989
|
s0 = peg$currPos;
|
|
44987
44990
|
s1 = peg$currPos;
|
|
44988
|
-
|
|
44989
|
-
|
|
44991
|
+
s2 = input.charAt(peg$currPos);
|
|
44992
|
+
if (peg$r4.test(s2)) {
|
|
44990
44993
|
peg$currPos++;
|
|
44991
44994
|
}
|
|
44992
44995
|
else {
|
|
@@ -44997,8 +45000,8 @@ function peg$parse(input, options) {
|
|
|
44997
45000
|
}
|
|
44998
45001
|
if (s2 !== peg$FAILED) {
|
|
44999
45002
|
s3 = [];
|
|
45000
|
-
|
|
45001
|
-
|
|
45003
|
+
s4 = input.charAt(peg$currPos);
|
|
45004
|
+
if (peg$r5.test(s4)) {
|
|
45002
45005
|
peg$currPos++;
|
|
45003
45006
|
}
|
|
45004
45007
|
else {
|
|
@@ -45010,8 +45013,8 @@ function peg$parse(input, options) {
|
|
|
45010
45013
|
if (s4 !== peg$FAILED) {
|
|
45011
45014
|
while (s4 !== peg$FAILED) {
|
|
45012
45015
|
s3.push(s4);
|
|
45013
|
-
|
|
45014
|
-
|
|
45016
|
+
s4 = input.charAt(peg$currPos);
|
|
45017
|
+
if (peg$r5.test(s4)) {
|
|
45015
45018
|
peg$currPos++;
|
|
45016
45019
|
}
|
|
45017
45020
|
else {
|
|
@@ -45051,8 +45054,8 @@ function peg$parse(input, options) {
|
|
|
45051
45054
|
peg$silentFails++;
|
|
45052
45055
|
s0 = peg$currPos;
|
|
45053
45056
|
s1 = peg$currPos;
|
|
45054
|
-
|
|
45055
|
-
|
|
45057
|
+
s2 = input.charAt(peg$currPos);
|
|
45058
|
+
if (peg$r6.test(s2)) {
|
|
45056
45059
|
peg$currPos++;
|
|
45057
45060
|
}
|
|
45058
45061
|
else {
|
|
@@ -45063,8 +45066,8 @@ function peg$parse(input, options) {
|
|
|
45063
45066
|
}
|
|
45064
45067
|
if (s2 !== peg$FAILED) {
|
|
45065
45068
|
s3 = [];
|
|
45066
|
-
|
|
45067
|
-
|
|
45069
|
+
s4 = input.charAt(peg$currPos);
|
|
45070
|
+
if (peg$r5.test(s4)) {
|
|
45068
45071
|
peg$currPos++;
|
|
45069
45072
|
}
|
|
45070
45073
|
else {
|
|
@@ -45075,8 +45078,8 @@ function peg$parse(input, options) {
|
|
|
45075
45078
|
}
|
|
45076
45079
|
while (s4 !== peg$FAILED) {
|
|
45077
45080
|
s3.push(s4);
|
|
45078
|
-
|
|
45079
|
-
|
|
45081
|
+
s4 = input.charAt(peg$currPos);
|
|
45082
|
+
if (peg$r5.test(s4)) {
|
|
45080
45083
|
peg$currPos++;
|
|
45081
45084
|
}
|
|
45082
45085
|
else {
|
|
@@ -45111,8 +45114,8 @@ function peg$parse(input, options) {
|
|
|
45111
45114
|
function peg$parse_() {
|
|
45112
45115
|
var s0, s1;
|
|
45113
45116
|
peg$silentFails++;
|
|
45114
|
-
|
|
45115
|
-
|
|
45117
|
+
s0 = input.charAt(peg$currPos);
|
|
45118
|
+
if (peg$r7.test(s0)) {
|
|
45116
45119
|
peg$currPos++;
|
|
45117
45120
|
}
|
|
45118
45121
|
else {
|
|
@@ -45131,6 +45134,15 @@ function peg$parse(input, options) {
|
|
|
45131
45134
|
return s0;
|
|
45132
45135
|
}
|
|
45133
45136
|
peg$result = peg$startRuleFunction();
|
|
45137
|
+
if (options.peg$library) {
|
|
45138
|
+
return /** @type {any} */ ({
|
|
45139
|
+
peg$result,
|
|
45140
|
+
peg$currPos,
|
|
45141
|
+
peg$FAILED,
|
|
45142
|
+
peg$maxFailExpected,
|
|
45143
|
+
peg$maxFailPos
|
|
45144
|
+
});
|
|
45145
|
+
}
|
|
45134
45146
|
if (peg$result !== peg$FAILED && peg$currPos === input.length) {
|
|
45135
45147
|
return peg$result;
|
|
45136
45148
|
}
|
|
@@ -45144,6 +45156,7 @@ function peg$parse(input, options) {
|
|
|
45144
45156
|
}
|
|
45145
45157
|
}
|
|
45146
45158
|
module.exports = {
|
|
45159
|
+
StartRules: ["Expr"],
|
|
45147
45160
|
SyntaxError: peg$SyntaxError,
|
|
45148
45161
|
parse: peg$parse
|
|
45149
45162
|
};
|
|
@@ -45705,11 +45718,11 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
|
|
|
45705
45718
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
45706
45719
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
45707
45720
|
exports.buildInformation = {
|
|
45708
|
-
version: "4.1.
|
|
45709
|
-
build: "
|
|
45710
|
-
date: "2024-02-
|
|
45711
|
-
commit: "
|
|
45712
|
-
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.2","@js-soft/logging-abstractions":"^1.0.1","@js-soft/ts-serval":"2.0.10","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"3.9.
|
|
45721
|
+
version: "4.1.4",
|
|
45722
|
+
build: "30",
|
|
45723
|
+
date: "2024-02-23T11:56:40+00:00",
|
|
45724
|
+
commit: "f595da4c58bfeccdfa4911aa46532be9b0898a44",
|
|
45725
|
+
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.2","@js-soft/logging-abstractions":"^1.0.1","@js-soft/ts-serval":"2.0.10","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"3.9.4","@nmshd/content":"2.8.7","@nmshd/crypto":"2.0.6","@nmshd/transport":"2.3.1","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.4","qrcode":"1.5.3","reflect-metadata":"^0.2.1","ts-simple-nameof":"^1.3.1","typescript-ioc":"3.2.2"},
|
|
45713
45726
|
libraries: {
|
|
45714
45727
|
serval: ts_serval_1.buildInformation,
|
|
45715
45728
|
consumption: consumption_1.buildInformation,
|
|
@@ -75120,7 +75133,7 @@ let NotifyPeerAboutRepositoryAttributeSuccessionUseCase = class NotifyPeerAboutR
|
|
|
75120
75133
|
const result = {
|
|
75121
75134
|
predecessor: AttributeMapper_1.AttributeMapper.toAttributeDTO(updatedOwnSharedIdentityAttributePredecessor),
|
|
75122
75135
|
successor: AttributeMapper_1.AttributeMapper.toAttributeDTO(ownSharedIdentityAttributeSuccessor),
|
|
75123
|
-
notificationId: notificationId
|
|
75136
|
+
notificationId: notificationId.toString()
|
|
75124
75137
|
};
|
|
75125
75138
|
return ts_utils_1.Result.ok(result);
|
|
75126
75139
|
}
|
|
@@ -75337,7 +75350,7 @@ let SucceedRelationshipAttributeAndNotifyPeerUseCase = class SucceedRelationship
|
|
|
75337
75350
|
const response = {
|
|
75338
75351
|
predecessor: AttributeMapper_1.AttributeMapper.toAttributeDTO(updatedPredecessor),
|
|
75339
75352
|
successor: AttributeMapper_1.AttributeMapper.toAttributeDTO(successor),
|
|
75340
|
-
notificationId: notificationId
|
|
75353
|
+
notificationId: notificationId.toString()
|
|
75341
75354
|
};
|
|
75342
75355
|
return ts_utils_1.Result.ok(response);
|
|
75343
75356
|
}
|