콘텐츠 메인, 콘텐츠 업로드 페이지 추가

This commit is contained in:
Yu Sung
2023-08-11 08:47:10 +09:00
parent 64b0380671
commit a167840162
33 changed files with 2190 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
//
// GetAudioContentCommentListResponse.swift
// SodaLive
//
// Created by klaus on 2023/08/11.
//
import Foundation
struct GetAudioContentCommentListResponse: Decodable {
let totalCount: Int
let items: [GetAudioContentCommentListItem]
}
struct GetAudioContentCommentListItem: Decodable {
let id: Int
let writerId: Int
let nickname: String
let profileUrl: String
let comment: String
let donationCoin: Int
let date: String
let replyCount: Int
}

View File

@@ -0,0 +1,14 @@
//
// RegisterAudioContentCommentRequest.swift
// SodaLive
//
// Created by klaus on 2023/08/11.
//
import Foundation
struct RegisterAudioContentCommentRequest: Encodable {
let comment: String
let audioContentId: Int
let parentId: Int?
}