From 9bddee7320185593f0225e3c9e829975089f71fc Mon Sep 17 00:00:00 2001 From: rckrdmrd Date: Sun, 18 Jan 2026 11:47:55 -0600 Subject: [PATCH] chore: Remove dist/ from git tracking (now in .gitignore) Co-Authored-By: Claude Opus 4.5 --- dist/modules/auth/dto/auth.dto.d.ts | 3 + dist/modules/auth/dto/auth.dto.d.ts.map | 2 +- dist/modules/auth/entities/index.d.ts | 2 + dist/modules/auth/entities/index.d.ts.map | 2 +- dist/modules/auth/entities/index.js | 6 +- dist/modules/auth/entities/index.js.map | 2 +- .../auth/services/auth.service.d.ts.map | 2 +- dist/modules/auth/services/auth.service.js | 1 + .../modules/auth/services/auth.service.js.map | 2 +- dist/modules/core/entities/index.d.ts | 17 +- dist/modules/core/entities/index.d.ts.map | 2 +- dist/modules/core/entities/index.js | 40 ++- dist/modules/core/entities/index.js.map | 2 +- dist/modules/estimates/controllers/index.d.ts | 3 + .../estimates/controllers/index.d.ts.map | 2 +- dist/modules/estimates/controllers/index.js | 8 +- .../estimates/controllers/index.js.map | 2 +- dist/modules/estimates/services/index.d.ts | 3 + .../modules/estimates/services/index.d.ts.map | 2 +- dist/modules/estimates/services/index.js | 3 + dist/modules/estimates/services/index.js.map | 2 +- dist/modules/hse/controllers/index.d.ts | 8 +- dist/modules/hse/controllers/index.d.ts.map | 2 +- dist/modules/hse/controllers/index.js | 26 +- dist/modules/hse/controllers/index.js.map | 2 +- dist/modules/hse/entities/index.d.ts | 55 ++++ dist/modules/hse/entities/index.d.ts.map | 2 +- dist/modules/hse/entities/index.js | 68 ++++- dist/modules/hse/entities/index.js.map | 2 +- dist/modules/hse/services/index.d.ts | 12 +- dist/modules/hse/services/index.d.ts.map | 2 +- dist/modules/hse/services/index.js | 20 +- dist/modules/hse/services/index.js.map | 2 +- dist/modules/inventory/controllers/index.d.ts | 1 + .../inventory/controllers/index.d.ts.map | 2 +- dist/modules/inventory/controllers/index.js | 4 +- .../inventory/controllers/index.js.map | 2 +- dist/modules/inventory/entities/index.d.ts | 20 +- .../modules/inventory/entities/index.d.ts.map | 2 +- dist/modules/inventory/entities/index.js | 49 ++- dist/modules/inventory/entities/index.js.map | 2 +- dist/modules/inventory/services/index.d.ts | 1 + .../modules/inventory/services/index.d.ts.map | 2 +- dist/modules/inventory/services/index.js | 3 + dist/modules/inventory/services/index.js.map | 2 +- dist/server.d.ts.map | 2 +- dist/server.js | 74 +++++ dist/server.js.map | 2 +- dist/shared/constants/index.d.ts | 2 +- dist/shared/constants/index.js | 2 +- dist/shared/constants/index.js.map | 2 +- dist/shared/interfaces/base.interface.d.ts | 5 + .../shared/interfaces/base.interface.d.ts.map | 2 +- node_modules/.package-lock.json | 286 +++++++++++++++++- node_modules/dotenv/CHANGELOG.md | 80 ++++- node_modules/dotenv/README-es.md | 18 +- node_modules/dotenv/README.md | 65 +++- node_modules/dotenv/lib/main.d.ts | 23 +- node_modules/dotenv/lib/main.js | 72 ++++- node_modules/dotenv/package.json | 6 +- 60 files changed, 936 insertions(+), 104 deletions(-) diff --git a/dist/modules/auth/dto/auth.dto.d.ts b/dist/modules/auth/dto/auth.dto.d.ts index f1acb8b0..3d41d3b9 100644 --- a/dist/modules/auth/dto/auth.dto.d.ts +++ b/dist/modules/auth/dto/auth.dto.d.ts @@ -31,10 +31,13 @@ export interface ResetPasswordDto { } export interface TokenPayload { sub: string; + userId: string; email: string; tenantId: string; roles: string[]; type: 'access' | 'refresh'; + sessionId?: string; + jti?: string; iat?: number; exp?: number; } diff --git a/dist/modules/auth/dto/auth.dto.d.ts.map b/dist/modules/auth/dto/auth.dto.d.ts.map index 619ebe09..901a1d80 100644 --- a/dist/modules/auth/dto/auth.dto.d.ts.map +++ b/dist/modules/auth/dto/auth.dto.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"auth.dto.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/dto/auth.dto.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAA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,WAAW,qBAAqB;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file +{"version":3,"file":"auth.dto.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/dto/auth.dto.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,EAAE,CAAC;KACjB,CAAC;IACF,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/dist/modules/auth/entities/index.d.ts b/dist/modules/auth/entities/index.d.ts index 6167c030..8f8f5652 100644 --- a/dist/modules/auth/entities/index.d.ts +++ b/dist/modules/auth/entities/index.d.ts @@ -5,4 +5,6 @@ export { RefreshToken } from './refresh-token.entity'; export { Role } from './role.entity'; export { Permission } from './permission.entity'; export { UserRole } from './user-role.entity'; +export { ApiKey } from './api-key.entity'; +export { Company } from './company.entity'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/auth/entities/index.d.ts.map b/dist/modules/auth/entities/index.d.ts.map index 879e8738..ead4dcd8 100644 --- a/dist/modules/auth/entities/index.d.ts.map +++ b/dist/modules/auth/entities/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/entities/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/entities/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/modules/auth/entities/index.js b/dist/modules/auth/entities/index.js index dee5844e..334265c6 100644 --- a/dist/modules/auth/entities/index.js +++ b/dist/modules/auth/entities/index.js @@ -3,7 +3,7 @@ * Auth Entities - Export */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.UserRole = exports.Permission = exports.Role = exports.RefreshToken = void 0; +exports.Company = exports.ApiKey = exports.UserRole = exports.Permission = exports.Role = exports.RefreshToken = void 0; var refresh_token_entity_1 = require("./refresh-token.entity"); Object.defineProperty(exports, "RefreshToken", { enumerable: true, get: function () { return refresh_token_entity_1.RefreshToken; } }); var role_entity_1 = require("./role.entity"); @@ -12,4 +12,8 @@ var permission_entity_1 = require("./permission.entity"); Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return permission_entity_1.Permission; } }); var user_role_entity_1 = require("./user-role.entity"); Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return user_role_entity_1.UserRole; } }); +var api_key_entity_1 = require("./api-key.entity"); +Object.defineProperty(exports, "ApiKey", { enumerable: true, get: function () { return api_key_entity_1.ApiKey; } }); +var company_entity_1 = require("./company.entity"); +Object.defineProperty(exports, "Company", { enumerable: true, get: function () { return company_entity_1.Company; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/auth/entities/index.js.map b/dist/modules/auth/entities/index.js.map index e45345fc..cc89660b 100644 --- a/dist/modules/auth/entities/index.js.map +++ b/dist/modules/auth/entities/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/auth/entities/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,+DAAsD;AAA7C,oHAAA,YAAY,OAAA;AACrB,6CAAqC;AAA5B,mGAAA,IAAI,OAAA;AACb,yDAAiD;AAAxC,+GAAA,UAAU,OAAA;AACnB,uDAA8C;AAArC,4GAAA,QAAQ,OAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/auth/entities/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,+DAAsD;AAA7C,oHAAA,YAAY,OAAA;AACrB,6CAAqC;AAA5B,mGAAA,IAAI,OAAA;AACb,yDAAiD;AAAxC,+GAAA,UAAU,OAAA;AACnB,uDAA8C;AAArC,4GAAA,QAAQ,OAAA;AACjB,mDAA0C;AAAjC,wGAAA,MAAM,OAAA;AACf,mDAA2C;AAAlC,yGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/dist/modules/auth/services/auth.service.d.ts.map b/dist/modules/auth/services/auth.service.d.ts.map index 5140a329..64d8c97f 100644 --- a/dist/modules/auth/services/auth.service.d.ts.map +++ b/dist/modules/auth/services/auth.service.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/services/auth.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,QAAQ,EACR,WAAW,EACX,eAAe,EACf,iBAAiB,EAEjB,YAAY,EACZ,qBA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;OAEG;IACH,OAAO,CAAC,mBAAmB;CAe5B"} \ No newline at end of file +{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/services/auth.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,QAAQ,EACR,WAAW,EACX,eAAe,EACf,iBAAiB,EAEjB,YAAY,EACZ,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB;AAED,qBAAa,WAAW;IAMpB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAPzC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAS;gBAG1B,cAAc,EAAE,UAAU,CAAC,IAAI,CAAC,EAChC,gBAAgB,EAAE,UAAU,CAAC,MAAM,CAAC,EACpC,sBAAsB,EAAE,UAAU,CAAC,YAAY,CAAC;IAOnE;;OAEG;IACG,KAAK,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC;IAgEjD;;OAEG;IACG,QAAQ,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC;IAyDvD;;OAEG;IACG,OAAO,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,YAAY,CAAC;IA8D1D;;OAEG;IACG,MAAM,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAOjD;;OAEG;IACG,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAwB3E;;OAEG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;IAIzD;;OAEG;IACH,OAAO,CAAC,aAAa;IAoBrB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAe3B;;OAEG;YACW,oBAAoB;IAyBlC;;OAEG;IACH,OAAO,CAAC,mBAAmB;CAe5B"} \ No newline at end of file diff --git a/dist/modules/auth/services/auth.service.js b/dist/modules/auth/services/auth.service.js index 7ebf9030..b2893cfc 100644 --- a/dist/modules/auth/services/auth.service.js +++ b/dist/modules/auth/services/auth.service.js @@ -277,6 +277,7 @@ class AuthService { generateAccessToken(user, tenantId, roles) { const payload = { sub: user.id, + userId: user.id, email: user.email, tenantId, roles, diff --git a/dist/modules/auth/services/auth.service.js.map b/dist/modules/auth/services/auth.service.js.map index e7a1d0ba..b1414034 100644 --- a/dist/modules/auth/services/auth.service.js.map +++ b/dist/modules/auth/services/auth.service.js.map @@ -1 +1 @@ -{"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../../src/modules/auth/services/auth.service.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,kDAAoC;AACpC,iDAAmC;AAsBnC,MAAa,WAAW;IAMH;IACA;IACA;IAPF,SAAS,CAAS;IAClB,YAAY,CAAS;IACrB,mBAAmB,CAAS;IAE7C,YACmB,cAAgC,EAChC,gBAAoC,EACpC,sBAAgD;QAFhD,mBAAc,GAAd,cAAc,CAAkB;QAChC,qBAAgB,GAAhB,gBAAgB,CAAoB;QACpC,2BAAsB,GAAtB,sBAAsB,CAA0B;QAEjE,IAAI,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C,CAAC;QACjC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAEtB,QAAQ,IAAI,EAAE,CAAC;YACb,KAAK,GAAG,CAAC,CAAC,OAAO,KAAK,GAAG,KAAK,CAAC;YAC/B,KAAK,GAAG,CAAC,CAAC,OAAO,KAAK,GAAG,IAAI,CAAC;YAC9B,KAAK,GAAG,CAAC,CAAC,OAAO,KAAK,GAAG,EAAE,CAAC;YAC5B,KAAK,GAAG,CAAC,CAAC,OAAO,KAAK,CAAC;YACvB,OAAO,CAAC,CAAC,OAAO,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;CACF;AAlVD,kCAkVC"} \ No newline at end of file diff --git a/dist/modules/core/entities/index.d.ts b/dist/modules/core/entities/index.d.ts index 12e5a229..1d247fb3 100644 --- a/dist/modules/core/entities/index.d.ts +++ b/dist/modules/core/entities/index.d.ts @@ -1,6 +1,13 @@ -/** - * Core Entities Index - */ -export { Tenant } from './tenant.entity'; -export { User } from './user.entity'; +export { Tenant } from './tenant.entity.js'; +export { User } from './user.entity.js'; +export { Currency } from './currency.entity.js'; +export { Country } from './country.entity.js'; +export { State } from './state.entity.js'; +export { CurrencyRate, RateSource } from './currency-rate.entity.js'; +export { UomCategory } from './uom-category.entity.js'; +export { Uom, UomType } from './uom.entity.js'; +export { ProductCategory } from './product-category.entity.js'; +export { Sequence, ResetPeriod } from './sequence.entity.js'; +export { PaymentTerm, PaymentTermLine, PaymentTermLineType } from './payment-term.entity.js'; +export { DiscountRule, DiscountType, DiscountAppliesTo, DiscountCondition } from './discount-rule.entity.js'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/core/entities/index.d.ts.map b/dist/modules/core/entities/index.d.ts.map index 4a01180f..13022f61 100644 --- a/dist/modules/core/entities/index.d.ts.map +++ b/dist/modules/core/entities/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/core/entities/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/core/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"} \ No newline at end of file diff --git a/dist/modules/core/entities/index.js b/dist/modules/core/entities/index.js index 5d8dd89a..36cc0140 100644 --- a/dist/modules/core/entities/index.js +++ b/dist/modules/core/entities/index.js @@ -1,11 +1,35 @@ "use strict"; -/** - * Core Entities Index - */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.User = exports.Tenant = void 0; -var tenant_entity_1 = require("./tenant.entity"); -Object.defineProperty(exports, "Tenant", { enumerable: true, get: function () { return tenant_entity_1.Tenant; } }); -var user_entity_1 = require("./user.entity"); -Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_entity_1.User; } }); +exports.DiscountCondition = exports.DiscountAppliesTo = exports.DiscountType = exports.DiscountRule = exports.PaymentTermLineType = exports.PaymentTermLine = exports.PaymentTerm = exports.ResetPeriod = exports.Sequence = exports.ProductCategory = exports.UomType = exports.Uom = exports.UomCategory = exports.CurrencyRate = exports.State = exports.Country = exports.Currency = exports.User = exports.Tenant = void 0; +var tenant_entity_js_1 = require("./tenant.entity.js"); +Object.defineProperty(exports, "Tenant", { enumerable: true, get: function () { return tenant_entity_js_1.Tenant; } }); +var user_entity_js_1 = require("./user.entity.js"); +Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_entity_js_1.User; } }); +var currency_entity_js_1 = require("./currency.entity.js"); +Object.defineProperty(exports, "Currency", { enumerable: true, get: function () { return currency_entity_js_1.Currency; } }); +var country_entity_js_1 = require("./country.entity.js"); +Object.defineProperty(exports, "Country", { enumerable: true, get: function () { return country_entity_js_1.Country; } }); +var state_entity_js_1 = require("./state.entity.js"); +Object.defineProperty(exports, "State", { enumerable: true, get: function () { return state_entity_js_1.State; } }); +var currency_rate_entity_js_1 = require("./currency-rate.entity.js"); +Object.defineProperty(exports, "CurrencyRate", { enumerable: true, get: function () { return currency_rate_entity_js_1.CurrencyRate; } }); +var uom_category_entity_js_1 = require("./uom-category.entity.js"); +Object.defineProperty(exports, "UomCategory", { enumerable: true, get: function () { return uom_category_entity_js_1.UomCategory; } }); +var uom_entity_js_1 = require("./uom.entity.js"); +Object.defineProperty(exports, "Uom", { enumerable: true, get: function () { return uom_entity_js_1.Uom; } }); +Object.defineProperty(exports, "UomType", { enumerable: true, get: function () { return uom_entity_js_1.UomType; } }); +var product_category_entity_js_1 = require("./product-category.entity.js"); +Object.defineProperty(exports, "ProductCategory", { enumerable: true, get: function () { return product_category_entity_js_1.ProductCategory; } }); +var sequence_entity_js_1 = require("./sequence.entity.js"); +Object.defineProperty(exports, "Sequence", { enumerable: true, get: function () { return sequence_entity_js_1.Sequence; } }); +Object.defineProperty(exports, "ResetPeriod", { enumerable: true, get: function () { return sequence_entity_js_1.ResetPeriod; } }); +var payment_term_entity_js_1 = require("./payment-term.entity.js"); +Object.defineProperty(exports, "PaymentTerm", { enumerable: true, get: function () { return payment_term_entity_js_1.PaymentTerm; } }); +Object.defineProperty(exports, "PaymentTermLine", { enumerable: true, get: function () { return payment_term_entity_js_1.PaymentTermLine; } }); +Object.defineProperty(exports, "PaymentTermLineType", { enumerable: true, get: function () { return payment_term_entity_js_1.PaymentTermLineType; } }); +var discount_rule_entity_js_1 = require("./discount-rule.entity.js"); +Object.defineProperty(exports, "DiscountRule", { enumerable: true, get: function () { return discount_rule_entity_js_1.DiscountRule; } }); +Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return discount_rule_entity_js_1.DiscountType; } }); +Object.defineProperty(exports, "DiscountAppliesTo", { enumerable: true, get: function () { return discount_rule_entity_js_1.DiscountAppliesTo; } }); +Object.defineProperty(exports, "DiscountCondition", { enumerable: true, get: function () { return discount_rule_entity_js_1.DiscountCondition; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/core/entities/index.js.map b/dist/modules/core/entities/index.js.map index 9045fcc4..f03791ea 100644 --- a/dist/modules/core/entities/index.js.map +++ b/dist/modules/core/entities/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/core/entities/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,iDAAyC;AAAhC,uGAAA,MAAM,OAAA;AACf,6CAAqC;AAA5B,mGAAA,IAAI,OAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/core/entities/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4C;AAAnC,0GAAA,MAAM,OAAA;AACf,mDAAwC;AAA/B,sGAAA,IAAI,OAAA;AACb,2DAAgD;AAAvC,8GAAA,QAAQ,OAAA;AACjB,yDAA8C;AAArC,4GAAA,OAAO,OAAA;AAChB,qDAA0C;AAAjC,wGAAA,KAAK,OAAA;AACd,qEAAqE;AAA5D,uHAAA,YAAY,OAAA;AACrB,mEAAuD;AAA9C,qHAAA,WAAW,OAAA;AACpB,iDAA+C;AAAtC,oGAAA,GAAG,OAAA;AAAE,wGAAA,OAAO,OAAA;AACrB,2EAA+D;AAAtD,6HAAA,eAAe,OAAA;AACxB,2DAA6D;AAApD,8GAAA,QAAQ,OAAA;AAAE,iHAAA,WAAW,OAAA;AAC9B,mEAA6F;AAApF,qHAAA,WAAW,OAAA;AAAE,yHAAA,eAAe,OAAA;AAAE,6HAAA,mBAAmB,OAAA;AAC1D,qEAA6G;AAApG,uHAAA,YAAY,OAAA;AAAE,uHAAA,YAAY,OAAA;AAAE,4HAAA,iBAAiB,OAAA;AAAE,4HAAA,iBAAiB,OAAA"} \ No newline at end of file diff --git a/dist/modules/estimates/controllers/index.d.ts b/dist/modules/estimates/controllers/index.d.ts index 4b25545f..3519168a 100644 --- a/dist/modules/estimates/controllers/index.d.ts +++ b/dist/modules/estimates/controllers/index.d.ts @@ -3,4 +3,7 @@ * @module Estimates */ export { createEstimacionController } from './estimacion.controller'; +export { createAnticipoController } from './anticipo.controller'; +export { createFondoGarantiaController } from './fondo-garantia.controller'; +export { createRetencionController } from './retencion.controller'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/estimates/controllers/index.d.ts.map b/dist/modules/estimates/controllers/index.d.ts.map index dd77e478..a3e0ac9a 100644 --- a/dist/modules/estimates/controllers/index.d.ts.map +++ b/dist/modules/estimates/controllers/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/estimates/controllers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/estimates/controllers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"} \ No newline at end of file diff --git a/dist/modules/estimates/controllers/index.js b/dist/modules/estimates/controllers/index.js index 888df129..e77351e3 100644 --- a/dist/modules/estimates/controllers/index.js +++ b/dist/modules/estimates/controllers/index.js @@ -4,7 +4,13 @@ * @module Estimates */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.createEstimacionController = void 0; +exports.createRetencionController = exports.createFondoGarantiaController = exports.createAnticipoController = exports.createEstimacionController = void 0; var estimacion_controller_1 = require("./estimacion.controller"); Object.defineProperty(exports, "createEstimacionController", { enumerable: true, get: function () { return estimacion_controller_1.createEstimacionController; } }); +var anticipo_controller_1 = require("./anticipo.controller"); +Object.defineProperty(exports, "createAnticipoController", { enumerable: true, get: function () { return anticipo_controller_1.createAnticipoController; } }); +var fondo_garantia_controller_1 = require("./fondo-garantia.controller"); +Object.defineProperty(exports, "createFondoGarantiaController", { enumerable: true, get: function () { return fondo_garantia_controller_1.createFondoGarantiaController; } }); +var retencion_controller_1 = require("./retencion.controller"); +Object.defineProperty(exports, "createRetencionController", { enumerable: true, get: function () { return retencion_controller_1.createRetencionController; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/estimates/controllers/index.js.map b/dist/modules/estimates/controllers/index.js.map index daf03aa1..55580f32 100644 --- a/dist/modules/estimates/controllers/index.js.map +++ b/dist/modules/estimates/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/estimates/controllers/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,iEAAqE;AAA5D,mIAAA,0BAA0B,OAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/estimates/controllers/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,iEAAqE;AAA5D,mIAAA,0BAA0B,OAAA;AACnC,6DAAiE;AAAxD,+HAAA,wBAAwB,OAAA;AACjC,yEAA4E;AAAnE,0IAAA,6BAA6B,OAAA;AACtC,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA"} \ No newline at end of file diff --git a/dist/modules/estimates/services/index.d.ts b/dist/modules/estimates/services/index.d.ts index 720f46a9..54664877 100644 --- a/dist/modules/estimates/services/index.d.ts +++ b/dist/modules/estimates/services/index.d.ts @@ -3,4 +3,7 @@ * MAI-008: Estimaciones y Facturación */ export * from './estimacion.service'; +export * from './anticipo.service'; +export * from './fondo-garantia.service'; +export * from './retencion.service'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/estimates/services/index.d.ts.map b/dist/modules/estimates/services/index.d.ts.map index 5001579b..e9786dc8 100644 --- a/dist/modules/estimates/services/index.d.ts.map +++ b/dist/modules/estimates/services/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/estimates/services/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,sBAAsB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/estimates/services/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC"} \ No newline at end of file diff --git a/dist/modules/estimates/services/index.js b/dist/modules/estimates/services/index.js index 4726d6c9..27e009ca 100644 --- a/dist/modules/estimates/services/index.js +++ b/dist/modules/estimates/services/index.js @@ -19,4 +19,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { }; Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("./estimacion.service"), exports); +__exportStar(require("./anticipo.service"), exports); +__exportStar(require("./fondo-garantia.service"), exports); +__exportStar(require("./retencion.service"), exports); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/estimates/services/index.js.map b/dist/modules/estimates/services/index.js.map index b32fe088..a0836e48 100644 --- a/dist/modules/estimates/services/index.js.map +++ b/dist/modules/estimates/services/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/estimates/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,uDAAqC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/estimates/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,uDAAqC;AACrC,qDAAmC;AACnC,2DAAyC;AACzC,sDAAoC"} \ No newline at end of file diff --git a/dist/modules/hse/controllers/index.d.ts b/dist/modules/hse/controllers/index.d.ts index a0affe5b..af668745 100644 --- a/dist/modules/hse/controllers/index.d.ts +++ b/dist/modules/hse/controllers/index.d.ts @@ -2,6 +2,12 @@ * HSE Controllers Index * @module HSE */ -export { createCapacitacionController } from './capacitacion.controller'; export { createIncidenteController } from './incidente.controller'; +export { createCapacitacionController } from './capacitacion.controller'; +export { createInspeccionController } from './inspeccion.controller'; +export { createEppController } from './epp.controller'; +export { createStpsController } from './stps.controller'; +export { createAmbientalController } from './ambiental.controller'; +export { createPermisoTrabajoController } from './permiso-trabajo.controller'; +export { createIndicadorController } from './indicador.controller'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/hse/controllers/index.d.ts.map b/dist/modules/hse/controllers/index.d.ts.map index 7bfbc529..a5854409 100644 --- a/dist/modules/hse/controllers/index.d.ts.map +++ b/dist/modules/hse/controllers/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/controllers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/controllers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAGzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAGrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAG9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"} \ No newline at end of file diff --git a/dist/modules/hse/controllers/index.js b/dist/modules/hse/controllers/index.js index ba575d57..bf79cf44 100644 --- a/dist/modules/hse/controllers/index.js +++ b/dist/modules/hse/controllers/index.js @@ -4,9 +4,29 @@ * @module HSE */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.createIncidenteController = exports.createCapacitacionController = void 0; -var capacitacion_controller_1 = require("./capacitacion.controller"); -Object.defineProperty(exports, "createCapacitacionController", { enumerable: true, get: function () { return capacitacion_controller_1.createCapacitacionController; } }); +exports.createIndicadorController = exports.createPermisoTrabajoController = exports.createAmbientalController = exports.createStpsController = exports.createEppController = exports.createInspeccionController = exports.createCapacitacionController = exports.createIncidenteController = void 0; +// RF-MAA017-001: Gestión de Incidentes var incidente_controller_1 = require("./incidente.controller"); Object.defineProperty(exports, "createIncidenteController", { enumerable: true, get: function () { return incidente_controller_1.createIncidenteController; } }); +// RF-MAA017-002: Control de Capacitaciones +var capacitacion_controller_1 = require("./capacitacion.controller"); +Object.defineProperty(exports, "createCapacitacionController", { enumerable: true, get: function () { return capacitacion_controller_1.createCapacitacionController; } }); +// RF-MAA017-003: Inspecciones de Seguridad +var inspeccion_controller_1 = require("./inspeccion.controller"); +Object.defineProperty(exports, "createInspeccionController", { enumerable: true, get: function () { return inspeccion_controller_1.createInspeccionController; } }); +// RF-MAA017-004: Control de EPP +var epp_controller_1 = require("./epp.controller"); +Object.defineProperty(exports, "createEppController", { enumerable: true, get: function () { return epp_controller_1.createEppController; } }); +// RF-MAA017-005: Cumplimiento STPS +var stps_controller_1 = require("./stps.controller"); +Object.defineProperty(exports, "createStpsController", { enumerable: true, get: function () { return stps_controller_1.createStpsController; } }); +// RF-MAA017-006: Gestión Ambiental +var ambiental_controller_1 = require("./ambiental.controller"); +Object.defineProperty(exports, "createAmbientalController", { enumerable: true, get: function () { return ambiental_controller_1.createAmbientalController; } }); +// RF-MAA017-007: Permisos de Trabajo +var permiso_trabajo_controller_1 = require("./permiso-trabajo.controller"); +Object.defineProperty(exports, "createPermisoTrabajoController", { enumerable: true, get: function () { return permiso_trabajo_controller_1.createPermisoTrabajoController; } }); +// RF-MAA017-008: Indicadores HSE +var indicador_controller_1 = require("./indicador.controller"); +Object.defineProperty(exports, "createIndicadorController", { enumerable: true, get: function () { return indicador_controller_1.createIndicadorController; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/hse/controllers/index.js.map b/dist/modules/hse/controllers/index.js.map index 96ac7584..1bd3810f 100644 --- a/dist/modules/hse/controllers/index.js.map +++ b/dist/modules/hse/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/controllers/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,qEAAyE;AAAhE,uIAAA,4BAA4B,OAAA;AACrC,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/controllers/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uCAAuC;AACvC,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA;AAElC,2CAA2C;AAC3C,qEAAyE;AAAhE,uIAAA,4BAA4B,OAAA;AAErC,2CAA2C;AAC3C,iEAAqE;AAA5D,mIAAA,0BAA0B,OAAA;AAEnC,gCAAgC;AAChC,mDAAuD;AAA9C,qHAAA,mBAAmB,OAAA;AAE5B,mCAAmC;AACnC,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAE7B,mCAAmC;AACnC,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA;AAElC,qCAAqC;AACrC,2EAA8E;AAArE,4IAAA,8BAA8B,OAAA;AAEvC,iCAAiC;AACjC,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA"} \ No newline at end of file diff --git a/dist/modules/hse/entities/index.d.ts b/dist/modules/hse/entities/index.d.ts index db6caecc..eee4d85c 100644 --- a/dist/modules/hse/entities/index.d.ts +++ b/dist/modules/hse/entities/index.d.ts @@ -4,9 +4,64 @@ * * Entities for Health, Safety & Environment module * Based on RF-MAA017-001 to RF-MAA017-008 + * Updated: 2025-12-18 */ export * from './incidente.entity'; export * from './incidente-involucrado.entity'; export * from './incidente-accion.entity'; +export * from './incidente-investigacion.entity'; +export * from './incidente-evidencia.entity'; export * from './capacitacion.entity'; +export * from './capacitacion-matriz.entity'; +export * from './instructor.entity'; +export * from './capacitacion-sesion.entity'; +export * from './capacitacion-asistente.entity'; +export * from './constancia-dc3.entity'; +export * from './tipo-inspeccion.entity'; +export * from './checklist-item.entity'; +export * from './programa-inspeccion.entity'; +export * from './inspeccion.entity'; +export * from './inspeccion-evaluacion.entity'; +export * from './hallazgo.entity'; +export * from './hallazgo-evidencia.entity'; +export * from './epp-catalogo.entity'; +export * from './epp-matriz-puesto.entity'; +export * from './epp-asignacion.entity'; +export * from './epp-inspeccion.entity'; +export * from './epp-baja.entity'; +export * from './epp-inventario.entity'; +export * from './epp-movimiento.entity'; +export * from './norma-stps.entity'; +export * from './norma-requisito.entity'; +export * from './cumplimiento-obra.entity'; +export * from './comision-seguridad.entity'; +export * from './comision-integrante.entity'; +export * from './comision-recorrido.entity'; +export * from './programa-seguridad.entity'; +export * from './programa-actividad.entity'; +export * from './documento-stps.entity'; +export * from './auditoria.entity'; +export * from './residuo-catalogo.entity'; +export * from './residuo-generacion.entity'; +export * from './almacen-temporal.entity'; +export * from './proveedor-ambiental.entity'; +export * from './manifiesto-residuos.entity'; +export * from './manifiesto-detalle.entity'; +export * from './impacto-ambiental.entity'; +export * from './queja-ambiental.entity'; +export * from './tipo-permiso-trabajo.entity'; +export * from './permiso-trabajo.entity'; +export * from './permiso-personal.entity'; +export * from './permiso-autorizacion.entity'; +export * from './permiso-checklist.entity'; +export * from './permiso-monitoreo.entity'; +export * from './permiso-evento.entity'; +export * from './permiso-documento.entity'; +export * from './indicador-config.entity'; +export * from './indicador-meta-obra.entity'; +export * from './indicador-valor.entity'; +export * from './horas-trabajadas.entity'; +export * from './dias-sin-accidente.entity'; +export * from './reporte-programado.entity'; +export * from './alerta-indicador.entity'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/hse/entities/index.d.ts.map b/dist/modules/hse/entities/index.d.ts.map index 421ff69c..02130a0c 100644 --- a/dist/modules/hse/entities/index.d.ts.map +++ b/dist/modules/hse/entities/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/entities/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAG1C,cAAc,uBAAuB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/entities/index.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;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC"} \ No newline at end of file diff --git a/dist/modules/hse/entities/index.js b/dist/modules/hse/entities/index.js index 4668fdf2..7978f9d0 100644 --- a/dist/modules/hse/entities/index.js +++ b/dist/modules/hse/entities/index.js @@ -5,6 +5,7 @@ * * Entities for Health, Safety & Environment module * Based on RF-MAA017-001 to RF-MAA017-008 + * Updated: 2025-12-18 */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -25,13 +26,66 @@ Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("./incidente.entity"), exports); __exportStar(require("./incidente-involucrado.entity"), exports); __exportStar(require("./incidente-accion.entity"), exports); +__exportStar(require("./incidente-investigacion.entity"), exports); +__exportStar(require("./incidente-evidencia.entity"), exports); // RF-MAA017-002: Control de Capacitaciones __exportStar(require("./capacitacion.entity"), exports); -// TODO: Implementar entities adicionales según se necesiten: -// - RF-MAA017-003: Inspecciones de Seguridad -// - RF-MAA017-004: Control de EPP -// - RF-MAA017-005: Cumplimiento STPS -// - RF-MAA017-006: Gestión Ambiental -// - RF-MAA017-007: Permisos de Trabajo -// - RF-MAA017-008: Indicadores HSE +__exportStar(require("./capacitacion-matriz.entity"), exports); +__exportStar(require("./instructor.entity"), exports); +__exportStar(require("./capacitacion-sesion.entity"), exports); +__exportStar(require("./capacitacion-asistente.entity"), exports); +__exportStar(require("./constancia-dc3.entity"), exports); +// RF-MAA017-003: Inspecciones de Seguridad +__exportStar(require("./tipo-inspeccion.entity"), exports); +__exportStar(require("./checklist-item.entity"), exports); +__exportStar(require("./programa-inspeccion.entity"), exports); +__exportStar(require("./inspeccion.entity"), exports); +__exportStar(require("./inspeccion-evaluacion.entity"), exports); +__exportStar(require("./hallazgo.entity"), exports); +__exportStar(require("./hallazgo-evidencia.entity"), exports); +// RF-MAA017-004: Control de EPP +__exportStar(require("./epp-catalogo.entity"), exports); +__exportStar(require("./epp-matriz-puesto.entity"), exports); +__exportStar(require("./epp-asignacion.entity"), exports); +__exportStar(require("./epp-inspeccion.entity"), exports); +__exportStar(require("./epp-baja.entity"), exports); +__exportStar(require("./epp-inventario.entity"), exports); +__exportStar(require("./epp-movimiento.entity"), exports); +// RF-MAA017-005: Cumplimiento STPS +__exportStar(require("./norma-stps.entity"), exports); +__exportStar(require("./norma-requisito.entity"), exports); +__exportStar(require("./cumplimiento-obra.entity"), exports); +__exportStar(require("./comision-seguridad.entity"), exports); +__exportStar(require("./comision-integrante.entity"), exports); +__exportStar(require("./comision-recorrido.entity"), exports); +__exportStar(require("./programa-seguridad.entity"), exports); +__exportStar(require("./programa-actividad.entity"), exports); +__exportStar(require("./documento-stps.entity"), exports); +__exportStar(require("./auditoria.entity"), exports); +// RF-MAA017-006: Gestión Ambiental +__exportStar(require("./residuo-catalogo.entity"), exports); +__exportStar(require("./residuo-generacion.entity"), exports); +__exportStar(require("./almacen-temporal.entity"), exports); +__exportStar(require("./proveedor-ambiental.entity"), exports); +__exportStar(require("./manifiesto-residuos.entity"), exports); +__exportStar(require("./manifiesto-detalle.entity"), exports); +__exportStar(require("./impacto-ambiental.entity"), exports); +__exportStar(require("./queja-ambiental.entity"), exports); +// RF-MAA017-007: Permisos de Trabajo +__exportStar(require("./tipo-permiso-trabajo.entity"), exports); +__exportStar(require("./permiso-trabajo.entity"), exports); +__exportStar(require("./permiso-personal.entity"), exports); +__exportStar(require("./permiso-autorizacion.entity"), exports); +__exportStar(require("./permiso-checklist.entity"), exports); +__exportStar(require("./permiso-monitoreo.entity"), exports); +__exportStar(require("./permiso-evento.entity"), exports); +__exportStar(require("./permiso-documento.entity"), exports); +// RF-MAA017-008: Indicadores HSE +__exportStar(require("./indicador-config.entity"), exports); +__exportStar(require("./indicador-meta-obra.entity"), exports); +__exportStar(require("./indicador-valor.entity"), exports); +__exportStar(require("./horas-trabajadas.entity"), exports); +__exportStar(require("./dias-sin-accidente.entity"), exports); +__exportStar(require("./reporte-programado.entity"), exports); +__exportStar(require("./alerta-indicador.entity"), exports); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/hse/entities/index.js.map b/dist/modules/hse/entities/index.js.map index b007bcbd..1944fcf9 100644 --- a/dist/modules/hse/entities/index.js.map +++ b/dist/modules/hse/entities/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/entities/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,uCAAuC;AACvC,qDAAmC;AACnC,iEAA+C;AAC/C,4DAA0C;AAE1C,2CAA2C;AAC3C,wDAAsC;AAEtC,6DAA6D;AAC7D,6CAA6C;AAC7C,kCAAkC;AAClC,qCAAqC;AACrC,qCAAqC;AACrC,uCAAuC;AACvC,mCAAmC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/entities/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;AAEH,uCAAuC;AACvC,qDAAmC;AACnC,iEAA+C;AAC/C,4DAA0C;AAC1C,mEAAiD;AACjD,+DAA6C;AAE7C,2CAA2C;AAC3C,wDAAsC;AACtC,+DAA6C;AAC7C,sDAAoC;AACpC,+DAA6C;AAC7C,kEAAgD;AAChD,0DAAwC;AAExC,2CAA2C;AAC3C,2DAAyC;AACzC,0DAAwC;AACxC,+DAA6C;AAC7C,sDAAoC;AACpC,iEAA+C;AAC/C,oDAAkC;AAClC,8DAA4C;AAE5C,gCAAgC;AAChC,wDAAsC;AACtC,6DAA2C;AAC3C,0DAAwC;AACxC,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,0DAAwC;AAExC,mCAAmC;AACnC,sDAAoC;AACpC,2DAAyC;AACzC,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C;AAC7C,8DAA4C;AAC5C,8DAA4C;AAC5C,8DAA4C;AAC5C,0DAAwC;AACxC,qDAAmC;AAEnC,mCAAmC;AACnC,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,6DAA2C;AAC3C,2DAAyC;AAEzC,qCAAqC;AACrC,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAE3C,iCAAiC;AACjC,4DAA0C;AAC1C,+DAA6C;AAC7C,2DAAyC;AACzC,4DAA0C;AAC1C,8DAA4C;AAC5C,8DAA4C;AAC5C,4DAA0C"} \ No newline at end of file diff --git a/dist/modules/hse/services/index.d.ts b/dist/modules/hse/services/index.d.ts index 2d9d9557..3299fe90 100644 --- a/dist/modules/hse/services/index.d.ts +++ b/dist/modules/hse/services/index.d.ts @@ -1,7 +1,17 @@ /** * HSE Services Index * @module HSE + * + * Services for Health, Safety & Environment module + * Based on RF-MAA017-001 to RF-MAA017-008 + * Updated: 2025-12-18 */ -export * from './capacitacion.service'; export * from './incidente.service'; +export * from './capacitacion.service'; +export * from './inspeccion.service'; +export * from './epp.service'; +export * from './stps.service'; +export * from './ambiental.service'; +export * from './permiso-trabajo.service'; +export * from './indicador.service'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/hse/services/index.d.ts.map b/dist/modules/hse/services/index.d.ts.map index 38b0be40..9aafa88d 100644 --- a/dist/modules/hse/services/index.d.ts.map +++ b/dist/modules/hse/services/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/services/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/services/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,cAAc,qBAAqB,CAAC;AAGpC,cAAc,wBAAwB,CAAC;AAGvC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,eAAe,CAAC;AAG9B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,qBAAqB,CAAC"} \ No newline at end of file diff --git a/dist/modules/hse/services/index.js b/dist/modules/hse/services/index.js index 68c14d09..d30938e3 100644 --- a/dist/modules/hse/services/index.js +++ b/dist/modules/hse/services/index.js @@ -2,6 +2,10 @@ /** * HSE Services Index * @module HSE + * + * Services for Health, Safety & Environment module + * Based on RF-MAA017-001 to RF-MAA017-008 + * Updated: 2025-12-18 */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -18,6 +22,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./capacitacion.service"), exports); +// RF-MAA017-001: Gestión de Incidentes __exportStar(require("./incidente.service"), exports); +// RF-MAA017-002: Control de Capacitaciones +__exportStar(require("./capacitacion.service"), exports); +// RF-MAA017-003: Inspecciones de Seguridad +__exportStar(require("./inspeccion.service"), exports); +// RF-MAA017-004: Control de EPP +__exportStar(require("./epp.service"), exports); +// RF-MAA017-005: Cumplimiento STPS +__exportStar(require("./stps.service"), exports); +// RF-MAA017-006: Gestión Ambiental +__exportStar(require("./ambiental.service"), exports); +// RF-MAA017-007: Permisos de Trabajo +__exportStar(require("./permiso-trabajo.service"), exports); +// RF-MAA017-008: Indicadores HSE +__exportStar(require("./indicador.service"), exports); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/hse/services/index.js.map b/dist/modules/hse/services/index.js.map index 23b03fd8..09bb0efe 100644 --- a/dist/modules/hse/services/index.js.map +++ b/dist/modules/hse/services/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,sDAAoC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/services/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;AAEH,uCAAuC;AACvC,sDAAoC;AAEpC,2CAA2C;AAC3C,yDAAuC;AAEvC,2CAA2C;AAC3C,uDAAqC;AAErC,gCAAgC;AAChC,gDAA8B;AAE9B,mCAAmC;AACnC,iDAA+B;AAE/B,mCAAmC;AACnC,sDAAoC;AAEpC,qCAAqC;AACrC,4DAA0C;AAE1C,iCAAiC;AACjC,sDAAoC"} \ No newline at end of file diff --git a/dist/modules/inventory/controllers/index.d.ts b/dist/modules/inventory/controllers/index.d.ts index c6462d4e..ed05bbd2 100644 --- a/dist/modules/inventory/controllers/index.d.ts +++ b/dist/modules/inventory/controllers/index.d.ts @@ -4,4 +4,5 @@ */ export { createRequisicionController } from './requisicion.controller'; export { createConsumoObraController } from './consumo-obra.controller'; +export { InventoryController } from './inventory.controller'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/inventory/controllers/index.d.ts.map b/dist/modules/inventory/controllers/index.d.ts.map index b3967163..a15ce475 100644 --- a/dist/modules/inventory/controllers/index.d.ts.map +++ b/dist/modules/inventory/controllers/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inventory/controllers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inventory/controllers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"} \ No newline at end of file diff --git a/dist/modules/inventory/controllers/index.js b/dist/modules/inventory/controllers/index.js index 27f7c48b..e3a0ed7d 100644 --- a/dist/modules/inventory/controllers/index.js +++ b/dist/modules/inventory/controllers/index.js @@ -4,9 +4,11 @@ * @module Inventory */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.createConsumoObraController = exports.createRequisicionController = void 0; +exports.InventoryController = exports.createConsumoObraController = exports.createRequisicionController = void 0; var requisicion_controller_1 = require("./requisicion.controller"); Object.defineProperty(exports, "createRequisicionController", { enumerable: true, get: function () { return requisicion_controller_1.createRequisicionController; } }); var consumo_obra_controller_1 = require("./consumo-obra.controller"); Object.defineProperty(exports, "createConsumoObraController", { enumerable: true, get: function () { return consumo_obra_controller_1.createConsumoObraController; } }); +var inventory_controller_1 = require("./inventory.controller"); +Object.defineProperty(exports, "InventoryController", { enumerable: true, get: function () { return inventory_controller_1.InventoryController; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/inventory/controllers/index.js.map b/dist/modules/inventory/controllers/index.js.map index 7e80831c..beba3bf0 100644 --- a/dist/modules/inventory/controllers/index.js.map +++ b/dist/modules/inventory/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/controllers/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,mEAAuE;AAA9D,qIAAA,2BAA2B,OAAA;AACpC,qEAAwE;AAA/D,sIAAA,2BAA2B,OAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/controllers/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,mEAAuE;AAA9D,qIAAA,2BAA2B,OAAA;AACpC,qEAAwE;AAA/D,sIAAA,2BAA2B,OAAA;AACpC,+DAA6D;AAApD,2HAAA,mBAAmB,OAAA"} \ No newline at end of file diff --git a/dist/modules/inventory/entities/index.d.ts b/dist/modules/inventory/entities/index.d.ts index 32b95be6..94abc9b2 100644 --- a/dist/modules/inventory/entities/index.d.ts +++ b/dist/modules/inventory/entities/index.d.ts @@ -2,8 +2,26 @@ * Inventory Entities Index * @module Inventory * - * Extensiones de inventario para construcción (MAI-004) + * Entidades de inventario para construcción + * - Entidades core sincronizadas desde erp-core + * - Extensiones específicas para construcción (MAI-004) */ +export { Product } from './product.entity'; +export { Warehouse } from '../../warehouses/entities/warehouse.entity'; +export { Location } from './location.entity'; +export { StockQuant } from './stock-quant.entity'; +export { Lot } from './lot.entity'; +export { Picking } from './picking.entity'; +export { StockMove } from './stock-move.entity'; +export { StockLevel } from './stock-level.entity'; +export { StockMovement } from './stock-movement.entity'; +export { InventoryCount } from './inventory-count.entity'; +export { InventoryCountLine } from './inventory-count-line.entity'; +export { InventoryAdjustment } from './inventory-adjustment.entity'; +export { InventoryAdjustmentLine } from './inventory-adjustment-line.entity'; +export { TransferOrder } from './transfer-order.entity'; +export { TransferOrderLine } from './transfer-order-line.entity'; +export { StockValuationLayer } from './stock-valuation-layer.entity'; export * from './almacen-proyecto.entity'; export * from './requisicion-obra.entity'; export * from './requisicion-linea.entity'; diff --git a/dist/modules/inventory/entities/index.d.ts.map b/dist/modules/inventory/entities/index.d.ts.map index de195846..84a0d10b 100644 --- a/dist/modules/inventory/entities/index.d.ts.map +++ b/dist/modules/inventory/entities/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inventory/entities/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inventory/entities/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAGnC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAG7E,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAMrE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC"} \ No newline at end of file diff --git a/dist/modules/inventory/entities/index.js b/dist/modules/inventory/entities/index.js index 43eaf98f..632516e9 100644 --- a/dist/modules/inventory/entities/index.js +++ b/dist/modules/inventory/entities/index.js @@ -3,7 +3,9 @@ * Inventory Entities Index * @module Inventory * - * Extensiones de inventario para construcción (MAI-004) + * Entidades de inventario para construcción + * - Entidades core sincronizadas desde erp-core + * - Extensiones específicas para construcción (MAI-004) */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -20,6 +22,51 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); +exports.StockValuationLayer = exports.TransferOrderLine = exports.TransferOrder = exports.InventoryAdjustmentLine = exports.InventoryAdjustment = exports.InventoryCountLine = exports.InventoryCount = exports.StockMovement = exports.StockLevel = exports.StockMove = exports.Picking = exports.Lot = exports.StockQuant = exports.Location = exports.Warehouse = exports.Product = void 0; +// ======================================== +// CORE ENTITIES (from erp-core) +// ======================================== +// Core Inventory Entities +var product_entity_1 = require("./product.entity"); +Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return product_entity_1.Product; } }); +// Re-export Warehouse from canonical location in warehouses module +var warehouse_entity_1 = require("../../warehouses/entities/warehouse.entity"); +Object.defineProperty(exports, "Warehouse", { enumerable: true, get: function () { return warehouse_entity_1.Warehouse; } }); +var location_entity_1 = require("./location.entity"); +Object.defineProperty(exports, "Location", { enumerable: true, get: function () { return location_entity_1.Location; } }); +var stock_quant_entity_1 = require("./stock-quant.entity"); +Object.defineProperty(exports, "StockQuant", { enumerable: true, get: function () { return stock_quant_entity_1.StockQuant; } }); +var lot_entity_1 = require("./lot.entity"); +Object.defineProperty(exports, "Lot", { enumerable: true, get: function () { return lot_entity_1.Lot; } }); +// Stock Operations +var picking_entity_1 = require("./picking.entity"); +Object.defineProperty(exports, "Picking", { enumerable: true, get: function () { return picking_entity_1.Picking; } }); +var stock_move_entity_1 = require("./stock-move.entity"); +Object.defineProperty(exports, "StockMove", { enumerable: true, get: function () { return stock_move_entity_1.StockMove; } }); +var stock_level_entity_1 = require("./stock-level.entity"); +Object.defineProperty(exports, "StockLevel", { enumerable: true, get: function () { return stock_level_entity_1.StockLevel; } }); +var stock_movement_entity_1 = require("./stock-movement.entity"); +Object.defineProperty(exports, "StockMovement", { enumerable: true, get: function () { return stock_movement_entity_1.StockMovement; } }); +// Inventory Management +var inventory_count_entity_1 = require("./inventory-count.entity"); +Object.defineProperty(exports, "InventoryCount", { enumerable: true, get: function () { return inventory_count_entity_1.InventoryCount; } }); +var inventory_count_line_entity_1 = require("./inventory-count-line.entity"); +Object.defineProperty(exports, "InventoryCountLine", { enumerable: true, get: function () { return inventory_count_line_entity_1.InventoryCountLine; } }); +var inventory_adjustment_entity_1 = require("./inventory-adjustment.entity"); +Object.defineProperty(exports, "InventoryAdjustment", { enumerable: true, get: function () { return inventory_adjustment_entity_1.InventoryAdjustment; } }); +var inventory_adjustment_line_entity_1 = require("./inventory-adjustment-line.entity"); +Object.defineProperty(exports, "InventoryAdjustmentLine", { enumerable: true, get: function () { return inventory_adjustment_line_entity_1.InventoryAdjustmentLine; } }); +// Transfers +var transfer_order_entity_1 = require("./transfer-order.entity"); +Object.defineProperty(exports, "TransferOrder", { enumerable: true, get: function () { return transfer_order_entity_1.TransferOrder; } }); +var transfer_order_line_entity_1 = require("./transfer-order-line.entity"); +Object.defineProperty(exports, "TransferOrderLine", { enumerable: true, get: function () { return transfer_order_line_entity_1.TransferOrderLine; } }); +// Valuation +var stock_valuation_layer_entity_1 = require("./stock-valuation-layer.entity"); +Object.defineProperty(exports, "StockValuationLayer", { enumerable: true, get: function () { return stock_valuation_layer_entity_1.StockValuationLayer; } }); +// ======================================== +// CONSTRUCCION-SPECIFIC ENTITIES (MAI-004) +// ======================================== __exportStar(require("./almacen-proyecto.entity"), exports); __exportStar(require("./requisicion-obra.entity"), exports); __exportStar(require("./requisicion-linea.entity"), exports); diff --git a/dist/modules/inventory/entities/index.js.map b/dist/modules/inventory/entities/index.js.map index ba453ccd..1bead22c 100644 --- a/dist/modules/inventory/entities/index.js.map +++ b/dist/modules/inventory/entities/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/entities/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;AAEH,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,wDAAsC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/entities/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;AAEH,2CAA2C;AAC3C,gCAAgC;AAChC,2CAA2C;AAE3C,0BAA0B;AAC1B,mDAA2C;AAAlC,yGAAA,OAAO,OAAA;AAChB,mEAAmE;AACnE,+EAAuE;AAA9D,6GAAA,SAAS,OAAA;AAClB,qDAA6C;AAApC,2GAAA,QAAQ,OAAA;AACjB,2DAAkD;AAAzC,gHAAA,UAAU,OAAA;AACnB,2CAAmC;AAA1B,iGAAA,GAAG,OAAA;AAEZ,mBAAmB;AACnB,mDAA2C;AAAlC,yGAAA,OAAO,OAAA;AAChB,yDAAgD;AAAvC,8GAAA,SAAS,OAAA;AAClB,2DAAkD;AAAzC,gHAAA,UAAU,OAAA;AACnB,iEAAwD;AAA/C,sHAAA,aAAa,OAAA;AAEtB,uBAAuB;AACvB,mEAA0D;AAAjD,wHAAA,cAAc,OAAA;AACvB,6EAAmE;AAA1D,iIAAA,kBAAkB,OAAA;AAC3B,6EAAoE;AAA3D,kIAAA,mBAAmB,OAAA;AAC5B,uFAA6E;AAApE,2IAAA,uBAAuB,OAAA;AAEhC,YAAY;AACZ,iEAAwD;AAA/C,sHAAA,aAAa,OAAA;AACtB,2EAAiE;AAAxD,+HAAA,iBAAiB,OAAA;AAE1B,YAAY;AACZ,+EAAqE;AAA5D,mIAAA,mBAAmB,OAAA;AAE5B,2CAA2C;AAC3C,2CAA2C;AAC3C,2CAA2C;AAE3C,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,wDAAsC"} \ No newline at end of file diff --git a/dist/modules/inventory/services/index.d.ts b/dist/modules/inventory/services/index.d.ts index 72bd56f5..7103a553 100644 --- a/dist/modules/inventory/services/index.d.ts +++ b/dist/modules/inventory/services/index.d.ts @@ -4,4 +4,5 @@ */ export * from './requisicion.service'; export * from './consumo-obra.service'; +export { InventoryService } from './inventory.service'; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/modules/inventory/services/index.d.ts.map b/dist/modules/inventory/services/index.d.ts.map index 1df5b9d8..205fe17c 100644 --- a/dist/modules/inventory/services/index.d.ts.map +++ b/dist/modules/inventory/services/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inventory/services/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inventory/services/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"} \ No newline at end of file diff --git a/dist/modules/inventory/services/index.js b/dist/modules/inventory/services/index.js index b616bae3..a5f256ed 100644 --- a/dist/modules/inventory/services/index.js +++ b/dist/modules/inventory/services/index.js @@ -18,6 +18,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); +exports.InventoryService = void 0; __exportStar(require("./requisicion.service"), exports); __exportStar(require("./consumo-obra.service"), exports); +var inventory_service_1 = require("./inventory.service"); +Object.defineProperty(exports, "InventoryService", { enumerable: true, get: function () { return inventory_service_1.InventoryService; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/modules/inventory/services/index.js.map b/dist/modules/inventory/services/index.js.map index 768b8a9f..8b37e349 100644 --- a/dist/modules/inventory/services/index.js.map +++ b/dist/modules/inventory/services/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,wDAAsC;AACtC,yDAAuC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,wDAAsC;AACtC,yDAAuC;AACvC,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"} \ No newline at end of file diff --git a/dist/server.d.ts.map b/dist/server.d.ts.map index ea1008cb..64a0658c 100644 --- a/dist/server.d.ts.map +++ b/dist/server.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAgB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAU/C,QAAA,MAAM,GAAG,EAAE,WAAuB,CAAC;AAwPnC,eAAe,GAAG,CAAC"} \ No newline at end of file +{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAgB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAU/C,QAAA,MAAM,GAAG,EAAE,WAAuB,CAAC;AA0VnC,eAAe,GAAG,CAAC"} \ No newline at end of file diff --git a/dist/server.js b/dist/server.js index 258f0313..674bd8ad 100644 --- a/dist/server.js +++ b/dist/server.js @@ -60,6 +60,11 @@ const controllers_8 = require("./modules/purchase/controllers"); const controllers_9 = require("./modules/infonavit/controllers"); const controllers_10 = require("./modules/quality/controllers"); const controllers_11 = require("./modules/contracts/controllers"); +const controllers_12 = require("./modules/reports/controllers"); +const controllers_13 = require("./modules/admin/controllers"); +const controllers_14 = require("./modules/bidding/controllers"); +// TEMPORARILY DISABLED - Finance module requires structural fixes +// import { createAccountingController, createAPController, createARController, createCashFlowController, createBankReconciliationController, createReportsController } from './modules/finance/controllers'; // Root API info app.get(`/api/${API_VERSION}`, (_req, res) => { res.status(200).json({ @@ -81,6 +86,9 @@ app.get(`/api/${API_VERSION}`, (_req, res) => { avances: `/api/${API_VERSION}/avances`, bitacora: `/api/${API_VERSION}/bitacora`, estimaciones: `/api/${API_VERSION}/estimaciones`, + anticipos: `/api/${API_VERSION}/anticipos`, + 'fondos-garantia': `/api/${API_VERSION}/fondos-garantia`, + retenciones: `/api/${API_VERSION}/retenciones`, puestos: `/api/${API_VERSION}/puestos`, empleados: `/api/${API_VERSION}/empleados`, capacitaciones: `/api/${API_VERSION}/capacitaciones`, @@ -94,6 +102,23 @@ app.get(`/api/${API_VERSION}`, (_req, res) => { tickets: `/api/${API_VERSION}/tickets`, contracts: `/api/${API_VERSION}/contracts`, subcontractors: `/api/${API_VERSION}/subcontractors`, + reports: `/api/${API_VERSION}/reports`, + dashboards: `/api/${API_VERSION}/dashboards`, + kpis: `/api/${API_VERSION}/kpis`, + 'cost-centers': `/api/${API_VERSION}/cost-centers`, + 'audit-logs': `/api/${API_VERSION}/audit-logs`, + settings: `/api/${API_VERSION}/settings`, + backups: `/api/${API_VERSION}/backups`, + opportunities: `/api/${API_VERSION}/opportunities`, + bids: `/api/${API_VERSION}/bids`, + 'bid-budgets': `/api/${API_VERSION}/bid-budgets`, + 'bid-analytics': `/api/${API_VERSION}/bid-analytics`, + accounting: `/api/${API_VERSION}/accounting`, + 'accounts-payable': `/api/${API_VERSION}/accounts-payable`, + 'accounts-receivable': `/api/${API_VERSION}/accounts-receivable`, + 'cash-flow': `/api/${API_VERSION}/cash-flow`, + 'bank-reconciliation': `/api/${API_VERSION}/bank-reconciliation`, + 'financial-reports': `/api/${API_VERSION}/financial-reports`, }, }); }); @@ -164,6 +189,12 @@ async function bootstrap() { // Inicializar Estimates Controllers (requieren DataSource para auth) const estimacionController = (0, controllers_4.createEstimacionController)(typeorm_config_1.AppDataSource); app.use(`/api/${API_VERSION}/estimaciones`, estimacionController); + const anticipoController = (0, controllers_4.createAnticipoController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/anticipos`, anticipoController); + const fondoGarantiaController = (0, controllers_4.createFondoGarantiaController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/fondos-garantia`, fondoGarantiaController); + const retencionController = (0, controllers_4.createRetencionController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/retenciones`, retencionController); console.log('📝 Estimates module inicializado'); // Inicializar HR Controllers (requieren DataSource para auth) const puestoController = (0, controllers_5.createPuestoController)(typeorm_config_1.AppDataSource); @@ -205,6 +236,49 @@ async function bootstrap() { const subcontractorController = (0, controllers_11.createSubcontractorController)(typeorm_config_1.AppDataSource); app.use(`/api/${API_VERSION}/subcontractors`, subcontractorController); console.log('📄 Contracts module inicializado'); + // Inicializar Reports Controllers (requieren DataSource para auth) + const reportController = (0, controllers_12.createReportController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/reports`, reportController); + const dashboardController = (0, controllers_12.createDashboardController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/dashboards`, dashboardController); + const kpiController = (0, controllers_12.createKpiController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/kpis`, kpiController); + console.log('📈 Reports module inicializado'); + // Inicializar Admin Controllers (requieren DataSource para auth) + const costCenterController = (0, controllers_13.createCostCenterController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/cost-centers`, costCenterController); + const auditLogController = (0, controllers_13.createAuditLogController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/audit-logs`, auditLogController); + const systemSettingController = (0, controllers_13.createSystemSettingController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/settings`, systemSettingController); + const backupController = (0, controllers_13.createBackupController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/backups`, backupController); + console.log('⚙️ Admin module inicializado'); + // Inicializar Bidding Controllers (requieren DataSource para auth) + const opportunityController = (0, controllers_14.createOpportunityController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/opportunities`, opportunityController); + const bidController = (0, controllers_14.createBidController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/bids`, bidController); + const bidBudgetController = (0, controllers_14.createBidBudgetController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/bid-budgets`, bidBudgetController); + const bidAnalyticsController = (0, controllers_14.createBidAnalyticsController)(typeorm_config_1.AppDataSource); + app.use(`/api/${API_VERSION}/bid-analytics`, bidAnalyticsController); + console.log('📋 Bidding module inicializado'); + // TEMPORARILY DISABLED - Finance module requires structural fixes + // Inicializar Finance Controllers (requieren DataSource para auth) + // const accountingController = createAccountingController(AppDataSource); + // app.use(`/api/${API_VERSION}/accounting`, accountingController); + // const apController = createAPController(AppDataSource); + // app.use(`/api/${API_VERSION}/accounts-payable`, apController); + // const arController = createARController(AppDataSource); + // app.use(`/api/${API_VERSION}/accounts-receivable`, arController); + // const cashFlowController = createCashFlowController(AppDataSource); + // app.use(`/api/${API_VERSION}/cash-flow`, cashFlowController); + // const bankReconciliationController = createBankReconciliationController(AppDataSource); + // app.use(`/api/${API_VERSION}/bank-reconciliation`, bankReconciliationController); + // const financialReportsController = createReportsController(AppDataSource); + // app.use(`/api/${API_VERSION}/financial-reports`, financialReportsController); + console.log('💵 Finance module DISABLED - pending structural fixes'); // Iniciar servidor app.listen(PORT, () => { console.log('🚀 Servidor iniciado'); diff --git a/dist/server.js.map b/dist/server.js.map index 537d8cdf..d407af9f 100644 --- a/dist/server.js.map +++ b/dist/server.js.map @@ -1 +1 @@ -{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAEH,4BAA0B;AAC1B,sDAA+C;AAC/C,gDAAwB;AACxB,oDAA4B;AAC5B,oDAA4B;AAC5B,oDAA4B;AAC5B,qEAAiE;AAEjE,8BAA8B;AAC9B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,MAAM,GAAG,GAAgB,IAAA,iBAAO,GAAE,CAAC;AACnC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC;AAC1C,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC;AAEpD;;GAEG;AACH,GAAG,CAAC,GAAG,CAAC,IAAA,gBAAM,GAAE,CAAC,CAAC,CAAC,yBAAyB;AAC5C,GAAG,CAAC,GAAG,CAAC,IAAA,cAAI,EAAC;IACX,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG;IAClD,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,gBAAgB,KAAK,MAAM;CACrD,CAAC,CAAC,CAAC;AACJ,GAAG,CAAC,GAAG,CAAC,IAAA,gBAAM,EAAC,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU;AAC5D,GAAG,CAAC,GAAG,CAAC,iBAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,oBAAoB;A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;QAC1D,iEAAiE;QAEjE,0DAA0D;QAC1D,oEAAoE;QAEpE,sEAAsE;QACtE,gEAAgE;QAEhE,0FAA0F;QAC1F,oFAAoF;QAEpF,6EAA6E;QAC7E,gFAAgF;QAEhF,OAAO,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAC;QAErE,mBAAmB;QACnB,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;YACpC,OAAO,CAAC,GAAG,CAAC,4BAA4B,IAAI,EAAE,CAAC,CAAC;YAChD,OAAO,CAAC,GAAG,CAAC,4BAA4B,IAAI,QAAQ,WAAW,EAAE,CAAC,CAAC;YACnE,OAAO,CAAC,GAAG,CAAC,+BAA+B,IAAI,SAAS,CAAC,CAAC;YAC1D,OAAO,CAAC,GAAG,CAAC,eAAe,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,aAAa,EAAE,CAAC,CAAC;QACtE,CAAC,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAC;QACrD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,qBAAqB;AACrB,SAAS,EAAE,CAAC;AAEZ,kBAAe,GAAG,CAAC"} \ No newline at end of file diff --git a/dist/shared/constants/index.d.ts b/dist/shared/constants/index.d.ts index d3762eb5..12c7252e 100644 --- a/dist/shared/constants/index.d.ts +++ b/dist/shared/constants/index.d.ts @@ -13,7 +13,7 @@ export { ROLES, USER_STATUS, type Role, type UserStatus, PROJECT_STATUS, PROJECT * Application Context for PostgreSQL RLS */ export declare const APP_CONTEXT: { - readonly TENANT_ID: "app.current_tenant"; + readonly TENANT_ID: "app.current_tenant_id"; readonly USER_ID: "app.current_user_id"; }; /** diff --git a/dist/shared/constants/index.js b/dist/shared/constants/index.js index 7fb8bcb5..32c7a1fc 100644 --- a/dist/shared/constants/index.js +++ b/dist/shared/constants/index.js @@ -80,7 +80,7 @@ Object.defineProperty(exports, "AUDIT_ACTION", { enumerable: true, get: function * Application Context for PostgreSQL RLS */ exports.APP_CONTEXT = { - TENANT_ID: 'app.current_tenant', + TENANT_ID: 'app.current_tenant_id', USER_ID: 'app.current_user_id', }; /** diff --git a/dist/shared/constants/index.js.map b/dist/shared/constants/index.js.map index c04daa82..93b66fcd 100644 --- a/dist/shared/constants/index.js.map +++ b/dist/shared/constants/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/constants/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,+EAA+E;AAC/E,qBAAqB;AACrB,+EAA+E;AAC/E,2DAO8B;AAN5B,gHAAA,UAAU,OAAA;AACV,+GAAA,SAAS,OAAA;AACT,gHAAA,UAAU,OAAA;AACV,gHAAA,UAAU,OAAA;AACV,sHAAA,gBAAgB,OAAA;AAIlB,+EAA+E;AAC/E,gBAAgB;AAChB,+EAA+E;AAC/E,iDAOyB;AANvB,4GAAA,WAAW,OAAA;AACX,2GAAA,UAAU,OAAA;AACV,2GAAA,UAAU,OAAA;AACV,6GAAA,YAAY,OAAA;AACZ,4GAAA,WAAW,OAAA;AACX,8GAAA,aAAa,OAAA;AAGf,+EAA+E;AAC/E,QAAQ;AACR,+EAA+E;AAC/E,qDAkF2B;AAjFzB,OAAO;AACP,wGAAA,KAAK,OAAA;AACL,8GAAA,WAAW,OAAA;AAIX,WAAW;AACX,iHAAA,cAAc,OAAA;AACd,+GAAA,YAAY,OAAA;AACZ,yHAAA,sBAAsB,OAAA;AACtB,6GAAA,UAAU,OAAA;AAMV,SAAS;AACT,+GAAA,YAAY,OAAA;AACZ,gHAAA,aAAa,OAAA;AAIb,YAAY;AACZ,wHAAA,qBAAqB,OAAA;AACrB,qHAAA,kBAAkB,OAAA;AAClB,kHAAA,eAAe,OAAA;AAK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,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO;IACxC,SAAS,EAAE,EAAE;IACb,mBAAmB,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC;IAC9D,iBAAiB,EAAE,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,yEAAyE,CAAC;IACvI,yBAAyB,EAAE,CAAC,0BAA0B,EAAE,mEAAmE,CAAC;CACpH,CAAC;AAEX;;GAEG;AACU,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE,EAAW,WAAW;IAC/B,MAAM,EAAE,GAAG,EAAS,YAAY;IAChC,IAAI,EAAE,IAAI,EAAU,SAAS;IAC7B,GAAG,EAAE,KAAK,EAAU,WAAW;CACvB,CAAC;AAEX;;GAEG;AACU,QAAA,YAAY,GAAG;IAC1B,GAAG,EAAE,0BAA0B;IAC/B,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,kBAAkB;CAC3B,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/constants/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,+EAA+E;AAC/E,qBAAqB;AACrB,+EAA+E;AAC/E,2DAO8B;AAN5B,gHAAA,UAAU,OAAA;AACV,+GAAA,SAAS,OAAA;AACT,gHAAA,UAAU,OAAA;AACV,gHAAA,UAAU,OAAA;AACV,sHAAA,gBAAgB,OAAA;AAIlB,+EAA+E;AAC/E,gBAAgB;AAChB,+EAA+E;AAC/E,iDAOyB;AANvB,4GAAA,WAAW,OAAA;AACX,2GAAA,UAAU,OAAA;AACV,2GAAA,UAAU,OAAA;AACV,6GAAA,YAAY,OAAA;AACZ,4GAAA,WAAW,OAAA;AACX,8GAAA,aAAa,OAAA;AAGf,+EAA+E;AAC/E,QAAQ;AACR,+EAA+E;AAC/E,qDAkF2B;AAjFzB,OAAO;AACP,wGAAA,KAAK,OAAA;AACL,8G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;;GAEG;AACU,QAAA,QAAQ,GAAG;IACtB,IAAI,EAAE,iEAAiE;IACvE,GAAG,EAAE,mCAAmC;IACxC,IAAI,EAAE,6CAA6C;IACnD,GAAG,EAAE,aAAa;IAClB,KAAK,EAAE,4BAA4B;IACnC,QAAQ,EAAE,oBAAoB;IAC9B,cAAc,EAAE,YAAY;CACpB,CAAC;AAEX;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,aAAa,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO;IACxC,SAAS,EAAE,EAAE;IACb,mBAAmB,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC;IAC9D,iBAAiB,EAAE,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,yEAAyE,CAAC;IACvI,yBAAyB,EAAE,CAAC,0BAA0B,EAAE,mEAAmE,CAAC;CACpH,CAAC;AAEX;;GAEG;AACU,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE,EAAW,WAAW;IAC/B,MAAM,EAAE,GAAG,EAAS,YAAY;IAChC,IAAI,EAAE,IAAI,EAAU,SAAS;IAC7B,GAAG,EAAE,KAAK,EAAU,WAAW;CACvB,CAAC;AAEX;;GAEG;AACU,QAAA,YAAY,GAAG;IAC1B,GAAG,EAAE,0BAA0B;IAC/B,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,kBAAkB;CAC3B,CAAC"} \ No newline at end of file diff --git a/dist/shared/interfaces/base.interface.d.ts b/dist/shared/interfaces/base.interface.d.ts index d6656b8b..610b6db1 100644 --- a/dist/shared/interfaces/base.interface.d.ts +++ b/dist/shared/interfaces/base.interface.d.ts @@ -24,11 +24,16 @@ export interface TenantEntity extends BaseEntity { export interface AuthenticatedRequest extends Request { user?: { sub: string; + userId: string; id: string; email: string; tenantId: string; roles: string[]; type: 'access' | 'refresh'; + sessionId?: string; + jti?: string; + iat?: number; + exp?: number; }; tenantId?: string; } diff --git a/dist/shared/interfaces/base.interface.d.ts.map b/dist/shared/interfaces/base.interface.d.ts.map index c7e2f431..7d4351b7 100644 --- a/dist/shared/interfaces/base.interface.d.ts.map +++ b/dist/shared/interfaces/base.interface.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"base.interface.d.ts","sourceRoot":"","sources":["../../../src/shared/interfaces/base.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,OAAO;IACnD,IAAI,CAAC,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;KAC5B,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC"} \ No newline at end of file +{"version":3,"file":"base.interface.d.ts","sourceRoot":"","sources":["../../../src/shared/interfaces/base.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,OAAO;IACnD,IAAI,CAAC,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC"} \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 4ee1a68a..670760da 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -521,6 +521,15 @@ "dev": true, "license": "MIT" }, + "node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -545,6 +554,17 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz", + "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==", + "license": "MIT", + "dependencies": { + "@so-ric/colorspace": "^1.1.6", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz", @@ -1331,6 +1351,16 @@ "@sinonjs/commons": "^3.0.0" } }, + "node_modules/@so-ric/colorspace": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@so-ric/colorspace/-/colorspace-1.1.6.tgz", + "integrity": "sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==", + "license": "MIT", + "dependencies": { + "color": "^5.0.2", + "text-hex": "1.0.x" + } + }, "node_modules/@sqltools/formatter": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/@sqltools/formatter/-/formatter-1.2.5.tgz", @@ -1582,6 +1612,18 @@ "undici-types": "~6.21.0" } }, + "node_modules/@types/pg": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.16.0.tgz", + "integrity": "sha512-RmhMd/wD+CF8Dfo+cVIy3RR5cl8CyfXQ0tGgW6XBL8L4LM/UTEbNXYRbLwU6w+CgrKBNbrQWt4FUtTfaU5jSYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "pg-protocol": "*", + "pg-types": "^2.2.0" + } + }, "node_modules/@types/qs": { "version": "6.14.0", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz", @@ -1668,6 +1710,12 @@ "@types/serve-static": "*" } }, + "node_modules/@types/triple-beam": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", + "license": "MIT" + }, "node_modules/@types/validator": { "version": "13.15.10", "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.15.10.tgz", @@ -2079,6 +2127,12 @@ "node": ">=8" } }, + "node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" + }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", @@ -2683,6 +2737,19 @@ "dev": true, "license": "MIT" }, + "node_modules/color": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", + "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", + "license": "MIT", + "dependencies": { + "color-convert": "^3.1.3", + "color-string": "^2.1.3" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -2701,6 +2768,48 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "license": "MIT" }, + "node_modules/color-string": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.4.tgz", + "integrity": "sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==", + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/color-string/node_modules/color-name": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", + "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/color/node_modules/color-convert": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.3.tgz", + "integrity": "sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==", + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=14.6" + } + }, + "node_modules/color/node_modules/color-name": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", + "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -2953,9 +3062,10 @@ } }, "node_modules/dotenv": { - "version": "16.6.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", - "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "version": "17.2.3", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz", + "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==", + "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=12" @@ -3035,6 +3145,12 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "license": "MIT" + }, "node_modules/encodeurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", @@ -3509,6 +3625,12 @@ "bser": "2.1.1" } }, + "node_modules/fecha": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", + "license": "MIT" + }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -3607,6 +3729,12 @@ "dev": true, "license": "ISC" }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "license": "MIT" + }, "node_modules/for-each": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", @@ -4239,7 +4367,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5082,6 +5209,12 @@ "node": ">=6" } }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "license": "MIT" + }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -5191,6 +5324,23 @@ "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", "license": "MIT" }, + "node_modules/logform": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -5552,6 +5702,15 @@ "wrappy": "1" } }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, "node_modules/onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", @@ -6144,6 +6303,20 @@ "dev": true, "license": "MIT" }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -6308,6 +6481,15 @@ ], "license": "MIT" }, + "node_modules/safe-stable-stringify": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", + "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -6690,6 +6872,15 @@ "node": ">=14" } }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/stack-utils": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", @@ -6722,6 +6913,15 @@ "node": ">= 0.8" } }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, "node_modules/string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -6912,6 +7112,12 @@ "node": "*" } }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "license": "MIT" + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -6972,6 +7178,15 @@ "tree-kill": "cli.js" } }, + "node_modules/triple-beam": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", + "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", + "license": "MIT", + "engines": { + "node": ">= 14.0.0" + } + }, "node_modules/ts-api-utils": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", @@ -7349,6 +7564,18 @@ } } }, + "node_modules/typeorm/node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/typeorm/node_modules/glob": { "version": "10.5.0", "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", @@ -7476,6 +7703,12 @@ "punycode": "^2.1.0" } }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, "node_modules/utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", @@ -7584,6 +7817,42 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/winston": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.19.0.tgz", + "integrity": "sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==", + "license": "MIT", + "dependencies": { + "@colors/colors": "^1.6.0", + "@dabh/diagnostics": "^2.0.8", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.7.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.9.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-transport": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", + "license": "MIT", + "dependencies": { + "logform": "^2.7.0", + "readable-stream": "^3.6.2", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -7753,6 +8022,15 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/zod": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.5.tgz", + "integrity": "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } } } diff --git a/node_modules/dotenv/CHANGELOG.md b/node_modules/dotenv/CHANGELOG.md index 8b80dd6c..90e19a0a 100644 --- a/node_modules/dotenv/CHANGELOG.md +++ b/node_modules/dotenv/CHANGELOG.md @@ -2,7 +2,85 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -## [Unreleased](https://github.com/motdotla/dotenv/compare/v16.6.1...master) +## [Unreleased](https://github.com/motdotla/dotenv/compare/v17.2.3...master) + +## [17.2.3](https://github.com/motdotla/dotenv/compare/v17.2.2...v17.2.3) (2025-09-29) + +### Changed + +* Fixed typescript error definition ([#912](https://github.com/motdotla/dotenv/pull/912)) + +## [17.2.2](https://github.com/motdotla/dotenv/compare/v17.2.1...v17.2.2) (2025-09-02) + +### Added + +- 🙏 A big thank you to new sponsor [Tuple.app](https://tuple.app/dotenv) - *the premier screen sharing app for developers on macOS and Windows.* Go check them out. It's wonderful and generous of them to give back to open source by sponsoring dotenv. Give them some love back. + +## [17.2.1](https://github.com/motdotla/dotenv/compare/v17.2.0...v17.2.1) (2025-07-24) + +### Changed + +* Fix clickable tip links by removing parentheses ([#897](https://github.com/motdotla/dotenv/pull/897)) + +## [17.2.0](https://github.com/motdotla/dotenv/compare/v17.1.0...v17.2.0) (2025-07-09) + +### Added + +* Optionally specify `DOTENV_CONFIG_QUIET=true` in your environment or `.env` file to quiet the runtime log ([#889](https://github.com/motdotla/dotenv/pull/889)) +* Just like dotenv any `DOTENV_CONFIG_` environment variables take precedence over any code set options like `({quiet: false})` + +```ini +# .env +DOTENV_CONFIG_QUIET=true +HELLO="World" +``` +```js +// index.js +require('dotenv').config() +console.log(`Hello ${process.env.HELLO}`) +``` +```sh +$ node index.js +Hello World + +or + +$ DOTENV_CONFIG_QUIET=true node index.js +``` + +## [17.1.0](https://github.com/motdotla/dotenv/compare/v17.0.1...v17.1.0) (2025-07-07) + +### Added + +* Add additional security and configuration tips to the runtime log ([#884](https://github.com/motdotla/dotenv/pull/884)) +* Dim the tips text from the main injection information text + +```js +const TIPS = [ + '🔐 encrypt with dotenvx: https://dotenvx.com', + '🔐 prevent committing .env to code: https://dotenvx.com/precommit', + '🔐 prevent building .env in docker: https://dotenvx.com/prebuild', + '🛠️ run anywhere with `dotenvx run -- yourcommand`', + '⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }', + '⚙️ enable debug logging with { debug: true }', + '⚙️ override existing env vars with { override: true }', + '⚙️ suppress all logs with { quiet: true }', + '⚙️ write to custom object with { processEnv: myObject }', + '⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }' +] +``` + +## [17.0.1](https://github.com/motdotla/dotenv/compare/v17.0.0...v17.0.1) (2025-07-01) + +### Changed + +* Patched injected log to count only populated/set keys to process.env ([#879](https://github.com/motdotla/dotenv/pull/879)) + +## [17.0.0](https://github.com/motdotla/dotenv/compare/v16.6.1...v17.0.0) (2025-06-27) + +### Changed + +- Default `quiet` to false - informational (file and keys count) runtime log message shows by default ([#875](https://github.com/motdotla/dotenv/pull/875)) ## [16.6.1](https://github.com/motdotla/dotenv/compare/v16.6.0...v16.6.1) (2025-06-27) diff --git a/node_modules/dotenv/README-es.md b/node_modules/dotenv/README-es.md index 5fc934df..978a73b5 100644 --- a/node_modules/dotenv/README-es.md +++ b/node_modules/dotenv/README-es.md @@ -6,19 +6,13 @@
-

- - Dotenv es apoyado por la comunidad. - -

-Gracias espaciales a: -
-
+**Special thanks to [our sponsors](https://github.com/sponsors/motdotla)** -Graphite - - - Graphite is the AI developer productivity platform helping teams on GitHub ship higher quality software, faster. + +
+ Tuple +
+ Tuple, the premier screen sharing app for developers on macOS and Windows.

diff --git a/node_modules/dotenv/README.md b/node_modules/dotenv/README.md index 251aadad..c942898f 100644 --- a/node_modules/dotenv/README.md +++ b/node_modules/dotenv/README.md @@ -8,11 +8,11 @@ **Special thanks to [our sponsors](https://github.com/sponsors/motdotla)** -
-Graphite -
- - Graphite is the AI developer productivity platform helping teams on GitHub ship higher quality software, faster. + +
+ Tuple +
+ Tuple, the premier screen sharing app for developers on macOS and Windows.

@@ -83,6 +83,14 @@ console.log(process.env) // remove this after you've confirmed it is working import 'dotenv/config' ``` +ES6 import if you need to set config options: + +```javascript +import dotenv from 'dotenv' + +dotenv.config({ path: '/custom/path/to/.env' }) +``` + That's it. `process.env` now has the keys and values you defined in your `.env` file: ```javascript @@ -165,7 +173,24 @@ $ DOTENV_CONFIG_ENCODING=latin1 DOTENV_CONFIG_DEBUG=true node -r dotenv/config y ### Variable Expansion -You need to add the value of another variable in one of your variables? Use [dotenv-expand](https://github.com/motdotla/dotenv-expand). +Use [dotenvx](https://github.com/dotenvx/dotenvx) to use variable expansion. + +Reference and expand variables already on your machine for use in your .env file. + +```ini +# .env +USERNAME="username" +DATABASE_URL="postgres://${USERNAME}@localhost/my_database" +``` +```js +// index.js +console.log('DATABASE_URL', process.env.DATABASE_URL) +``` +```sh +$ dotenvx run --debug -- node index.js +[dotenvx@0.14.1] injecting env (2) from .env +DATABASE_URL postgres://username@localhost/my_database +``` ### Command Substitution @@ -272,7 +297,6 @@ Dotenv exposes four functions: * `config` * `parse` * `populate` -* `decrypt` ### Config @@ -312,6 +336,29 @@ Pass in multiple files as an array, and they will be parsed in order and combine require('dotenv').config({ path: ['.env.local', '.env'] }) ``` +##### quiet + +Default: `false` + +Suppress runtime logging message. + +```js +// index.js +require('dotenv').config({ quiet: false }) // change to true to suppress +console.log(`Hello ${process.env.HELLO}`) +``` + +```ini +# .env +.env +``` + +```sh +$ node index.js +[dotenv@17.0.0] injecting env (1) from .env +Hello World +``` + ##### encoding Default: `utf8` @@ -559,7 +606,7 @@ Does that make sense? It's a bit unintuitive, but it is how importing of ES6 mod There are two alternatives to this approach: -1. Preload dotenv: `node --require dotenv/config index.js` (_Note: you do not need to `import` dotenv with this approach_) +1. Preload with dotenvx: `dotenvx run -- node index.js` (_Note: you do not need to `import` dotenv with this approach_) 2. Create a separate file that will execute `config` first as outlined in [this comment on #133](https://github.com/motdotla/dotenv/issues/133#issuecomment-255298822) ### Why am I getting the error `Module not found: Error: Can't resolve 'crypto|os|path'`? @@ -606,7 +653,7 @@ Try [dotenv-expand](https://github.com/motdotla/dotenv-expand) ### What about syncing and securing .env files? -Use [dotenvx](https://github.com/dotenvx/dotenvx) +Use [dotenvx](https://github.com/dotenvx/dotenvx) to unlock syncing encrypted .env files over git. ### What if I accidentally commit my `.env` file to code? diff --git a/node_modules/dotenv/lib/main.d.ts b/node_modules/dotenv/lib/main.d.ts index 82604e85..0bbb9cc6 100644 --- a/node_modules/dotenv/lib/main.d.ts +++ b/node_modules/dotenv/lib/main.d.ts @@ -6,6 +6,10 @@ export interface DotenvParseOutput { [name: string]: string; } +export interface DotenvPopulateOutput { + [name: string]: string; +} + /** * Parses a string or buffer in the .env file format into an object. * @@ -86,10 +90,19 @@ export interface DotenvConfigOptions { } export interface DotenvConfigOutput { - error?: Error; + error?: DotenvError; parsed?: DotenvParseOutput; } +type DotenvError = Error & { + code: + | 'MISSING_DATA' + | 'INVALID_DOTENV_KEY' + | 'NOT_FOUND_DOTENV_ENVIRONMENT' + | 'DECRYPTION_FAILED' + | 'OBJECT_REQUIRED'; +} + export interface DotenvPopulateOptions { /** * Default: `false` @@ -144,10 +157,14 @@ export function configDotenv(options?: DotenvConfigOptions): DotenvConfigOutput; * @param processEnv - the target JSON object. in most cases use process.env but you can also pass your own JSON object * @param parsed - the source JSON object * @param options - additional options. example: `{ quiet: false, debug: true, override: false }` - * @returns {void} + * @returns an object with the keys and values that were actually set * */ -export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): void; +export function populate( + processEnv: DotenvPopulateInput, + parsed: DotenvPopulateInput, + options?: DotenvConfigOptions +): DotenvPopulateOutput; /** * Decrypt ciphertext diff --git a/node_modules/dotenv/lib/main.js b/node_modules/dotenv/lib/main.js index 91cabe47..67712ca5 100644 --- a/node_modules/dotenv/lib/main.js +++ b/node_modules/dotenv/lib/main.js @@ -6,6 +6,46 @@ const packageJson = require('../package.json') const version = packageJson.version +// Array of tips to display randomly +const TIPS = [ + '🔐 encrypt with Dotenvx: https://dotenvx.com', + '🔐 prevent committing .env to code: https://dotenvx.com/precommit', + '🔐 prevent building .env in docker: https://dotenvx.com/prebuild', + '📡 add observability to secrets: https://dotenvx.com/ops', + '👥 sync secrets across teammates & machines: https://dotenvx.com/ops', + '🗂️ backup and recover secrets: https://dotenvx.com/ops', + '✅ audit secrets and track compliance: https://dotenvx.com/ops', + '🔄 add secrets lifecycle management: https://dotenvx.com/ops', + '🔑 add access controls to secrets: https://dotenvx.com/ops', + '🛠️ run anywhere with `dotenvx run -- yourcommand`', + '⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }', + '⚙️ enable debug logging with { debug: true }', + '⚙️ override existing env vars with { override: true }', + '⚙️ suppress all logs with { quiet: true }', + '⚙️ write to custom object with { processEnv: myObject }', + '⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }' +] + +// Get a random tip from the tips array +function _getRandomTip () { + return TIPS[Math.floor(Math.random() * TIPS.length)] +} + +function parseBoolean (value) { + if (typeof value === 'string') { + return !['false', '0', 'no', 'off', ''].includes(value.toLowerCase()) + } + return Boolean(value) +} + +function supportsAnsi () { + return process.stdout.isTTY // && process.env.TERM !== 'dumb' +} + +function dim (text) { + return supportsAnsi() ? `\x1b[2m${text}\x1b[0m` : text +} + const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg // Parse src into an Object @@ -91,7 +131,7 @@ function _parseVault (options) { } function _warn (message) { - console.log(`[dotenv@${version}][WARN] ${message}`) + console.error(`[dotenv@${version}][WARN] ${message}`) } function _debug (message) { @@ -189,8 +229,8 @@ function _resolveHome (envPath) { } function _configVault (options) { - const debug = Boolean(options && options.debug) - const quiet = options && 'quiet' in options ? options.quiet : true + const debug = parseBoolean(process.env.DOTENV_CONFIG_DEBUG || (options && options.debug)) + const quiet = parseBoolean(process.env.DOTENV_CONFIG_QUIET || (options && options.quiet)) if (debug || !quiet) { _log('Loading env from encrypted .env.vault') @@ -211,8 +251,12 @@ function _configVault (options) { function configDotenv (options) { const dotenvPath = path.resolve(process.cwd(), '.env') let encoding = 'utf8' - const debug = Boolean(options && options.debug) - const quiet = options && 'quiet' in options ? options.quiet : true + let processEnv = process.env + if (options && options.processEnv != null) { + processEnv = options.processEnv + } + let debug = parseBoolean(processEnv.DOTENV_CONFIG_DEBUG || (options && options.debug)) + let quiet = parseBoolean(processEnv.DOTENV_CONFIG_QUIET || (options && options.quiet)) if (options && options.encoding) { encoding = options.encoding @@ -252,15 +296,14 @@ function configDotenv (options) { } } - let processEnv = process.env - if (options && options.processEnv != null) { - processEnv = options.processEnv - } + const populated = DotenvModule.populate(processEnv, parsedAll, options) - DotenvModule.populate(processEnv, parsedAll, options) + // handle user settings DOTENV_CONFIG_ options inside .env file(s) + debug = parseBoolean(processEnv.DOTENV_CONFIG_DEBUG || debug) + quiet = parseBoolean(processEnv.DOTENV_CONFIG_QUIET || quiet) if (debug || !quiet) { - const keysCount = Object.keys(parsedAll).length + const keysCount = Object.keys(populated).length const shortPaths = [] for (const filePath of optionPaths) { try { @@ -274,7 +317,7 @@ function configDotenv (options) { } } - _log(`injecting env (${keysCount}) from ${shortPaths.join(',')}`) + _log(`injecting env (${keysCount}) from ${shortPaths.join(',')} ${dim(`-- tip: ${_getRandomTip()}`)}`) } if (lastError) { @@ -338,6 +381,7 @@ function decrypt (encrypted, keyStr) { function populate (processEnv, parsed, options = {}) { const debug = Boolean(options && options.debug) const override = Boolean(options && options.override) + const populated = {} if (typeof parsed !== 'object') { const err = new Error('OBJECT_REQUIRED: Please check the processEnv argument being passed to populate') @@ -350,6 +394,7 @@ function populate (processEnv, parsed, options = {}) { if (Object.prototype.hasOwnProperty.call(processEnv, key)) { if (override === true) { processEnv[key] = parsed[key] + populated[key] = parsed[key] } if (debug) { @@ -361,8 +406,11 @@ function populate (processEnv, parsed, options = {}) { } } else { processEnv[key] = parsed[key] + populated[key] = parsed[key] } } + + return populated } const DotenvModule = { diff --git a/node_modules/dotenv/package.json b/node_modules/dotenv/package.json index e9372560..ec347e39 100644 --- a/node_modules/dotenv/package.json +++ b/node_modules/dotenv/package.json @@ -1,6 +1,6 @@ { "name": "dotenv", - "version": "16.6.1", + "version": "17.2.3", "description": "Loads environment variables from .env file", "main": "lib/main.js", "types": "lib/main.d.ts", @@ -22,8 +22,8 @@ "dts-check": "tsc --project tests/types/tsconfig.json", "lint": "standard", "pretest": "npm run lint && npm run dts-check", - "test": "tap run --allow-empty-coverage --disable-coverage --timeout=60000", - "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov", + "test": "tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000", + "test:coverage": "tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov", "prerelease": "npm test", "release": "standard-version" },