refactor: update type imports to use 'type' for better TypeScript compatibility across the codebase

This commit is contained in:
2026-05-11 19:06:54 +02:00
parent fd18692110
commit 5ac2dc5277
40 changed files with 75 additions and 74 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import NextAuth, { type DefaultSession } from "next-auth"
import Credentials from "next-auth/providers/credentials"
import { ZodError } from "zod"
import { UserRole } from "@/generated/prisma/client"
import type { UserRole } from "@/generated/prisma/client"
import { SIGN_IN_URL, TOKEN_EXPIRATION_SECONDS } from "@/lib/constants"
import { signInSchema } from "@/lib/schemas/auth.schemas"
import { verifyPassword } from "@/lib/security"