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
@@ -6,10 +6,11 @@ import Link from 'next/link'
import { ArrowLeft, Pin, Lock } from 'lucide-react'
import { createKbEntry, updateKbEntry } from '@/lib/actions'
import { toast } from 'sonner'
import type { Tables } from '@/types/database'
interface Props {
entry?: any
member: any
entry?: Tables<'knowledge_base'>
member: Tables<'space_members'>
}
export default function KbEntryEditor({ entry, member }: Props) {