- database.ts: Use TaskStatus type instead of string for task.status in listPendingApprovals return type so it matches PendingApprovalRecord - convex-provider.tsx: Coerce undefined to null in getAccessToken return to match Convex UseAuth interface
Unified · Split
| @@ -4,6 +4,9 @@ const nextConfig: NextConfig = { · 3 unmodified lines | |||
| 4 | // Required for Turbopack (Next.js 16 default) – even if empty, | 4 | // Required for Turbopack (Next.js 16 default) – even if empty, |
| 5 | // it silences the "no turbopack config" warning. | 5 | // it silences the "no turbopack config" warning. |
| 6 | turbopack: {}, | 6 | turbopack: {}, |
| 7 | // Transpile workspace packages so Next.js resolves their raw .ts sources | ||
| 8 | // when they appear in the type graph (e.g. convex/database.ts imports @executor/contracts). | ||
| 9 | transpilePackages: ["@executor/contracts"], | ||
| 7 | }; | 10 | }; |
| 8 | 11 | ||
| 9 | export default nextConfig; | 12 | export default nextConfig; |