Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ”€ :: [#372] government 도메인 μ„ΈνŒ… #373

Merged
merged 12 commits into from
Jul 20, 2024
Merged
2 changes: 1 addition & 1 deletion .github/workflows/bitgouel-ios-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install tuist
run: curl -Ls https://install.tuist.io | bash
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import NeedleFoundation
import Service

public extension AppComponent {
var remoteGovernmentDataSource: any RemoteGovernmentDataSource {
shared {
RemoteGovernmentDataSourceImpl(keychain: keychain)
}
}

var governmentRepository: any GovernmentRepository {
shared {
GovernmentRepositoryImpl(remoteGovernmentDataSource: remoteGovernmentDataSource)
}
}

var fetchGovernmentListUseCase: any FetchGovernmentListUseCase {
FetchGovernmentUseCaseImpl(governmentRepository: governmentRepository)
}

var createdGovernmentUseCase: any CreatedGovernmentUseCase {
CreatedGovernmentUseCaseImpl(governmentRepository: governmentRepository)
}

var deleteGovernmentUseCase: any DeleteGovernmentUseCase {
DeleteGovernmentUseCaseImpl(governmentRepository: governmentRepository)
}
}
Loading
Loading