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
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
9export default nextConfig;12export default nextConfig;