refactor: update type imports to use 'type' for better TypeScript compatibility across the codebase
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user