From c77da463a60061877cd7ddea1bd7b723b3bf2455 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 00:53:48 +0900 Subject: feat(repo): extend CardRepository with note data support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add noteId and isReversed fields to Card interface for note-based cards. Implement findByIdWithNoteData, findByNoteId, and softDeleteByNoteId methods to support fetching cards with their associated note data and cascading deletions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- docs/dev/roadmap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/dev/roadmap.md') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 1005f42..730eca5 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -152,11 +152,11 @@ Create these as default note types for each user: - [x] Create `NoteTypeFieldRepository` - CRUD operations - Reorder fields -- [ ] Create `NoteRepository` +- [x] Create `NoteRepository` - Create note with field values (auto-generate cards based on `is_reversible`) - Update note (updates field values) - Delete note (cascade soft-delete to cards) -- [ ] Modify `CardRepository` +- [x] Modify `CardRepository` - Fetch card with note data for display - Support note-based card creation -- cgit v1.2.3-70-g09d2