update: improve project structure and add linting/formatting

This commit is contained in:
Rasmus Q
2026-03-15 20:58:55 +00:00
parent 3e33cf9499
commit 47e02d81c3
27 changed files with 103 additions and 25 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { redirect } from '@sveltejs/kit';
import type { PageServerLoad, Actions } from './$types';
import { db } from '$lib/server/db';
import { wishlists, savedWishlists, users } from '$lib/server/schema';
import { wishlists, savedWishlists, users } from '$lib/db/schema';
import { eq, and } from 'drizzle-orm';
export const load: PageServerLoad = async (event) => {
+1 -1
View File
@@ -6,7 +6,7 @@
import WishlistSection from '$lib/components/dashboard/WishlistSection.svelte';
import LocalWishlistsSection from '$lib/components/dashboard/LocalWishlistsSection.svelte';
import { enhance } from '$app/forms';
import { Star } from 'lucide-svelte';
import { Star } from '@lucide/svelte';
import { languageStore } from '$lib/stores/language.svelte';
let { data }: { data: PageData } = $props();