탐색 메인 페이지
This commit is contained in:
27
SodaLive/Sources/Explorer/GetExplorerResponse.swift
Normal file
27
SodaLive/Sources/Explorer/GetExplorerResponse.swift
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// GetExplorerResponse.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/10.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
struct GetExplorerResponse: Decodable {
|
||||
let sections: [GetExplorerSectionResponse]
|
||||
}
|
||||
|
||||
struct GetExplorerSectionResponse: Decodable, Hashable {
|
||||
let title: String
|
||||
let coloredTitle: String?
|
||||
let color: String?
|
||||
let creators: [GetExplorerSectionCreatorResponse]
|
||||
}
|
||||
|
||||
struct GetExplorerSectionCreatorResponse: Decodable, Hashable {
|
||||
let id: Int
|
||||
let nickname: String
|
||||
let tags: String
|
||||
let profileImageUrl: String
|
||||
}
|
||||
|
Reference in New Issue
Block a user