Skip to content

Commit

Permalink
๐Ÿ› Remove : ์ฃผ์„์‚ญ์ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
kimjuyoung99 committed Dec 9, 2024
1 parent 1696e3b commit e0c7c68
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/apis/family/fetchFamilyDDang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,7 @@ import { AxiosError } from 'axios'
import { APIResponse, CommonAPIResponse, ErrorResponse, Member } from '~types/api'

Check failure on line 2 in src/apis/family/fetchFamilyDDang.ts

View workflow job for this annotation

GitHub Actions / lighthouse

'Member' is defined but never used
import { axiosInstance } from '~apis/axiosInstance'
import { DayOfWeek } from '~types/common'
// export type FetchFamilyDDangResponse = Pick<
// CommonAPIResponse,
// 'familyId' | 'members' | 'dogs' | 'totalWalkCount' | 'totalDistanceInKilometers' | 'totalCalorie'
// > & {
// members: (Pick<Member, 'memberId' | 'email' | 'name' | 'gender' | 'familyRole' | 'profileImg'> & {
// walkScheduleInfoList: {
// walkScheduleId: number
// dayOfWeek: DayOfWeek
// walkTime: string
// }[]
// totalWalkCount: number // ์ถ”๊ฐ€๋œ ์†์„ฑ
// })[]
// }

export type FetchFamilyDDangResponse = Pick<
CommonAPIResponse,
'familyId' | 'dogs' | 'totalWalkCount' | 'totalDistanceInKilometers' | 'totalCalorie'
Expand Down

0 comments on commit e0c7c68

Please sign in to comment.