Last active
June 20, 2020 15:18
-
-
Save sysyrin/81efd2a2cfb0306671b8a81857320ced to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//all the training plans matching the selected goal and gender | |
//recommended plan will be based on the selected training period | |
const response = { | |
error: false, | |
code: 'xxx', | |
message: 'success, | |
payload: { | |
recommendedPlan: "01230123012301230123" //this plan will be one of the plans below. you can find it through this id | |
plans: { | |
1: trainingPlanModel, | |
2: trainingPlanModel, | |
3: trainingPlanModel, | |
4: trainingPlanModel, | |
5: trainingPlanModel, | |
6: trainingPlanModel | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment