feat(03-01): add images table and repository

- Add images table with entryId foreign key and cascade delete
- Add Image and NewImage types
- Add ImageRepository with create, getById, getByEntryId, delete, deleteByEntryId
- Install sharp for thumbnail generation
This commit is contained in:
Thomas Richter
2026-01-29 15:22:38 +01:00
parent b09ac9013b
commit f5b5034f07
4 changed files with 598 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
"better-sqlite3": "^12.6.2",
"drizzle-orm": "^0.45.1",
"nanoid": "^5.1.6",
"sharp": "^0.34.5",
"svelte-gestures": "^5.2.2",
"svelte-persisted-store": "^0.12.0",
"tailwindcss": "^4.1.18",