feat(home): 현재 라이브 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-29 13:22:00 +09:00
parent e67efeb30f
commit c441fb0b02
8 changed files with 191 additions and 38 deletions

View File

@@ -13,9 +13,9 @@ struct HomeRecommendationResponse: Decodable {
}
struct HomeLiveItem: Decodable, Hashable {
let roomId: Int?
let creatorNickname: String?
let creatorProfileImage: String?
let roomId: Int
let creatorNickname: String
let creatorProfileImage: String
}
struct RecommendationBannerResponse: Decodable, Hashable {
@@ -30,56 +30,56 @@ struct RecommendationBannerResponse: Decodable, Hashable {
}
struct HomeActiveCreatorItem: Decodable, Hashable {
let creatorNickname: String?
let creatorProfileImage: String?
let activityType: RecommendedActivityType?
let activityAt: String?
let creatorNickname: String
let creatorProfileImage: String
let activityType: RecommendedActivityType
let activityAt: String
let targetId: Int?
}
struct HomeCreatorItem: Decodable, Hashable {
let creatorId: Int?
let creatorNickname: String?
let creatorProfileImage: String?
let creatorId: Int
let creatorNickname: String
let creatorProfileImage: String
}
struct HomeFirstAudioContentItem: Decodable, Hashable {
let contentId: Int?
let creatorId: Int?
let creatorNickname: String?
let creatorProfileImage: String?
let title: String?
let price: Int?
let contentId: Int
let creatorId: Int
let creatorNickname: String
let creatorProfileImage: String
let title: String
let price: Int
let coverImage: String?
let isPointAvailable: Bool?
let isPointAvailable: Bool
}
struct HomeAiCharacterItem: Decodable, Hashable {
let characterId: Int?
let creatorId: Int?
let name: String?
let description: String?
let characterId: Int
let creatorId: Int
let name: String
let description: String
let profileImage: String?
let totalChatCount: Int?
let totalChatCount: Int
let originalWorkTitle: String?
}
struct HomeGenreCreatorGroupItem: Decodable, Hashable {
let genreName: String?
let creators: [HomeCreatorItem]?
let genreName: String
let creators: [HomeCreatorItem]
}
struct HomePopularCommunityPostItem: Decodable, Hashable {
let postId: Int?
let creatorId: Int?
let creatorNickname: String?
let postId: Int
let creatorId: Int
let creatorNickname: String
let creatorProfileImage: String?
let content: String?
let content: String
let imageUrl: String?
let audioUrl: String?
let price: Int?
let existOrdered: Bool?
let likeCount: Int?
let commentCount: Int?
let createdAt: String?
let price: Int
let existOrdered: Bool
let likeCount: Int
let commentCount: Int
let createdAt: String
}