feat(home): 랭킹 API 기반 상태를 추가한다

This commit is contained in:
Yu Sung
2026-06-30 15:06:47 +09:00
parent a8680931fe
commit c4e83c3aef
16 changed files with 864 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
import Foundation
struct MainHomeCreatorRankingResponse: Decodable {
let showRankChange: Bool
let items: [MainHomeCreatorRankingItem]
}
struct MainHomeCreatorRankingItem: Decodable, Identifiable {
let rank: Int
let rankChange: Int?
let isNew: Bool
let creatorId: Int
let nickname: String
let profileImageUrl: String?
var id: Int { creatorId }
}