Refactoring data model
This commit is contained in:
@@ -6,5 +6,10 @@ export interface Plan {
|
||||
startDate: Date,
|
||||
endDate: Date,
|
||||
numWeeks: number,
|
||||
workouts: Workout[][]
|
||||
planDetials: Week[]
|
||||
}
|
||||
|
||||
export interface Week {
|
||||
week: number,
|
||||
workouts: Workout[]
|
||||
}
|
||||
Reference in New Issue
Block a user