diff --git a/gymboard-app/src/api/gymboard-api.ts b/gymboard-app/src/api/gymboard-api.ts index b1dac84..9685057 100644 --- a/gymboard-app/src/api/gymboard-api.ts +++ b/gymboard-app/src/api/gymboard-api.ts @@ -31,12 +31,20 @@ export interface ExerciseSubmission { createdAt: string, gym: SimpleGym, exercise: Exercise, - status: string, + status: ExerciseSubmissionStatus, submitterName: string, weight: number, reps: number } +export enum ExerciseSubmissionStatus { + WAITING = 'WAITING', + PROCESSING = 'PROCESSING', + FAILED = 'FAILED', + COMPLETED = 'COMPLETED', + VERIFIED = 'VERIFIED' +} + export interface Gym { countryCode: string, countryName: string, diff --git a/gymboard-app/src/pages/gym/GymSubmissionPage.vue b/gymboard-app/src/pages/gym/GymSubmissionPage.vue index 41e5aac..e3101b0 100644 --- a/gymboard-app/src/pages/gym/GymSubmissionPage.vue +++ b/gymboard-app/src/pages/gym/GymSubmissionPage.vue @@ -1,3 +1,15 @@ +