-
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.
- Loading branch information
1 parent
af9e2c3
commit 94b09e6
Showing
38 changed files
with
327 additions
and
352 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// | ||
// AppComponent+Search.swift | ||
// WaktaverseMusic | ||
// | ||
// Created by yongbeomkwak on 2023/02/07. | ||
// Copyright © 2023 yongbeomkwak. All rights reserved. | ||
// | ||
|
||
import DomainModule | ||
import DataModule | ||
import NetworkModule | ||
import CommonFeature | ||
import SignInFeature | ||
import StorageFeature | ||
|
||
//MARK: 변수명 주의 | ||
// AppComponent 내 변수 == Dependency 내 변수 이름 같아야함 | ||
|
||
|
||
public extension AppComponent { | ||
var faqComponent: FaqComponent { | ||
FaqComponent(parent: self) | ||
} | ||
|
||
var faqContentComponent: FaqContentComponent { | ||
FaqContentComponent(parent: self) | ||
} | ||
|
||
var remoteFaqDataSource: any RemoteFaqDataSource { | ||
shared { | ||
RemoteFaqDataSourceImpl(keychain: keychain) | ||
} | ||
} | ||
|
||
var faqRepository: any FaqRepository { | ||
shared { | ||
FaqRepositoryImpl(remoteFaqDataSource: remoteFaqDataSource) | ||
} | ||
} | ||
|
||
var fetchFaqCategoriesUseCase: any FetchFaqCategoriesUseCase{ | ||
shared { | ||
FetchFaqCategoriesUseCaseImpl(faqRepository: faqRepository) | ||
} | ||
} | ||
|
||
var fetchFaqUseCase: any FetchFaqUseCase { | ||
shared { | ||
FetchFaqUseCaseImpl(faqRepository: faqRepository) | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.