From eecff51ecf2b6f814331b7d63b1aea274ff7a8c4 Mon Sep 17 00:00:00 2001 From: mmvergara <104471209+mmvergara@users.noreply.github.com> Date: Tue, 4 Jun 2024 11:20:44 +0800 Subject: [PATCH] docs: Added missing dashboard generated types alternative (#26961) * Add section on generating types from Supabase dashboard * Added whitespace Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --------- Co-authored-by: Terry Sutton Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --- apps/docs/content/guides/api/rest/generating-types.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/docs/content/guides/api/rest/generating-types.mdx b/apps/docs/content/guides/api/rest/generating-types.mdx index d0e430e953d..a9d557a3ac2 100644 --- a/apps/docs/content/guides/api/rest/generating-types.mdx +++ b/apps/docs/content/guides/api/rest/generating-types.mdx @@ -8,6 +8,10 @@ tocVideo: '/7CqlTU9aOR4' Supabase APIs are generated from your database, which means that we can use database introspection to generate type-safe API definitions. +## Generating types from project dashboard + +Supabase allows you to generate and download TypeScript types directly from the [project dashboard](https://supabase.com/dashboard/project/_/api?page=tables-intro). + ## Generating types using Supabase CLI The Supabase CLI is a single binary Go application that provides everything you need to setup a local development environment.