@plyaz/core 1.19.1 → 1.19.2
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/backend/index.d.ts +1 -0
- package/dist/backend/index.d.ts.map +1 -1
- package/dist/backend/notifications/index.d.ts +1 -0
- package/dist/backend/notifications/index.d.ts.map +1 -1
- package/dist/entry-backend.cjs +198 -126
- package/dist/entry-backend.cjs.map +1 -1
- package/dist/entry-backend.d.ts +1 -0
- package/dist/entry-backend.d.ts.map +1 -1
- package/dist/entry-backend.mjs +67 -4
- package/dist/entry-backend.mjs.map +1 -1
- package/dist/index.cjs +1150 -154
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1016 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/backend/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/backend/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/backend/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;AAExB,cAAc,iBAAiB,CAAC;AAGhC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,+BAA+B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Notifications Backend Module Exports
|
|
3
3
|
*/
|
|
4
|
+
export { BackendNotificationsDomainService, backendNotificationsDomainService, getBackendNotificationsDomainService, resetNotificationsDomainService, } from '../../domain/notifications';
|
|
4
5
|
export { NotificationsModule, BACKEND_NOTIFICATIONS_DOMAIN_SERVICE } from './notifications.module';
|
|
5
6
|
export { NotificationsController } from './notifications.controller';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/backend/notifications/index.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/backend/notifications/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,mBAAmB,EAAE,oCAAoC,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/entry-backend.cjs
CHANGED
|
@@ -15701,13 +15701,13 @@ var init_notifications = __esm({
|
|
|
15701
15701
|
// src/domain/notifications/BackendNotificationsDomainService.ts
|
|
15702
15702
|
var BackendNotificationsDomainService_exports = {};
|
|
15703
15703
|
__export(BackendNotificationsDomainService_exports, {
|
|
15704
|
-
BackendNotificationsDomainService: () => BackendNotificationsDomainService,
|
|
15705
|
-
backendNotificationsDomainService: () => backendNotificationsDomainService,
|
|
15704
|
+
BackendNotificationsDomainService: () => exports.BackendNotificationsDomainService,
|
|
15705
|
+
backendNotificationsDomainService: () => exports.backendNotificationsDomainService,
|
|
15706
15706
|
getBackendNotificationsDomainService: () => getBackendNotificationsDomainService,
|
|
15707
15707
|
resetNotificationsDomainService: () => resetNotificationsDomainService
|
|
15708
15708
|
});
|
|
15709
15709
|
async function getBackendNotificationsDomainService(config, options) {
|
|
15710
|
-
_instance4 ??= await BackendNotificationsDomainService.create(config, options);
|
|
15710
|
+
_instance4 ??= await exports.BackendNotificationsDomainService.create(config, options);
|
|
15711
15711
|
return _instance4;
|
|
15712
15712
|
}
|
|
15713
15713
|
function resetNotificationsDomainService() {
|
|
@@ -15716,7 +15716,7 @@ function resetNotificationsDomainService() {
|
|
|
15716
15716
|
_instance4 = null;
|
|
15717
15717
|
}
|
|
15718
15718
|
}
|
|
15719
|
-
var
|
|
15719
|
+
exports.BackendNotificationsDomainService = void 0; var _instance4; exports.backendNotificationsDomainService = void 0;
|
|
15720
15720
|
var init_BackendNotificationsDomainService = __esm({
|
|
15721
15721
|
"src/domain/notifications/BackendNotificationsDomainService.ts"() {
|
|
15722
15722
|
init_base();
|
|
@@ -15725,7 +15725,7 @@ var init_BackendNotificationsDomainService = __esm({
|
|
|
15725
15725
|
init_notifications();
|
|
15726
15726
|
init_NotificationsMapper();
|
|
15727
15727
|
init_NotificationsValidator();
|
|
15728
|
-
BackendNotificationsDomainService = class _BackendNotificationsDomainService extends exports.BaseBackendDomainService {
|
|
15728
|
+
exports.BackendNotificationsDomainService = class _BackendNotificationsDomainService extends exports.BaseBackendDomainService {
|
|
15729
15729
|
// ─────────────────────────────────────────────────────────────────────────
|
|
15730
15730
|
// Constructor
|
|
15731
15731
|
// ─────────────────────────────────────────────────────────────────────────
|
|
@@ -15961,7 +15961,7 @@ var init_BackendNotificationsDomainService = __esm({
|
|
|
15961
15961
|
};
|
|
15962
15962
|
_instance4 = null;
|
|
15963
15963
|
__name(getBackendNotificationsDomainService, "getBackendNotificationsDomainService");
|
|
15964
|
-
backendNotificationsDomainService = new BackendNotificationsDomainService();
|
|
15964
|
+
exports.backendNotificationsDomainService = new exports.BackendNotificationsDomainService();
|
|
15965
15965
|
__name(resetNotificationsDomainService, "resetNotificationsDomainService");
|
|
15966
15966
|
}
|
|
15967
15967
|
});
|
|
@@ -17800,10 +17800,10 @@ var require_shared_utils = __commonJS({
|
|
|
17800
17800
|
var require_controller_decorator = __commonJS({
|
|
17801
17801
|
"node_modules/.pnpm/@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.14.3_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/decorators/core/controller.decorator.js"(exports$1) {
|
|
17802
17802
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
17803
|
-
exports$1.Controller =
|
|
17803
|
+
exports$1.Controller = Controller5;
|
|
17804
17804
|
var constants_1 = require_constants();
|
|
17805
17805
|
var shared_utils_1 = require_shared_utils();
|
|
17806
|
-
function
|
|
17806
|
+
function Controller5(prefixOrOptions) {
|
|
17807
17807
|
const defaultPath = "/";
|
|
17808
17808
|
const [path2, host, scopeOptions, versionOptions] = (0, shared_utils_1.isUndefined)(prefixOrOptions) ? [defaultPath, void 0, void 0, void 0] : (0, shared_utils_1.isString)(prefixOrOptions) || Array.isArray(prefixOrOptions) ? [prefixOrOptions, void 0, void 0, void 0] : [
|
|
17809
17809
|
prefixOrOptions.path || defaultPath,
|
|
@@ -17819,7 +17819,7 @@ var require_controller_decorator = __commonJS({
|
|
|
17819
17819
|
Reflect.defineMetadata(constants_1.VERSION_METADATA, versionOptions, target);
|
|
17820
17820
|
};
|
|
17821
17821
|
}
|
|
17822
|
-
__name(
|
|
17822
|
+
__name(Controller5, "Controller");
|
|
17823
17823
|
}
|
|
17824
17824
|
});
|
|
17825
17825
|
|
|
@@ -17925,10 +17925,10 @@ var require_exception_filters_decorator = __commonJS({
|
|
|
17925
17925
|
var require_inject_decorator = __commonJS({
|
|
17926
17926
|
"node_modules/.pnpm/@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.14.3_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/decorators/core/inject.decorator.js"(exports$1) {
|
|
17927
17927
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
17928
|
-
exports$1.Inject =
|
|
17928
|
+
exports$1.Inject = Inject7;
|
|
17929
17929
|
var constants_1 = require_constants();
|
|
17930
17930
|
var shared_utils_1 = require_shared_utils();
|
|
17931
|
-
function
|
|
17931
|
+
function Inject7(token) {
|
|
17932
17932
|
const injectCallHasArguments = arguments.length > 0;
|
|
17933
17933
|
return (target, key, index) => {
|
|
17934
17934
|
let type = token || Reflect.getMetadata("design:type", target, key);
|
|
@@ -17946,7 +17946,7 @@ var require_inject_decorator = __commonJS({
|
|
|
17946
17946
|
Reflect.defineMetadata(constants_1.PROPERTY_DEPS_METADATA, properties, target.constructor);
|
|
17947
17947
|
};
|
|
17948
17948
|
}
|
|
17949
|
-
__name(
|
|
17949
|
+
__name(Inject7, "Inject");
|
|
17950
17950
|
}
|
|
17951
17951
|
});
|
|
17952
17952
|
|
|
@@ -18226,9 +18226,9 @@ var require_validate_module_keys_util = __commonJS({
|
|
|
18226
18226
|
var require_module_decorator = __commonJS({
|
|
18227
18227
|
"node_modules/.pnpm/@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.14.3_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/decorators/modules/module.decorator.js"(exports$1) {
|
|
18228
18228
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18229
|
-
exports$1.Module =
|
|
18229
|
+
exports$1.Module = Module5;
|
|
18230
18230
|
var validate_module_keys_util_1 = require_validate_module_keys_util();
|
|
18231
|
-
function
|
|
18231
|
+
function Module5(metadata) {
|
|
18232
18232
|
const propsKeys = Object.keys(metadata);
|
|
18233
18233
|
(0, validate_module_keys_util_1.validateModuleKeys)(propsKeys);
|
|
18234
18234
|
return (target) => {
|
|
@@ -18239,7 +18239,7 @@ var require_module_decorator = __commonJS({
|
|
|
18239
18239
|
}
|
|
18240
18240
|
};
|
|
18241
18241
|
}
|
|
18242
|
-
__name(
|
|
18242
|
+
__name(Module5, "Module");
|
|
18243
18243
|
}
|
|
18244
18244
|
});
|
|
18245
18245
|
|
|
@@ -18360,10 +18360,10 @@ var require_route_params_decorator = __commonJS({
|
|
|
18360
18360
|
exports$1.assignMetadata = assignMetadata;
|
|
18361
18361
|
exports$1.UploadedFile = UploadedFile;
|
|
18362
18362
|
exports$1.UploadedFiles = UploadedFiles;
|
|
18363
|
-
exports$1.Query =
|
|
18363
|
+
exports$1.Query = Query2;
|
|
18364
18364
|
exports$1.Body = Body4;
|
|
18365
18365
|
exports$1.RawBody = RawBody;
|
|
18366
|
-
exports$1.Param =
|
|
18366
|
+
exports$1.Param = Param5;
|
|
18367
18367
|
exports$1.HostParam = HostParam;
|
|
18368
18368
|
var constants_1 = require_constants();
|
|
18369
18369
|
var route_paramtypes_enum_1 = require_route_paramtypes_enum();
|
|
@@ -18413,10 +18413,10 @@ var require_route_params_decorator = __commonJS({
|
|
|
18413
18413
|
}
|
|
18414
18414
|
__name(UploadedFiles, "UploadedFiles");
|
|
18415
18415
|
exports$1.Headers = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.HEADERS);
|
|
18416
|
-
function
|
|
18416
|
+
function Query2(property, ...pipes) {
|
|
18417
18417
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.QUERY)(property, ...pipes);
|
|
18418
18418
|
}
|
|
18419
|
-
__name(
|
|
18419
|
+
__name(Query2, "Query");
|
|
18420
18420
|
function Body4(property, ...pipes) {
|
|
18421
18421
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.BODY)(property, ...pipes);
|
|
18422
18422
|
}
|
|
@@ -18425,10 +18425,10 @@ var require_route_params_decorator = __commonJS({
|
|
|
18425
18425
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.RAW_BODY)(void 0, ...pipes);
|
|
18426
18426
|
}
|
|
18427
18427
|
__name(RawBody, "RawBody");
|
|
18428
|
-
function
|
|
18428
|
+
function Param5(property, ...pipes) {
|
|
18429
18429
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.PARAM)(property, ...pipes);
|
|
18430
18430
|
}
|
|
18431
|
-
__name(
|
|
18431
|
+
__name(Param5, "Param");
|
|
18432
18432
|
function HostParam(property) {
|
|
18433
18433
|
return createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.HOST)(property);
|
|
18434
18434
|
}
|
|
@@ -18442,15 +18442,15 @@ var require_route_params_decorator = __commonJS({
|
|
|
18442
18442
|
var require_http_code_decorator = __commonJS({
|
|
18443
18443
|
"node_modules/.pnpm/@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.14.3_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/decorators/http/http-code.decorator.js"(exports$1) {
|
|
18444
18444
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18445
|
-
exports$1.HttpCode =
|
|
18445
|
+
exports$1.HttpCode = HttpCode4;
|
|
18446
18446
|
var constants_1 = require_constants();
|
|
18447
|
-
function
|
|
18447
|
+
function HttpCode4(statusCode) {
|
|
18448
18448
|
return (target, key, descriptor) => {
|
|
18449
18449
|
Reflect.defineMetadata(constants_1.HTTP_CODE_METADATA, statusCode, descriptor.value);
|
|
18450
18450
|
return descriptor;
|
|
18451
18451
|
};
|
|
18452
18452
|
}
|
|
18453
|
-
__name(
|
|
18453
|
+
__name(HttpCode4, "HttpCode");
|
|
18454
18454
|
}
|
|
18455
18455
|
});
|
|
18456
18456
|
|
|
@@ -18603,64 +18603,64 @@ var require_http_status_enum = __commonJS({
|
|
|
18603
18603
|
"node_modules/.pnpm/@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.14.3_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/enums/http-status.enum.js"(exports$1) {
|
|
18604
18604
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18605
18605
|
exports$1.HttpStatus = void 0;
|
|
18606
|
-
var
|
|
18607
|
-
(function(
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
})(
|
|
18606
|
+
var HttpStatus4;
|
|
18607
|
+
(function(HttpStatus5) {
|
|
18608
|
+
HttpStatus5[HttpStatus5["CONTINUE"] = 100] = "CONTINUE";
|
|
18609
|
+
HttpStatus5[HttpStatus5["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
18610
|
+
HttpStatus5[HttpStatus5["PROCESSING"] = 102] = "PROCESSING";
|
|
18611
|
+
HttpStatus5[HttpStatus5["EARLYHINTS"] = 103] = "EARLYHINTS";
|
|
18612
|
+
HttpStatus5[HttpStatus5["OK"] = 200] = "OK";
|
|
18613
|
+
HttpStatus5[HttpStatus5["CREATED"] = 201] = "CREATED";
|
|
18614
|
+
HttpStatus5[HttpStatus5["ACCEPTED"] = 202] = "ACCEPTED";
|
|
18615
|
+
HttpStatus5[HttpStatus5["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
|
|
18616
|
+
HttpStatus5[HttpStatus5["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
18617
|
+
HttpStatus5[HttpStatus5["RESET_CONTENT"] = 205] = "RESET_CONTENT";
|
|
18618
|
+
HttpStatus5[HttpStatus5["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
|
|
18619
|
+
HttpStatus5[HttpStatus5["MULTI_STATUS"] = 207] = "MULTI_STATUS";
|
|
18620
|
+
HttpStatus5[HttpStatus5["ALREADY_REPORTED"] = 208] = "ALREADY_REPORTED";
|
|
18621
|
+
HttpStatus5[HttpStatus5["CONTENT_DIFFERENT"] = 210] = "CONTENT_DIFFERENT";
|
|
18622
|
+
HttpStatus5[HttpStatus5["AMBIGUOUS"] = 300] = "AMBIGUOUS";
|
|
18623
|
+
HttpStatus5[HttpStatus5["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
|
|
18624
|
+
HttpStatus5[HttpStatus5["FOUND"] = 302] = "FOUND";
|
|
18625
|
+
HttpStatus5[HttpStatus5["SEE_OTHER"] = 303] = "SEE_OTHER";
|
|
18626
|
+
HttpStatus5[HttpStatus5["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
|
|
18627
|
+
HttpStatus5[HttpStatus5["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
|
|
18628
|
+
HttpStatus5[HttpStatus5["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
|
|
18629
|
+
HttpStatus5[HttpStatus5["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
18630
|
+
HttpStatus5[HttpStatus5["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
18631
|
+
HttpStatus5[HttpStatus5["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
|
|
18632
|
+
HttpStatus5[HttpStatus5["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
18633
|
+
HttpStatus5[HttpStatus5["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
18634
|
+
HttpStatus5[HttpStatus5["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
|
|
18635
|
+
HttpStatus5[HttpStatus5["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
|
|
18636
|
+
HttpStatus5[HttpStatus5["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
18637
|
+
HttpStatus5[HttpStatus5["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
|
|
18638
|
+
HttpStatus5[HttpStatus5["CONFLICT"] = 409] = "CONFLICT";
|
|
18639
|
+
HttpStatus5[HttpStatus5["GONE"] = 410] = "GONE";
|
|
18640
|
+
HttpStatus5[HttpStatus5["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
|
|
18641
|
+
HttpStatus5[HttpStatus5["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
|
|
18642
|
+
HttpStatus5[HttpStatus5["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
|
|
18643
|
+
HttpStatus5[HttpStatus5["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
|
|
18644
|
+
HttpStatus5[HttpStatus5["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
|
|
18645
|
+
HttpStatus5[HttpStatus5["REQUESTED_RANGE_NOT_SATISFIABLE"] = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE";
|
|
18646
|
+
HttpStatus5[HttpStatus5["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
|
|
18647
|
+
HttpStatus5[HttpStatus5["I_AM_A_TEAPOT"] = 418] = "I_AM_A_TEAPOT";
|
|
18648
|
+
HttpStatus5[HttpStatus5["MISDIRECTED"] = 421] = "MISDIRECTED";
|
|
18649
|
+
HttpStatus5[HttpStatus5["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
|
|
18650
|
+
HttpStatus5[HttpStatus5["LOCKED"] = 423] = "LOCKED";
|
|
18651
|
+
HttpStatus5[HttpStatus5["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
|
|
18652
|
+
HttpStatus5[HttpStatus5["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
|
|
18653
|
+
HttpStatus5[HttpStatus5["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
|
|
18654
|
+
HttpStatus5[HttpStatus5["UNRECOVERABLE_ERROR"] = 456] = "UNRECOVERABLE_ERROR";
|
|
18655
|
+
HttpStatus5[HttpStatus5["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
18656
|
+
HttpStatus5[HttpStatus5["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
|
|
18657
|
+
HttpStatus5[HttpStatus5["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
|
|
18658
|
+
HttpStatus5[HttpStatus5["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
|
|
18659
|
+
HttpStatus5[HttpStatus5["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
|
|
18660
|
+
HttpStatus5[HttpStatus5["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
|
|
18661
|
+
HttpStatus5[HttpStatus5["INSUFFICIENT_STORAGE"] = 507] = "INSUFFICIENT_STORAGE";
|
|
18662
|
+
HttpStatus5[HttpStatus5["LOOP_DETECTED"] = 508] = "LOOP_DETECTED";
|
|
18663
|
+
})(HttpStatus4 || (exports$1.HttpStatus = HttpStatus4 = {}));
|
|
18664
18664
|
}
|
|
18665
18665
|
});
|
|
18666
18666
|
|
|
@@ -49289,6 +49289,7 @@ init_BaseValidator();
|
|
|
49289
49289
|
init_mapperUtils();
|
|
49290
49290
|
init_BackendExampleDomainService();
|
|
49291
49291
|
init_BackendFilesDomainService();
|
|
49292
|
+
init_BackendNotificationsDomainService();
|
|
49292
49293
|
|
|
49293
49294
|
// src/engine/featureFlags/engine.ts
|
|
49294
49295
|
init_common();
|
|
@@ -50582,6 +50583,74 @@ exports.FilesModule = __decorateClass([
|
|
|
50582
50583
|
})
|
|
50583
50584
|
], exports.FilesModule);
|
|
50584
50585
|
|
|
50586
|
+
// src/domain/notifications/index.ts
|
|
50587
|
+
init_BackendNotificationsDomainService();
|
|
50588
|
+
init_FrontendNotificationsDomainService();
|
|
50589
|
+
init_NotificationsMapper();
|
|
50590
|
+
init_NotificationsValidator();
|
|
50591
|
+
init_streaming2();
|
|
50592
|
+
|
|
50593
|
+
// src/backend/notifications/notifications.module.ts
|
|
50594
|
+
var import_common15 = __toESM(require_common(), 1);
|
|
50595
|
+
|
|
50596
|
+
// src/backend/notifications/notifications.controller.ts
|
|
50597
|
+
var import_common14 = __toESM(require_common(), 1);
|
|
50598
|
+
var BACKEND_NOTIFICATIONS_DOMAIN_SERVICE = "BACKEND_NOTIFICATIONS_DOMAIN_SERVICE";
|
|
50599
|
+
exports.NotificationsController = class NotificationsController {
|
|
50600
|
+
constructor(notificationsService) {
|
|
50601
|
+
this.notificationsService = notificationsService;
|
|
50602
|
+
}
|
|
50603
|
+
health() {
|
|
50604
|
+
return errors.SuccessResponseStandard("Service is healthy", {
|
|
50605
|
+
service: this.notificationsService.isAvailable(),
|
|
50606
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
50607
|
+
});
|
|
50608
|
+
}
|
|
50609
|
+
async findAll(query) {
|
|
50610
|
+
const entities = await this.notificationsService.getAll(query);
|
|
50611
|
+
return errors.SuccessResponseStandard("Notifications retrieved successfully", entities);
|
|
50612
|
+
}
|
|
50613
|
+
async remove(id) {
|
|
50614
|
+
await this.notificationsService.delete(id);
|
|
50615
|
+
return errors.SuccessResponseStandard("Notification deleted successfully", null);
|
|
50616
|
+
}
|
|
50617
|
+
};
|
|
50618
|
+
__name(exports.NotificationsController, "NotificationsController");
|
|
50619
|
+
__decorateClass([
|
|
50620
|
+
(0, import_common14.Get)("health")
|
|
50621
|
+
], exports.NotificationsController.prototype, "health", 1);
|
|
50622
|
+
__decorateClass([
|
|
50623
|
+
(0, import_common14.Get)(),
|
|
50624
|
+
__decorateParam(0, (0, import_common14.Query)())
|
|
50625
|
+
], exports.NotificationsController.prototype, "findAll", 1);
|
|
50626
|
+
__decorateClass([
|
|
50627
|
+
(0, import_common14.Delete)(":id"),
|
|
50628
|
+
(0, import_common14.HttpCode)(import_common14.HttpStatus.OK),
|
|
50629
|
+
__decorateParam(0, (0, import_common14.Param)("id"))
|
|
50630
|
+
], exports.NotificationsController.prototype, "remove", 1);
|
|
50631
|
+
exports.NotificationsController = __decorateClass([
|
|
50632
|
+
(0, import_common14.Controller)("notifications"),
|
|
50633
|
+
__decorateParam(0, (0, import_common14.Inject)(BACKEND_NOTIFICATIONS_DOMAIN_SERVICE))
|
|
50634
|
+
], exports.NotificationsController);
|
|
50635
|
+
|
|
50636
|
+
// src/backend/notifications/notifications.module.ts
|
|
50637
|
+
exports.NotificationsModule = class NotificationsModule {
|
|
50638
|
+
};
|
|
50639
|
+
__name(exports.NotificationsModule, "NotificationsModule");
|
|
50640
|
+
exports.NotificationsModule = __decorateClass([
|
|
50641
|
+
(0, import_common15.Module)({
|
|
50642
|
+
controllers: [exports.NotificationsController],
|
|
50643
|
+
providers: [
|
|
50644
|
+
// Provide BackendNotificationsDomainService via factory using the singleton instance
|
|
50645
|
+
{
|
|
50646
|
+
provide: BACKEND_NOTIFICATIONS_DOMAIN_SERVICE,
|
|
50647
|
+
useFactory: /* @__PURE__ */ __name(() => exports.backendNotificationsDomainService, "useFactory")
|
|
50648
|
+
}
|
|
50649
|
+
],
|
|
50650
|
+
exports: [BACKEND_NOTIFICATIONS_DOMAIN_SERVICE]
|
|
50651
|
+
})
|
|
50652
|
+
], exports.NotificationsModule);
|
|
50653
|
+
|
|
50585
50654
|
// src/backend/featureFlags/FeatureFlagDomainService.ts
|
|
50586
50655
|
init_base();
|
|
50587
50656
|
init_CoreEventManager();
|
|
@@ -50862,10 +50931,10 @@ var FeatureFlagDomainService = class extends exports.BaseDomainService {
|
|
|
50862
50931
|
};
|
|
50863
50932
|
|
|
50864
50933
|
// src/backend/featureFlags/feature-flag.module.ts
|
|
50865
|
-
var
|
|
50934
|
+
var import_common17 = __toESM(require_common(), 1);
|
|
50866
50935
|
|
|
50867
50936
|
// src/backend/featureFlags/feature-flag.controller.ts
|
|
50868
|
-
var
|
|
50937
|
+
var import_common16 = __toESM(require_common(), 1);
|
|
50869
50938
|
var FeatureFlagService = class {
|
|
50870
50939
|
constructor(provider, config) {
|
|
50871
50940
|
this.provider = provider;
|
|
@@ -54124,54 +54193,54 @@ exports.FeatureFlagController = class FeatureFlagController {
|
|
|
54124
54193
|
};
|
|
54125
54194
|
__name(exports.FeatureFlagController, "FeatureFlagController");
|
|
54126
54195
|
__decorateClass([
|
|
54127
|
-
(0,
|
|
54128
|
-
__decorateParam(0, (0,
|
|
54129
|
-
__decorateParam(1, (0,
|
|
54196
|
+
(0, import_common16.Post)(":key/evaluate"),
|
|
54197
|
+
__decorateParam(0, (0, import_common16.Param)("key")),
|
|
54198
|
+
__decorateParam(1, (0, import_common16.Body)())
|
|
54130
54199
|
], exports.FeatureFlagController.prototype, "evaluateFlag", 1);
|
|
54131
54200
|
__decorateClass([
|
|
54132
|
-
(0,
|
|
54133
|
-
__decorateParam(0, (0,
|
|
54134
|
-
__decorateParam(1, (0,
|
|
54201
|
+
(0, import_common16.Post)(":key/enabled"),
|
|
54202
|
+
__decorateParam(0, (0, import_common16.Param)("key")),
|
|
54203
|
+
__decorateParam(1, (0, import_common16.Body)())
|
|
54135
54204
|
], exports.FeatureFlagController.prototype, "isEnabled", 1);
|
|
54136
54205
|
__decorateClass([
|
|
54137
|
-
(0,
|
|
54138
|
-
__decorateParam(0, (0,
|
|
54206
|
+
(0, import_common16.Post)("evaluate-all"),
|
|
54207
|
+
__decorateParam(0, (0, import_common16.Body)())
|
|
54139
54208
|
], exports.FeatureFlagController.prototype, "evaluateAllFlags", 1);
|
|
54140
54209
|
__decorateClass([
|
|
54141
|
-
(0,
|
|
54142
|
-
__decorateParam(0, (0,
|
|
54210
|
+
(0, import_common16.Post)(),
|
|
54211
|
+
__decorateParam(0, (0, import_common16.Body)())
|
|
54143
54212
|
], exports.FeatureFlagController.prototype, "createFlag", 1);
|
|
54144
54213
|
__decorateClass([
|
|
54145
|
-
(0,
|
|
54146
|
-
__decorateParam(0, (0,
|
|
54147
|
-
__decorateParam(1, (0,
|
|
54214
|
+
(0, import_common16.Put)(":key"),
|
|
54215
|
+
__decorateParam(0, (0, import_common16.Param)("key")),
|
|
54216
|
+
__decorateParam(1, (0, import_common16.Body)())
|
|
54148
54217
|
], exports.FeatureFlagController.prototype, "updateFlag", 1);
|
|
54149
54218
|
__decorateClass([
|
|
54150
|
-
(0,
|
|
54151
|
-
__decorateParam(0, (0,
|
|
54219
|
+
(0, import_common16.Delete)(":key"),
|
|
54220
|
+
__decorateParam(0, (0, import_common16.Param)("key"))
|
|
54152
54221
|
], exports.FeatureFlagController.prototype, "deleteFlag", 1);
|
|
54153
54222
|
__decorateClass([
|
|
54154
|
-
(0,
|
|
54155
|
-
__decorateParam(0, (0,
|
|
54156
|
-
__decorateParam(1, (0,
|
|
54223
|
+
(0, import_common16.Post)(":key/override"),
|
|
54224
|
+
__decorateParam(0, (0, import_common16.Param)("key")),
|
|
54225
|
+
__decorateParam(1, (0, import_common16.Body)("value"))
|
|
54157
54226
|
], exports.FeatureFlagController.prototype, "setOverride", 1);
|
|
54158
54227
|
__decorateClass([
|
|
54159
|
-
(0,
|
|
54160
|
-
__decorateParam(0, (0,
|
|
54228
|
+
(0, import_common16.Delete)(":key/override"),
|
|
54229
|
+
__decorateParam(0, (0, import_common16.Param)("key"))
|
|
54161
54230
|
], exports.FeatureFlagController.prototype, "removeOverride", 1);
|
|
54162
54231
|
__decorateClass([
|
|
54163
|
-
(0,
|
|
54164
|
-
__decorateParam(0, (0,
|
|
54232
|
+
(0, import_common16.Get)(":key/rules"),
|
|
54233
|
+
__decorateParam(0, (0, import_common16.Param)("key"))
|
|
54165
54234
|
], exports.FeatureFlagController.prototype, "getFlagRules", 1);
|
|
54166
54235
|
__decorateClass([
|
|
54167
|
-
(0,
|
|
54236
|
+
(0, import_common16.Post)("refresh")
|
|
54168
54237
|
], exports.FeatureFlagController.prototype, "refreshCache", 1);
|
|
54169
54238
|
__decorateClass([
|
|
54170
|
-
(0,
|
|
54239
|
+
(0, import_common16.Get)("health")
|
|
54171
54240
|
], exports.FeatureFlagController.prototype, "getHealth", 1);
|
|
54172
54241
|
exports.FeatureFlagController = __decorateClass([
|
|
54173
|
-
(0,
|
|
54174
|
-
__decorateParam(0, (0,
|
|
54242
|
+
(0, import_common16.Controller)("feature-flags"),
|
|
54243
|
+
__decorateParam(0, (0, import_common16.Inject)(FEATURE_FLAG_SERVICE))
|
|
54175
54244
|
], exports.FeatureFlagController);
|
|
54176
54245
|
|
|
54177
54246
|
// src/backend/featureFlags/feature-flag.module.ts
|
|
@@ -54263,16 +54332,16 @@ exports.FeatureFlagModule = class FeatureFlagModule {
|
|
|
54263
54332
|
__name(exports.FeatureFlagModule, "FeatureFlagModule");
|
|
54264
54333
|
exports.FeatureFlagModule.serviceInstance = null;
|
|
54265
54334
|
exports.FeatureFlagModule = __decorateClass([
|
|
54266
|
-
(0,
|
|
54267
|
-
(0,
|
|
54335
|
+
(0, import_common17.Global)(),
|
|
54336
|
+
(0, import_common17.Module)({
|
|
54268
54337
|
controllers: [exports.FeatureFlagController]
|
|
54269
54338
|
})
|
|
54270
54339
|
], exports.FeatureFlagModule);
|
|
54271
54340
|
|
|
54272
54341
|
// src/backend/featureFlags/decorators/feature-flag.decorator.ts
|
|
54273
|
-
var
|
|
54342
|
+
var import_common18 = __toESM(require_common(), 1);
|
|
54274
54343
|
function FeatureFlag(key, expected = true) {
|
|
54275
|
-
return (0,
|
|
54344
|
+
return (0, import_common18.SetMetadata)(types.FEATURE_FLAG_METADATA.FLAG_CHECK, { key, expected });
|
|
54276
54345
|
}
|
|
54277
54346
|
__name(FeatureFlag, "FeatureFlag");
|
|
54278
54347
|
|
|
@@ -54289,7 +54358,7 @@ function FeatureEnabled(key) {
|
|
|
54289
54358
|
__name(FeatureEnabled, "FeatureEnabled");
|
|
54290
54359
|
|
|
54291
54360
|
// src/backend/featureFlags/guards/feature-flag.guard.ts
|
|
54292
|
-
var
|
|
54361
|
+
var import_common19 = __toESM(require_common(), 1);
|
|
54293
54362
|
exports.FeatureFlagGuard = class FeatureFlagGuard {
|
|
54294
54363
|
constructor(reflector, featureFlagService) {
|
|
54295
54364
|
this.reflector = reflector;
|
|
@@ -54333,12 +54402,12 @@ exports.FeatureFlagGuard = class FeatureFlagGuard {
|
|
|
54333
54402
|
};
|
|
54334
54403
|
__name(exports.FeatureFlagGuard, "FeatureFlagGuard");
|
|
54335
54404
|
exports.FeatureFlagGuard = __decorateClass([
|
|
54336
|
-
(0,
|
|
54337
|
-
__decorateParam(1, (0,
|
|
54405
|
+
(0, import_common19.Injectable)(),
|
|
54406
|
+
__decorateParam(1, (0, import_common19.Inject)(FEATURE_FLAG_SERVICE))
|
|
54338
54407
|
], exports.FeatureFlagGuard);
|
|
54339
54408
|
|
|
54340
54409
|
// src/backend/featureFlags/middleware/feature-flag-middleware.ts
|
|
54341
|
-
var
|
|
54410
|
+
var import_common20 = __toESM(require_common(), 1);
|
|
54342
54411
|
function isFeatureFlagKey(value) {
|
|
54343
54412
|
return Object.keys(config.FEATURES).includes(value);
|
|
54344
54413
|
}
|
|
@@ -54416,12 +54485,12 @@ exports.FeatureFlagMiddleware = class FeatureFlagMiddleware {
|
|
|
54416
54485
|
};
|
|
54417
54486
|
__name(exports.FeatureFlagMiddleware, "FeatureFlagMiddleware");
|
|
54418
54487
|
exports.FeatureFlagMiddleware = __decorateClass([
|
|
54419
|
-
(0,
|
|
54420
|
-
__decorateParam(0, (0,
|
|
54488
|
+
(0, import_common20.Injectable)(),
|
|
54489
|
+
__decorateParam(0, (0, import_common20.Inject)(FEATURE_FLAG_SERVICE))
|
|
54421
54490
|
], exports.FeatureFlagMiddleware);
|
|
54422
54491
|
|
|
54423
54492
|
// src/backend/featureFlags/interceptors/feature-flag-logging-interceptor.ts
|
|
54424
|
-
var
|
|
54493
|
+
var import_common21 = __toESM(require_common(), 1);
|
|
54425
54494
|
var import_rxjs = __toESM(require_cjs(), 1);
|
|
54426
54495
|
exports.FeatureFlagLoggingInterceptor = class FeatureFlagLoggingInterceptor {
|
|
54427
54496
|
constructor() {
|
|
@@ -54454,11 +54523,11 @@ exports.FeatureFlagLoggingInterceptor = class FeatureFlagLoggingInterceptor {
|
|
|
54454
54523
|
};
|
|
54455
54524
|
__name(exports.FeatureFlagLoggingInterceptor, "FeatureFlagLoggingInterceptor");
|
|
54456
54525
|
exports.FeatureFlagLoggingInterceptor = __decorateClass([
|
|
54457
|
-
(0,
|
|
54526
|
+
(0, import_common21.Injectable)()
|
|
54458
54527
|
], exports.FeatureFlagLoggingInterceptor);
|
|
54459
54528
|
|
|
54460
54529
|
// src/backend/featureFlags/interceptors/error-handling-interceptor.ts
|
|
54461
|
-
var
|
|
54530
|
+
var import_common22 = __toESM(require_common(), 1);
|
|
54462
54531
|
var import_operators = __toESM(require_operators(), 1);
|
|
54463
54532
|
exports.ErrorHandlingInterceptor = class ErrorHandlingInterceptor {
|
|
54464
54533
|
constructor() {
|
|
@@ -54487,7 +54556,7 @@ exports.ErrorHandlingInterceptor = class ErrorHandlingInterceptor {
|
|
|
54487
54556
|
};
|
|
54488
54557
|
__name(exports.ErrorHandlingInterceptor, "ErrorHandlingInterceptor");
|
|
54489
54558
|
exports.ErrorHandlingInterceptor = __decorateClass([
|
|
54490
|
-
(0,
|
|
54559
|
+
(0, import_common22.Injectable)()
|
|
54491
54560
|
], exports.ErrorHandlingInterceptor);
|
|
54492
54561
|
|
|
54493
54562
|
// src/backend/featureFlags/config/validation.ts
|
|
@@ -54840,7 +54909,7 @@ var FeatureFlagConfigFactory = class {
|
|
|
54840
54909
|
};
|
|
54841
54910
|
|
|
54842
54911
|
// src/base/cache/feature/caching.ts
|
|
54843
|
-
var
|
|
54912
|
+
var import_common23 = __toESM(require_common(), 1);
|
|
54844
54913
|
var import_rxjs2 = __toESM(require_cjs(), 1);
|
|
54845
54914
|
exports.Caching = class Caching {
|
|
54846
54915
|
constructor() {
|
|
@@ -54863,7 +54932,7 @@ exports.Caching = class Caching {
|
|
|
54863
54932
|
};
|
|
54864
54933
|
__name(exports.Caching, "Caching");
|
|
54865
54934
|
exports.Caching = __decorateClass([
|
|
54866
|
-
(0,
|
|
54935
|
+
(0, import_common23.Injectable)()
|
|
54867
54936
|
], exports.Caching);
|
|
54868
54937
|
|
|
54869
54938
|
// src/adapters/nextjs.ts
|
|
@@ -55095,6 +55164,7 @@ Object.defineProperty(exports, "STREAMING_SERVER_CONFIG", {
|
|
|
55095
55164
|
});
|
|
55096
55165
|
exports.BACKEND_EXAMPLE_DOMAIN_SERVICE = BACKEND_EXAMPLE_DOMAIN_SERVICE;
|
|
55097
55166
|
exports.BACKEND_FILES_DOMAIN_SERVICE = BACKEND_FILES_DOMAIN_SERVICE;
|
|
55167
|
+
exports.BACKEND_NOTIFICATIONS_DOMAIN_SERVICE = BACKEND_NOTIFICATIONS_DOMAIN_SERVICE;
|
|
55098
55168
|
exports.CORE_DB_SERVICE = CORE_DB_SERVICE;
|
|
55099
55169
|
exports.CORE_ENV = CORE_ENV;
|
|
55100
55170
|
exports.CORE_OPTIONS = CORE_OPTIONS;
|
|
@@ -55150,6 +55220,7 @@ exports.generateSpanId = generateSpanId;
|
|
|
55150
55220
|
exports.generateTraceId = generateTraceId;
|
|
55151
55221
|
exports.generateUniqueFilename = generateUniqueFilename;
|
|
55152
55222
|
exports.getBackendFilesDomainService = getBackendFilesDomainService;
|
|
55223
|
+
exports.getBackendNotificationsDomainService = getBackendNotificationsDomainService;
|
|
55153
55224
|
exports.getCacheService = getCacheService;
|
|
55154
55225
|
exports.getCoreDependencies = getCoreDependencies;
|
|
55155
55226
|
exports.getCoreDependency = getCoreDependency;
|
|
@@ -55179,6 +55250,7 @@ exports.parseFileKey = parseFileKey;
|
|
|
55179
55250
|
exports.parseFileSize = parseFileSize;
|
|
55180
55251
|
exports.pickDefined = pickDefined;
|
|
55181
55252
|
exports.resetFilesDomainService = resetFilesDomainService;
|
|
55253
|
+
exports.resetNotificationsDomainService = resetNotificationsDomainService;
|
|
55182
55254
|
exports.setCoreDependencies = setCoreDependencies;
|
|
55183
55255
|
exports.setNestedProperty = setNestedProperty;
|
|
55184
55256
|
exports.snakeToCamel = snakeToCamel;
|