@nmshd/app-runtime 6.48.1 → 6.49.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/dist/AppRuntime.d.ts +4 -12
- package/dist/AppRuntime.d.ts.map +1 -1
- package/dist/AppRuntime.js +5 -21
- package/dist/AppRuntime.js.map +1 -1
- package/dist/AppRuntimeErrors.d.ts +20 -20
- package/dist/AppRuntimeErrors.d.ts.map +1 -1
- package/dist/AppRuntimeErrors.js +20 -20
- package/dist/AppRuntimeErrors.js.map +1 -1
- package/dist/AppStringProcessor.d.ts +6 -10
- package/dist/AppStringProcessor.d.ts.map +1 -1
- package/dist/AppStringProcessor.js +30 -32
- package/dist/AppStringProcessor.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/extensibility/index.d.ts +0 -1
- package/dist/extensibility/index.d.ts.map +1 -1
- package/dist/extensibility/index.js +0 -1
- package/dist/extensibility/index.js.map +1 -1
- package/dist/extensibility/ui/IUIBridge.d.ts +2 -3
- package/dist/extensibility/ui/IUIBridge.d.ts.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/PushNotificationModule.d.ts +0 -2
- package/dist/modules/PushNotificationModule.d.ts.map +1 -1
- package/dist/modules/PushNotificationModule.js +7 -11
- package/dist/modules/PushNotificationModule.js.map +1 -1
- package/dist/modules/appEvents/MailReceivedModule.d.ts +0 -3
- package/dist/modules/appEvents/MailReceivedModule.d.ts.map +1 -1
- package/dist/modules/appEvents/MailReceivedModule.js +1 -5
- package/dist/modules/appEvents/MailReceivedModule.js.map +1 -1
- package/dist/modules/appEvents/OnboardingChangeReceivedModule.d.ts +0 -3
- package/dist/modules/appEvents/OnboardingChangeReceivedModule.d.ts.map +1 -1
- package/dist/modules/appEvents/OnboardingChangeReceivedModule.js +1 -5
- package/dist/modules/appEvents/OnboardingChangeReceivedModule.js.map +1 -1
- package/dist/modules/appEvents/RelationshipTemplateProcessedModule.d.ts.map +1 -1
- package/dist/modules/appEvents/RelationshipTemplateProcessedModule.js +4 -4
- package/dist/modules/appEvents/RelationshipTemplateProcessedModule.js.map +1 -1
- package/dist/modules/runtimeEvents/IdentityDeletionProcessStatusChangedModule.d.ts +0 -3
- package/dist/modules/runtimeEvents/IdentityDeletionProcessStatusChangedModule.d.ts.map +1 -1
- package/dist/modules/runtimeEvents/IdentityDeletionProcessStatusChangedModule.js +1 -5
- package/dist/modules/runtimeEvents/IdentityDeletionProcessStatusChangedModule.js.map +1 -1
- package/dist/modules/runtimeEvents/MessageReceivedModule.d.ts +0 -3
- package/dist/modules/runtimeEvents/MessageReceivedModule.d.ts.map +1 -1
- package/dist/modules/runtimeEvents/MessageReceivedModule.js +1 -5
- package/dist/modules/runtimeEvents/MessageReceivedModule.js.map +1 -1
- package/dist/modules/runtimeEvents/RelationshipChangedModule.d.ts +0 -3
- package/dist/modules/runtimeEvents/RelationshipChangedModule.d.ts.map +1 -1
- package/dist/modules/runtimeEvents/RelationshipChangedModule.js +1 -5
- package/dist/modules/runtimeEvents/RelationshipChangedModule.js.map +1 -1
- package/dist/multiAccount/data/LocalAccountSession.d.ts +0 -2
- package/dist/multiAccount/data/LocalAccountSession.d.ts.map +1 -1
- package/dist/natives/INativeEnvironment.d.ts +0 -2
- package/dist/natives/INativeEnvironment.d.ts.map +1 -1
- package/dist/natives/INativeNotificationAccess.d.ts +1 -0
- package/dist/natives/INativeNotificationAccess.d.ts.map +1 -1
- package/dist/natives/index.d.ts +0 -2
- package/dist/natives/index.d.ts.map +1 -1
- package/dist/natives/index.js +0 -2
- package/dist/natives/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/AppRuntimeError.d.ts +0 -6
- package/dist/AppRuntimeError.d.ts.map +0 -1
- package/dist/AppRuntimeError.js +0 -12
- package/dist/AppRuntimeError.js.map +0 -1
- package/dist/AppRuntimeServices.d.ts +0 -6
- package/dist/AppRuntimeServices.d.ts.map +0 -1
- package/dist/AppRuntimeServices.js +0 -3
- package/dist/AppRuntimeServices.js.map +0 -1
- package/dist/UserfriendlyApplicationError.d.ts +0 -8
- package/dist/UserfriendlyApplicationError.d.ts.map +0 -1
- package/dist/UserfriendlyApplicationError.js +0 -18
- package/dist/UserfriendlyApplicationError.js.map +0 -1
- package/dist/UserfriendlyResult.d.ts +0 -5
- package/dist/UserfriendlyResult.d.ts.map +0 -1
- package/dist/UserfriendlyResult.js +0 -8
- package/dist/UserfriendlyResult.js.map +0 -1
- package/dist/extensibility/AppServices.d.ts +0 -8
- package/dist/extensibility/AppServices.d.ts.map +0 -1
- package/dist/extensibility/AppServices.js +0 -11
- package/dist/extensibility/AppServices.js.map +0 -1
- package/dist/extensibility/DVOs/RelationshipItemsDVO.d.ts +0 -4
- package/dist/extensibility/DVOs/RelationshipItemsDVO.d.ts.map +0 -1
- package/dist/extensibility/DVOs/RelationshipItemsDVO.js +0 -3
- package/dist/extensibility/DVOs/RelationshipItemsDVO.js.map +0 -1
- package/dist/extensibility/facades/AppRelationshipFacade.d.ts +0 -18
- package/dist/extensibility/facades/AppRelationshipFacade.d.ts.map +0 -1
- package/dist/extensibility/facades/AppRelationshipFacade.js +0 -60
- package/dist/extensibility/facades/AppRelationshipFacade.js.map +0 -1
- package/dist/extensibility/facades/AppRuntimeFacade.d.ts +0 -14
- package/dist/extensibility/facades/AppRuntimeFacade.d.ts.map +0 -1
- package/dist/extensibility/facades/AppRuntimeFacade.js +0 -29
- package/dist/extensibility/facades/AppRuntimeFacade.js.map +0 -1
- package/dist/extensibility/facades/index.d.ts +0 -2
- package/dist/extensibility/facades/index.d.ts.map +0 -1
- package/dist/extensibility/facades/index.js +0 -18
- package/dist/extensibility/facades/index.js.map +0 -1
- package/dist/natives/INativeConfigAccess.d.ts +0 -8
- package/dist/natives/INativeConfigAccess.d.ts.map +0 -1
- package/dist/natives/INativeConfigAccess.js +0 -3
- package/dist/natives/INativeConfigAccess.js.map +0 -1
- package/dist/natives/INativeTranslationProvider.d.ts +0 -7
- package/dist/natives/INativeTranslationProvider.d.ts.map +0 -1
- package/dist/natives/INativeTranslationProvider.js +0 -3
- package/dist/natives/INativeTranslationProvider.js.map +0 -1
package/dist/natives/index.d.ts
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
export * from "./events";
|
2
2
|
export * from "./INativeBootstrapper";
|
3
|
-
export * from "./INativeConfigAccess";
|
4
3
|
export * from "./INativeEnvironment";
|
5
4
|
export * from "./INativeNotificationAccess";
|
6
|
-
export * from "./INativeTranslationProvider";
|
7
5
|
export * from "./NativeEvent";
|
8
6
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/natives/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/natives/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC"}
|
package/dist/natives/index.js
CHANGED
@@ -16,9 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./events"), exports);
|
18
18
|
__exportStar(require("./INativeBootstrapper"), exports);
|
19
|
-
__exportStar(require("./INativeConfigAccess"), exports);
|
20
19
|
__exportStar(require("./INativeEnvironment"), exports);
|
21
20
|
__exportStar(require("./INativeNotificationAccess"), exports);
|
22
|
-
__exportStar(require("./INativeTranslationProvider"), exports);
|
23
21
|
__exportStar(require("./NativeEvent"), exports);
|
24
22
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/natives/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,wDAAsC;AACtC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/natives/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,gDAA8B"}
|
package/package.json
CHANGED
@@ -53,13 +53,13 @@
|
|
53
53
|
},
|
54
54
|
"dependencies": {
|
55
55
|
"@js-soft/docdb-access-loki": "^1.2.0",
|
56
|
-
"@nmshd/runtime": "6.
|
56
|
+
"@nmshd/runtime": "6.49.0",
|
57
57
|
"eventsource": "^4.0.0",
|
58
58
|
"lodash": "^4.17.21"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
61
|
"@js-soft/node-logger": "^1.2.0",
|
62
|
-
"@types/lodash": "^4.17.
|
62
|
+
"@types/lodash": "^4.17.17",
|
63
63
|
"@types/lokijs": "^1.5.14",
|
64
64
|
"@types/luxon": "^3.6.2"
|
65
65
|
},
|
@@ -67,5 +67,5 @@
|
|
67
67
|
"access": "public",
|
68
68
|
"provenance": true
|
69
69
|
},
|
70
|
-
"version": "6.
|
70
|
+
"version": "6.49.0"
|
71
71
|
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { ILogger } from "@js-soft/logging-abstractions";
|
2
|
-
import { ApplicationError } from "@js-soft/ts-utils";
|
3
|
-
export declare class AppRuntimeError extends ApplicationError {
|
4
|
-
logWith(logger: ILogger): ApplicationError;
|
5
|
-
}
|
6
|
-
//# sourceMappingURL=AppRuntimeError.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRuntimeError.d.ts","sourceRoot":"","sources":["../src/AppRuntimeError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,qBAAa,eAAgB,SAAQ,gBAAgB;IAC1C,OAAO,CAAC,MAAM,EAAE,OAAO,GAAG,gBAAgB;CAIpD"}
|
package/dist/AppRuntimeError.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AppRuntimeError = void 0;
|
4
|
-
const ts_utils_1 = require("@js-soft/ts-utils");
|
5
|
-
class AppRuntimeError extends ts_utils_1.ApplicationError {
|
6
|
-
logWith(logger) {
|
7
|
-
logger.error(logger);
|
8
|
-
return this;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
exports.AppRuntimeError = AppRuntimeError;
|
12
|
-
//# sourceMappingURL=AppRuntimeError.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRuntimeError.js","sourceRoot":"","sources":["../src/AppRuntimeError.ts"],"names":[],"mappings":";;;AACA,gDAAqD;AAErD,MAAa,eAAgB,SAAQ,2BAAgB;IAC1C,OAAO,CAAC,MAAe;QAC1B,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AALD,0CAKC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRuntimeServices.d.ts","sourceRoot":"","sources":["../src/AppRuntimeServices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACvD,WAAW,EAAE,WAAW,CAAC;CAC5B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRuntimeServices.js","sourceRoot":"","sources":["../src/AppRuntimeServices.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ApplicationError } from "@js-soft/ts-utils";
|
2
|
-
import { AppRuntimeError } from "./AppRuntimeError";
|
3
|
-
export declare class UserfriendlyApplicationError extends AppRuntimeError {
|
4
|
-
readonly userfriendlyMessage?: string | undefined;
|
5
|
-
constructor(code: string, message: string, userfriendlyMessage?: string | undefined, data?: any);
|
6
|
-
static fromError(error: ApplicationError, userfriendlyMessage?: string): UserfriendlyApplicationError;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=UserfriendlyApplicationError.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UserfriendlyApplicationError.d.ts","sourceRoot":"","sources":["../src/UserfriendlyApplicationError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,4BAA6B,SAAQ,eAAe;aAIzC,mBAAmB,CAAC,EAAE,MAAM;gBAF5C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACC,mBAAmB,CAAC,EAAE,MAAM,YAAA,EAC5C,IAAI,CAAC,EAAE,GAAG;WAQA,SAAS,CAAC,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,CAAC,EAAE,MAAM,GAAG,4BAA4B;CAG/G"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UserfriendlyApplicationError = void 0;
|
4
|
-
const AppRuntimeError_1 = require("./AppRuntimeError");
|
5
|
-
class UserfriendlyApplicationError extends AppRuntimeError_1.AppRuntimeError {
|
6
|
-
constructor(code, message, userfriendlyMessage, data) {
|
7
|
-
super(code, message, data);
|
8
|
-
this.userfriendlyMessage = userfriendlyMessage;
|
9
|
-
if (!userfriendlyMessage) {
|
10
|
-
this.userfriendlyMessage = `i18n://${code}`;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
static fromError(error, userfriendlyMessage) {
|
14
|
-
return new UserfriendlyApplicationError(error.code, error.message, userfriendlyMessage, error.data);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
exports.UserfriendlyApplicationError = UserfriendlyApplicationError;
|
18
|
-
//# sourceMappingURL=UserfriendlyApplicationError.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UserfriendlyApplicationError.js","sourceRoot":"","sources":["../src/UserfriendlyApplicationError.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,4BAA6B,SAAQ,iCAAe;IAC7D,YACI,IAAY,EACZ,OAAe,EACC,mBAA4B,EAC5C,IAAU;QAEV,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAHX,wBAAmB,GAAnB,mBAAmB,CAAS;QAI5C,IAAI,CAAC,mBAAmB,EAAE,CAAC;YACvB,IAAI,CAAC,mBAAmB,GAAG,UAAU,IAAI,EAAE,CAAC;QAChD,CAAC;IACL,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,KAAuB,EAAE,mBAA4B;QACzE,OAAO,IAAI,4BAA4B,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,mBAAmB,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACxG,CAAC;CACJ;AAhBD,oEAgBC"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { Result } from "@js-soft/ts-utils";
|
2
|
-
import { UserfriendlyApplicationError } from "./UserfriendlyApplicationError";
|
3
|
-
export declare class UserfriendlyResult<T> extends Result<T, UserfriendlyApplicationError> {
|
4
|
-
}
|
5
|
-
//# sourceMappingURL=UserfriendlyResult.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UserfriendlyResult.d.ts","sourceRoot":"","sources":["../src/UserfriendlyResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,qBAAa,kBAAkB,CAAC,CAAC,CAAE,SAAQ,MAAM,CAAC,CAAC,EAAE,4BAA4B,CAAC;CAAG"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UserfriendlyResult = void 0;
|
4
|
-
const ts_utils_1 = require("@js-soft/ts-utils");
|
5
|
-
class UserfriendlyResult extends ts_utils_1.Result {
|
6
|
-
}
|
7
|
-
exports.UserfriendlyResult = UserfriendlyResult;
|
8
|
-
//# sourceMappingURL=UserfriendlyResult.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UserfriendlyResult.js","sourceRoot":"","sources":["../src/UserfriendlyResult.ts"],"names":[],"mappings":";;;AAAA,gDAA2C;AAG3C,MAAa,kBAAsB,SAAQ,iBAAuC;CAAG;AAArF,gDAAqF"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ConsumptionServices, DataViewExpander, TransportServices } from "@nmshd/runtime";
|
2
|
-
import { AppRuntime } from "../AppRuntime";
|
3
|
-
import { AppRelationshipFacade } from "./facades";
|
4
|
-
export declare class AppServices {
|
5
|
-
readonly relationships: AppRelationshipFacade;
|
6
|
-
constructor(appRuntime: AppRuntime, transportServices: TransportServices, consumptionServices: ConsumptionServices, expander: DataViewExpander);
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=AppServices.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppServices.d.ts","sourceRoot":"","sources":["../../src/extensibility/AppServices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,qBAAa,WAAW;IACpB,SAAgB,aAAa,EAAE,qBAAqB,CAAC;gBAElC,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,gBAAgB;CAGxJ"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AppServices = void 0;
|
4
|
-
const facades_1 = require("./facades");
|
5
|
-
class AppServices {
|
6
|
-
constructor(appRuntime, transportServices, consumptionServices, expander) {
|
7
|
-
this.relationships = new facades_1.AppRelationshipFacade(appRuntime, transportServices, consumptionServices, expander);
|
8
|
-
}
|
9
|
-
}
|
10
|
-
exports.AppServices = AppServices;
|
11
|
-
//# sourceMappingURL=AppServices.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppServices.js","sourceRoot":"","sources":["../../src/extensibility/AppServices.ts"],"names":[],"mappings":";;;AAEA,uCAAkD;AAElD,MAAa,WAAW;IAGpB,YAAmB,UAAsB,EAAE,iBAAoC,EAAE,mBAAwC,EAAE,QAA0B;QACjJ,IAAI,CAAC,aAAa,GAAG,IAAI,+BAAqB,CAAC,UAAU,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,QAAQ,CAAC,CAAC;IACjH,CAAC;CACJ;AAND,kCAMC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RelationshipItemsDVO.d.ts","sourceRoot":"","sources":["../../../src/extensibility/DVOs/RelationshipItemsDVO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC;CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RelationshipItemsDVO.js","sourceRoot":"","sources":["../../../src/extensibility/DVOs/RelationshipItemsDVO.ts"],"names":[],"mappings":""}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { AcceptRelationshipRequest, CreateRelationshipRequest, GetRelationshipByAddressRequest, GetRelationshipRequest, GetRelationshipsRequest, IdentityDVO, RejectRelationshipRequest, RevokeRelationshipRequest } from "@nmshd/runtime";
|
2
|
-
import { UserfriendlyResult } from "../../UserfriendlyResult";
|
3
|
-
import { RelationshipItemsDVO } from "../DVOs/RelationshipItemsDVO";
|
4
|
-
import { AppRuntimeFacade } from "./AppRuntimeFacade";
|
5
|
-
export declare class AppRelationshipFacade extends AppRuntimeFacade {
|
6
|
-
renderActiveRelationships(): Promise<UserfriendlyResult<IdentityDVO[]>>;
|
7
|
-
renderAllRelationships(): Promise<UserfriendlyResult<IdentityDVO[]>>;
|
8
|
-
renderRelationship(id: string): Promise<UserfriendlyResult<IdentityDVO>>;
|
9
|
-
renderRelationshipItems(id: string, limit: number): Promise<UserfriendlyResult<RelationshipItemsDVO>>;
|
10
|
-
createRelationship(request: CreateRelationshipRequest): Promise<UserfriendlyResult<IdentityDVO>>;
|
11
|
-
acceptRelationship(request: AcceptRelationshipRequest): Promise<UserfriendlyResult<IdentityDVO>>;
|
12
|
-
rejectRelationship(request: RejectRelationshipRequest): Promise<UserfriendlyResult<IdentityDVO>>;
|
13
|
-
revokeRelationship(request: RevokeRelationshipRequest): Promise<UserfriendlyResult<IdentityDVO>>;
|
14
|
-
getRelationships(request: GetRelationshipsRequest): Promise<UserfriendlyResult<IdentityDVO[]>>;
|
15
|
-
getRelationship(request: GetRelationshipRequest): Promise<UserfriendlyResult<IdentityDVO>>;
|
16
|
-
getRelationshipByAddress(request: GetRelationshipByAddressRequest): Promise<UserfriendlyResult<IdentityDVO>>;
|
17
|
-
}
|
18
|
-
//# sourceMappingURL=AppRelationshipFacade.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRelationshipFacade.d.ts","sourceRoot":"","sources":["../../../src/extensibility/facades/AppRelationshipFacade.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAC/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E,+BAA+B,GAAG,OAAO,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAI5H"}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AppRelationshipFacade = void 0;
|
4
|
-
const UserfriendlyResult_1 = require("../../UserfriendlyResult");
|
5
|
-
const AppRuntimeFacade_1 = require("./AppRuntimeFacade");
|
6
|
-
class AppRelationshipFacade extends AppRuntimeFacade_1.AppRuntimeFacade {
|
7
|
-
async renderActiveRelationships() {
|
8
|
-
return await this.getRelationships({
|
9
|
-
query: { status: "Active" }
|
10
|
-
});
|
11
|
-
}
|
12
|
-
async renderAllRelationships() {
|
13
|
-
return await this.getRelationships({});
|
14
|
-
}
|
15
|
-
async renderRelationship(id) {
|
16
|
-
return await this.getRelationship({ id });
|
17
|
-
}
|
18
|
-
async renderRelationshipItems(id, limit) {
|
19
|
-
const messagesResult = await this.transportServices.messages.getMessages({
|
20
|
-
query: { "recipients.relationshipId": id }
|
21
|
-
});
|
22
|
-
if (messagesResult.isError) {
|
23
|
-
return await this.parseErrorResult(messagesResult);
|
24
|
-
}
|
25
|
-
const dvo = [...(await this.expander.expandMessageDTOs(messagesResult.value))]
|
26
|
-
.sort((m1, m2) => new Date(m2.date ?? 0).valueOf() - new Date(m1.date ?? 0).valueOf())
|
27
|
-
.slice(0, limit);
|
28
|
-
return UserfriendlyResult_1.UserfriendlyResult.ok(dvo);
|
29
|
-
}
|
30
|
-
async createRelationship(request) {
|
31
|
-
const result = await this.transportServices.relationships.createRelationship(request);
|
32
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTO(v));
|
33
|
-
}
|
34
|
-
async acceptRelationship(request) {
|
35
|
-
const result = await this.transportServices.relationships.acceptRelationship(request);
|
36
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTO(v));
|
37
|
-
}
|
38
|
-
async rejectRelationship(request) {
|
39
|
-
const result = await this.transportServices.relationships.rejectRelationship(request);
|
40
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTO(v));
|
41
|
-
}
|
42
|
-
async revokeRelationship(request) {
|
43
|
-
const result = await this.transportServices.relationships.revokeRelationship(request);
|
44
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTO(v));
|
45
|
-
}
|
46
|
-
async getRelationships(request) {
|
47
|
-
const result = await this.transportServices.relationships.getRelationships(request);
|
48
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTOs(v));
|
49
|
-
}
|
50
|
-
async getRelationship(request) {
|
51
|
-
const result = await this.transportServices.relationships.getRelationship(request);
|
52
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTO(v));
|
53
|
-
}
|
54
|
-
async getRelationshipByAddress(request) {
|
55
|
-
const result = await this.transportServices.relationships.getRelationshipByAddress(request);
|
56
|
-
return await this.handleResult(result, (v) => this.expander.expandRelationshipDTO(v));
|
57
|
-
}
|
58
|
-
}
|
59
|
-
exports.AppRelationshipFacade = AppRelationshipFacade;
|
60
|
-
//# sourceMappingURL=AppRelationshipFacade.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRelationshipFacade.js","sourceRoot":"","sources":["../../../src/extensibility/facades/AppRelationshipFacade.ts"],"names":[],"mappings":";;;AAWA,iEAA8D;AAE9D,yDAAsD;AAEtD,MAAa,qBAAsB,SAAQ,mCAAgB;IAChD,KAAK,CAAC,yBAAyB;QAClC,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAAC;YAC/B,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;SAC9B,CAAC,CAAC;IACP,CAAC;IAEM,KAAK,CAAC,sBAAsB;QAC/B,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;IAEM,KAAK,CAAC,kBAAkB,CAAC,EAAU;QACtC,OAAO,MAAM,IAAI,CAAC,eAAe,CAAC,EAAE,EAAE,EAAE,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,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1F,CAAC;IAEM,KAAK,CAAC,wBAAwB,CAAC,OAAwC;QAC1E,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;QAC5F,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1F,CAAC;CACJ;AAhED,sDAgEC"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { Result } from "@js-soft/ts-utils";
|
2
|
-
import { ConsumptionServices, DataViewExpander, TransportServices } from "@nmshd/runtime";
|
3
|
-
import { AppRuntime } from "../../AppRuntime";
|
4
|
-
import { UserfriendlyApplicationError } from "../../UserfriendlyApplicationError";
|
5
|
-
export declare abstract class AppRuntimeFacade {
|
6
|
-
protected readonly runtime: AppRuntime;
|
7
|
-
protected readonly transportServices: TransportServices;
|
8
|
-
protected readonly consumptionServices: ConsumptionServices;
|
9
|
-
protected readonly expander: DataViewExpander;
|
10
|
-
constructor(runtime: AppRuntime, transportServices: TransportServices, consumptionServices: ConsumptionServices, expander: DataViewExpander);
|
11
|
-
protected parseErrorResult<T>(result: Result<any>): Promise<Result<T, UserfriendlyApplicationError>>;
|
12
|
-
protected handleResult<TOriginal, TWanted>(result: Result<TOriginal>, parsingFunction: (value: TOriginal) => Promise<TWanted> | TWanted): Promise<Result<TWanted, UserfriendlyApplicationError>>;
|
13
|
-
}
|
14
|
-
//# sourceMappingURL=AppRuntimeFacade.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRuntimeFacade.d.ts","sourceRoot":"","sources":["../../../src/extensibility/facades/AppRuntimeFacade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAGlF,8BAAsB,gBAAgB;IAE9B,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU;IACtC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB;IAC3D,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB;gBAH1B,OAAO,EAAE,UAAU,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,EACxC,QAAQ,EAAE,gBAAgB;cAGjC,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,4BAA4B,CAAC,CAAC;cAQ1F,YAAY,CAAC,SAAS,EAAE,OAAO,EAC3C,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,EACzB,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,GAClE,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,4BAA4B,CAAC,CAAC;CAQ5D"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AppRuntimeFacade = void 0;
|
4
|
-
const UserfriendlyApplicationError_1 = require("../../UserfriendlyApplicationError");
|
5
|
-
const UserfriendlyResult_1 = require("../../UserfriendlyResult");
|
6
|
-
class AppRuntimeFacade {
|
7
|
-
constructor(runtime, transportServices, consumptionServices, expander) {
|
8
|
-
this.runtime = runtime;
|
9
|
-
this.transportServices = transportServices;
|
10
|
-
this.consumptionServices = consumptionServices;
|
11
|
-
this.expander = expander;
|
12
|
-
}
|
13
|
-
async parseErrorResult(result) {
|
14
|
-
const userfriendlyMessageResult = await this.runtime.translate(result.error.code);
|
15
|
-
if (userfriendlyMessageResult.isSuccess) {
|
16
|
-
return UserfriendlyResult_1.UserfriendlyResult.fail(UserfriendlyApplicationError_1.UserfriendlyApplicationError.fromError(result.error, userfriendlyMessageResult.value));
|
17
|
-
}
|
18
|
-
return UserfriendlyResult_1.UserfriendlyResult.fail(UserfriendlyApplicationError_1.UserfriendlyApplicationError.fromError(result.error, result.error.code));
|
19
|
-
}
|
20
|
-
async handleResult(result, parsingFunction) {
|
21
|
-
if (result.isError) {
|
22
|
-
return await this.parseErrorResult(result);
|
23
|
-
}
|
24
|
-
const parsed = await parsingFunction(result.value);
|
25
|
-
return UserfriendlyResult_1.UserfriendlyResult.ok(parsed);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
exports.AppRuntimeFacade = AppRuntimeFacade;
|
29
|
-
//# sourceMappingURL=AppRuntimeFacade.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"AppRuntimeFacade.js","sourceRoot":"","sources":["../../../src/extensibility/facades/AppRuntimeFacade.ts"],"names":[],"mappings":";;;AAGA,qFAAkF;AAClF,iEAA8D;AAE9D,MAAsB,gBAAgB;IAClC,YACuB,OAAmB,EACnB,iBAAoC,EACpC,mBAAwC,EACxC,QAA0B;QAH1B,YAAO,GAAP,OAAO,CAAY;QACnB,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,aAAQ,GAAR,QAAQ,CAAkB;IAC9C,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAI,MAAmB;QACnD,MAAM,yBAAyB,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAClF,IAAI,yBAAyB,CAAC,SAAS,EAAE,CAAC;YACtC,OAAO,uCAAkB,CAAC,IAAI,CAAkC,2DAA4B,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,yBAAyB,CAAC,KAAK,CAAC,CAAC,CAAC;QAC3J,CAAC;QACD,OAAO,uCAAkB,CAAC,IAAI,CAAkC,2DAA4B,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7I,CAAC;IAES,KAAK,CAAC,YAAY,CACxB,MAAyB,EACzB,eAAiE;QAEjE,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAAU,MAAM,CAAC,CAAC;QACxD,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACnD,OAAO,uCAAkB,CAAC,EAAE,CAAwC,MAAM,CAAC,CAAC;IAChF,CAAC;CACJ;AA3BD,4CA2BC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/extensibility/facades/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
@@ -1,18 +0,0 @@
|
|
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("./AppRelationshipFacade"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/extensibility/facades/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Result } from "@js-soft/ts-utils";
|
2
|
-
export interface INativeConfigAccess {
|
3
|
-
get(key: string): Result<any>;
|
4
|
-
set(key: string, value: any): Result<void>;
|
5
|
-
remove(key: string): Result<void>;
|
6
|
-
save(): Promise<Result<void>>;
|
7
|
-
}
|
8
|
-
//# sourceMappingURL=INativeConfigAccess.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"INativeConfigAccess.d.ts","sourceRoot":"","sources":["../../src/natives/INativeConfigAccess.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,WAAW,mBAAmB;IAChC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC9B,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;CACjC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"INativeConfigAccess.js","sourceRoot":"","sources":["../../src/natives/INativeConfigAccess.ts"],"names":[],"mappings":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Result } from "@js-soft/ts-utils";
|
2
|
-
export interface INativeTranslationProvider {
|
3
|
-
translate(key: string, ...values: (string | number | boolean | {
|
4
|
-
toString: Function;
|
5
|
-
})[]): Promise<Result<string>>;
|
6
|
-
}
|
7
|
-
//# sourceMappingURL=INativeTranslationProvider.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"INativeTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/natives/INativeTranslationProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,WAAW,0BAA0B;IACvC,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,CAAC,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;CACtH"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"INativeTranslationProvider.js","sourceRoot":"","sources":["../../src/natives/INativeTranslationProvider.ts"],"names":[],"mappings":""}
|