Supabase · Command
supabase gen types
Supabase CLI generates TypeScript definitions from your database schema. Use them with supabase-js for type checking and editor completion.
Last updated
- Since
- v1.8.1
Syntax
supabase gen types typescript [--remote=<project-ref-or-database-url>|--local|--linked|--project-id=<string>] [--schema=<schema[,schema...]>] > database.types.tsIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
supabase initsupabase-jsDatabaseRowInsertUpdateGitHub Actions