@runnerpro/backend 1.17.0 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +82 -82
  2. package/lib/cjs/chat/api/conversation.js +42 -2
  3. package/lib/cjs/chat/api/listConversations.js +12 -12
  4. package/lib/cjs/chat/saveResponseTime.js +5 -5
  5. package/lib/cjs/chat/utils/getCountNotificaciones.js +12 -12
  6. package/lib/cjs/index.js +6 -1
  7. package/lib/cjs/mediaProcessing/index.js +255 -0
  8. package/lib/cjs/sendMail/index.js +65 -65
  9. package/lib/cjs/types/chat/api/conversation.d.ts +28 -1
  10. package/lib/cjs/types/chat/api/conversation.d.ts.map +1 -1
  11. package/lib/cjs/types/index.d.ts +2 -1
  12. package/lib/cjs/types/index.d.ts.map +1 -1
  13. package/lib/cjs/types/mediaProcessing/index.d.ts +65 -0
  14. package/lib/cjs/types/mediaProcessing/index.d.ts.map +1 -0
  15. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10k.d.ts +1 -1
  16. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.d.ts +1 -1
  17. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.d.ts +1 -1
  18. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.d.ts +1 -1
  19. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21k.d.ts +1 -1
  20. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.d.ts +1 -1
  21. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.d.ts +1 -1
  22. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.d.ts +1 -1
  23. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42k.d.ts +51 -2
  24. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42k.d.ts.map +1 -1
  25. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.d.ts +1 -1
  26. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.d.ts +19 -2
  27. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.d.ts.map +1 -1
  28. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.d.ts +1 -1
  29. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5k.d.ts +1 -1
  30. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.d.ts +1 -1
  31. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.d.ts +1 -1
  32. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.js +1 -1
  33. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.js +1 -1
  34. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.js +1 -1
  35. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.js +1 -1
  36. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.js +1 -1
  37. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.js +1 -1
  38. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.js +1 -1
  39. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.js +1 -0
  40. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.js +1 -1
  41. package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.js +1 -1
  42. package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.js +1 -1
  43. package/package.json +81 -79
package/package.json CHANGED
@@ -1,79 +1,81 @@
1
- {
2
- "name": "@runnerpro/backend",
3
- "version": "1.17.0",
4
- "description": "A collection of common backend functions",
5
- "exports": {
6
- ".": "./lib/cjs/index.js"
7
- },
8
- "types": "./lib/cjs/types/index.d.ts",
9
- "main": "./lib/cjs/index.js",
10
- "files": [
11
- "lib/**/*"
12
- ],
13
- "scripts": {
14
- "clean": "del-cli ./lib",
15
- "build": "npm run clean && tsc -p ./configs/tsconfig.cjs.json",
16
- "deploy": "npm run build && npm publish",
17
- "semantic-release": "semantic-release",
18
- "lint": "eslint --ext .ts --ignore-path .gitignore .",
19
- "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
20
- "prepare": "husky",
21
- "test": "jest"
22
- },
23
- "release": {
24
- "branches": [
25
- "main"
26
- ]
27
- },
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
- "repository": {
32
- "type": "git",
33
- "url": "https://gitlab.com/runner-pro/runnerpro-backend.git"
34
- },
35
- "author": "Runner Pro",
36
- "license": "MIT",
37
- "devDependencies": {
38
- "@eslint/js": "^9.6.0",
39
- "@types/eslint__js": "^8.42.3",
40
- "@types/nodemailer": "^6.4.15",
41
- "@types/pg": "^8.11.3",
42
- "del-cli": "5.1.0",
43
- "eslint": "^8.57.0",
44
- "eslint-config-prettier": "^9.1.0",
45
- "eslint-plugin-exception-handling": "^1.0.2",
46
- "eslint-plugin-sonarjs": "^1.0.3",
47
- "husky": "^9.0.11",
48
- "jest": "^29.7.0",
49
- "semantic-release": "23.0.2",
50
- "ts-node": "10.9.2",
51
- "typescript": "5.3.3",
52
- "typescript-eslint": "^7.15.0"
53
- },
54
- "peerDependencies": {
55
- "@napi-rs/canvas": "^0.1.53",
56
- "@runnerpro/common": "^1.5.10",
57
- "axios": "^1.6.7",
58
- "image-size": "^1.0.2",
59
- "jimp": "^0.22.10",
60
- "nodemailer": "6.9.9",
61
- "pg": "8.11.3",
62
- "uuidv4": "^6.2.13"
63
- },
64
- "dependencies": {
65
- "@google-cloud/storage": "^7.11.3",
66
- "@google-cloud/translate": "^8.3.0",
67
- "@google-cloud/vertexai": "^1.4.0",
68
- "@notionhq/client": "^2.2.15",
69
- "exifr": "^7.1.3",
70
- "ffmpeg-static": "^5.2.0",
71
- "ffprobe-static": "^3.1.0",
72
- "firebase-admin": "^11.10.1",
73
- "fluent-ffmpeg": "^2.1.3",
74
- "googleapis": "^144.0.0",
75
- "multer": "^1.4.5-lts.1",
76
- "oauth-signature": "1.5.0",
77
- "socket.io": "^4.7.2"
78
- }
79
- }
1
+ {
2
+ "name": "@runnerpro/backend",
3
+ "version": "1.17.2",
4
+ "description": "A collection of common backend functions",
5
+ "exports": {
6
+ ".": "./lib/cjs/index.js"
7
+ },
8
+ "types": "./lib/cjs/types/index.d.ts",
9
+ "main": "./lib/cjs/index.js",
10
+ "files": [
11
+ "lib/**/*"
12
+ ],
13
+ "scripts": {
14
+ "clean": "del-cli ./lib",
15
+ "build": "npm run clean && tsc -p ./configs/tsconfig.cjs.json",
16
+ "deploy": "npm run build && npm publish",
17
+ "semantic-release": "semantic-release",
18
+ "lint": "eslint --ext .ts --ignore-path .gitignore .",
19
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
20
+ "prepare": "husky",
21
+ "test": "jest"
22
+ },
23
+ "release": {
24
+ "branches": [
25
+ "main"
26
+ ]
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://gitlab.com/runner-pro/runnerpro-backend.git"
34
+ },
35
+ "author": "Runner Pro",
36
+ "license": "MIT",
37
+ "devDependencies": {
38
+ "@eslint/js": "^9.6.0",
39
+ "@types/eslint__js": "^8.42.3",
40
+ "@types/jest": "^30.0.0",
41
+ "@types/nodemailer": "^6.4.15",
42
+ "@types/pg": "^8.11.3",
43
+ "del-cli": "5.1.0",
44
+ "eslint": "^8.57.0",
45
+ "eslint-config-prettier": "^9.1.0",
46
+ "eslint-plugin-exception-handling": "^1.0.2",
47
+ "eslint-plugin-sonarjs": "^1.0.3",
48
+ "husky": "^9.0.11",
49
+ "jest": "^29.7.0",
50
+ "semantic-release": "23.0.2",
51
+ "ts-jest": "^29.4.6",
52
+ "ts-node": "10.9.2",
53
+ "typescript": "5.3.3",
54
+ "typescript-eslint": "^7.15.0"
55
+ },
56
+ "peerDependencies": {
57
+ "@napi-rs/canvas": "^0.1.53",
58
+ "@runnerpro/common": "^1.5.10",
59
+ "axios": "^1.6.7",
60
+ "image-size": "^1.0.2",
61
+ "jimp": "^0.22.10",
62
+ "nodemailer": "6.9.9",
63
+ "pg": "8.11.3",
64
+ "uuidv4": "^6.2.13"
65
+ },
66
+ "dependencies": {
67
+ "@google-cloud/storage": "^7.11.3",
68
+ "@google-cloud/translate": "^8.3.0",
69
+ "@google-cloud/vertexai": "^1.4.0",
70
+ "@notionhq/client": "^2.2.15",
71
+ "exifr": "^7.1.3",
72
+ "ffmpeg-static": "^5.2.0",
73
+ "ffprobe-static": "^3.1.0",
74
+ "firebase-admin": "^11.10.1",
75
+ "fluent-ffmpeg": "^2.1.3",
76
+ "googleapis": "^144.0.0",
77
+ "multer": "^1.4.5-lts.1",
78
+ "oauth-signature": "1.5.0",
79
+ "socket.io": "^4.7.2"
80
+ }
81
+ }