diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-01 22:06:40 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-01 22:06:40 +0900 |
| commit | 8dbe5c2a1d8dc15bbdd6810b2582c680e1c0bb9b (patch) | |
| tree | be39e1436f83c716fc45df133106fba7dd4bc23a /src/server/routes/notes.test.ts | |
| parent | 830b370f1b8e0f3a384b2d242ab120812e81977d (diff) | |
| download | kioku-8dbe5c2a1d8dc15bbdd6810b2582c680e1c0bb9b.tar.gz kioku-8dbe5c2a1d8dc15bbdd6810b2582c680e1c0bb9b.tar.zst kioku-8dbe5c2a1d8dc15bbdd6810b2582c680e1c0bb9b.zip | |
feat(import): add CSV bulk import for notes
Add client-side CSV parsing and bulk import API endpoint for importing
notes from CSV files. Supports quoted fields, newlines in values, and
escaped quotes.
- New POST /api/decks/{deckId}/notes/import endpoint for bulk creation
- CSV parser with RFC 4180 compliance
- Multi-phase import modal (upload → validate → preview → import)
- Client-side validation with per-row error reporting
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/server/routes/notes.test.ts')
| -rw-r--r-- | src/server/routes/notes.test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/routes/notes.test.ts b/src/server/routes/notes.test.ts index 2ca08f9..e354fa6 100644 --- a/src/server/routes/notes.test.ts +++ b/src/server/routes/notes.test.ts @@ -23,6 +23,7 @@ function createMockNoteRepo(): NoteRepository { create: vi.fn(), update: vi.fn(), softDelete: vi.fn(), + createMany: vi.fn(), }; } |
