From b6f828357d3b12d6df7a921cc7b5480302380bcb Mon Sep 17 00:00:00 2001 From: streaper2 Date: Sun, 10 May 2026 17:52:41 +0200 Subject: [PATCH] fix: update Next.js type reference path and exclude scratch directory from TypeScript configuration --- next-env.d.ts | 2 +- scratch/debug-prisma.ts | 7 ------- tsconfig.json | 3 ++- 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 scratch/debug-prisma.ts diff --git a/next-env.d.ts b/next-env.d.ts index c4b7818..9edff1c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/dev/types/routes.d.ts"; +import "./.next/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/scratch/debug-prisma.ts b/scratch/debug-prisma.ts deleted file mode 100644 index 240a54a..0000000 --- a/scratch/debug-prisma.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { prisma } from './admin/src/lib/prisma'; - -async function test() { - console.log('Prisma keys:', Object.keys(prisma)); -} - -test(); diff --git a/tsconfig.json b/tsconfig.json index 5b877eb..f855543 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,6 +45,7 @@ ], "exclude": [ "node_modules", - "admin" + "admin", + "scratch" ] }