-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchitecture.d2
More file actions
29 lines (22 loc) · 762 Bytes
/
Copy patharchitecture.d2
File metadata and controls
29 lines (22 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
direction: down
style: {
fill: transparent
}
app: "App\nDevLog/App"
ui: "UI\nDevLog/UI"
presentation: "Presentation\nDevLog/Presentation"
domain: "Domain\nDevLog/Domain"
data: "Data\nDevLog/Data"
infra: "Infra\nDevLog/Infra"
storage: "Storage\nDevLog/Storage"
external: "External\nFirebase / Google / GitHub / Apple / Web"
app -> ui: "DI provision, ViewModel composition"
ui -> app: "DI container resolve"
ui -> presentation: "ViewModel ownership"
presentation -> ui: "state, action flow"
presentation -> domain: "UseCase execution, Observe publisher"
domain -> data: "Repository protocol"
data -> infra: "Service call"
data -> storage: "Store call"
infra -> external: "Firebase SDK, social login, metadata fetch"
app -> infra: "Handler -> UserService"