diff --git a/apps/web/src/lib/arcade/player-ownership.ts b/apps/web/src/lib/arcade/player-ownership.ts index 66b9f033..4b6cae76 100644 --- a/apps/web/src/lib/arcade/player-ownership.ts +++ b/apps/web/src/lib/arcade/player-ownership.ts @@ -7,6 +7,7 @@ import { eq } from "drizzle-orm"; import { db, schema } from "@/db"; +import type { PlayerOwnershipMap } from "./player-ownership.client"; // Re-export all client-safe utilities export * from "./player-ownership.client"; diff --git a/apps/web/tsconfig.server.json b/apps/web/tsconfig.server.json index 3856f9d8..f5004c51 100644 --- a/apps/web/tsconfig.server.json +++ b/apps/web/tsconfig.server.json @@ -16,7 +16,7 @@ }, "include": [ "src/db/index.ts", - "src/db/schema.ts", + "src/db/schema/**/*.ts", "src/db/migrate.ts", "src/lib/arcade/**/*.ts", "src/app/games/matching/context/types.ts", @@ -24,5 +24,5 @@ "src/app/games/matching/utils/matchValidation.ts", "src/socket-server.ts" ], - "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts"] }