History

Fix web app TypeScript errors in approvals views and auth provider

- 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

Rhys Sullivan committed 9 months ago

Commit bdb9cce1 parent bfdfd721 file · +3 −0Browse files

Unified · Split

executor/apps/web/next.config.ts+3−0
@@ -4,6 +4,9 @@ const nextConfig: NextConfig = { · 3 unmodified lines
44 // Required for Turbopack (Next.js 16 default) – even if empty,
55 // it silences the "no turbopack config" warning.
66 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"],
710 };
811
912 export default nextConfig;