feat(explorer): 크리에이터 상세정보 다이얼로그와 SNS 링크를 추가한다

This commit is contained in:
Yu Sung
2026-02-25 16:28:48 +09:00
parent 7ff9360b1e
commit e9bd1e7396
18 changed files with 449 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ enum ExplorerApi {
case getExplorer
case searchChannel(channel: String)
case getCreatorProfile(userId: Int, isAdultContentVisible: Bool)
case getCreatorDetail(userId: Int)
case getFollowerList(userId: Int, page: Int, size: Int)
case getCreatorProfileCheers(userId: Int, page: Int, size: Int)
case writeCheers(parentCheersId: Int?, creatorId: Int, content: String)
@@ -39,6 +40,9 @@ extension ExplorerApi: TargetType {
case .getCreatorProfile(let userId, _):
return "/explorer/profile/\(userId)"
case .getCreatorDetail(let userId):
return "/explorer/profile/\(userId)/detail"
case .getCreatorProfileDonationRanking(let userId, _, _, _):
return "/explorer/profile/\(userId)/donation-rank"
@@ -62,7 +66,7 @@ extension ExplorerApi: TargetType {
var method: Moya.Method {
switch self {
case .getExplorer, .searchChannel, .getCreatorProfile, .getFollowerList, .getCreatorProfileCheers, .getCreatorProfileDonationRanking, .getCreatorRank:
case .getExplorer, .searchChannel, .getCreatorProfile, .getCreatorDetail, .getFollowerList, .getCreatorProfileCheers, .getCreatorProfileDonationRanking, .getCreatorRank:
return .get
case .writeCheers, .writeCreatorNotice:
@@ -75,7 +79,7 @@ extension ExplorerApi: TargetType {
var task: Task {
switch self {
case .getExplorer, .getCreatorRank:
case .getExplorer, .getCreatorRank, .getCreatorDetail:
return .requestPlain
case .searchChannel(let channel):