This commit is contained in:
Trey t
2023-06-20 20:49:32 -05:00
parent 55f0926a08
commit 695459ac06
15 changed files with 287 additions and 111 deletions

View File

@@ -35,3 +35,14 @@ class AllExerciseFetchable: Fetchable {
typealias Response = [ExerciseExercise]
var endPoint: String = "exercise/all/"
}
class CreateWorkoutFetchable: Postable {
var postableData: [String : Any]?
typealias Response = Workout
var endPoint: String = "workout/create/"
init(postData: [String: Any]) {
self.postableData = postData
}
}