städa bort mer drizzle

This commit is contained in:
botvid johansson 2025-02-11 15:17:14 +01:00
parent b8c6c89880
commit 33a45e8f23
4 changed files with 9 additions and 965 deletions

View File

@ -1,14 +0,0 @@
import { defineConfig } from 'drizzle-kit';
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');
export default defineConfig({
schema: './src/lib/server/db/schema.ts',
dbCredentials: {
url: process.env.DATABASE_URL
},
verbose: true,
strict: true,
dialect: 'sqlite'
});

View File

@ -1,6 +1,6 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
test('home page has expected h1', async ({ page }) => { test('home page has expected textarea', async ({ page }) => {
await page.goto('/'); await page.goto('/');
await expect(page.locator('h1')).toBeVisible(); await expect(page.locator('textarea')).toBeVisible();
}); });

949
package-lock.json generated

File diff suppressed because it is too large Load Diff

5
src/app.d.ts vendored
View File

@ -6,11 +6,8 @@ declare global {
namespace App { namespace App {
interface Locals { interface Locals {
paraglide: ParaglideLocals<AvailableLanguageTag>, paraglide: ParaglideLocals<AvailableLanguageTag>,
user: import('$lib/server/auth').SessionValidationResult['user'];
session: import('$lib/server/auth').SessionValidationResult['session'];
} }
} }
} }
export {}; export { };