diff --git a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutChart/index.vue b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutChart/index.vue index 675fff3d..a569ab87 100644 --- a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutChart/index.vue +++ b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutChart/index.vue @@ -58,7 +58,7 @@ import { htmlLegendPlugin } from '@/components/Workout/WorkoutDetail/WorkoutChart/legend' import { TUnit } from '@/types/units' - import { IUserProfile } from '@/types/user' + import { IAuthUserProfile } from '@/types/user' import { IWorkoutChartData, IWorkoutData, @@ -68,7 +68,7 @@ import { getDatasets } from '@/utils/workouts' interface Props { - authUser: IUserProfile + authUser: IAuthUserProfile workoutData: IWorkoutData } const props = defineProps() diff --git a/fittrackee_client/src/components/Workout/WorkoutDetail/index.vue b/fittrackee_client/src/components/Workout/WorkoutDetail/index.vue index be608418..1034cbdc 100644 --- a/fittrackee_client/src/components/Workout/WorkoutDetail/index.vue +++ b/fittrackee_client/src/components/Workout/WorkoutDetail/index.vue @@ -46,7 +46,7 @@ import WorkoutMap from '@/components/Workout/WorkoutDetail/WorkoutMap/index.vue' import { WORKOUTS_STORE } from '@/store/constants' import { ISport } from '@/types/sports' - import { IUserProfile } from '@/types/user' + import { IAuthUserProfile } from '@/types/user' import { IWorkout, IWorkoutData, @@ -58,7 +58,7 @@ import { formatWorkoutDate, getDateWithTZ } from '@/utils/dates' interface Props { - authUser: IUserProfile + authUser: IAuthUserProfile displaySegment: boolean sports: ISport[] workoutData: IWorkoutData diff --git a/fittrackee_client/src/components/Workout/WorkoutEdition.vue b/fittrackee_client/src/components/Workout/WorkoutEdition.vue index 06fd1491..64f9d65c 100644 --- a/fittrackee_client/src/components/Workout/WorkoutEdition.vue +++ b/fittrackee_client/src/components/Workout/WorkoutEdition.vue @@ -243,7 +243,7 @@ import { ROOT_STORE, WORKOUTS_STORE } from '@/store/constants' import { TAppConfig } from '@/types/application' import { ISport } from '@/types/sports' - import { IUserProfile } from '@/types/user' + import { IAuthUserProfile } from '@/types/user' import { IWorkout, IWorkoutForm } from '@/types/workouts' import { useStore } from '@/use/useStore' import { formatWorkoutDate, getDateWithTZ } from '@/utils/dates' @@ -252,7 +252,7 @@ import { convertDistance } from '@/utils/units' interface Props { - authUser: IUserProfile + authUser: IAuthUserProfile sports: ISport[] isCreation?: boolean loading?: boolean diff --git a/fittrackee_client/src/components/Workouts/WorkoutsFilters.vue b/fittrackee_client/src/components/Workouts/WorkoutsFilters.vue index cee067c3..861f9ed3 100644 --- a/fittrackee_client/src/components/Workouts/WorkoutsFilters.vue +++ b/fittrackee_client/src/components/Workouts/WorkoutsFilters.vue @@ -165,12 +165,12 @@ import { LocationQuery, useRoute, useRouter } from 'vue-router' import { ISport } from '@/types/sports' - import { IUserProfile } from '@/types/user' + import { IAuthUserProfile } from '@/types/user' import { translateSports } from '@/utils/sports' import { units } from '@/utils/units' interface Props { - authUser: IUserProfile + authUser: IAuthUserProfile sports: ISport[] } const props = defineProps()