Skip to content

Commit

Permalink
Merge pull request #493 from wakmusic/484-divide-playlist
Browse files Browse the repository at this point in the history
🔀 :: (#484) Common Feature 분리
  • Loading branch information
yongbeomkwak authored Apr 17, 2024
2 parents 1fe0726 + 45cf9ae commit 2dc5912
Show file tree
Hide file tree
Showing 169 changed files with 2,167 additions and 2,333 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ extension ModulePaths: MicroTargetPathConvertable {

public extension ModulePaths {
enum Feature: String, MicroTargetPathConvertable {
case PlaylistFeature
case BaseFeature
case ArtistFeature
case ChartFeature
case CommonFeature
case HomeFeature
case MainTabFeature
case PlayerFeature
Expand Down
1 change: 1 addition & 0 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ let targets: [Target] = [
dependencies: [
.Project.Features.RootFeature,
.Project.Module.ThirdPartyLib,
.feature(target: .PlaylistFeature),
.domain(target: .AppDomain),
.domain(target: .ArtistDomain),
.domain(target: .AuthDomain),
Expand Down
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent+Auth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import AuthDomain
import AuthDomainInterface
import CommonFeature
import BaseFeature
import SignInFeature
import StorageFeature

Expand Down
17 changes: 17 additions & 0 deletions Projects/App/Sources/Application/AppComponent+Base.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// File.swift
// WaktaverseMusic
//
// Created by yongbeomkwak on 4/16/24.
// Copyright © 2024 yongbeomkwak. All rights reserved.
//

import BaseFeature
import BaseFeatureInterface
import Foundation

public extension AppComponent {
var multiPurposePopUpFactory: any MultiPurposePopUpFactory {
MultiPurposePopUpComponent(parent: self)
}
}
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent+Chart.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import BaseFeature
import ChartDomain
import ChartDomainInterface
import ChartFeature
import CommonFeature

public extension AppComponent {
var chartComponent: ChartComponent {
Expand Down
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent+Faq.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2023 yongbeomkwak. All rights reserved.
//

import CommonFeature
import BaseFeature
import FaqDomain
import FaqDomainInterface
import SignInFeature
Expand Down
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent+Like.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2023 yongbeomkwak. All rights reserved.
//

import CommonFeature
import BaseFeature
import LikeDomain
import LikeDomainInterface
import SignInFeature
Expand Down
3 changes: 2 additions & 1 deletion Projects/App/Sources/Application/AppComponent+Notice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
// Copyright © 2023 yongbeomkwak. All rights reserved.
//

import CommonFeature
import BaseFeature
import MainTabFeature
import NoticeDomain
import NoticeDomainInterface
import StorageFeature
Expand Down
11 changes: 5 additions & 6 deletions Projects/App/Sources/Application/AppComponent+Playlist.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
// Copyright © 2023 yongbeomkwak. All rights reserved.
//

import CommonFeature
import BaseFeature
import BaseFeatureInterface
import PlayListDomain
import PlayListDomainInterface
import PlaylistFeature
import PlaylistFeatureInterface
import SearchFeature
import StorageFeature

Expand All @@ -20,14 +23,10 @@ public extension AppComponent {
BeforeSearchComponent(parent: self)
}

var playListDetailComponent: PlayListDetailComponent {
var playlistDetailFactory: any PlaylistDetailFactory {
PlayListDetailComponent(parent: self)
}

var multiPurposePopComponent: MultiPurposePopComponent {
MultiPurposePopComponent(parent: self)
}

var myPlayListComponent: MyPlayListComponent {
MyPlayListComponent(parent: self)
}
Expand Down
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent+Songs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2023 yongbeomkwak. All rights reserved.
//

import CommonFeature
import BaseFeature
import HomeFeature
import SearchFeature
import SongsDomain
Expand Down
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent+User.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2023 yongbeomkwak. All rights reserved.
//

import CommonFeature
import BaseFeature
import SignInFeature
import StorageFeature
import UserDomain
Expand Down
2 changes: 1 addition & 1 deletion Projects/App/Sources/Application/AppComponent.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CommonFeature
import BaseFeature
import Foundation
import KeychainModule
import MainTabFeature
Expand Down
Loading

0 comments on commit 2dc5912

Please sign in to comment.