[E7.S5-2] Common Module - Shared Data Models (DTOs) #44
Labels
No labels
Epic 5
MCP
P1
PR-0
PR-1
api
api-layer
architecture
area:backend
area:frontend
arrow
authentication
backend
bug
chat
client
clipboard
common-module
compose
cross-cutting
cross-cutting-requirement
data-layer
data-models
database
desktop-client
documentation
duplicate
enhancement
epic
epic-1
epic-2
epic-3
epic-4
epic-5
epic-6
epic-7
epic-llm-config
error-handling
feature
frontend
good first issue
help wanted
implementation
infrastructure
installer
invalid
kotlin
ktor
llm
medium-priority
message
multiplatform
needs-review
needs-triage
packaging
performance
phase-1
phase-2
phase-3
phase-4
phase-5
phase3
phase:3
priority: high
question
refactor
refactoring
resource-sharing
security
server
server-module
services
session
session-management
settings
setup
shutdown
state
storage
streaming
sub-issue
tests
tooling
type:task
ui
ui/ux
user-accounts
user-management
ux
viewmodel
websocket
windows
windows-integration
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Torvian.eu/chatbot#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
As a developer, I will implement the core data transfer objects (DTOs) that are shared between the
app(frontend) andserver(backend) modules. These models will include fields to support v1.1 features like message threading (parentMessageId,childrenMessageIds) and session grouping (groupId).Acceptance Criteria
ChatSession.ktmodelChatSessionSummary.ktmodelChatMessage.ktwith sealed class and subclassesChatGroup.ktmodelLLMModel.ktenum or data classModelSettings.ktconfiguration classImplementation Details
This PR introduces the shared data models that will be used throughout the application. These DTOs define the core domain objects and their relationships:
ChatSession: Represents a complete conversation with metadataChatSessionSummary: Lightweight version of session data for listing viewsChatMessage: Sealed class hierarchy for different message typesChatGroup: For organizing sessions into logical groupsLLMModel: Available LLM models and their capabilitiesModelSettings: Configuration options for LLM interactionsAll models will be placed in the
commonmodule at the pathcommon/src/main/kotlin/eu/torvian/chatbot/common/models/Dependencies
Parent User Story
Parent: #41 [E7.S5] Implement Layered Architecture
Foundation for Stories
This PR provides the foundation for: