크리에이터 채널 페이지 추가
This commit is contained in:
@@ -7,6 +7,60 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct GetCreatorProfileResponse: Decodable {
|
||||
let creator: CreatorResponse
|
||||
let userDonationRanking: [UserDonationRankingResponse]
|
||||
let similarCreatorList: [SimilarCreatorResponse]
|
||||
let liveRoomList: [LiveRoomResponse]
|
||||
let notice: String
|
||||
let cheers: GetCheersResponse
|
||||
let activitySummary: GetCreatorActivitySummary
|
||||
let isBlock: Bool
|
||||
}
|
||||
|
||||
struct CreatorResponse: Decodable {
|
||||
let creatorId: Int
|
||||
let profileUrl: String
|
||||
let nickname: String
|
||||
let tags: [String]
|
||||
let introduce: String
|
||||
let instagramUrl: String?
|
||||
let youtubeUrl: String?
|
||||
let websiteUrl: String?
|
||||
let blogUrl: String?
|
||||
let isNotification: Bool
|
||||
let notificationRecipientCount: Int
|
||||
}
|
||||
|
||||
struct UserDonationRankingResponse: Decodable {
|
||||
let userId: Int
|
||||
let nickname: String
|
||||
let profileImage: String
|
||||
let donationCoin: Int?
|
||||
}
|
||||
|
||||
struct SimilarCreatorResponse: Decodable {
|
||||
let userId: Int
|
||||
let nickname: String
|
||||
let profileImage: String
|
||||
let tags: [String]
|
||||
}
|
||||
|
||||
struct LiveRoomResponse: Decodable {
|
||||
let roomId: Int
|
||||
let title: String
|
||||
let content: String
|
||||
let isPaid: Bool
|
||||
let beginDateTime: String
|
||||
let coverImageUrl: String
|
||||
let isAdult: Bool
|
||||
let price: Int
|
||||
let channelName: String?
|
||||
let managerNickname: String
|
||||
let isReservation: Bool
|
||||
let isActive: Bool
|
||||
}
|
||||
|
||||
struct GetAudioContentListResponse: Decodable {
|
||||
let totalCount: Int
|
||||
let items: [GetAudioContentListItem]
|
||||
@@ -23,3 +77,10 @@ struct GetAudioContentListItem: Decodable {
|
||||
let commentCount: Int
|
||||
let isAdult: Bool
|
||||
}
|
||||
|
||||
struct GetCreatorActivitySummary: Decodable {
|
||||
let liveCount: Int
|
||||
let liveTime: Int
|
||||
let liveContributorCount: Int
|
||||
let contentCount: Int
|
||||
}
|
||||
|
Reference in New Issue
Block a user