Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,6 @@ private extension AppGraph {
.userPreferencesUseCaseGraph
.updateSystemThemeUseCase
)
ProfilePresentationDependencyPreparation.prepareSettingsStorage(
&dependencies,
fetchWebPageImageDirSizeUseCase: webPageGraphSet
.webPageImageUseCaseGraph
.fetchWebPageImageDirSizeUseCase,
clearWebPageImageDirectoryUseCase: webPageGraphSet
.webPageImageUseCaseGraph
.clearWebPageImageDirectoryUseCase
)
ProfilePresentationDependencyPreparation.prepareAccount(
&dependencies,
fetchAuthProvidersUseCase: authenticationGraphSet
Expand Down
21 changes: 2 additions & 19 deletions Application/App/Sources/App/Graph/AppGraph.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ final class AppGraph {
}

@Provide
private func makeInfraGraphSet(
persistenceGraphSet: PersistenceGraphSet
) -> InfraGraphSet {
InfraGraphSet(
webPageImageStore: persistenceGraphSet.webPageImageStoreGraph.webPageImageStore
)
private func makeInfraGraphSet() -> InfraGraphSet {
InfraGraphSet()
}

@Provide
Expand Down Expand Up @@ -75,19 +71,6 @@ final class AppGraph {
)
}

@Provide
private func makeWebPageGraphSet(
persistenceGraphSet: PersistenceGraphSet,
infraGraphSet: InfraGraphSet
) -> WebPageGraphSet {
WebPageGraphSet(
authServiceGraph: infraGraphSet.authServiceGraph,
webPageMetadataServiceGraph: infraGraphSet.webPageMetadataServiceGraph,
webPageServiceGraph: infraGraphSet.webPageServiceGraph,
webPageImageStoreGraph: persistenceGraphSet.webPageImageStoreGraph
)
}

@Provide
private func makeUserProfileGraphSet(
persistenceGraphSet: PersistenceGraphSet,
Expand Down
11 changes: 0 additions & 11 deletions Application/App/Sources/App/Graph/InfraGraphSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by opfic on 9/7/26.
//

import Data
import Infra

final class InfraGraphSet {
Expand All @@ -29,15 +28,5 @@ final class InfraGraphSet {
let userServiceGraph = UserServiceGraph()
let profileImageDataServiceGraph = ProfileImageDataServiceGraph()
let pushNotificationServiceGraph = PushNotificationServiceGraph()
let webPageServiceGraph = WebPageServiceGraph()
let webPageMetadataServiceGraph: WebPageMetadataServiceGraph
let networkConnectivityProviderGraph = NWPathConnectivityProviderGraph()

init(webPageImageStore: WebPageImageStore) {
self.webPageMetadataServiceGraph = WebPageMetadataServiceGraph(
input: WebPageMetadataServiceGraphInput(
webPageImageStore: webPageImageStore
)
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ final class PersistenceGraphSet {
let userDefaultsStoreGraph = UserDefaultsStoreGraph()
let memoryCacheStoreGraph = MemoryCacheStoreGraph()
let themeStoreGraph = ThemeStoreGraph()
let webPageImageStoreGraph = WebPageImageStoreGraph()
}
49 changes: 0 additions & 49 deletions Application/App/Sources/App/Graph/WebPageGraphSet.swift

This file was deleted.

53 changes: 0 additions & 53 deletions Application/Data/Sources/DTO/WebPageDTO.swift

This file was deleted.

22 changes: 0 additions & 22 deletions Application/Data/Sources/DTO/WebPageMetadataResponse.swift

This file was deleted.

33 changes: 0 additions & 33 deletions Application/Data/Sources/Graph/WebPageImageRepositoryGraph.swift

This file was deleted.

37 changes: 0 additions & 37 deletions Application/Data/Sources/Graph/WebPageRepositoryGraph.swift

This file was deleted.

33 changes: 0 additions & 33 deletions Application/Data/Sources/Mapper/WebPageMapping.swift

This file was deleted.

1 change: 0 additions & 1 deletion Application/Data/Sources/Protocol/AnalyticsService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ public protocol AnalyticsService {
func trackScreenView(_ name: String)
func trackTodoCreate()
func trackTodoComplete()
func trackWebPageCreate()
func trackPushOpen()
}
16 changes: 0 additions & 16 deletions Application/Data/Sources/Protocol/WebPageImageStore.swift

This file was deleted.

14 changes: 0 additions & 14 deletions Application/Data/Sources/Protocol/WebPageMetadataService.swift

This file was deleted.

15 changes: 0 additions & 15 deletions Application/Data/Sources/Protocol/WebPageService.swift

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ final class AnalyticsRepositoryImpl: AnalyticsRepository {
analyticsService.trackTodoCreate()
case .todoComplete:
analyticsService.trackTodoComplete()
case .webPageCreate:
analyticsService.trackWebPageCreate()
case .pushOpen:
analyticsService.trackPushOpen()
}
Expand Down
Loading