feat(creator): 시리즈 탭을 추가한다
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import Foundation
|
||||
|
||||
struct CreatorChannelSeriesTabResponse: Decodable {
|
||||
let seriesCount: Int
|
||||
let series: [CreatorChannelSeriesResponse]
|
||||
let sort: ContentSort
|
||||
let page: Int
|
||||
let size: Int
|
||||
let hasNext: Bool
|
||||
}
|
||||
|
||||
struct CreatorChannelSeriesResponse: Decodable, Identifiable {
|
||||
let seriesId: Int
|
||||
let title: String
|
||||
let coverImageUrl: String?
|
||||
let publishedDaysOfWeek: String
|
||||
let isOriginal: Bool
|
||||
let isAdult: Bool
|
||||
let isProceeding: Bool
|
||||
let contentCount: Int
|
||||
let purchasedContentCount: Int?
|
||||
let paidContentCount: Int?
|
||||
let purchasedPaidContentRate: Int?
|
||||
|
||||
var id: Int { seriesId }
|
||||
}
|
||||
Reference in New Issue
Block a user