Repository-Schicht (Category, Location, Item, Settings) #20
Labels
No labels
block-planning
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
infrastructure
invalid
planning
priority:high
priority:low
question
refactoring
status:backlog
status:done
status:in-progress
status:todo
tech-decision
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bollwerkadmin/bollwerk#20
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?
Feature: Repository-Schicht
Part of: #5
Depends on: #17
Ziel
Vier Repositories kapseln den Datenbankzugriff und stellen der Business-Logik/ViewModel eine saubere API bereit.
Scope
CategoryRepository: getAll(): Flow, insert(), update(), delete()LocationRepository: getAll(): Flow, insert(), update(), delete()ItemRepository: getAll(): Flow, getById(), insert(), update(), delete(), getByCategory(), getByLocation(), getExpiringSoon()SettingsRepository: getValue(), setValue(), getAll(): Flow@Bindsoder@Provides)Technische Hinweise
de.krisenvorrat.app.data.repositoryde.krisenvorrat.app.domain.repositoryItemRepositoryImpletc.Dispatchers.IOausführen (suspend fun oder Flow)Akzeptanzkriterien
Abgeschlossen (2026-05-13)
Zyklen: 1 (+ 1 Code-Review-Korrekturzyklus)
Tests: ✅ 20 Tests, 0 Fehler
Implementierte Artefakte
Abweichungen