From 953d6528431fff41099c0e7b125b76a2d6c5cba5 Mon Sep 17 00:00:00 2001 From: Alexander Ignatov Date: Mon, 14 Aug 2023 11:08:30 +0300 Subject: [PATCH] Add main targets in diagram --- README.md | 2 +- assets/dependencies.svg | 4 ++++ assets/spm-package-dependencies.svg | 4 ---- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 assets/dependencies.svg delete mode 100644 assets/spm-package-dependencies.svg diff --git a/README.md b/README.md index 7904b52..0fef6c9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Приложението използва [The Composable Architecture (TCA)](https://github.com/pointfreeco/swift-composable-architecture), като е разделено по модули, базирани както на функционалност, така и на слоеве (т.е. и "хоризонтално", и "вертикално"), доколкото има смисъл да бъде приложимо. За модуляризацията е използван Swift Package Manager пакет ([bdz-delays](./BDZDelays/bdz-delays/)). Следната схема илюстрира най-добре избраната композиция по модули: -![Архитектура](./assets/spm-package-dependencies.svg) +![Архитектура](./assets/dependencies.svg) ## Принос към проекта diff --git a/assets/dependencies.svg b/assets/dependencies.svg new file mode 100644 index 0000000..6981412 --- /dev/null +++ b/assets/dependencies.svg @@ -0,0 +1,4 @@ + + + +
package
package
Xcode proj
Xcode proj
BDZDelays (SwiftUI app)
BDZDelays (SwiftUI app)
DelaysWidgetExtension (SwiftUI widget)
DelaysWidgetExtension (SwiftUI widget)
embedded SPM package
embedded SPM package
child feature
child feature
SearchStationDomain
SearchStationDomain
StationDomain
StationDomain
child feature
child feature
SearchStationView
SearchStationView
StationView
StationView
TrainView
TrainView
StationRepository
StationRepository
LocationService
LocationService
SettingsURLService
SettingsURLService
FavoritesService
FavoritesService
LogService
LogService
StationRepositoryLive
StationRepositoryLive
LocationServiceLive
LocationServiceLive
SettingsURLServiceLive
SettingsURLServiceLive
FavoritesServiceLive
FavoritesServiceLive
LogServiceLive
LogServiceLive
ROVR
ROVR
CustomEncoding
CustomEncoding
fully unit-testable
fully unit-testab...
fully unit-testable
fully unit-testab...
partially
unit-testable
partially...
fully unit-testable
fully unit-testa...
can be unit-testable
can be unit-testable
integration-testable
integration-testable
UI
UI
Domain
Domain
Service
Interfaces
Service...
Service
Live Impl's
Service...
Search Station Feature
Search Stat...
Station Feature
Station Fea...
reusable view
(doesn't depend on TCA)
reusable view...
depends on
depends on
LEGEND
LEGEND
Target
Target
Text is not SVG - cannot display
\ No newline at end of file diff --git a/assets/spm-package-dependencies.svg b/assets/spm-package-dependencies.svg deleted file mode 100644 index 1f3fe1c..0000000 --- a/assets/spm-package-dependencies.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - -
child feature
child feature
SearchStationDomain
SearchStationDomain
StationDomain
StationDomain
child feature
child feature
SearchStationView
SearchStationView
StationView
StationView
TrainView
TrainView
StationRepository
StationRepository
LocationService
LocationService
SettingsURLService
SettingsURLService
FavoritesService
FavoritesService
LogService
LogService
StationRepositoryLive
StationRepositoryLive
LocationServiceLive
LocationServiceLive
SettingsURLServiceLive
SettingsURLServiceLive
FavoritesServiceLive
FavoritesServiceLive
LogServiceLive
LogServiceLive
ROVR
ROVR
CustomEncoding
CustomEncoding
bdz-delays
bdz-delays
fully unit-testable
fully unit-testab...
fully unit-testable
fully unit-testab...
partially
unit-testable
partially...
fully unit-testable
fully unit-testa...
can be unit-testable
can be unit-testable
integration-testable
integration-testable
UI
UI
Domain
Domain
Service
Interfaces
Service...
Service
Live Impl's
Service...
Search Station Feature
Search Stat...
Station Feature
Station Fea...
reusable view
(doesn't depend on TCA)
reusable view...
Text is not SVG - cannot display
\ No newline at end of file