@zola_do/core 0.1.9
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/api-data/api-paginated-response.d.ts +2 -0
- package/dist/api-data/api-paginated-response.js +28 -0
- package/dist/api-data/api-paginated-response.js.map +1 -0
- package/dist/api-data/data-response-format.d.ts +4 -0
- package/dist/api-data/data-response-format.js +25 -0
- package/dist/api-data/data-response-format.js.map +1 -0
- package/dist/api-data/index.d.ts +2 -0
- package/dist/api-data/index.js +19 -0
- package/dist/api-data/index.js.map +1 -0
- package/dist/decorators/crud-options.decorator.d.ts +6 -0
- package/dist/decorators/crud-options.decorator.js +13 -0
- package/dist/decorators/crud-options.decorator.js.map +1 -0
- package/dist/decorators/ignore-tenant-interceptor.decorator.d.ts +2 -0
- package/dist/decorators/ignore-tenant-interceptor.decorator.js +8 -0
- package/dist/decorators/ignore-tenant-interceptor.decorator.js.map +1 -0
- package/dist/decorators/index.d.ts +2 -0
- package/dist/decorators/index.js +19 -0
- package/dist/decorators/index.js.map +1 -0
- package/dist/domain/contact-number.dto.d.ts +6 -0
- package/dist/domain/contact-number.dto.js +37 -0
- package/dist/domain/contact-number.dto.js.map +1 -0
- package/dist/domain/file-response.dto.d.ts +8 -0
- package/dist/domain/file-response.dto.js +40 -0
- package/dist/domain/file-response.dto.js.map +1 -0
- package/dist/domain/index.d.ts +2 -0
- package/dist/domain/index.js +19 -0
- package/dist/domain/index.js.map +1 -0
- package/dist/entities/audit.entity.d.ts +9 -0
- package/dist/entities/audit.entity.js +40 -0
- package/dist/entities/audit.entity.js.map +1 -0
- package/dist/entities/base.entity.d.ts +3 -0
- package/dist/entities/base.entity.js +3 -0
- package/dist/entities/base.entity.js.map +1 -0
- package/dist/entities/common.entity.d.ts +8 -0
- package/dist/entities/common.entity.js +47 -0
- package/dist/entities/common.entity.js.map +1 -0
- package/dist/entities/contact-number.d.ts +4 -0
- package/dist/entities/contact-number.js +7 -0
- package/dist/entities/contact-number.js.map +1 -0
- package/dist/entities/file-response.d.ts +7 -0
- package/dist/entities/file-response.js +7 -0
- package/dist/entities/file-response.js.map +1 -0
- package/dist/entities/index.d.ts +5 -0
- package/dist/entities/index.js +22 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/enums/account-status.enum.d.ts +7 -0
- package/dist/enums/account-status.enum.js +12 -0
- package/dist/enums/account-status.enum.js.map +1 -0
- package/dist/enums/account-verification-status.enum.d.ts +5 -0
- package/dist/enums/account-verification-status.enum.js +10 -0
- package/dist/enums/account-verification-status.enum.js.map +1 -0
- package/dist/enums/account-verification-type.enum.d.ts +6 -0
- package/dist/enums/account-verification-type.enum.js +11 -0
- package/dist/enums/account-verification-type.enum.js.map +1 -0
- package/dist/enums/index.d.ts +7 -0
- package/dist/enums/index.js +24 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/enums/organization-type.enum.d.ts +4 -0
- package/dist/enums/organization-type.enum.js +9 -0
- package/dist/enums/organization-type.enum.js.map +1 -0
- package/dist/enums/payment-status.enum.d.ts +4 -0
- package/dist/enums/payment-status.enum.js +9 -0
- package/dist/enums/payment-status.enum.js.map +1 -0
- package/dist/enums/service-key.enum.d.ts +23 -0
- package/dist/enums/service-key.enum.js +28 -0
- package/dist/enums/service-key.enum.js.map +1 -0
- package/dist/enums/vendor-status.enum.d.ts +27 -0
- package/dist/enums/vendor-status.enum.js +32 -0
- package/dist/enums/vendor-status.enum.js.map +1 -0
- package/dist/exceptions/global-exception.filter.d.ts +5 -0
- package/dist/exceptions/global-exception.filter.js +46 -0
- package/dist/exceptions/global-exception.filter.js.map +1 -0
- package/dist/exceptions/index.d.ts +2 -0
- package/dist/exceptions/index.js +19 -0
- package/dist/exceptions/index.js.map +1 -0
- package/dist/exceptions/rpc-exception.filter.d.ts +6 -0
- package/dist/exceptions/rpc-exception.filter.js +22 -0
- package/dist/exceptions/rpc-exception.filter.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/types/crud-option.type.d.ts +43 -0
- package/dist/types/crud-option.type.js +3 -0
- package/dist/types/crud-option.type.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +19 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/notification.type.d.ts +27 -0
- package/dist/types/notification.type.js +20 -0
- package/dist/types/notification.type.js.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +19 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/numeric.transformer.d.ts +5 -0
- package/dist/utils/numeric.transformer.js +13 -0
- package/dist/utils/numeric.transformer.js.map +1 -0
- package/dist/utils/validate-dto.d.ts +1 -0
- package/dist/utils/validate-dto.js +14 -0
- package/dist/utils/validate-dto.js.map +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qEAAmD;AACnD,mEAAiD;AACjD,wDAAsC;AACtC,qDAAmC;AACnC,uDAAqC;AACrC,2DAAyC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ORGANIZATION_TYPE_ENUM = void 0;
|
|
4
|
+
var ORGANIZATION_TYPE_ENUM;
|
|
5
|
+
(function (ORGANIZATION_TYPE_ENUM) {
|
|
6
|
+
ORGANIZATION_TYPE_ENUM["PORTAL"] = "PORTAL";
|
|
7
|
+
ORGANIZATION_TYPE_ENUM["BACKOFFICE"] = "BACK-OFFICE";
|
|
8
|
+
})(ORGANIZATION_TYPE_ENUM || (exports.ORGANIZATION_TYPE_ENUM = ORGANIZATION_TYPE_ENUM = {}));
|
|
9
|
+
//# sourceMappingURL=organization-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-type.enum.js","sourceRoot":"","sources":["../../src/enums/organization-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,oDAA0B,CAAA;AAC5B,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentStatus = void 0;
|
|
4
|
+
var PaymentStatus;
|
|
5
|
+
(function (PaymentStatus) {
|
|
6
|
+
PaymentStatus["PENDING"] = "Pending";
|
|
7
|
+
PaymentStatus["PAID"] = "Paid";
|
|
8
|
+
})(PaymentStatus || (exports.PaymentStatus = PaymentStatus = {}));
|
|
9
|
+
//# sourceMappingURL=payment-status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-status.enum.js","sourceRoot":"","sources":["../../src/enums/payment-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum ServiceKeyEnum {
|
|
2
|
+
new = "new",
|
|
3
|
+
upgrade = "upgrade",
|
|
4
|
+
renewal = "renewal",
|
|
5
|
+
update = "update",
|
|
6
|
+
preferential = "preferential",
|
|
7
|
+
preferentialTreatment = "PreferentialTreatment",
|
|
8
|
+
goodsNewRegistration = "GoodsNewRegistration",
|
|
9
|
+
servicesNewRegistration = "ServicesNewRegistration",
|
|
10
|
+
worksNewRegistration = "WorksNewRegistration",
|
|
11
|
+
goodsRenewal = "GoodsRenewal",
|
|
12
|
+
servicesRenewal = "ServicesRenewal",
|
|
13
|
+
worksRenewal = "WorksRenewal",
|
|
14
|
+
goodsUpgrade = "GoodsUpgrade",
|
|
15
|
+
servicesUpgrade = "ServicesUpgrade",
|
|
16
|
+
worksUpgrade = "WorksUpgrade",
|
|
17
|
+
PROFILE_UPDATE = "ProfileUpdate",
|
|
18
|
+
IBM = "IBM",
|
|
19
|
+
MEDIUM = "Medium",
|
|
20
|
+
SMALL = "Small",
|
|
21
|
+
MICRO = "Micro",
|
|
22
|
+
MARGINALIZED_GROUP = "Marginalized_Group"
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceKeyEnum = void 0;
|
|
4
|
+
var ServiceKeyEnum;
|
|
5
|
+
(function (ServiceKeyEnum) {
|
|
6
|
+
ServiceKeyEnum["new"] = "new";
|
|
7
|
+
ServiceKeyEnum["upgrade"] = "upgrade";
|
|
8
|
+
ServiceKeyEnum["renewal"] = "renewal";
|
|
9
|
+
ServiceKeyEnum["update"] = "update";
|
|
10
|
+
ServiceKeyEnum["preferential"] = "preferential";
|
|
11
|
+
ServiceKeyEnum["preferentialTreatment"] = "PreferentialTreatment";
|
|
12
|
+
ServiceKeyEnum["goodsNewRegistration"] = "GoodsNewRegistration";
|
|
13
|
+
ServiceKeyEnum["servicesNewRegistration"] = "ServicesNewRegistration";
|
|
14
|
+
ServiceKeyEnum["worksNewRegistration"] = "WorksNewRegistration";
|
|
15
|
+
ServiceKeyEnum["goodsRenewal"] = "GoodsRenewal";
|
|
16
|
+
ServiceKeyEnum["servicesRenewal"] = "ServicesRenewal";
|
|
17
|
+
ServiceKeyEnum["worksRenewal"] = "WorksRenewal";
|
|
18
|
+
ServiceKeyEnum["goodsUpgrade"] = "GoodsUpgrade";
|
|
19
|
+
ServiceKeyEnum["servicesUpgrade"] = "ServicesUpgrade";
|
|
20
|
+
ServiceKeyEnum["worksUpgrade"] = "WorksUpgrade";
|
|
21
|
+
ServiceKeyEnum["PROFILE_UPDATE"] = "ProfileUpdate";
|
|
22
|
+
ServiceKeyEnum["IBM"] = "IBM";
|
|
23
|
+
ServiceKeyEnum["MEDIUM"] = "Medium";
|
|
24
|
+
ServiceKeyEnum["SMALL"] = "Small";
|
|
25
|
+
ServiceKeyEnum["MICRO"] = "Micro";
|
|
26
|
+
ServiceKeyEnum["MARGINALIZED_GROUP"] = "Marginalized_Group";
|
|
27
|
+
})(ServiceKeyEnum || (exports.ServiceKeyEnum = ServiceKeyEnum = {}));
|
|
28
|
+
//# sourceMappingURL=service-key.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-key.enum.js","sourceRoot":"","sources":["../../src/enums/service-key.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAsBX;AAtBD,WAAY,cAAc;IACxB,6BAAW,CAAA;IACX,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,+CAA6B,CAAA;IAC7B,iEAA+C,CAAA;IAC/C,+DAA6C,CAAA;IAC7C,qEAAmD,CAAA;IACnD,+DAA6C,CAAA;IAC7C,+CAA6B,CAAA;IAC7B,qDAAmC,CAAA;IACnC,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,qDAAmC,CAAA;IACnC,+CAA6B,CAAA;IAC7B,kDAAgC,CAAA;IAChC,6BAAW,CAAA;IACX,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,2DAAyC,CAAA;AAC3C,CAAC,EAtBW,cAAc,8BAAd,cAAc,QAsBzB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum VendorStatusEnum {
|
|
2
|
+
DRAFT = "Draft",
|
|
3
|
+
SAVE = "Save",
|
|
4
|
+
SUBMIT = "Submit",
|
|
5
|
+
SUBMITTED = "Submitted",
|
|
6
|
+
APPROVE = "Approve",
|
|
7
|
+
ADJUST = "Adjust",
|
|
8
|
+
REJECT = "Reject",
|
|
9
|
+
PPDA = "ppda",
|
|
10
|
+
COMPLETED = "Completed",
|
|
11
|
+
APPROVED = "Approved",
|
|
12
|
+
ADJUSTMENT = "Adjustment",
|
|
13
|
+
ADJUSTED = "Adjusted",
|
|
14
|
+
REJECTED = "Rejected",
|
|
15
|
+
ACTIVE = "Active",
|
|
16
|
+
PENDING = "Pending",
|
|
17
|
+
COMPLETE = "Complete",
|
|
18
|
+
DETAIL = "Detail",
|
|
19
|
+
PAYMENT = "payment",
|
|
20
|
+
RENEWAL = "Renewal",
|
|
21
|
+
DOC = "doc",
|
|
22
|
+
INFO = "Info",
|
|
23
|
+
UPDATE = "Update",
|
|
24
|
+
BASIC = "Basic",
|
|
25
|
+
PROFILE_UPDATE_KEY = "ProfileUpdate",
|
|
26
|
+
DEBARD = "Debared"
|
|
27
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VendorStatusEnum = void 0;
|
|
4
|
+
var VendorStatusEnum;
|
|
5
|
+
(function (VendorStatusEnum) {
|
|
6
|
+
VendorStatusEnum["DRAFT"] = "Draft";
|
|
7
|
+
VendorStatusEnum["SAVE"] = "Save";
|
|
8
|
+
VendorStatusEnum["SUBMIT"] = "Submit";
|
|
9
|
+
VendorStatusEnum["SUBMITTED"] = "Submitted";
|
|
10
|
+
VendorStatusEnum["APPROVE"] = "Approve";
|
|
11
|
+
VendorStatusEnum["ADJUST"] = "Adjust";
|
|
12
|
+
VendorStatusEnum["REJECT"] = "Reject";
|
|
13
|
+
VendorStatusEnum["PPDA"] = "ppda";
|
|
14
|
+
VendorStatusEnum["COMPLETED"] = "Completed";
|
|
15
|
+
VendorStatusEnum["APPROVED"] = "Approved";
|
|
16
|
+
VendorStatusEnum["ADJUSTMENT"] = "Adjustment";
|
|
17
|
+
VendorStatusEnum["ADJUSTED"] = "Adjusted";
|
|
18
|
+
VendorStatusEnum["REJECTED"] = "Rejected";
|
|
19
|
+
VendorStatusEnum["ACTIVE"] = "Active";
|
|
20
|
+
VendorStatusEnum["PENDING"] = "Pending";
|
|
21
|
+
VendorStatusEnum["COMPLETE"] = "Complete";
|
|
22
|
+
VendorStatusEnum["DETAIL"] = "Detail";
|
|
23
|
+
VendorStatusEnum["PAYMENT"] = "payment";
|
|
24
|
+
VendorStatusEnum["RENEWAL"] = "Renewal";
|
|
25
|
+
VendorStatusEnum["DOC"] = "doc";
|
|
26
|
+
VendorStatusEnum["INFO"] = "Info";
|
|
27
|
+
VendorStatusEnum["UPDATE"] = "Update";
|
|
28
|
+
VendorStatusEnum["BASIC"] = "Basic";
|
|
29
|
+
VendorStatusEnum["PROFILE_UPDATE_KEY"] = "ProfileUpdate";
|
|
30
|
+
VendorStatusEnum["DEBARD"] = "Debared";
|
|
31
|
+
})(VendorStatusEnum || (exports.VendorStatusEnum = VendorStatusEnum = {}));
|
|
32
|
+
//# sourceMappingURL=vendor-status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendor-status.enum.js","sourceRoot":"","sources":["../../src/enums/vendor-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBA0BX;AA1BD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,qCAAiB,CAAA;IACjB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,iCAAa,CAAA;IACb,2CAAuB,CAAA;IACvB,yCAAqB,CAAA;IACrB,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;IACrB,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,+BAAW,CAAA;IACX,iCAAa,CAAA;IACb,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,wDAAoC,CAAA;IACpC,sCAAkB,CAAA;AACpB,CAAC,EA1BW,gBAAgB,gCAAhB,gBAAgB,QA0B3B"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var GlobalExceptionFilter_1;
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.GlobalExceptionFilter = void 0;
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
let GlobalExceptionFilter = GlobalExceptionFilter_1 = class GlobalExceptionFilter {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.logger = new common_1.Logger(GlobalExceptionFilter_1.name);
|
|
15
|
+
}
|
|
16
|
+
catch(exception, host) {
|
|
17
|
+
var _a, _b;
|
|
18
|
+
const ctx = host.switchToHttp();
|
|
19
|
+
const response = ctx.getResponse();
|
|
20
|
+
const request = ctx.getRequest();
|
|
21
|
+
const status = exception instanceof common_1.HttpException
|
|
22
|
+
? exception.getStatus()
|
|
23
|
+
: common_1.HttpStatus.BAD_REQUEST;
|
|
24
|
+
let message = exception instanceof common_1.HttpException
|
|
25
|
+
? exception.getResponse()['message']
|
|
26
|
+
: exception.message;
|
|
27
|
+
if (!message && exception.message) {
|
|
28
|
+
message = exception.message;
|
|
29
|
+
}
|
|
30
|
+
const responseData = {
|
|
31
|
+
statusCode: status,
|
|
32
|
+
message,
|
|
33
|
+
path: request.url,
|
|
34
|
+
timestamp: new Date().toISOString(),
|
|
35
|
+
exception,
|
|
36
|
+
};
|
|
37
|
+
this.logger.error(Object.assign(Object.assign({}, responseData), { remoteAddress: request.connection.remoteAddress, ip: request.ip, ips: request.ips, forward: (_a = request.headers['x-forwarded-for']) !== null && _a !== void 0 ? _a : '', real: (_b = request.headers['x-Real-IP']) !== null && _b !== void 0 ? _b : '' }));
|
|
38
|
+
response.status(status).json(responseData);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.GlobalExceptionFilter = GlobalExceptionFilter;
|
|
43
|
+
exports.GlobalExceptionFilter = GlobalExceptionFilter = GlobalExceptionFilter_1 = __decorate([
|
|
44
|
+
(0, common_1.Catch)()
|
|
45
|
+
], GlobalExceptionFilter);
|
|
46
|
+
//# sourceMappingURL=global-exception.filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-exception.filter.js","sourceRoot":"","sources":["../../src/exceptions/global-exception.filter.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAOwB;AAGjB,IAAM,qBAAqB,6BAA3B,MAAM,qBAAqB;IAA3B;QACY,WAAM,GAAG,IAAI,eAAM,CAAC,uBAAqB,CAAC,IAAI,CAAC,CAAC;IAyCnE,CAAC;IAvCC,KAAK,CAAC,SAAc,EAAE,IAAmB;;QACvC,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC;QACnC,MAAM,OAAO,GAAQ,GAAG,CAAC,UAAU,EAAE,CAAC;QAEtC,MAAM,MAAM,GACV,SAAS,YAAY,sBAAa;YAChC,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE;YACvB,CAAC,CAAC,mBAAU,CAAC,WAAW,CAAC;QAE7B,IAAI,OAAO,GACT,SAAS,YAAY,sBAAa;YAChC,CAAC,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC;YACpC,CAAC,CAAE,SAAmB,CAAC,OAAO,CAAC;QAEnC,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YAClC,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC;QAC9B,CAAC;QAED,MAAM,YAAY,GAAG;YACnB,UAAU,EAAE,MAAM;YAClB,OAAO;YACP,IAAI,EAAE,OAAO,CAAC,GAAG;YACjB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,SAAS;SACV,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,KAAK,iCACZ,YAAY,KACf,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,aAAa,EAC/C,EAAE,EAAE,OAAO,CAAC,EAAE,EACd,GAAG,EAAE,OAAO,CAAC,GAAG,EAChB,OAAO,EAAE,MAAA,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,mCAAI,EAAE,EACjD,IAAI,EAAE,MAAA,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,mCAAI,EAAE,IACxC,CAAC;QAEH,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3C,OAAO;IACT,CAAC;CACF,CAAA;AA1CY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,cAAK,GAAE;GACK,qBAAqB,CA0CjC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./global-exception.filter"), exports);
|
|
18
|
+
__exportStar(require("./rpc-exception.filter"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/exceptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,yDAAuC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RpcExceptionFilter, ArgumentsHost } from '@nestjs/common';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RpcException } from '@nestjs/microservices';
|
|
4
|
+
export declare class ExceptionFilter implements RpcExceptionFilter<RpcException> {
|
|
5
|
+
catch(exception: RpcException, host: ArgumentsHost): Observable<any>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ExceptionFilter = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const rxjs_1 = require("rxjs");
|
|
12
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
13
|
+
let ExceptionFilter = class ExceptionFilter {
|
|
14
|
+
catch(exception, host) {
|
|
15
|
+
return (0, rxjs_1.throwError)(() => exception.getError());
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
exports.ExceptionFilter = ExceptionFilter;
|
|
19
|
+
exports.ExceptionFilter = ExceptionFilter = __decorate([
|
|
20
|
+
(0, common_1.Catch)(microservices_1.RpcException)
|
|
21
|
+
], ExceptionFilter);
|
|
22
|
+
//# sourceMappingURL=rpc-exception.filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rpc-exception.filter.js","sourceRoot":"","sources":["../../src/exceptions/rpc-exception.filter.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA0E;AAC1E,+BAA8C;AAC9C,yDAAqD;AAG9C,IAAM,eAAe,GAArB,MAAM,eAAe;IAC1B,KAAK,CAAC,SAAuB,EAAE,IAAmB;QAChD,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;IAChD,CAAC;CACF,CAAA;AAJY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,cAAK,EAAC,4BAAY,CAAC;GACP,eAAe,CAI3B"}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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("./api-data"), exports);
|
|
18
|
+
__exportStar(require("./decorators"), exports);
|
|
19
|
+
__exportStar(require("./domain"), exports);
|
|
20
|
+
__exportStar(require("./entities"), exports);
|
|
21
|
+
__exportStar(require("./enums"), exports);
|
|
22
|
+
__exportStar(require("./exceptions"), exports);
|
|
23
|
+
__exportStar(require("./types"), exports);
|
|
24
|
+
__exportStar(require("./utils"), exports);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,+CAA6B;AAC7B,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB;AACxB,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type EntityCrudOptions = {
|
|
2
|
+
createDto?: {
|
|
3
|
+
new (): NonNullable<unknown>;
|
|
4
|
+
};
|
|
5
|
+
updateDto?: {
|
|
6
|
+
new (): NonNullable<unknown>;
|
|
7
|
+
};
|
|
8
|
+
createPermission?: string;
|
|
9
|
+
viewPermission?: string;
|
|
10
|
+
updatePermission?: string;
|
|
11
|
+
deletePermission?: string;
|
|
12
|
+
restorePermission?: string;
|
|
13
|
+
viewArchivedPermission?: string;
|
|
14
|
+
};
|
|
15
|
+
export type ExtraCrudOptions = {
|
|
16
|
+
entityIdName: string;
|
|
17
|
+
createDto?: {
|
|
18
|
+
new (): NonNullable<unknown>;
|
|
19
|
+
};
|
|
20
|
+
updateDto?: {
|
|
21
|
+
new (): NonNullable<unknown>;
|
|
22
|
+
};
|
|
23
|
+
createPermission?: string;
|
|
24
|
+
viewPermission?: string;
|
|
25
|
+
updatePermission?: string;
|
|
26
|
+
deletePermission?: string;
|
|
27
|
+
restorePermission?: string;
|
|
28
|
+
viewArchivedPermission?: string;
|
|
29
|
+
};
|
|
30
|
+
export interface RelationCrudOptions {
|
|
31
|
+
firstEntityIdName: string;
|
|
32
|
+
firstInclude: string;
|
|
33
|
+
secondEntityIdName: string;
|
|
34
|
+
secondInclude: string;
|
|
35
|
+
assignFirstDto?: {
|
|
36
|
+
new (): NonNullable<unknown>;
|
|
37
|
+
};
|
|
38
|
+
assignSecondDto?: {
|
|
39
|
+
new (): NonNullable<unknown>;
|
|
40
|
+
};
|
|
41
|
+
createPermission?: string;
|
|
42
|
+
viewPermission?: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-option.type.js","sourceRoot":"","sources":["../../src/types/crud-option.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./crud-option.type"), exports);
|
|
18
|
+
__exportStar(require("./notification.type"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum NotificationTypeEnum {
|
|
2
|
+
EMAIL = "EMAIL",
|
|
3
|
+
MESSAGE = "MESSAGE",
|
|
4
|
+
INBOX = "INBOX"
|
|
5
|
+
}
|
|
6
|
+
export declare enum NotificationStatusEnum {
|
|
7
|
+
SUCCEED = "SUCCEED",
|
|
8
|
+
FAILED = "FAILED"
|
|
9
|
+
}
|
|
10
|
+
export declare enum NotificationDestination {
|
|
11
|
+
BACK_OFFICE = "BACK-OFFICE",
|
|
12
|
+
PORTAL = "PORTAL"
|
|
13
|
+
}
|
|
14
|
+
export type SendNotificationEvent = {
|
|
15
|
+
type: NotificationTypeEnum;
|
|
16
|
+
application: string;
|
|
17
|
+
subject: string;
|
|
18
|
+
detailContent: string;
|
|
19
|
+
shortContent: string;
|
|
20
|
+
receivers: string[];
|
|
21
|
+
phoneNumber?: string;
|
|
22
|
+
sender: string;
|
|
23
|
+
cc?: string[];
|
|
24
|
+
destination: NotificationDestination;
|
|
25
|
+
status?: NotificationStatusEnum;
|
|
26
|
+
errorMessage?: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationDestination = exports.NotificationStatusEnum = exports.NotificationTypeEnum = void 0;
|
|
4
|
+
var NotificationTypeEnum;
|
|
5
|
+
(function (NotificationTypeEnum) {
|
|
6
|
+
NotificationTypeEnum["EMAIL"] = "EMAIL";
|
|
7
|
+
NotificationTypeEnum["MESSAGE"] = "MESSAGE";
|
|
8
|
+
NotificationTypeEnum["INBOX"] = "INBOX";
|
|
9
|
+
})(NotificationTypeEnum || (exports.NotificationTypeEnum = NotificationTypeEnum = {}));
|
|
10
|
+
var NotificationStatusEnum;
|
|
11
|
+
(function (NotificationStatusEnum) {
|
|
12
|
+
NotificationStatusEnum["SUCCEED"] = "SUCCEED";
|
|
13
|
+
NotificationStatusEnum["FAILED"] = "FAILED";
|
|
14
|
+
})(NotificationStatusEnum || (exports.NotificationStatusEnum = NotificationStatusEnum = {}));
|
|
15
|
+
var NotificationDestination;
|
|
16
|
+
(function (NotificationDestination) {
|
|
17
|
+
NotificationDestination["BACK_OFFICE"] = "BACK-OFFICE";
|
|
18
|
+
NotificationDestination["PORTAL"] = "PORTAL";
|
|
19
|
+
})(NotificationDestination || (exports.NotificationDestination = NotificationDestination = {}));
|
|
20
|
+
//# sourceMappingURL=notification.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.type.js","sourceRoot":"","sources":["../../src/types/notification.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,uCAAe,CAAA;IACf,2CAAmB,CAAA;IACnB,uCAAe,CAAA;AACjB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,sDAA2B,CAAA;IAC3B,4CAAiB,CAAA;AACnB,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./numeric.transformer"), exports);
|
|
18
|
+
__exportStar(require("./validate-dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,iDAA+B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ColumnNumericTransformer = void 0;
|
|
4
|
+
class ColumnNumericTransformer {
|
|
5
|
+
to(data) {
|
|
6
|
+
return data;
|
|
7
|
+
}
|
|
8
|
+
from(data) {
|
|
9
|
+
return Number(data);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ColumnNumericTransformer = ColumnNumericTransformer;
|
|
13
|
+
//# sourceMappingURL=numeric.transformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numeric.transformer.js","sourceRoot":"","sources":["../../src/utils/numeric.transformer.ts"],"names":[],"mappings":";;;AAEA,MAAa,wBAAwB;IACnC,EAAE,CAAC,IAAY;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,IAAY;QACf,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACF;AAPD,4DAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validateDto(dto: any, itemData: any): Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateDto = validateDto;
|
|
4
|
+
const class_transformer_1 = require("class-transformer");
|
|
5
|
+
const class_validator_1 = require("class-validator");
|
|
6
|
+
async function validateDto(dto, itemData) {
|
|
7
|
+
const instance = (0, class_transformer_1.plainToInstance)(dto, itemData);
|
|
8
|
+
const errors = (0, class_validator_1.validateSync)(instance);
|
|
9
|
+
const errorMessages = errors.flatMap((e) => Object.values(e.constraints));
|
|
10
|
+
if (errorMessages.length > 0) {
|
|
11
|
+
throw errorMessages;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=validate-dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-dto.js","sourceRoot":"","sources":["../../src/utils/validate-dto.ts"],"names":[],"mappings":";;AAGA,kCAOC;AAVD,yDAAoD;AACpD,qDAA+C;AAExC,KAAK,UAAU,WAAW,CAAC,GAAQ,EAAE,QAAa;IACvD,MAAM,QAAQ,GAAG,IAAA,mCAAe,EAAC,GAAG,EAAE,QAAQ,CAAQ,CAAC;IACvD,MAAM,MAAM,GAAG,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1E,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC7B,MAAM,aAAa,CAAC;IACtB,CAAC;AACH,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zola_do/core",
|
|
3
|
+
"version": "0.1.9",
|
|
4
|
+
"description": "Core shared types, entities, decorators and utilities for NestJS",
|
|
5
|
+
"author": "zolaDO",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "rimraf dist && tsc",
|
|
24
|
+
"prepublishOnly": "npm run build"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@nestjs/common": "^10.0.0 || ^11.0.0",
|
|
28
|
+
"@nestjs/microservices": "^10.0.0 || ^11.0.0",
|
|
29
|
+
"@nestjs/swagger": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
|
|
30
|
+
"class-transformer": "^0.5.1",
|
|
31
|
+
"class-validator": "^0.14.2",
|
|
32
|
+
"reflect-metadata": "^0.1.0 || ^0.2.0",
|
|
33
|
+
"rxjs": "^7.0.0 || ^8.0.0",
|
|
34
|
+
"typeorm": "^0.3.0"
|
|
35
|
+
},
|
|
36
|
+
"peerDependenciesMeta": {
|
|
37
|
+
"@nestjs/swagger": {
|
|
38
|
+
"optional": true
|
|
39
|
+
},
|
|
40
|
+
"@nestjs/microservices": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"typeorm": {
|
|
44
|
+
"optional": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"rimraf": "^6.1.0",
|
|
49
|
+
"typescript": "^5.9.3"
|
|
50
|
+
}
|
|
51
|
+
}
|