The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix command in documentation for typescript (#30630)
Lukas09bd7fc3fe42
diff --git a/apps/docs/content/guides/api/rest/generating-types.mdx b/apps/docs/content/guides/api/rest/generating-types.mdxindex 6fafcc323dd..c5cf62d86e8 100644--- a/apps/docs/content/guides/api/rest/generating-types.mdx+++ b/apps/docs/content/guides/api/rest/generating-types.mdx@@ -37,13 +37,13 @@ npx supabase initGenerate types for your project to produce the `database.types.ts` file:```bash-npx supabase gen types --lang=typescript --project-id "$PROJECT_REF" --schema public > database.types.ts+npx supabase gen types typescript --project-id "$PROJECT_REF" --schema public > database.types.ts```or in case of local development:```bash-npx supabase gen types --lang=typescript --local > database.types.ts+npx supabase gen types typescript --local > database.types.ts```These types are generated from your database schema. Given a table `public.movies`, the generated types will look like: