From c1d24e24449808e4235fa586fbeb5760a36bc6bb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 01:29:39 +0900 Subject: feat(client): add note-related tables to client IndexedDB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add LocalNoteType, LocalNoteFieldType, LocalNote, and LocalNoteFieldValue interfaces and tables to the client database for Anki-compatible note system. Update LocalCard interface with noteId and isReversed fields. Includes Dexie schema version 2 with upgrade handler for existing cards. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- docs/dev/roadmap.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/dev/roadmap.md') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index c3a4a19..f7d7728 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -201,12 +201,12 @@ Create these as default note types for each user: ### Phase 4: Client Database (Dexie) **Tasks:** -- [ ] Add `LocalNoteType` interface and table -- [ ] Add `LocalNoteTypeField` interface and table -- [ ] Add `LocalNote` interface and table -- [ ] Add `LocalNoteFieldValue` interface and table -- [ ] Modify `LocalCard` interface: add `noteId`, `isReversed` -- [ ] Update Dexie schema version and upgrade handler +- [x] Add `LocalNoteType` interface and table +- [x] Add `LocalNoteFieldType` interface and table +- [x] Add `LocalNote` interface and table +- [x] Add `LocalNoteFieldValue` interface and table +- [x] Modify `LocalCard` interface: add `noteId`, `isReversed` +- [x] Update Dexie schema version and upgrade handler - [ ] Create client repositories for new entities **Files to modify:** -- cgit v1.2.3-70-g09d2