updated diagrams and gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
||||
node_modules
|
||||
*.tsbuildinfo
|
||||
docs/praesi_2_context.md
|
||||
docs/*.png
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 122 KiB |
@@ -142,6 +142,15 @@ package "Utils" #DDA0DD {
|
||||
' +hash()
|
||||
' +compare()
|
||||
}
|
||||
|
||||
class RecurrenceExpander {
|
||||
' +expandRecurringEvents()
|
||||
}
|
||||
|
||||
class EventFormatters {
|
||||
' +getWeeksOverview()
|
||||
' +getMonthOverview()
|
||||
}
|
||||
}
|
||||
|
||||
' Controller -> Service
|
||||
@@ -161,4 +170,8 @@ EventService --> EventRepository
|
||||
AuthService --> JWT
|
||||
AuthService --> Password
|
||||
|
||||
' Event/Chat uses Utils
|
||||
EventService --> RecurrenceExpander
|
||||
ChatService --> EventFormatters
|
||||
|
||||
@enduml
|
||||
|
||||
@@ -26,13 +26,14 @@ package "apps/client (Expo React Native)" #87CEEB {
|
||||
|
||||
package "Components" {
|
||||
[EventCard] as EventCard
|
||||
[ChatBubble] as ChatBubble
|
||||
[ProposedEventCard] as ProposedEventCard
|
||||
[ConfirmDialog] as ConfirmDialog
|
||||
}
|
||||
|
||||
package "Stores" {
|
||||
[Auth Store] as AuthStore
|
||||
[Events Store] as EventsStore
|
||||
[Chat Store] as ChatStore
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +91,7 @@ ClientChat --> ApiClient
|
||||
|
||||
ApiClient --> AuthStore
|
||||
ClientEvent --> EventsStore
|
||||
ClientChat --> ChatStore
|
||||
|
||||
' Frontend -> Shared
|
||||
ApiClient ..> SharedDTOs
|
||||
|
||||
@@ -25,9 +25,8 @@ package "Screens" #87CEEB {
|
||||
' ===== COMPONENTS =====
|
||||
package "Components" #FFA07A {
|
||||
class EventCard
|
||||
class ChatBubble
|
||||
class ProposedEventCard
|
||||
class EventConfirmDialog
|
||||
class MonthSelector
|
||||
}
|
||||
|
||||
' ===== SERVICES =====
|
||||
@@ -52,6 +51,9 @@ package "Stores" #FFD700 {
|
||||
class EventsStore {
|
||||
' +events
|
||||
}
|
||||
class ChatStore {
|
||||
' +messages
|
||||
}
|
||||
}
|
||||
|
||||
' ===== MODELS =====
|
||||
@@ -71,7 +73,7 @@ NoteScreen --> EventService
|
||||
|
||||
' Screens -> Components
|
||||
CalendarScreen --> EventCard
|
||||
ChatScreen --> ChatBubble
|
||||
ChatScreen --> ProposedEventCard
|
||||
ChatScreen --> EventConfirmDialog
|
||||
|
||||
' Services -> ApiClient
|
||||
@@ -79,8 +81,9 @@ AuthService --> ApiClient
|
||||
EventService --> ApiClient
|
||||
ChatService --> ApiClient
|
||||
|
||||
' Services -> Stores
|
||||
' Services/Screens -> Stores
|
||||
AuthService --> AuthStore
|
||||
EventService --> EventsStore
|
||||
ChatScreen --> ChatStore
|
||||
|
||||
@enduml
|
||||
|
||||
Reference in New Issue
Block a user