refactor: generate and use Supabase TypeScript types

Co-authored-by: Moheeb Zara <[email protected]>
This commit is contained in:
v0
2026-03-11 08:12:39 +00:00
co-authored by Moheeb Zara
parent c34d5d9529
commit 2e136b5f55
18 changed files with 1135 additions and 342 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ import {
LayoutDashboard, ListChecks, FolderKanban, Settings2, MessageSquare,
Users, CreditCard, BookUser, Download, LogOut, ChevronDown
} from 'lucide-react'
import type { Tables } from '@/types/database'
const NAV = [
{
@@ -38,8 +39,8 @@ const NAV = [
]
interface Props {
member: any
space: any
member: Tables<'space_members'>
space: Tables<'spaces'>
children: React.ReactNode
}