chore: Remove dist/ from git tracking (now in .gitignore)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rckrdmrd 2026-01-18 11:47:55 -06:00
parent b3cd6e2e51
commit 9bddee7320
60 changed files with 936 additions and 104 deletions

View File

@ -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;
}

View File

@ -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,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,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAA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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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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,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,OA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,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"}

View File

@ -277,6 +277,7 @@ class AuthService {
generateAccessToken(user, tenantId, roles) {
const payload = {
sub: user.id,
userId: user.id,
email: user.email,
tenantId,
roles,

File diff suppressed because one or more lines are too long

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/estimates/services/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,sBAAsB,CAAC"}
{"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"}

View File

@ -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

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/estimates/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,uDAAqC"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/hse/entities/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAG7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AAGxC,cAAc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A6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/hse/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,sDAAoC"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -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"}
{"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"}

View File

@ -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';

View File

@ -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"}
{"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"}

View File

@ -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);

View File

@ -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"}
{"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"}

View File

@ -4,4 +4,5 @@
*/
export * from './requisicion.service';
export * from './consumo-obra.service';
export { InventoryService } from './inventory.service';
//# sourceMappingURL=index.d.ts.map

View File

@ -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"}
{"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"}

View File

@ -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

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inventory/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,wDAAsC;AACtC,yDAAuC"}
{"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"}

View File

@ -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"}
{"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"}

74
dist/server.js vendored
View File

@ -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');

2
dist/server.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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";
};
/**

View File

@ -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',
};
/**

View File

@ -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,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"}

View File

@ -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;
}

View File

@ -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,EA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AC;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"}

286
node_modules/.package-lock.json generated vendored
View File

@ -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"
}
}
}
}

80
node_modules/dotenv/CHANGELOG.md generated vendored
View File

@ -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)

18
node_modules/dotenv/README-es.md generated vendored
View File

@ -6,19 +6,13 @@
<div align="center">
<p>
<sup>
<a href="https://github.com/sponsors/motdotla">Dotenv es apoyado por la comunidad.</a>
</sup>
</p>
<sup>Gracias espaciales a:</sup>
<br>
<br>
**Special thanks to [our sponsors](https://github.com/sponsors/motdotla)**
<a href="https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv"><img src="https://res.cloudinary.com/dotenv-org/image/upload/v1744035073/graphite_lgsrl8.gif" width="240" alt="Graphite" /></a>
<a href="https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv">
<b>Graphite is the AI developer productivity platform helping teams on GitHub ship higher quality software, faster.</b>
<a href="https://tuple.app/dotenv">
<div>
<img src="https://res.cloudinary.com/dotenv-org/image/upload/w_1000,ar_16:9,c_fill,g_auto,e_sharpen/v1756831704/github_repo_sponsorship_gq4hvx.png" width="600" alt="Tuple">
</div>
<b>Tuple, the premier screen sharing app for developers on macOS and Windows.</b>
</a>
<hr>
</div>

65
node_modules/dotenv/README.md generated vendored
View File

@ -8,11 +8,11 @@
**Special thanks to [our sponsors](https://github.com/sponsors/motdotla)**
<br>
<a href="https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv"><img src="https://res.cloudinary.com/dotenv-org/image/upload/v1744035073/graphite_lgsrl8.gif" width="240" alt="Graphite" /></a>
<br>
<a href="https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv">
<b>Graphite is the AI developer productivity platform helping teams on GitHub ship higher quality software, faster.</b>
<a href="https://tuple.app/dotenv">
<div>
<img src="https://res.cloudinary.com/dotenv-org/image/upload/w_1000,ar_16:9,c_fill,g_auto,e_sharpen/v1756831704/github_repo_sponsorship_gq4hvx.png" width="600" alt="Tuple">
</div>
<b>Tuple, the premier screen sharing app for developers on macOS and Windows.</b>
</a>
<hr>
</div>
@ -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?

23
node_modules/dotenv/lib/main.d.ts generated vendored
View File

@ -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

72
node_modules/dotenv/lib/main.js generated vendored
View File

@ -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 = {

6
node_modules/dotenv/package.json generated vendored
View File

@ -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"
},