primer commit hacia el nuevo servidor de git

This commit is contained in:
2026-07-17 18:22:52 -03:00
parent 5696cee264
commit d6a4aab52b
6 changed files with 1458 additions and 1088 deletions
+822 -488
View File
File diff suppressed because it is too large Load Diff
+25 -25
View File
@@ -14,39 +14,39 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cors": "^2.8.13",
"@types/express": "4.17.17",
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.19",
"@types/express": "^4.17.25",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.2",
"@types/sanitize-html": "^2.16.0",
"@types/socket.io": "^3.0.1",
"@types/swagger-ui-express": "^4.1.3",
"concurrently": "^8.2.0",
"csv-parse": "^5.4.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/nodemailer": "^6.4.24",
"@types/sanitize-html": "^2.16.1",
"@types/socket.io": "^3.0.2",
"@types/swagger-ui-express": "^4.1.8",
"concurrently": "^8.2.2",
"csv-parse": "^5.6.0",
"jest": "^30.4.2",
"ts-jest": "^29.4.11",
"ts-node-dev": "^2.0.0",
"typescript": "5.0.4"
"typescript": "^5.9.3"
},
"dependencies": {
"@types/nodemailer": "^6.4.16",
"axios": "^1.7.7",
"axios": "^1.18.1",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dayjs": "^1.11.13",
"dotenv": "^16.0.3",
"express": "^4.21.1",
"google-auth-library": "^10.1.0",
"joi": "^17.9.2",
"jsonwebtoken": "^9.0.1",
"mongoose": "^8.8.3",
"multer": "^1.4.5-lts.1",
"nodemailer": "^6.9.15",
"sanitize-html": "^2.17.0",
"cors": "^2.8.6",
"dayjs": "^1.11.21",
"dotenv": "^16.6.1",
"express": "^4.22.2",
"google-auth-library": "^10.9.0",
"joi": "^17.13.4",
"jsonwebtoken": "^9.0.3",
"mongoose": "8.8.3",
"multer": "^1.4.5-lts.2",
"nodemailer": "^6.10.1",
"sanitize-html": "^2.17.6",
"sharp": "^0.33.5",
"socket.io": "^4.8.1",
"swagger-ui-express": "^5.0.0",
"socket.io": "^4.8.3",
"swagger-ui-express": "^5.0.1",
"tsoa": "^5.1.1"
}
}
+6 -6
View File
@@ -630,7 +630,7 @@ class UsersManager implements IUsersManager {
// Generate a JWT token using the payload and a secret word
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
});
// Create a user object by merging the payload and the token
@@ -684,7 +684,7 @@ class UsersManager implements IUsersManager {
// If the token expires in less than 5 minutes, generate a new one.
if (decodedPayload.exp < nowInSeconds + fiveMinutesInSeconds) {
finalToken = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
});
}
@@ -765,7 +765,7 @@ class UsersManager implements IUsersManager {
// Generate a JWT token using the payload and a secret word
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
});
// Create a user object by merging the payload and the token
@@ -810,7 +810,7 @@ class UsersManager implements IUsersManager {
// Generate a JWT token using the payload and a secret word
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
});
// Create a user object by merging the payload and the token
@@ -862,7 +862,7 @@ class UsersManager implements IUsersManager {
// Generate a JWT token using the payload and a secret word
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
});
// Create a user object by merging the payload and the token
@@ -907,7 +907,7 @@ class UsersManager implements IUsersManager {
// Generate a JWT token using the payload and a secret word
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
});
// Create a user object by merging the payload and the token