@@ -13,6 +13,7 @@ public struct ProfileResponseDTO: Decodable {
13
13
public let imageUrl : String ?
14
14
public let age : Int ?
15
15
public let isMatchActivated : Bool ?
16
+ public let blockedUserCount : Int ?
16
17
public let introduction : [ IntroductionDTO ] ?
17
18
public let profileSelect : ProfileSelectDTO ?
18
19
@@ -79,7 +80,8 @@ public struct ProfileResponseDTO: Decodable {
79
80
userAge: age ?? - 1 ,
80
81
userImageURL: imageUrl ?? " " ,
81
82
userName: userName ?? " " ,
82
- isActiveMatching: isMatchActivated ?? false
83
+ isActiveMatching: isMatchActivated ?? false ,
84
+ blockedContactsCount: blockedUserCount ?? 0
83
85
) ,
84
86
introduction: Introduction ( answer: introduction? . first? . answer ?? " " , question: introduction? . first? . question ?? " " ) ,
85
87
profileSelect: profileSelect? . toDomain ( ) ?? ProfileSelect (
@@ -109,12 +111,14 @@ public struct UserInfo: Equatable {
109
111
public let userImageURL : String
110
112
public let userName : String
111
113
public let isActiveMatching : Bool
112
-
113
- public init ( userAge: Int , userImageURL: String , userName: String , isActiveMatching: Bool = false ) {
114
+ public let blockedContactsCount : Int
115
+
116
+ public init ( userAge: Int , userImageURL: String , userName: String , isActiveMatching: Bool = false , blockedContactsCount: Int = 0 ) {
114
117
self . userAge = userAge
115
118
self . userImageURL = userImageURL
116
119
self . userName = userName
117
120
self . isActiveMatching = isActiveMatching
121
+ self . blockedContactsCount = blockedContactsCount
118
122
}
119
123
}
120
124
0 commit comments