@runnerpro/backend 1.17.0 → 1.17.1

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 (29) hide show
  1. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10k.d.ts +1 -1
  2. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.d.ts +1 -1
  3. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.d.ts +1 -1
  4. package/lib/cjs/types/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.d.ts +1 -1
  5. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21k.d.ts +1 -1
  6. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.d.ts +1 -1
  7. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.d.ts +1 -1
  8. package/lib/cjs/types/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.d.ts +1 -1
  9. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42k.d.ts +51 -2
  10. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42k.d.ts.map +1 -1
  11. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.d.ts +1 -1
  12. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.d.ts +19 -2
  13. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.d.ts.map +1 -1
  14. package/lib/cjs/types/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.d.ts +1 -1
  15. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5k.d.ts +1 -1
  16. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.d.ts +1 -1
  17. package/lib/cjs/types/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.d.ts +1 -1
  18. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kMas50.js +1 -1
  19. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kPrimer.js +1 -1
  20. package/lib/cjs/workout/planificacionPrueba7dias/10k/getPlanificacionPrueba7dias10kSub50.js +1 -1
  21. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kMas105.js +1 -1
  22. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kPrimer.js +1 -1
  23. package/lib/cjs/workout/planificacionPrueba7dias/21k/getPlanificacionPrueba7dias21kSub105.js +1 -1
  24. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kMas210.js +1 -1
  25. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.js +1 -0
  26. package/lib/cjs/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kSub210.js +1 -1
  27. package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kPrimer.js +1 -1
  28. package/lib/cjs/workout/planificacionPrueba7dias/5k/getPlanificacionPrueba7dias5kSub30.js +1 -1
  29. package/package.json +1 -1
@@ -5,7 +5,7 @@ declare const getPlanificacionPrueba7dias10k: (c: any) => ({
5
5
  type: string;
6
6
  durationPlanned: number;
7
7
  distancePlanned: number;
8
- zoneMetric2: number;
8
+ zonePlanned: number;
9
9
  } | {
10
10
  title: string;
11
11
  description: string;
@@ -21,7 +21,7 @@ declare const getPlanificacionPrueba7dias10kMas50: (c: any) => ({
21
21
  type: string;
22
22
  durationPlanned: number;
23
23
  distancePlanned: number;
24
- zoneMetric2: number;
24
+ zonePlanned: number;
25
25
  } | {
26
26
  title: string;
27
27
  description: string;
@@ -5,7 +5,7 @@ declare const getPlanificacionPrueba7dias10kPrimer: (c: any) => ({
5
5
  type: string;
6
6
  durationPlanned: number;
7
7
  distancePlanned: number;
8
- zoneMetric2: number;
8
+ zonePlanned: number;
9
9
  } | {
10
10
  title: string;
11
11
  description: string;
@@ -21,7 +21,7 @@ declare const getPlanificacionPrueba7dias10kSub50: (c: any) => ({
21
21
  type: string;
22
22
  durationPlanned: number;
23
23
  distancePlanned: number;
24
- zoneMetric2: number;
24
+ zonePlanned: number;
25
25
  })[];
26
26
  export { getPlanificacionPrueba7dias10kSub50 };
27
27
  //# sourceMappingURL=getPlanificacionPrueba7dias10kSub50.d.ts.map
@@ -29,7 +29,7 @@ declare const getPlanificacionPrueba7dias21k: (c: any) => ({
29
29
  type: string;
30
30
  durationPlanned: number;
31
31
  distancePlanned: number;
32
- zoneMetric2: number;
32
+ zonePlanned: number;
33
33
  })[];
34
34
  declare const changeGoalDistanceByNivelActual21k: (c: any) => void;
35
35
  export { getPlanificacionPrueba7dias21k, changeGoalDistanceByNivelActual21k };
@@ -29,7 +29,7 @@ declare const getPlanificacionPrueba7dias21kMas105: (c: any) => ({
29
29
  type: string;
30
30
  durationPlanned: number;
31
31
  distancePlanned: number;
32
- zoneMetric2: number;
32
+ zonePlanned: number;
33
33
  })[];
34
34
  export { getPlanificacionPrueba7dias21kMas105 };
35
35
  //# sourceMappingURL=getPlanificacionPrueba7dias21kMas105.d.ts.map
@@ -21,7 +21,7 @@ declare const getPlanificacionPrueba7dias21kPrimer: (c: any) => ({
21
21
  type: string;
22
22
  durationPlanned: number;
23
23
  distancePlanned: number;
24
- zoneMetric2: number;
24
+ zonePlanned: number;
25
25
  })[];
26
26
  export { getPlanificacionPrueba7dias21kPrimer };
27
27
  //# sourceMappingURL=getPlanificacionPrueba7dias21kPrimer.d.ts.map
@@ -29,7 +29,7 @@ declare const getPlanificacionPrueba7dias21kSub105: (c: any) => ({
29
29
  type: string;
30
30
  durationPlanned: number;
31
31
  distancePlanned: number;
32
- zoneMetric2: number;
32
+ zonePlanned: number;
33
33
  })[];
34
34
  export { getPlanificacionPrueba7dias21kSub105 };
35
35
  //# sourceMappingURL=getPlanificacionPrueba7dias21kSub105.d.ts.map
@@ -1,11 +1,60 @@
1
- declare const getPlanificacionPrueba7dias42k: (c: any) => {
1
+ declare const getPlanificacionPrueba7dias42k: (c: any) => ({
2
+ title: string;
3
+ description: string;
4
+ shortDescription: string;
5
+ type: string;
6
+ distancePlanned: number;
7
+ durationPlanned: number;
8
+ structure: ({
9
+ index: number;
10
+ type: number;
11
+ typeMetric1: number;
12
+ valueMetric1: number;
13
+ typeMetric2: number;
14
+ valueMetric2: any;
15
+ zoneMetric2: number;
16
+ } | {
17
+ index: number;
18
+ type: number;
19
+ typeMetric1: number;
20
+ valueMetric1: number;
21
+ typeMetric2?: undefined;
22
+ valueMetric2?: undefined;
23
+ zoneMetric2?: undefined;
24
+ })[];
25
+ } | {
26
+ title: string;
27
+ description: string;
28
+ shortDescription: string;
29
+ type: string;
30
+ distancePlanned: number;
31
+ durationPlanned: number;
32
+ structure: ({
33
+ index: number;
34
+ type: number;
35
+ typeMetric1: number;
36
+ valueMetric1: number;
37
+ typeMetric2: number;
38
+ valueMetric2: any;
39
+ zoneMetric2?: undefined;
40
+ } | {
41
+ index: number;
42
+ type: number;
43
+ typeMetric1: number;
44
+ valueMetric1: number;
45
+ typeMetric2: number;
46
+ valueMetric2: any;
47
+ zoneMetric2: number;
48
+ })[];
49
+ } | {
2
50
  title: string;
3
51
  description: string;
4
52
  shortDescription: string;
5
53
  type: string;
6
54
  durationPlanned: number;
7
55
  distancePlanned: number;
8
- }[];
56
+ zonePlanned: number;
57
+ })[];
9
58
  declare const changeGoalDistanceByNivelActual42k: (c: any) => void;
10
59
  export { getPlanificacionPrueba7dias42k, changeGoalDistanceByNivelActual42k };
11
60
  //# sourceMappingURL=getPlanificacionPrueba7dias42k.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPlanificacionPrueba7dias42k.d.ts","sourceRoot":"","sources":["../../../../../../src/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42k.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,8BAA8B;;;;;;;GAKnC,CAAC;AAEF,QAAA,MAAM,kCAAkC,kBAQvC,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,kCAAkC,EAAE,CAAC"}
1
+ {"version":3,"file":"getPlanificacionPrueba7dias42k.d.ts","sourceRoot":"","sources":["../../../../../../src/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42k.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnC,CAAC;AAEF,QAAA,MAAM,kCAAkC,kBAQvC,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,kCAAkC,EAAE,CAAC"}
@@ -53,7 +53,7 @@ declare const getPlanificacionPrueba7dias42kMas210: (c: any) => ({
53
53
  type: string;
54
54
  durationPlanned: number;
55
55
  distancePlanned: number;
56
- zoneMetric2: number;
56
+ zonePlanned: number;
57
57
  })[];
58
58
  export { getPlanificacionPrueba7dias42kMas210 };
59
59
  //# sourceMappingURL=getPlanificacionPrueba7dias42kMas210.d.ts.map
@@ -1,10 +1,27 @@
1
- declare const getPlanificacionPrueba7dias42kPrimer: (c: any) => {
1
+ declare const getPlanificacionPrueba7dias42kPrimer: (c: any) => ({
2
+ title: string;
3
+ description: string;
4
+ shortDescription: string;
5
+ type: string;
6
+ distancePlanned: number;
7
+ durationPlanned: number;
8
+ structure: {
9
+ index: number;
10
+ type: number;
11
+ typeMetric1: number;
12
+ valueMetric1: number;
13
+ typeMetric2: number;
14
+ valueMetric2: any;
15
+ zoneMetric2: number;
16
+ }[];
17
+ } | {
2
18
  title: string;
3
19
  description: string;
4
20
  shortDescription: string;
5
21
  type: string;
6
22
  durationPlanned: number;
7
23
  distancePlanned: number;
8
- }[];
24
+ zonePlanned: number;
25
+ })[];
9
26
  export { getPlanificacionPrueba7dias42kPrimer };
10
27
  //# sourceMappingURL=getPlanificacionPrueba7dias42kPrimer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPlanificacionPrueba7dias42kPrimer.d.ts","sourceRoot":"","sources":["../../../../../../src/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,oCAAoC;;;;;;;GASzC,CAAC;AAgKF,OAAO,EAAE,oCAAoC,EAAE,CAAC"}
1
+ {"version":3,"file":"getPlanificacionPrueba7dias42kPrimer.d.ts","sourceRoot":"","sources":["../../../../../../src/workout/planificacionPrueba7dias/42k/getPlanificacionPrueba7dias42kPrimer.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;IASzC,CAAC;AAiKF,OAAO,EAAE,oCAAoC,EAAE,CAAC"}
@@ -21,7 +21,7 @@ declare const getPlanificacionPrueba7dias42kSub210: (c: any) => ({
21
21
  type: string;
22
22
  durationPlanned: number;
23
23
  distancePlanned: number;
24
- zoneMetric2: number;
24
+ zonePlanned: number;
25
25
  })[];
26
26
  export { getPlanificacionPrueba7dias42kSub210 };
27
27
  //# sourceMappingURL=getPlanificacionPrueba7dias42kSub210.d.ts.map
@@ -5,7 +5,7 @@ declare const getPlanificacionPrueba7dias5k: (c: any) => ({
5
5
  type: string;
6
6
  durationPlanned: number;
7
7
  distancePlanned: number;
8
- zoneMetric2: number;
8
+ zonePlanned: number;
9
9
  } | {
10
10
  title: string;
11
11
  description: string;
@@ -5,7 +5,7 @@ declare const getPlanificacionPrueba7dias5kPrimer: (c: any) => ({
5
5
  type: string;
6
6
  durationPlanned: number;
7
7
  distancePlanned: number;
8
- zoneMetric2: number;
8
+ zonePlanned: number;
9
9
  } | {
10
10
  title: string;
11
11
  description: string;
@@ -21,7 +21,7 @@ declare const getPlanificacionPrueba7dias5kSub30: (c: any) => ({
21
21
  type: string;
22
22
  durationPlanned: number;
23
23
  distancePlanned: number;
24
- zoneMetric2: number;
24
+ zonePlanned: number;
25
25
  })[];
26
26
  export { getPlanificacionPrueba7dias5kSub30 };
27
27
  //# sourceMappingURL=getPlanificacionPrueba7dias5kSub30.d.ts.map
@@ -76,7 +76,7 @@ const getDay2 = (c) => {
76
76
  type: common_1.WORKOUT_TYPE.CORRER,
77
77
  durationPlanned: 3300,
78
78
  distancePlanned: (0, common_2.calculateDistance)(c, 3300, 2),
79
- zoneMetric2: 2,
79
+ zonePlanned: 2,
80
80
  };
81
81
  };
82
82
  const getDay3 = (c) => {
@@ -21,7 +21,7 @@ const getDay1 = (c) => {
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
22
  durationPlanned: 2400,
23
23
  distancePlanned: (0, common_2.calculateDistance)(c, 2400, 2),
24
- zoneMetric2: 2,
24
+ zonePlanned: 2,
25
25
  };
26
26
  };
27
27
  const getDay2 = (c) => {
@@ -76,7 +76,7 @@ const getDay2 = (c) => {
76
76
  type: common_1.WORKOUT_TYPE.CORRER,
77
77
  durationPlanned: 4200,
78
78
  distancePlanned: (0, common_2.calculateDistance)(c, 4200, 2),
79
- zoneMetric2: 2,
79
+ zonePlanned: 2,
80
80
  };
81
81
  };
82
82
  const getDay3 = (c) => {
@@ -148,6 +148,6 @@ const getDay3 = (c) => {
148
148
  type: common_1.WORKOUT_TYPE.CORRER,
149
149
  durationPlanned: 4500,
150
150
  distancePlanned: (0, common_2.calculateDistance)(c, 4500, 2),
151
- zoneMetric2: 2,
151
+ zonePlanned: 2,
152
152
  };
153
153
  };
@@ -133,6 +133,6 @@ const getDay3 = (c) => {
133
133
  type: common_1.WORKOUT_TYPE.CORRER,
134
134
  durationPlanned: 3600,
135
135
  distancePlanned: (0, common_2.calculateDistance)(c, 3600, 2),
136
- zoneMetric2: 2,
136
+ zonePlanned: 2,
137
137
  };
138
138
  };
@@ -148,6 +148,6 @@ const getDay3 = (c) => {
148
148
  type: common_1.WORKOUT_TYPE.CORRER,
149
149
  durationPlanned: 4800,
150
150
  distancePlanned: (0, common_2.calculateDistance)(c, 4800, 2),
151
- zoneMetric2: 2,
151
+ zonePlanned: 2,
152
152
  };
153
153
  };
@@ -157,6 +157,6 @@ const getDay3 = (c) => {
157
157
  type: common_1.WORKOUT_TYPE.CORRER,
158
158
  durationPlanned: 6000,
159
159
  distancePlanned: (0, common_2.calculateDistance)(c, 6000, 2),
160
- zoneMetric2: 2,
160
+ zonePlanned: 2,
161
161
  };
162
162
  };
@@ -157,5 +157,6 @@ const getDay3 = (c) => {
157
157
  type: common_1.WORKOUT_TYPE.CORRER,
158
158
  durationPlanned: 5400,
159
159
  distancePlanned: (0, common_2.calculateDistance)(c, 5400, 2),
160
+ zonePlanned: 2,
160
161
  };
161
162
  };
@@ -134,6 +134,6 @@ const getDay3 = (c) => {
134
134
  type: common_1.WORKOUT_TYPE.CORRER,
135
135
  durationPlanned: 6600,
136
136
  distancePlanned: (0, common_2.calculateDistance)(c, 6600, 2),
137
- zoneMetric2: 2,
137
+ zonePlanned: 2,
138
138
  };
139
139
  };
@@ -21,7 +21,7 @@ const getDay1 = (c) => {
21
21
  type: common_1.WORKOUT_TYPE.CORRER,
22
22
  durationPlanned: 1500,
23
23
  distancePlanned: (0, common_2.calculateDistance)(c, 1500, 2),
24
- zoneMetric2: 2,
24
+ zonePlanned: 2,
25
25
  };
26
26
  };
27
27
  const getDay2 = (c) => {
@@ -139,6 +139,6 @@ const getDay3 = (c) => {
139
139
  type: common_1.WORKOUT_TYPE.CORRER,
140
140
  durationPlanned: 2100,
141
141
  distancePlanned: (0, common_2.calculateDistance)(c, 2100, 2),
142
- zoneMetric2: 2,
142
+ zonePlanned: 2,
143
143
  };
144
144
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"