@dimrev4/fitness-v3-backend 0.0.42 → 0.0.43
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/api.ts +27 -3
- package/dist/api.d.ts +24 -0
- package/dist/api.js +9 -3
- package/dist/esm/api.d.ts +24 -0
- package/dist/esm/api.js +9 -3
- package/docs/CreateExerciseRequestDto.md +2 -0
- package/docs/ExerciseDto.md +2 -0
- package/docs/ExerciseWithSetsDto.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -96,13 +96,21 @@ export interface CreateExerciseRequestDto {
|
|
|
96
96
|
* @memberof CreateExerciseRequestDto
|
|
97
97
|
*/
|
|
98
98
|
'instructions': string;
|
|
99
|
+
/**
|
|
100
|
+
* Exercise image url
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof CreateExerciseRequestDto
|
|
103
|
+
*/
|
|
104
|
+
'imgUrl': string;
|
|
99
105
|
}
|
|
100
106
|
|
|
101
107
|
export const CreateExerciseRequestDtoTypeEnum = {
|
|
102
108
|
Cardio: 'CARDIO',
|
|
103
109
|
Strength: 'STRENGTH',
|
|
104
110
|
Flexibility: 'FLEXIBILITY',
|
|
105
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
111
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
112
|
+
Compound: 'COMPOUND',
|
|
113
|
+
Isolation: 'ISOLATION'
|
|
106
114
|
} as const;
|
|
107
115
|
|
|
108
116
|
export type CreateExerciseRequestDtoTypeEnum = typeof CreateExerciseRequestDtoTypeEnum[keyof typeof CreateExerciseRequestDtoTypeEnum];
|
|
@@ -650,6 +658,12 @@ export interface ExerciseDto {
|
|
|
650
658
|
* @memberof ExerciseDto
|
|
651
659
|
*/
|
|
652
660
|
'instructions': string;
|
|
661
|
+
/**
|
|
662
|
+
* Exercise image url
|
|
663
|
+
* @type {string}
|
|
664
|
+
* @memberof ExerciseDto
|
|
665
|
+
*/
|
|
666
|
+
'imgUrl': string;
|
|
653
667
|
/**
|
|
654
668
|
* Exercise created at
|
|
655
669
|
* @type {string}
|
|
@@ -674,7 +688,9 @@ export const ExerciseDtoTypeEnum = {
|
|
|
674
688
|
Cardio: 'CARDIO',
|
|
675
689
|
Strength: 'STRENGTH',
|
|
676
690
|
Flexibility: 'FLEXIBILITY',
|
|
677
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
691
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
692
|
+
Compound: 'COMPOUND',
|
|
693
|
+
Isolation: 'ISOLATION'
|
|
678
694
|
} as const;
|
|
679
695
|
|
|
680
696
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
@@ -811,6 +827,12 @@ export interface ExerciseWithSetsDto {
|
|
|
811
827
|
* @memberof ExerciseWithSetsDto
|
|
812
828
|
*/
|
|
813
829
|
'completedMeta': object;
|
|
830
|
+
/**
|
|
831
|
+
* Exercise image url
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof ExerciseWithSetsDto
|
|
834
|
+
*/
|
|
835
|
+
'imgUrl': string;
|
|
814
836
|
/**
|
|
815
837
|
* Exercise created at
|
|
816
838
|
* @type {string}
|
|
@@ -841,7 +863,9 @@ export const ExerciseWithSetsDtoTypeEnum = {
|
|
|
841
863
|
Cardio: 'CARDIO',
|
|
842
864
|
Strength: 'STRENGTH',
|
|
843
865
|
Flexibility: 'FLEXIBILITY',
|
|
844
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
866
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
867
|
+
Compound: 'COMPOUND',
|
|
868
|
+
Isolation: 'ISOLATION'
|
|
845
869
|
} as const;
|
|
846
870
|
|
|
847
871
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
package/dist/api.d.ts
CHANGED
|
@@ -86,12 +86,20 @@ export interface CreateExerciseRequestDto {
|
|
|
86
86
|
* @memberof CreateExerciseRequestDto
|
|
87
87
|
*/
|
|
88
88
|
'instructions': string;
|
|
89
|
+
/**
|
|
90
|
+
* Exercise image url
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateExerciseRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'imgUrl': string;
|
|
89
95
|
}
|
|
90
96
|
export declare const CreateExerciseRequestDtoTypeEnum: {
|
|
91
97
|
readonly Cardio: "CARDIO";
|
|
92
98
|
readonly Strength: "STRENGTH";
|
|
93
99
|
readonly Flexibility: "FLEXIBILITY";
|
|
94
100
|
readonly BodyWeight: "BODY_WEIGHT";
|
|
101
|
+
readonly Compound: "COMPOUND";
|
|
102
|
+
readonly Isolation: "ISOLATION";
|
|
95
103
|
};
|
|
96
104
|
export type CreateExerciseRequestDtoTypeEnum = typeof CreateExerciseRequestDtoTypeEnum[keyof typeof CreateExerciseRequestDtoTypeEnum];
|
|
97
105
|
export declare const CreateExerciseRequestDtoBodyPartsEnum: {
|
|
@@ -622,6 +630,12 @@ export interface ExerciseDto {
|
|
|
622
630
|
* @memberof ExerciseDto
|
|
623
631
|
*/
|
|
624
632
|
'instructions': string;
|
|
633
|
+
/**
|
|
634
|
+
* Exercise image url
|
|
635
|
+
* @type {string}
|
|
636
|
+
* @memberof ExerciseDto
|
|
637
|
+
*/
|
|
638
|
+
'imgUrl': string;
|
|
625
639
|
/**
|
|
626
640
|
* Exercise created at
|
|
627
641
|
* @type {string}
|
|
@@ -646,6 +660,8 @@ export declare const ExerciseDtoTypeEnum: {
|
|
|
646
660
|
readonly Strength: "STRENGTH";
|
|
647
661
|
readonly Flexibility: "FLEXIBILITY";
|
|
648
662
|
readonly BodyWeight: "BODY_WEIGHT";
|
|
663
|
+
readonly Compound: "COMPOUND";
|
|
664
|
+
readonly Isolation: "ISOLATION";
|
|
649
665
|
};
|
|
650
666
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
651
667
|
export declare const ExerciseDtoBodyPartsEnum: {
|
|
@@ -777,6 +793,12 @@ export interface ExerciseWithSetsDto {
|
|
|
777
793
|
* @memberof ExerciseWithSetsDto
|
|
778
794
|
*/
|
|
779
795
|
'completedMeta': object;
|
|
796
|
+
/**
|
|
797
|
+
* Exercise image url
|
|
798
|
+
* @type {string}
|
|
799
|
+
* @memberof ExerciseWithSetsDto
|
|
800
|
+
*/
|
|
801
|
+
'imgUrl': string;
|
|
780
802
|
/**
|
|
781
803
|
* Exercise created at
|
|
782
804
|
* @type {string}
|
|
@@ -807,6 +829,8 @@ export declare const ExerciseWithSetsDtoTypeEnum: {
|
|
|
807
829
|
readonly Strength: "STRENGTH";
|
|
808
830
|
readonly Flexibility: "FLEXIBILITY";
|
|
809
831
|
readonly BodyWeight: "BODY_WEIGHT";
|
|
832
|
+
readonly Compound: "COMPOUND";
|
|
833
|
+
readonly Isolation: "ISOLATION";
|
|
810
834
|
};
|
|
811
835
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
812
836
|
export declare const ExerciseWithSetsDtoBodyPartsEnum: {
|
package/dist/api.js
CHANGED
|
@@ -34,7 +34,9 @@ exports.CreateExerciseRequestDtoTypeEnum = {
|
|
|
34
34
|
Cardio: 'CARDIO',
|
|
35
35
|
Strength: 'STRENGTH',
|
|
36
36
|
Flexibility: 'FLEXIBILITY',
|
|
37
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
37
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
38
|
+
Compound: 'COMPOUND',
|
|
39
|
+
Isolation: 'ISOLATION'
|
|
38
40
|
};
|
|
39
41
|
exports.CreateExerciseRequestDtoBodyPartsEnum = {
|
|
40
42
|
Shoulders: 'SHOULDERS',
|
|
@@ -106,7 +108,9 @@ exports.ExerciseDtoTypeEnum = {
|
|
|
106
108
|
Cardio: 'CARDIO',
|
|
107
109
|
Strength: 'STRENGTH',
|
|
108
110
|
Flexibility: 'FLEXIBILITY',
|
|
109
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
111
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
112
|
+
Compound: 'COMPOUND',
|
|
113
|
+
Isolation: 'ISOLATION'
|
|
110
114
|
};
|
|
111
115
|
exports.ExerciseDtoBodyPartsEnum = {
|
|
112
116
|
Shoulders: 'SHOULDERS',
|
|
@@ -153,7 +157,9 @@ exports.ExerciseWithSetsDtoTypeEnum = {
|
|
|
153
157
|
Cardio: 'CARDIO',
|
|
154
158
|
Strength: 'STRENGTH',
|
|
155
159
|
Flexibility: 'FLEXIBILITY',
|
|
156
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
160
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
161
|
+
Compound: 'COMPOUND',
|
|
162
|
+
Isolation: 'ISOLATION'
|
|
157
163
|
};
|
|
158
164
|
exports.ExerciseWithSetsDtoBodyPartsEnum = {
|
|
159
165
|
Shoulders: 'SHOULDERS',
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -86,12 +86,20 @@ export interface CreateExerciseRequestDto {
|
|
|
86
86
|
* @memberof CreateExerciseRequestDto
|
|
87
87
|
*/
|
|
88
88
|
'instructions': string;
|
|
89
|
+
/**
|
|
90
|
+
* Exercise image url
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateExerciseRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'imgUrl': string;
|
|
89
95
|
}
|
|
90
96
|
export declare const CreateExerciseRequestDtoTypeEnum: {
|
|
91
97
|
readonly Cardio: "CARDIO";
|
|
92
98
|
readonly Strength: "STRENGTH";
|
|
93
99
|
readonly Flexibility: "FLEXIBILITY";
|
|
94
100
|
readonly BodyWeight: "BODY_WEIGHT";
|
|
101
|
+
readonly Compound: "COMPOUND";
|
|
102
|
+
readonly Isolation: "ISOLATION";
|
|
95
103
|
};
|
|
96
104
|
export type CreateExerciseRequestDtoTypeEnum = typeof CreateExerciseRequestDtoTypeEnum[keyof typeof CreateExerciseRequestDtoTypeEnum];
|
|
97
105
|
export declare const CreateExerciseRequestDtoBodyPartsEnum: {
|
|
@@ -622,6 +630,12 @@ export interface ExerciseDto {
|
|
|
622
630
|
* @memberof ExerciseDto
|
|
623
631
|
*/
|
|
624
632
|
'instructions': string;
|
|
633
|
+
/**
|
|
634
|
+
* Exercise image url
|
|
635
|
+
* @type {string}
|
|
636
|
+
* @memberof ExerciseDto
|
|
637
|
+
*/
|
|
638
|
+
'imgUrl': string;
|
|
625
639
|
/**
|
|
626
640
|
* Exercise created at
|
|
627
641
|
* @type {string}
|
|
@@ -646,6 +660,8 @@ export declare const ExerciseDtoTypeEnum: {
|
|
|
646
660
|
readonly Strength: "STRENGTH";
|
|
647
661
|
readonly Flexibility: "FLEXIBILITY";
|
|
648
662
|
readonly BodyWeight: "BODY_WEIGHT";
|
|
663
|
+
readonly Compound: "COMPOUND";
|
|
664
|
+
readonly Isolation: "ISOLATION";
|
|
649
665
|
};
|
|
650
666
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
651
667
|
export declare const ExerciseDtoBodyPartsEnum: {
|
|
@@ -777,6 +793,12 @@ export interface ExerciseWithSetsDto {
|
|
|
777
793
|
* @memberof ExerciseWithSetsDto
|
|
778
794
|
*/
|
|
779
795
|
'completedMeta': object;
|
|
796
|
+
/**
|
|
797
|
+
* Exercise image url
|
|
798
|
+
* @type {string}
|
|
799
|
+
* @memberof ExerciseWithSetsDto
|
|
800
|
+
*/
|
|
801
|
+
'imgUrl': string;
|
|
780
802
|
/**
|
|
781
803
|
* Exercise created at
|
|
782
804
|
* @type {string}
|
|
@@ -807,6 +829,8 @@ export declare const ExerciseWithSetsDtoTypeEnum: {
|
|
|
807
829
|
readonly Strength: "STRENGTH";
|
|
808
830
|
readonly Flexibility: "FLEXIBILITY";
|
|
809
831
|
readonly BodyWeight: "BODY_WEIGHT";
|
|
832
|
+
readonly Compound: "COMPOUND";
|
|
833
|
+
readonly Isolation: "ISOLATION";
|
|
810
834
|
};
|
|
811
835
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
812
836
|
export declare const ExerciseWithSetsDtoBodyPartsEnum: {
|
package/dist/esm/api.js
CHANGED
|
@@ -30,7 +30,9 @@ export const CreateExerciseRequestDtoTypeEnum = {
|
|
|
30
30
|
Cardio: 'CARDIO',
|
|
31
31
|
Strength: 'STRENGTH',
|
|
32
32
|
Flexibility: 'FLEXIBILITY',
|
|
33
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
33
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
34
|
+
Compound: 'COMPOUND',
|
|
35
|
+
Isolation: 'ISOLATION'
|
|
34
36
|
};
|
|
35
37
|
export const CreateExerciseRequestDtoBodyPartsEnum = {
|
|
36
38
|
Shoulders: 'SHOULDERS',
|
|
@@ -102,7 +104,9 @@ export const ExerciseDtoTypeEnum = {
|
|
|
102
104
|
Cardio: 'CARDIO',
|
|
103
105
|
Strength: 'STRENGTH',
|
|
104
106
|
Flexibility: 'FLEXIBILITY',
|
|
105
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
107
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
108
|
+
Compound: 'COMPOUND',
|
|
109
|
+
Isolation: 'ISOLATION'
|
|
106
110
|
};
|
|
107
111
|
export const ExerciseDtoBodyPartsEnum = {
|
|
108
112
|
Shoulders: 'SHOULDERS',
|
|
@@ -149,7 +153,9 @@ export const ExerciseWithSetsDtoTypeEnum = {
|
|
|
149
153
|
Cardio: 'CARDIO',
|
|
150
154
|
Strength: 'STRENGTH',
|
|
151
155
|
Flexibility: 'FLEXIBILITY',
|
|
152
|
-
BodyWeight: 'BODY_WEIGHT'
|
|
156
|
+
BodyWeight: 'BODY_WEIGHT',
|
|
157
|
+
Compound: 'COMPOUND',
|
|
158
|
+
Isolation: 'ISOLATION'
|
|
153
159
|
};
|
|
154
160
|
export const ExerciseWithSetsDtoBodyPartsEnum = {
|
|
155
161
|
Shoulders: 'SHOULDERS',
|
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**equipment** | **Array<string>** | Exercise equipment | [default to undefined]
|
|
13
13
|
**difficulty** | **string** | Exercise difficulty | [default to undefined]
|
|
14
14
|
**instructions** | **string** | Exercise instructions | [default to undefined]
|
|
15
|
+
**imgUrl** | **string** | Exercise image url | [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -26,6 +27,7 @@ const instance: CreateExerciseRequestDto = {
|
|
|
26
27
|
equipment,
|
|
27
28
|
difficulty,
|
|
28
29
|
instructions,
|
|
30
|
+
imgUrl,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
31
33
|
|
package/docs/ExerciseDto.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**equipment** | **Array<string>** | Exercise equipment | [default to undefined]
|
|
14
14
|
**difficulty** | **string** | Exercise difficulty | [default to undefined]
|
|
15
15
|
**instructions** | **string** | Exercise instructions | [default to undefined]
|
|
16
|
+
**imgUrl** | **string** | Exercise image url | [default to undefined]
|
|
16
17
|
**createdAt** | **string** | Exercise created at | [default to undefined]
|
|
17
18
|
**updatedAt** | **string** | Exercise updated at | [default to undefined]
|
|
18
19
|
**deletedAt** | **string** | Exercise deleted at | [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: ExerciseDto = {
|
|
|
31
32
|
equipment,
|
|
32
33
|
difficulty,
|
|
33
34
|
instructions,
|
|
35
|
+
imgUrl,
|
|
34
36
|
createdAt,
|
|
35
37
|
updatedAt,
|
|
36
38
|
deletedAt,
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**difficulty** | **string** | Exercise difficulty | [default to undefined]
|
|
15
15
|
**instructions** | **string** | Exercise instructions | [default to undefined]
|
|
16
16
|
**completedMeta** | **object** | Completed workout meta data | [default to undefined]
|
|
17
|
+
**imgUrl** | **string** | Exercise image url | [default to undefined]
|
|
17
18
|
**createdAt** | **string** | Exercise created at | [default to undefined]
|
|
18
19
|
**updatedAt** | **string** | Exercise updated at | [default to undefined]
|
|
19
20
|
**deletedAt** | **string** | Exercise deleted at | [default to undefined]
|
|
@@ -34,6 +35,7 @@ const instance: ExerciseWithSetsDto = {
|
|
|
34
35
|
difficulty,
|
|
35
36
|
instructions,
|
|
36
37
|
completedMeta,
|
|
38
|
+
imgUrl,
|
|
37
39
|
createdAt,
|
|
38
40
|
updatedAt,
|
|
39
41
|
deletedAt,
|