Add eslint

This commit is contained in:
2025-08-20 23:40:00 +02:00
parent cc544322b2
commit 16956d12f4
31 changed files with 1214 additions and 913 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type { User as PUser } from '@prisma/client';
declare module '#auth-utils' {
interface User extends Pick<PUser, 'id' | 'role' | 'name'> {}
type User = Pick<PUser, 'id' | 'role' | 'name'>;
interface UserSession {
user: User;
loggedInAt: string | Date;