@runnerpro/backend 1.16.11 → 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.
- package/lib/cjs/db/index.js +81 -2
- package/lib/cjs/types/db/index.d.ts.map +1 -1
- package/lib/cjs/types/workout/estructuraWorkout.d.ts +1 -4
- package/lib/cjs/types/workout/estructuraWorkout.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10k.d.ts +57 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10k.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.d.ts +57 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.d.ts +57 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.d.ts +19 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21k.d.ts +27 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21k.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.d.ts +27 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.d.ts +19 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.d.ts +27 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.d.ts +51 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.d.ts +19 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5k.d.ts +19 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5k.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.d.ts +19 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.d.ts +19 -2
- package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/common.d.ts +4 -4
- package/lib/cjs/types/workout/planificacionPrueba7dias/common.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer1.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer2.d.ts.map +1 -1
- package/lib/cjs/types/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer3.d.ts.map +1 -1
- package/lib/cjs/workout/estructuraWorkout.js +1 -130
- package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.js +22 -13
- package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.js +37 -31
- package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.js +22 -14
- package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.js +24 -14
- package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.js +21 -12
- package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.js +26 -16
- package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.js +24 -15
- package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.js +20 -12
- package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.js +18 -10
- package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.js +24 -14
- package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.js +22 -13
- package/lib/cjs/workout/planificacionPrueba7dias/common.js +20 -47
- package/lib/cjs/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer1.js +9 -6
- package/lib/cjs/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer2.js +9 -6
- package/lib/cjs/workout/planificacionPrueba7dias/empezarCorrer/getPlanificacionPrueba7diasEmpezarCorrer3.js +9 -6
- package/package.json +1 -1
|
@@ -4,11 +4,11 @@ exports.getPlanificacionPrueba7dias10kSub50 = void 0;
|
|
|
4
4
|
const common_1 = require("@runnerpro/common");
|
|
5
5
|
const common_2 = require("../common");
|
|
6
6
|
const getPlanificacionPrueba7dias10kSub50 = (c) => {
|
|
7
|
-
// Correr 1h
|
|
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'
|
|
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: 'En este entrenamiento, te enfrentarás a 4 repeticiones de 2000 metros, un reto para tu resistencia. Con 2 minutos de recuperación entre series, es vital que manejes bien tus energías.',
|
|
20
20
|
shortDescription: "Calentamiento 10' + 4x (2km ritmo tempo + 2' recuperación) + enfriamiento 10'",
|
|
21
21
|
type: common_1.WORKOUT_TYPE.CORRER,
|
|
22
|
-
distancePlanned: 8000 + (0, common_2.calculateDistance)(c, 600,
|
|
23
|
-
durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 8000,
|
|
22
|
+
distancePlanned: 8000 + (0, common_2.calculateDistance)(c, 600, 2) + (0, common_2.calculateDistance)(c, 600, 2),
|
|
23
|
+
durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 8000, 3) + 4 * 120,
|
|
24
24
|
structure: [
|
|
25
25
|
// Calentamiento
|
|
26
26
|
{
|
|
@@ -29,7 +29,8 @@ const getDay1 = (c) => {
|
|
|
29
29
|
typeMetric1: 2,
|
|
30
30
|
valueMetric1: 600,
|
|
31
31
|
typeMetric2: 1,
|
|
32
|
-
valueMetric2: (0, common_2.
|
|
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: 2000,
|
|
45
46
|
typeMetric2: 1,
|
|
46
|
-
valueMetric2: (0, common_2.
|
|
47
|
+
valueMetric2: (0, common_2.paceByZone)(c, 3),
|
|
48
|
+
zoneMetric2: 3,
|
|
47
49
|
});
|
|
48
50
|
day.structure.push({
|
|
49
51
|
index: 2 + i * 2,
|
|
@@ -61,7 +63,8 @@ const getDay1 = (c) => {
|
|
|
61
63
|
typeMetric1: 2,
|
|
62
64
|
valueMetric1: 600,
|
|
63
65
|
typeMetric2: 1,
|
|
64
|
-
valueMetric2: (0, common_2.
|
|
66
|
+
valueMetric2: (0, common_2.paceByZone)(c, 2),
|
|
67
|
+
zoneMetric2: 2,
|
|
65
68
|
});
|
|
66
69
|
return day;
|
|
67
70
|
};
|
|
@@ -72,7 +75,8 @@ const getDay2 = (c) => {
|
|
|
72
75
|
shortDescription: '1h 10m ritmo suave',
|
|
73
76
|
type: common_1.WORKOUT_TYPE.CORRER,
|
|
74
77
|
durationPlanned: 4200,
|
|
75
|
-
distancePlanned: (0, common_2.calculateDistance)(c, 4200,
|
|
78
|
+
distancePlanned: (0, common_2.calculateDistance)(c, 4200, 2),
|
|
79
|
+
zoneMetric2: 2,
|
|
76
80
|
};
|
|
77
81
|
};
|
|
78
82
|
const getDay3 = (c) => {
|
|
@@ -81,8 +85,8 @@ const getDay3 = (c) => {
|
|
|
81
85
|
description: 'En este entrenamiento te enfrentarás a 8 series de 200 m a alta intensidad seguidos de 200 m de trote para recuperar.',
|
|
82
86
|
shortDescription: "Calentamiento 15' + 8x (200m rápidos + 200m suaves) + enfriamiento 15'",
|
|
83
87
|
type: common_1.WORKOUT_TYPE.CORRER,
|
|
84
|
-
distancePlanned: 8 * 400 + (0, common_2.calculateDistance)(c, 900,
|
|
85
|
-
durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 8 * 200,
|
|
88
|
+
distancePlanned: 8 * 400 + (0, common_2.calculateDistance)(c, 900, 2) + (0, common_2.calculateDistance)(c, 900, 2),
|
|
89
|
+
durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 8 * 200, 5) + (0, common_2.calculateDuration)(c, 8 * 200, 2),
|
|
86
90
|
structure: [
|
|
87
91
|
// Calentamiento
|
|
88
92
|
{
|
|
@@ -91,7 +95,8 @@ const getDay3 = (c) => {
|
|
|
91
95
|
typeMetric1: 2,
|
|
92
96
|
valueMetric1: 900,
|
|
93
97
|
typeMetric2: 1,
|
|
94
|
-
valueMetric2: (0, common_2.
|
|
98
|
+
valueMetric2: (0, common_2.paceByZone)(c, 2),
|
|
99
|
+
zoneMetric2: 2,
|
|
95
100
|
},
|
|
96
101
|
],
|
|
97
102
|
};
|
|
@@ -105,7 +110,8 @@ const getDay3 = (c) => {
|
|
|
105
110
|
typeMetric1: 1,
|
|
106
111
|
valueMetric1: 200,
|
|
107
112
|
typeMetric2: 1,
|
|
108
|
-
valueMetric2: (0, common_2.
|
|
113
|
+
valueMetric2: (0, common_2.paceByZone)(c, 5),
|
|
114
|
+
zoneMetric2: 5,
|
|
109
115
|
});
|
|
110
116
|
day.structure.push({
|
|
111
117
|
index: 2 + i * 2,
|
|
@@ -116,7 +122,8 @@ const getDay3 = (c) => {
|
|
|
116
122
|
typeMetric1: 1,
|
|
117
123
|
valueMetric1: 200,
|
|
118
124
|
typeMetric2: 1,
|
|
119
|
-
valueMetric2: (0, common_2.
|
|
125
|
+
valueMetric2: (0, common_2.paceByZone)(c, 2),
|
|
126
|
+
zoneMetric2: 2,
|
|
120
127
|
});
|
|
121
128
|
}
|
|
122
129
|
day.structure.push({
|
|
@@ -125,7 +132,8 @@ const getDay3 = (c) => {
|
|
|
125
132
|
typeMetric1: 2,
|
|
126
133
|
valueMetric1: 900,
|
|
127
134
|
typeMetric2: 1,
|
|
128
|
-
valueMetric2: (0, common_2.
|
|
135
|
+
valueMetric2: (0, common_2.paceByZone)(c, 2),
|
|
136
|
+
zoneMetric2: 2,
|
|
129
137
|
});
|
|
130
138
|
return day;
|
|
131
139
|
};
|
package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.js
CHANGED
|
@@ -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,
|
|
23
|
-
durationPlanned: 2880 + (0, common_2.calculateDuration)(c, 3000,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
87
|
-
durationPlanned: 1500 + (0, common_2.calculateDuration)(c, 8 * 200,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
150
|
+
distancePlanned: (0, common_2.calculateDistance)(c, 4500, 2),
|
|
151
|
+
zoneMetric2: 2,
|
|
142
152
|
};
|
|
143
153
|
};
|
package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.js
CHANGED
|
@@ -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,
|
|
23
|
-
durationPlanned:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
135
|
+
distancePlanned: (0, common_2.calculateDistance)(c, 3600, 2),
|
|
136
|
+
zoneMetric2: 2,
|
|
128
137
|
};
|
|
129
138
|
};
|
package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.js
CHANGED
|
@@ -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
|
|
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'
|
|
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,
|
|
23
|
-
durationPlanned: 3240 + (0, common_2.calculateDuration)(c, 4000,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
87
|
-
durationPlanned: 1800 + (0, common_2.calculateDuration)(c, 10 * 200,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
150
|
+
distancePlanned: (0, common_2.calculateDistance)(c, 4800, 2),
|
|
151
|
+
zoneMetric2: 2,
|
|
142
152
|
};
|
|
143
153
|
};
|
package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.js
CHANGED
|
@@ -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,
|
|
23
|
-
durationPlanned: 1500 + 360 + (0, common_2.calculateDuration)(c,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
115
|
-
durationPlanned: 1500 + (0, common_2.calculateDuration)(c, 10000,
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
|
159
|
+
distancePlanned: (0, common_2.calculateDistance)(c, 6000, 2),
|
|
160
|
+
zoneMetric2: 2,
|
|
152
161
|
};
|
|
153
162
|
};
|