Commit Graph
3 Commits
Author SHA1 Message Date
Rasmus Q bc680fb60b refactor: add proper types for all database insert operations
- Add missing Select and Insert types for Auth.js tables (Account, Session, VerificationToken)
- Update all insert operations to use typed New* variables:
  - NewUser for user signup
  - NewItem for adding wishlist items
  - NewSavedWishlist for saving wishlists
- Improves type safety and catches insert errors at compile time
2026-03-15 21:38:54 +00:00
Rasmus Q 6c73a7740c style: format entire codebase with prettier 2026-03-15 21:02:57 +00:00
Rasmus Q 06c96f4b35 update: improve project structure and add linting/formatting
- Remove duplicate lucide-svelte package, keep @lucide/svelte
- Move schema from src/lib/server/ to src/lib/db/ for better organization
- Add path aliases to svelte.config.js (, , , , )
- Add ESLint and Prettier configuration with 2-space indentation
- Update all imports to use new schema location and icon package
2026-03-15 20:58:55 +00:00