infinity-forge 0.31.0 → 0.31.1
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,9 +1,9 @@
|
|
|
1
1
|
import * as domain from '../../../../system/domain/index.js';
|
|
2
|
-
import
|
|
2
|
+
import { makeApiURL } from '../../../../system/container/infra/make-api-url.js';
|
|
3
3
|
export declare class RemoteNotifications implements domain.LoadNoReadNotifications, domain.CreateNotification, domain.LoadAllNotifications, domain.ReadNotifications {
|
|
4
4
|
private readonly makeApiURL;
|
|
5
5
|
private readonly httpClient;
|
|
6
|
-
constructor(makeApiURL:
|
|
6
|
+
constructor(makeApiURL: makeApiURL, httpClient: domain.HttpClient);
|
|
7
7
|
loadAll(params: domain.LoadAllNotifications.Params): Promise<any>;
|
|
8
8
|
create(params: domain.CreateNotification.Params): Promise<domain.CreateNotification.Model>;
|
|
9
9
|
loadNoRead(): Promise<domain.LoadNoReadNotifications.Model>;
|
|
@@ -73,7 +73,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
73
73
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
74
74
|
exports.RemoteNotifications = void 0;
|
|
75
75
|
var inversify_1 = require("inversify");
|
|
76
|
-
var
|
|
76
|
+
var domain = __importStar(require("../../../../system/domain/index.js"));
|
|
77
|
+
var types_1 = require("../../../../system/container/infra/types.js");
|
|
78
|
+
var make_api_url_1 = require("../../../../system/container/infra/make-api-url.js");
|
|
77
79
|
var RemoteNotifications = /** @class */ (function () {
|
|
78
80
|
function RemoteNotifications(makeApiURL, httpClient) {
|
|
79
81
|
this.makeApiURL = makeApiURL;
|
|
@@ -148,9 +150,9 @@ var RemoteNotifications = /** @class */ (function () {
|
|
|
148
150
|
};
|
|
149
151
|
RemoteNotifications = __decorate([
|
|
150
152
|
(0, inversify_1.injectable)(),
|
|
151
|
-
__param(0, (0, inversify_1.inject)(
|
|
152
|
-
__param(1, (0, inversify_1.inject)(
|
|
153
|
-
__metadata("design:paramtypes", [
|
|
153
|
+
__param(0, (0, inversify_1.inject)(types_1.InfraTypes.makeApiURL)),
|
|
154
|
+
__param(1, (0, inversify_1.inject)(types_1.InfraTypes.authorizeAdminHttp)),
|
|
155
|
+
__metadata("design:paramtypes", [make_api_url_1.makeApiURL, Object])
|
|
154
156
|
], RemoteNotifications);
|
|
155
157
|
return RemoteNotifications;
|
|
156
158
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-notifications.js","sourceRoot":"","sources":["../../../../../src/system/data/use-cases/notifications/remote-notifications.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA8C;
|
|
1
|
+
{"version":3,"file":"remote-notifications.js","sourceRoot":"","sources":["../../../../../src/system/data/use-cases/notifications/remote-notifications.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA8C;AAE9C,sDAAyC;AACzC,wDAA2D;AAC3D,sEAAkE;AAGlE;IAOE,6BACkD,UAAsB,EACd,UAA6B;QADrC,eAAU,GAAV,UAAU,CAAY;QACd,eAAU,GAAV,UAAU,CAAmB;IACpF,CAAC;IAEE,qCAAO,GAAb,UAAc,MAA0C;;;;;4BACrC,qBAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;4BAC7C,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC;4BAC1C,MAAM,EAAE,KAAK;4BACb,IAAI,EAAE,MAAM;yBACb,CAAC,EAAA;;wBAJI,QAAQ,GAAG,SAIf;wBAEF,sBAAO,QAAQ,CAAC,IAAI,EAAA;;;;KACrB;IAEK,oCAAM,GAAZ,UAAa,MAAwC;;;;;4BAClC,qBAAM,IAAI,CAAC,UAAU,CAAC,OAAO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