@runnerpro/backend 1.16.12 → 1.17.0

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 (52) hide show
  1. package/lib/cjs/db/index.js +3 -3
  2. package/lib/cjs/types/workout/estructuraWorkout.d.ts +1 -4
  3. package/lib/cjs/types/workout/estructuraWorkout.d.ts.map +1 -1
  4. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10k.d.ts +57 -2
  5. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10k.d.ts.map +1 -1
  6. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.d.ts +57 -2
  7. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.d.ts.map +1 -1
  8. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.d.ts +57 -2
  9. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.d.ts.map +1 -1
  10. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.d.ts +19 -2
  11. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.d.ts.map +1 -1
  12. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21k.d.ts +27 -2
  13. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21k.d.ts.map +1 -1
  14. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.d.ts +27 -2
  15. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.d.ts.map +1 -1
  16. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.d.ts +19 -2
  17. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.d.ts.map +1 -1
  18. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.d.ts +27 -2
  19. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.d.ts.map +1 -1
  20. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.d.ts +51 -2
  21. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.d.ts.map +1 -1
  22. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.d.ts.map +1 -1
  23. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.d.ts +19 -2
  24. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.d.ts.map +1 -1
  25. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5k.d.ts +19 -2
  26. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5k.d.ts.map +1 -1
  27. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.d.ts +19 -2
  28. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.d.ts.map +1 -1
  29. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.d.ts +19 -2
  30. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.d.ts.map +1 -1
  31. package/lib/cjs/types/workout/planificacionPrueba7dias/common.d.ts +4 -4
  32. package/lib/cjs/types/workout/planificacionPrueba7dias/common.d.ts.map +1 -1
  33. package/lib/cjs/types/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer1.d.ts.map +1 -1
  34. package/lib/cjs/types/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer2.d.ts.map +1 -1
  35. package/lib/cjs/types/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer3.d.ts.map +1 -1
  36. package/lib/cjs/workout/estructuraWorkout.js +1 -130
  37. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.js +22 -13
  38. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.js +37 -31
  39. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.js +22 -14
  40. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.js +24 -14
  41. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.js +21 -12
  42. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.js +26 -16
  43. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.js +24 -15
  44. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.js +20 -12
  45. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.js +18 -10
  46. package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.js +24 -14
  47. package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.js +22 -13
  48. package/lib/cjs/workout/planificacionPrueba7dias/common.js +20 -47
  49. package/lib/cjs/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer1.js +9 -6
  50. package/lib/cjs/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer2.js +9 -6
  51. package/lib/cjs/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer3.js +9 -6
  52. package/package.json +1 -1
@@ -19,8 +19,8 @@ const getDay1 = (c) => {
19
19
  description: 'Entrenamiento basado en la intercalación de periodos de rodaje a tiempo de carrera + periodos de rodajes suaves.',
20
20
  shortDescription: "Calentamiento 10' + 12' + 3km + 12' + enfriamiento 10'",
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
- distancePlanned: (0, common_2.calculateDistance)(c, 1500, 70) + 3000 + (0, common_2.calculateDistance)(c, 2 * 12 * 60, 85),
23
- durationPlanned: 2880 + (0, common_2.calculateDuration)(c, 3000, 75),
22
+ distancePlanned: (0, common_2.calculateDistance)(c, 2880, 2) + 3000,
23
+ durationPlanned: 2880 + (0, common_2.calculateDuration)(c, 3000, 3),
24
24
  structure: [
25
25
  {
26
26
  index: 0,
@@ -28,7 +28,8 @@ const getDay1 = (c) => {
28
28
  typeMetric1: 2,
29
29
  valueMetric1: 600,
30
30
  typeMetric2: 1,
31
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
31
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
32
+ zoneMetric2: 2,
32
33
  },
33
34
  {
34
35
  index: 1,
@@ -36,7 +37,8 @@ const getDay1 = (c) => {
36
37
  typeMetric1: 2,
37
38
  valueMetric1: 720,
38
39
  typeMetric2: 1,
39
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
40
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
41
+ zoneMetric2: 2,
40
42
  },
41
43
  {
42
44
  index: 2,
@@ -50,7 +52,8 @@ const getDay1 = (c) => {
50
52
  typeMetric1: 1,
51
53
  valueMetric1: 3000,
52
54
  typeMetric2: 1,
53
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
55
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
56
+ zoneMetric2: 3,
54
57
  },
55
58
  {
56
59
  index: 4,
@@ -64,7 +67,8 @@ const getDay1 = (c) => {
64
67
  typeMetric1: 2,
65
68
  valueMetric1: 720,
66
69
  typeMetric2: 1,
67
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
70
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
71
+ zoneMetric2: 2,
68
72
  },
69
73
  {
70
74
  index: 6,
@@ -72,7 +76,8 @@ const getDay1 = (c) => {
72
76
  typeMetric1: 2,
73
77
  valueMetric1: 600,
74
78
  typeMetric2: 1,
75
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
79
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
80
+ zoneMetric2: 2,
76
81
  },
77
82
  ],
78
83
  };
@@ -83,8 +88,8 @@ const getDay2 = (c) => {
83
88
  description: 'Entrenamiento enfocado a mejorar la Velocidad en carrera. En este entrenamiento te enfrentarás a 8 series de 200 m a alta intensidad seguidos de 200 m de trote para recuperar.',
84
89
  shortDescription: "Calentamiento 15' + 8x (200m ritmo rápido + 200m suaves) + enfriamiento 10'",
85
90
  type: common_1.WORKOUT_TYPE.CORRER,
86
- distancePlanned: (0, common_2.calculateDistance)(c, 900, 75) + 8 * 400 + (0, common_2.calculateDistance)(c, 600, 70),
87
- durationPlanned: 1500 + (0, common_2.calculateDuration)(c, 8 * 200, 95) + (0, common_2.calculateDuration)(c, 8 * 200, 70),
91
+ distancePlanned: (0, common_2.calculateDistance)(c, 900, 2) + 8 * 400 + (0, common_2.calculateDistance)(c, 600, 2),
92
+ durationPlanned: 1500 + (0, common_2.calculateDuration)(c, 8 * 200, 5) + (0, common_2.calculateDuration)(c, 8 * 200, 2),
88
93
  structure: [
89
94
  // Calentamiento
90
95
  {
@@ -93,7 +98,8 @@ const getDay2 = (c) => {
93
98
  typeMetric1: 2,
94
99
  valueMetric1: 900,
95
100
  typeMetric2: 1,
96
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
101
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
102
+ zoneMetric2: 2,
97
103
  },
98
104
  ],
99
105
  };
@@ -107,7 +113,8 @@ const getDay2 = (c) => {
107
113
  typeMetric1: 1,
108
114
  valueMetric1: 200,
109
115
  typeMetric2: 1,
110
- valueMetric2: (0, common_2.paceByVAM)(c, 95),
116
+ valueMetric2: (0, common_2.paceByZone)(c, 5),
117
+ zoneMetric2: 5,
111
118
  });
112
119
  day.structure.push({
113
120
  index: 2 + i * 2,
@@ -118,7 +125,8 @@ const getDay2 = (c) => {
118
125
  typeMetric1: 1,
119
126
  valueMetric1: 200,
120
127
  typeMetric2: 1,
121
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
128
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
129
+ zoneMetric2: 2,
122
130
  });
123
131
  }
124
132
  day.structure.push({
@@ -127,7 +135,8 @@ const getDay2 = (c) => {
127
135
  typeMetric1: 2,
128
136
  valueMetric1: 600,
129
137
  typeMetric2: 1,
130
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
138
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
139
+ zoneMetric2: 2,
131
140
  });
132
141
  return day;
133
142
  };
@@ -138,6 +147,7 @@ const getDay3 = (c) => {
138
147
  shortDescription: '1h 15m ritmo suave',
139
148
  type: common_1.WORKOUT_TYPE.CORRER,
140
149
  durationPlanned: 4500,
141
- distancePlanned: (0, common_2.calculateDistance)(c, 4500, 75),
150
+ distancePlanned: (0, common_2.calculateDistance)(c, 4500, 2),
151
+ zoneMetric2: 2,
142
152
  };
143
153
  };
@@ -19,8 +19,8 @@ const getDay1 = (c) => {
19
19
  description: 'Intercala una carrera suave, con rodaje tempo, y finaliza con rodaje suave. Después del calentamiento y antes del enfriamiento puedes descansar',
20
20
  shortDescription: "Calentamiento 15' + 20' + 3km + 20' + enfriamiento 10'",
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
- distancePlanned: (0, common_2.calculateDistance)(c, 1500, 70) + 3000 + (0, common_2.calculateDistance)(c, 2 * 15 * 60, 75),
23
- durationPlanned: 2700 + (0, common_2.calculateDuration)(c, 3000, 80),
22
+ distancePlanned: (0, common_2.calculateDistance)(c, 1500, 2) + 3000 + (0, common_2.calculateDistance)(c, 2 * 15 * 60, 2),
23
+ durationPlanned: 3300 + (0, common_2.calculateDuration)(c, 3000, 3),
24
24
  structure: [
25
25
  {
26
26
  index: 0,
@@ -28,7 +28,8 @@ const getDay1 = (c) => {
28
28
  typeMetric1: 2,
29
29
  valueMetric1: 900,
30
30
  typeMetric2: 1,
31
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
31
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
32
+ zoneMetric2: 2,
32
33
  },
33
34
  {
34
35
  index: 1,
@@ -36,7 +37,8 @@ const getDay1 = (c) => {
36
37
  typeMetric1: 2,
37
38
  valueMetric1: 900,
38
39
  typeMetric2: 1,
39
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
40
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
41
+ zoneMetric2: 2,
40
42
  },
41
43
  {
42
44
  index: 2,
@@ -44,7 +46,8 @@ const getDay1 = (c) => {
44
46
  typeMetric1: 1,
45
47
  valueMetric1: 3000,
46
48
  typeMetric2: 1,
47
- valueMetric2: (0, common_2.paceByVAM)(c, 80),
49
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
50
+ zoneMetric2: 3,
48
51
  },
49
52
  {
50
53
  index: 3,
@@ -52,7 +55,8 @@ const getDay1 = (c) => {
52
55
  typeMetric1: 2,
53
56
  valueMetric1: 900,
54
57
  typeMetric2: 1,
55
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
58
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
59
+ zoneMetric2: 2,
56
60
  },
57
61
  {
58
62
  index: 4,
@@ -60,7 +64,8 @@ const getDay1 = (c) => {
60
64
  typeMetric1: 2,
61
65
  valueMetric1: 600,
62
66
  typeMetric2: 1,
63
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
67
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
68
+ zoneMetric2: 2,
64
69
  },
65
70
  ],
66
71
  };
@@ -71,7 +76,7 @@ const getDay2 = (c) => {
71
76
  description: "Entrenamiento medianamente duro, con una velocidad que podrías mantener al menos durante 20-30 minutos. El entrenamiento consiste en realizar 5 series de 6' con 1' de pausa entre series.",
72
77
  shortDescription: "Calentamiento 15' + 5x (6' ritmo rápido + 1'30\" recuperación) + enfriamiento 10'",
73
78
  type: common_1.WORKOUT_TYPE.CORRER,
74
- distancePlanned: (0, common_2.calculateDistance)(c, 900, 75) + (0, common_2.calculateDistance)(c, 5 * 360, 83) + (0, common_2.calculateDistance)(c, 600, 70),
79
+ distancePlanned: (0, common_2.calculateDistance)(c, 900, 2) + (0, common_2.calculateDistance)(c, 5 * 360, 4) + (0, common_2.calculateDistance)(c, 600, 2),
75
80
  durationPlanned: 1500 + 6 * 360 + 6 * 90,
76
81
  structure: [
77
82
  // Calentamiento
@@ -81,7 +86,8 @@ const getDay2 = (c) => {
81
86
  typeMetric1: 2,
82
87
  valueMetric1: 900,
83
88
  typeMetric2: 1,
84
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
89
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
90
+ zoneMetric2: 2,
85
91
  },
86
92
  ],
87
93
  };
@@ -95,7 +101,8 @@ const getDay2 = (c) => {
95
101
  typeMetric1: 2,
96
102
  valueMetric1: 360,
97
103
  typeMetric2: 1,
98
- valueMetric2: (0, common_2.paceByVAM)(c, 83),
104
+ valueMetric2: (0, common_2.paceByZone)(c, 4),
105
+ zoneMetric2: 4,
99
106
  });
100
107
  day.structure.push({
101
108
  index: 2 + i * 2,
@@ -113,7 +120,8 @@ const getDay2 = (c) => {
113
120
  typeMetric1: 2,
114
121
  valueMetric1: 600,
115
122
  typeMetric2: 1,
116
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
123
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
124
+ zoneMetric2: 2,
117
125
  });
118
126
  return day;
119
127
  };
@@ -124,6 +132,7 @@ const getDay3 = (c) => {
124
132
  shortDescription: '1h ritmo suave',
125
133
  type: common_1.WORKOUT_TYPE.CORRER,
126
134
  durationPlanned: 3600,
127
- distancePlanned: (0, common_2.calculateDistance)(c, 3600, 75),
135
+ distancePlanned: (0, common_2.calculateDistance)(c, 3600, 2),
136
+ zoneMetric2: 2,
128
137
  };
129
138
  };
@@ -4,11 +4,11 @@ exports.getPlanificacionPrueba7dias21kSub105 = void 0;
4
4
  const common_1 = require("@runnerpro/common");
5
5
  const common_2 = require("../common");
6
6
  const getPlanificacionPrueba7dias21kSub105 = (c) => {
7
- // Correr 1h al 70% VAM
7
+ // Correr 1h a zona 2
8
8
  const day1 = getDay1(c);
9
9
  // Calentamiento 15' + 4xprogresivo de 7'-5'-4'-3' + enfriamiento 15'
10
10
  const day2 = getDay2(c);
11
- // Correr 45' al 70% VAM
11
+ // Correr 45' a zona 2
12
12
  const day3 = getDay3(c);
13
13
  return [day1, day2, day3];
14
14
  };
@@ -19,8 +19,8 @@ const getDay1 = (c) => {
19
19
  description: 'Entrenamiento basado en la intercalación de periodos de rodaje a tiempo de carrera + periodos de rodajes suaves.',
20
20
  shortDescription: "Calentamiento 10' + 15' + 4km + 15' + enfriamiento 10'",
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
- distancePlanned: (0, common_2.calculateDistance)(c, 1200, 75) + 4000 + (0, common_2.calculateDistance)(c, 2 * 15 * 60, 85),
23
- durationPlanned: 3240 + (0, common_2.calculateDuration)(c, 4000, 75),
22
+ distancePlanned: (0, common_2.calculateDistance)(c, 3240, 2) + 4000,
23
+ durationPlanned: 3240 + (0, common_2.calculateDuration)(c, 4000, 3),
24
24
  structure: [
25
25
  {
26
26
  index: 0,
@@ -28,7 +28,8 @@ const getDay1 = (c) => {
28
28
  typeMetric1: 2,
29
29
  valueMetric1: 600,
30
30
  typeMetric2: 1,
31
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
31
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
32
+ zoneMetric2: 2,
32
33
  },
33
34
  {
34
35
  index: 1,
@@ -36,7 +37,8 @@ const getDay1 = (c) => {
36
37
  typeMetric1: 2,
37
38
  valueMetric1: 900,
38
39
  typeMetric2: 1,
39
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
40
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
41
+ zoneMetric2: 2,
40
42
  },
41
43
  {
42
44
  index: 2,
@@ -50,7 +52,8 @@ const getDay1 = (c) => {
50
52
  typeMetric1: 1,
51
53
  valueMetric1: 4000,
52
54
  typeMetric2: 1,
53
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
55
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
56
+ zoneMetric2: 3,
54
57
  },
55
58
  {
56
59
  index: 4,
@@ -64,7 +67,8 @@ const getDay1 = (c) => {
64
67
  typeMetric1: 2,
65
68
  valueMetric1: 900,
66
69
  typeMetric2: 1,
67
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
70
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
71
+ zoneMetric2: 2,
68
72
  },
69
73
  {
70
74
  index: 6,
@@ -72,7 +76,8 @@ const getDay1 = (c) => {
72
76
  typeMetric1: 2,
73
77
  valueMetric1: 600,
74
78
  typeMetric2: 1,
75
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
79
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
80
+ zoneMetric2: 2,
76
81
  },
77
82
  ],
78
83
  };
@@ -83,8 +88,8 @@ const getDay2 = (c) => {
83
88
  description: 'Entrenamiento enfocado a mejorar la Velocidad en carrera. En este entrenamiento te enfrentarás a 8 series de 200 m a alta intensidad seguidos de 200 m de trote para recuperar.',
84
89
  shortDescription: "Calentamiento 15' + 10x (200m ritmo rápido + 200m suaves) + enfriamiento 15'",
85
90
  type: common_1.WORKOUT_TYPE.CORRER,
86
- distancePlanned: (0, common_2.calculateDistance)(c, 900, 75) + 10 * 400 + (0, common_2.calculateDistance)(c, 900, 70),
87
- durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 10 * 200, 95) + (0, common_2.calculateDuration)(c, 10 * 200, 70),
91
+ distancePlanned: (0, common_2.calculateDistance)(c, 900, 2) + 10 * 400 + (0, common_2.calculateDistance)(c, 900, 2),
92
+ durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 10 * 200, 5) + (0, common_2.calculateDuration)(c, 10 * 200, 2),
88
93
  structure: [
89
94
  // Calentamiento
90
95
  {
@@ -93,7 +98,8 @@ const getDay2 = (c) => {
93
98
  typeMetric1: 2,
94
99
  valueMetric1: 900,
95
100
  typeMetric2: 1,
96
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
101
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
102
+ zoneMetric2: 2,
97
103
  },
98
104
  ],
99
105
  };
@@ -107,7 +113,8 @@ const getDay2 = (c) => {
107
113
  typeMetric1: 1,
108
114
  valueMetric1: 200,
109
115
  typeMetric2: 1,
110
- valueMetric2: (0, common_2.paceByVAM)(c, 95),
116
+ valueMetric2: (0, common_2.paceByZone)(c, 5),
117
+ zoneMetric2: 5,
111
118
  });
112
119
  day.structure.push({
113
120
  index: 2 + i * 2,
@@ -118,7 +125,8 @@ const getDay2 = (c) => {
118
125
  typeMetric1: 1,
119
126
  valueMetric1: 200,
120
127
  typeMetric2: 1,
121
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
128
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
129
+ zoneMetric2: 2,
122
130
  });
123
131
  }
124
132
  day.structure.push({
@@ -127,7 +135,8 @@ const getDay2 = (c) => {
127
135
  typeMetric1: 2,
128
136
  valueMetric1: 900,
129
137
  typeMetric2: 1,
130
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
138
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
139
+ zoneMetric2: 2,
131
140
  });
132
141
  return day;
133
142
  };
@@ -138,6 +147,7 @@ const getDay3 = (c) => {
138
147
  shortDescription: '1h 20m ritmo suave',
139
148
  type: common_1.WORKOUT_TYPE.CORRER,
140
149
  durationPlanned: 4800,
141
- distancePlanned: (0, common_2.calculateDistance)(c, 4800, 75),
150
+ distancePlanned: (0, common_2.calculateDistance)(c, 4800, 2),
151
+ zoneMetric2: 2,
142
152
  };
143
153
  };
@@ -19,8 +19,8 @@ const getDay1 = (c) => {
19
19
  description: 'Carrera interválica piramidal destinada a mejorar la resistencia general y la resistencia a la fatiga. Consiste en calentar 15 minutos a un ritmo muy suave y después intercalar diferentes distancias con las intensidades marcadas.',
20
20
  shortDescription: "Calentamiento 15' + series + enfriamiento 10'",
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
- distancePlanned: (0, common_2.calculateDistance)(c, 1500, 70) + 9000,
23
- durationPlanned: 1500 + 360 + (0, common_2.calculateDuration)(c, 2000, 90) + (0, common_2.calculateDuration)(c, 4000, 85) + (0, common_2.calculateDuration)(c, 3000, 80),
22
+ distancePlanned: (0, common_2.calculateDistance)(c, 1500, 2) + 9000,
23
+ durationPlanned: 1500 + 360 + (0, common_2.calculateDuration)(c, 1000, 5) + (0, common_2.calculateDuration)(c, 3000, 4) + (0, common_2.calculateDuration)(c, 5000, 3),
24
24
  structure: [
25
25
  {
26
26
  index: 0,
@@ -28,7 +28,8 @@ const getDay1 = (c) => {
28
28
  typeMetric1: 2,
29
29
  valueMetric1: 900,
30
30
  typeMetric2: 1,
31
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
31
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
32
+ zoneMetric2: 2,
32
33
  },
33
34
  {
34
35
  index: 1,
@@ -36,7 +37,8 @@ const getDay1 = (c) => {
36
37
  typeMetric1: 1,
37
38
  valueMetric1: 1000,
38
39
  typeMetric2: 1,
39
- valueMetric2: (0, common_2.paceByVAM)(c, 90),
40
+ valueMetric2: (0, common_2.paceByZone)(c, 5),
41
+ zoneMetric2: 5,
40
42
  },
41
43
  {
42
44
  index: 2,
@@ -50,7 +52,8 @@ const getDay1 = (c) => {
50
52
  typeMetric1: 1,
51
53
  valueMetric1: 2000,
52
54
  typeMetric2: 1,
53
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
55
+ valueMetric2: (0, common_2.paceByZone)(c, 4),
56
+ zoneMetric2: 4,
54
57
  },
55
58
  {
56
59
  index: 4,
@@ -64,7 +67,8 @@ const getDay1 = (c) => {
64
67
  typeMetric1: 1,
65
68
  valueMetric1: 3000,
66
69
  typeMetric2: 1,
67
- valueMetric2: (0, common_2.paceByVAM)(c, 80),
70
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
71
+ zoneMetric2: 3,
68
72
  },
69
73
  {
70
74
  index: 6,
@@ -78,7 +82,8 @@ const getDay1 = (c) => {
78
82
  typeMetric1: 1,
79
83
  valueMetric1: 2000,
80
84
  typeMetric2: 1,
81
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
85
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
86
+ zoneMetric2: 3,
82
87
  },
83
88
  {
84
89
  index: 8,
@@ -92,7 +97,8 @@ const getDay1 = (c) => {
92
97
  typeMetric1: 1,
93
98
  valueMetric1: 1000,
94
99
  typeMetric2: 1,
95
- valueMetric2: (0, common_2.paceByVAM)(c, 90),
100
+ valueMetric2: (0, common_2.paceByZone)(c, 4),
101
+ zoneMetric2: 4,
96
102
  },
97
103
  {
98
104
  index: 10,
@@ -100,7 +106,8 @@ const getDay1 = (c) => {
100
106
  typeMetric1: 2,
101
107
  valueMetric1: 600,
102
108
  typeMetric2: 1,
103
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
109
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
110
+ zoneMetric2: 2,
104
111
  },
105
112
  ],
106
113
  };
@@ -111,8 +118,8 @@ const getDay2 = (c) => {
111
118
  description: "Corre a un ritmo que adaptado a tu nivel, buscando ser constante durante toda la distancia. Este rodaje se tiene que realizar con una sensación de que el entrenamiento es duro pero soportable. Calienta durante 10' a un ritmo de rodaje suave, y finaliza el entreno con 10' de enfriamiento",
112
119
  shortDescription: "Calentamiento 10' + 10km (ritmo tempo) + enfriamiento 15'",
113
120
  type: common_1.WORKOUT_TYPE.CORRER,
114
- distancePlanned: 10000 + (0, common_2.calculateDistance)(c, 1500, 70),
115
- durationPlanned: 1500 + (0, common_2.calculateDuration)(c, 10000, 78),
121
+ distancePlanned: 10000 + (0, common_2.calculateDistance)(c, 1500, 2),
122
+ durationPlanned: 1500 + (0, common_2.calculateDuration)(c, 10000, 3),
116
123
  structure: [
117
124
  {
118
125
  index: 0,
@@ -120,7 +127,7 @@ const getDay2 = (c) => {
120
127
  typeMetric1: 2,
121
128
  valueMetric1: 600,
122
129
  typeMetric2: 1,
123
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
130
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
124
131
  },
125
132
  {
126
133
  index: 1,
@@ -128,7 +135,7 @@ const getDay2 = (c) => {
128
135
  typeMetric1: 1,
129
136
  valueMetric1: 10000,
130
137
  typeMetric2: 1,
131
- valueMetric2: (0, common_2.paceByVAM)(c, 80),
138
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
132
139
  },
133
140
  {
134
141
  index: 6,
@@ -136,7 +143,8 @@ const getDay2 = (c) => {
136
143
  typeMetric1: 2,
137
144
  valueMetric1: 600,
138
145
  typeMetric2: 1,
139
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
146
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
147
+ zoneMetric2: 2,
140
148
  },
141
149
  ],
142
150
  };
@@ -148,6 +156,7 @@ const getDay3 = (c) => {
148
156
  shortDescription: '1h 40m ritmo suave',
149
157
  type: common_1.WORKOUT_TYPE.CORRER,
150
158
  durationPlanned: 6000,
151
- distancePlanned: (0, common_2.calculateDistance)(c, 6000, 75),
159
+ distancePlanned: (0, common_2.calculateDistance)(c, 6000, 2),
160
+ zoneMetric2: 2,
152
161
  };
153
162
  };
@@ -19,8 +19,8 @@ const getDay1 = (c) => {
19
19
  description: 'Entrenamiento que consiste en realizar 10 series de 300m a un ritmo cercano Vo2 Máx + 300m de carrera a ritmo de rodaje suave',
20
20
  shortDescription: "Calentamiento 15' + 10x(300m rápido + 300m suave) + enfriamiento 15'",
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
- distancePlanned: (0, common_2.calculateDistance)(c, 900, 75) + (0, common_2.calculateDistance)(c, 900, 70) + 10 * (300 + 300),
23
- durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 10 * 300, 90) + (0, common_2.calculateDuration)(c, 10 * 300, 70),
22
+ distancePlanned: (0, common_2.calculateDistance)(c, 900, 2) + (0, common_2.calculateDistance)(c, 900, 2) + 10 * (300 + 300),
23
+ durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 10 * 300, 5) + (0, common_2.calculateDuration)(c, 10 * 300, 2),
24
24
  structure: [
25
25
  // Calentamiento
26
26
  {
@@ -29,7 +29,8 @@ const getDay1 = (c) => {
29
29
  typeMetric1: 2,
30
30
  valueMetric1: 900,
31
31
  typeMetric2: 1,
32
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
32
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
33
+ zoneMetric2: 2,
33
34
  },
34
35
  ],
35
36
  };
@@ -43,7 +44,8 @@ const getDay1 = (c) => {
43
44
  typeMetric1: 1,
44
45
  valueMetric1: 300,
45
46
  typeMetric2: 1,
46
- valueMetric2: (0, common_2.paceByVAM)(c, 90),
47
+ valueMetric2: (0, common_2.paceByZone)(c, 5),
48
+ zoneMetric2: 5,
47
49
  });
48
50
  day.structure.push({
49
51
  index: 2 + i * 2,
@@ -54,7 +56,8 @@ const getDay1 = (c) => {
54
56
  typeMetric1: 1,
55
57
  valueMetric1: 300,
56
58
  typeMetric2: 1,
57
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
59
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
60
+ zoneMetric2: 2,
58
61
  });
59
62
  }
60
63
  day.structure.push({
@@ -63,7 +66,8 @@ const getDay1 = (c) => {
63
66
  typeMetric1: 2,
64
67
  valueMetric1: 900,
65
68
  typeMetric2: 1,
66
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
69
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
70
+ zoneMetric2: 2,
67
71
  });
68
72
  return day;
69
73
  };
@@ -73,7 +77,7 @@ const getDay2 = (c) => {
73
77
  description: 'Entrenamiento basado en la intercalación de periodos de rodaje a tiempo de carrera + periodos de rodajes suaves',
74
78
  shortDescription: "Calentamiento 15' + 3x8' + 3x6' + enfriamiento 10'",
75
79
  type: common_1.WORKOUT_TYPE.CORRER,
76
- distancePlanned: (0, common_2.calculateDistance)(c, 900, 75) + (0, common_2.calculateDistance)(c, 600, 70) + (0, common_2.calculateDistance)(c, 3 * 480, 80) + (0, common_2.calculateDistance)(c, 3 * 360, 85),
80
+ distancePlanned: (0, common_2.calculateDistance)(c, 900, 2) + (0, common_2.calculateDistance)(c, 600, 2) + (0, common_2.calculateDistance)(c, 3 * 480, 3) + (0, common_2.calculateDistance)(c, 3 * 360, 4),
77
81
  durationPlanned: 1500 + 3 * 480 + 3 * 360 + 6 * 120,
78
82
  structure: [
79
83
  // Calentamiento
@@ -83,7 +87,8 @@ const getDay2 = (c) => {
83
87
  typeMetric1: 2,
84
88
  valueMetric1: 900,
85
89
  typeMetric2: 1,
86
- valueMetric2: (0, common_2.paceByVAM)(c, 75),
90
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
91
+ zoneMetric2: 2,
87
92
  },
88
93
  ],
89
94
  };
@@ -97,7 +102,8 @@ const getDay2 = (c) => {
97
102
  typeMetric1: 2,
98
103
  valueMetric1: 480,
99
104
  typeMetric2: 1,
100
- valueMetric2: (0, common_2.paceByVAM)(c, 80),
105
+ valueMetric2: (0, common_2.paceByZone)(c, 3),
106
+ zoneMetric2: 3,
101
107
  });
102
108
  day.structure.push({
103
109
  index: 2 + i * 2,
@@ -119,7 +125,8 @@ const getDay2 = (c) => {
119
125
  typeMetric1: 2,
120
126
  valueMetric1: 360,
121
127
  typeMetric2: 1,
122
- valueMetric2: (0, common_2.paceByVAM)(c, 85),
128
+ valueMetric2: (0, common_2.paceByZone)(c, 4),
129
+ zoneMetric2: 4,
123
130
  });
124
131
  day.structure.push({
125
132
  index: 8 + i * 2,
@@ -137,7 +144,8 @@ const getDay2 = (c) => {
137
144
  typeMetric1: 2,
138
145
  valueMetric1: 600,
139
146
  typeMetric2: 1,
140
- valueMetric2: (0, common_2.paceByVAM)(c, 70),
147
+ valueMetric2: (0, common_2.paceByZone)(c, 2),
148
+ zoneMetric2: 2,
141
149
  });
142
150
  return day;
143
151
  };
@@ -148,6 +156,6 @@ const getDay3 = (c) => {
148
156
  shortDescription: '1h 30m ritmo suave',
149
157
  type: common_1.WORKOUT_TYPE.CORRER,
150
158
  durationPlanned: 5400,
151
- distancePlanned: (0, common_2.calculateDistance)(c, 5400, 75),
159
+ distancePlanned: (0, common_2.calculateDistance)(c, 5400, 2),
152
160
  };
153
161
  };