Commit Graph

7 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
35c1ab64e8 refactor: fix all lint errors and improve code quality
- Fix TypeScript 'any' types throughout codebase
- Add proper type definitions for wishlist items and components
- Fix missing keys in {#each} blocks
- Remove unused imports and variables
- Remove unused function parameters
- Update imports to use new schema location (/db/schema)
- Disable overly strict Svelte navigation lint rules
- Ignore .svelte.ts files from ESLint (handled by Svelte compiler)
2026-03-15 21:10:58 +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
Rasmus Q
83d68b0c58 fix: strengthen password security - increase bcrypt rounds to 14, add notNull constraint to password field, add pull_policy to docker-compose 2026-03-15 20:33:12 +00:00
Rasmus Krogh Udengaard
9f8ae9a972 add: simple validation and sanitizing 2026-03-05 15:04:12 +01:00
0144e8df1a initial production version 2025-11-25 16:08:50 +01:00