-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from wakmusic/507-update-domain-song
🔀 :: (#507) v3.0 api 변경점 적용 - Song Domain
- Loading branch information
Showing
28 changed files
with
190 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
Projects/Domains/SongsDomain/Interface/Entity/SongCreditsEntity.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// | ||
// SongCreditsEntity.swift | ||
// SongsDomain | ||
// | ||
// Created by KTH on 5/14/24. | ||
// Copyright © 2024 yongbeomkwak. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct SongCreditsEntity { | ||
public init( | ||
vocal: [String], | ||
featuring: [String], | ||
original: String, | ||
producing: [String], | ||
lyrics: [String], | ||
relyrics: [String], | ||
compose: [String], | ||
arrange: [String], | ||
mixing: [String], | ||
mastering: [String], | ||
session: [String], | ||
chorus: [String], | ||
vocalGuide: [String], | ||
trainer: [String] | ||
) { | ||
self.vocal = vocal | ||
self.featuring = featuring | ||
self.original = original | ||
self.producing = producing | ||
self.lyrics = lyrics | ||
self.relyrics = relyrics | ||
self.compose = compose | ||
self.arrange = arrange | ||
self.mixing = mixing | ||
self.mastering = mastering | ||
self.session = session | ||
self.chorus = chorus | ||
self.vocalGuide = vocalGuide | ||
self.trainer = trainer | ||
} | ||
|
||
public let vocal, featuring: [String] | ||
public let original: String | ||
public let producing, lyrics, relyrics, compose: [String] | ||
public let arrange, mixing, mastering, session: [String] | ||
public let chorus, vocalGuide, trainer: [String] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
Projects/Domains/SongsDomain/Interface/UseCase/FetchSeachSongUseCase.swift
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
Projects/Domains/SongsDomain/Interface/UseCase/FetchSongCreditsUseCase.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// FetchSongCreditsUseCase.swift | ||
// SongsDomain | ||
// | ||
// Created by KTH on 5/14/24. | ||
// Copyright © 2024 yongbeomkwak. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import RxSwift | ||
|
||
public protocol FetchSongCreditsUseCase { | ||
func execute(id: String) -> Single<SongCreditsEntity> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
Projects/Domains/SongsDomain/Sources/ResponseDTO/SearchResultResponseDTO.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.