File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
Projects/CoreKit/Sources/Data/Network/User Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ extension UserClient: DependencyKey {
3636 fcm_토큰_저장: { model in
3737 try await provider. request ( . fcm_토큰_저장( model: model) )
3838 } ,
39+ 프로필_이미지_목록_조회: {
40+ try await provider. request ( . 프로필_이미지_목록_조회)
41+ } ,
3942 유저_관심사_목록_조회: {
4043 try await provider. request ( . 유저_관심사_목록_조회)
4144 }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ extension UserClient: TestDependencyKey {
1919 관심사_목록_조회: { InterestResponse . mock } ,
2020 닉네임_조회: { . mock } ,
2121 fcm_토큰_저장: { _ in . mock } ,
22+ 프로필_이미지_목록_조회: { [ . mock] } ,
2223 유저_관심사_목록_조회: { InterestResponse . mock }
2324 )
2425 } ( )
Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ public struct UserClient {
1616 public var 관심사_목록_조회 : @Sendable ( ) async throws -> [ InterestResponse ]
1717 public var 닉네임_조회 : @Sendable ( ) async throws -> BaseUserResponse
1818 public var fcm_토큰_저장 : @Sendable ( _ model: FCMRequest ) async throws -> FCMResponse
19+ public var 프로필_이미지_목록_조회 : @Sendable ( ) async throws -> [ BaseProfileImageResponse ]
1920 public var 유저_관심사_목록_조회 : @Sendable ( ) async throws -> [ InterestResponse ]
2021}
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ public enum UserEndpoint {
1818 case 관심사_목록_조회
1919 case 닉네임_조회
2020 case fcm_토큰_저장( model: FCMRequest )
21+ case 프로필_이미지_목록_조회
2122 case 유저_관심사_목록_조회
2223}
2324
@@ -40,6 +41,8 @@ extension UserEndpoint: TargetType {
4041 return " /interests "
4142 case . fcm_토큰_저장:
4243 return " /fcm "
44+ case . 프로필_이미지_목록_조회:
45+ return " /profileImage "
4346 case . 유저_관심사_목록_조회:
4447 return " /myinterests "
4548 }
@@ -57,6 +60,7 @@ extension UserEndpoint: TargetType {
5760 case . 닉네임_중복_체크,
5861 . 관심사_목록_조회,
5962 . 닉네임_조회,
63+ . 프로필_이미지_목록_조회,
6064 . 유저_관심사_목록_조회:
6165 return . get
6266 }
@@ -75,6 +79,7 @@ extension UserEndpoint: TargetType {
7579 case . 닉네임_중복_체크,
7680 . 관심사_목록_조회,
7781 . 닉네임_조회,
82+ . 프로필_이미지_목록_조회,
7883 . 유저_관심사_목록_조회:
7984 return . requestPlain
8085 }
You can’t perform that action at this time.
0 commit comments