The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update links
dannykngb41031c0c33f
diff --git a/README.md b/README.mdindex 304eceed468..f4c8b99e41f 100644--- a/README.md+++ b/README.md@@ -12,9 +12,9 @@- [x] Hosted Postgres Database. [Docs](https://supabase.com/docs/guides/database)- [x] Authentication and Authorization. [Docs](https://supabase.com/docs/guides/auth)- [x] Auto-generated APIs.- - [x] REST. [Docs](https://supabase.com/docs/guides/api#rest-api)- - [x] Realtime subscriptions. [Docs](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST. [Docs](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] Realtime subscriptions. [Docs](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/database/api#graphql-api)- [x] Functions.- [x] Database Functions. [Docs](https://supabase.com/docs/guides/database/functions)- [x] Edge Functions [Docs](https://supabase.com/docs/guides/functions)diff --git a/apps/docs/components/MDX/quickstart_intro.mdx b/apps/docs/components/MDX/quickstart_intro.mdxindex 59e0e01da5c..f0e62650870 100644--- a/apps/docs/components/MDX/quickstart_intro.mdx+++ b/apps/docs/components/MDX/quickstart_intro.mdx@@ -4,6 +4,6 @@ This example provides the steps to build a basic user management app. It include- Supabase [Auth](/docs/guides/auth): users can sign in with magic links (no passwords, only email).- Supabase [Storage](/docs/guides/storage): users can upload a photo.- [Row Level Security](/docs/guides/auth#row-level-security): data is protected so that individuals can only access their own data.-- Instant [APIs](/docs/guides/api): APIs will be automatically generated when you create your database tables.+- Instant [APIs](/docs/guides/database/api): APIs will be automatically generated when you create your database tables.By the end of this guide you'll have an app which allows users to login and update some basic profile details:diff --git a/apps/docs/components/Navigation/Navigation.constants.ts b/apps/docs/components/Navigation/Navigation.constants.tsindex b0d769e6ea3..ab1a7dce36e 100644--- a/apps/docs/components/Navigation/Navigation.constants.ts+++ b/apps/docs/components/Navigation/Navigation.constants.ts@@ -178,8 +178,8 @@ export const menuItems: NavMenu = {name: 'Serverless APIs',url: undefined,items: [- { name: 'Overview', url: '/guides/api', items: [] },- { name: 'Generating Types', url: '/guides/api/generating-types', items: [] },+ { name: 'Overview', url: '/guides/database/api', items: [] },+ { name: 'Generating Types', url: '/guides/database/api/generating-types', items: [] },],},{diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 7abe1bea978..2e7b12d4aef 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -365,8 +365,8 @@ export const database = {name: 'Serverless APIs',url: undefined,items: [- { name: 'Overview', url: '/guides/api', items: [] },- { name: 'Generating Types', url: '/guides/api/generating-types', items: [] },+ { name: 'Overview', url: '/guides/database/api', items: [] },+ { name: 'Generating Types', url: '/guides/database/api/generating-types', items: [] },],},{diff --git a/apps/docs/docs/reference/javascript/v1/generating-types.mdx b/apps/docs/docs/reference/javascript/v1/generating-types.mdxindex 033cfdb9165..a46fd7ba70d 100644--- a/apps/docs/docs/reference/javascript/v1/generating-types.mdx+++ b/apps/docs/docs/reference/javascript/v1/generating-types.mdx@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_import Tabs from '@theme/Tabs'import TabItem from '@theme/TabItem'-Supabase will soon release native type generators that dump your database types for various languages. For now, we support TypeScript [through third-party tools](/docs/guides/api/generating-types).+Supabase will soon release native type generators that dump your database types for various languages. For now, we support TypeScript [through third-party tools](/docs/guides/database/api/generating-types).## Usage with TypeScriptdiff --git a/apps/docs/pages/guides/database/connecting-to-postgres.mdx b/apps/docs/pages/guides/database/connecting-to-postgres.mdxindex 13bade73e20..4ced4b92084 100644--- a/apps/docs/pages/guides/database/connecting-to-postgres.mdx+++ b/apps/docs/pages/guides/database/connecting-to-postgres.mdx@@ -28,15 +28,15 @@ You can use these simple questions to determine which connection method to use:## API-Supabase provides an auto-updating [API](/docs/guides/api). This is the easiest way to get started if you are managing data (fetching, inserting, updating).+Supabase provides an auto-updating [API](/docs/guides/database/api). This is the easiest way to get started if you are managing data (fetching, inserting, updating).### InterfacesWe provides several types of API to suit your preferences and use-case:-- [REST](/docs/guides/api#rest-api): interact with your database through a REST interface.-- [GraphQL](/docs/guides/api#graphql-api): interact with your database through a GraphQL interface.-- [Realtime](/docs/guides/api#realtime-api): listen to database changes over websockets.+- [REST](/docs/guides/database/api#rest-api): interact with your database through a REST interface.+- [GraphQL](/docs/guides/database/api#graphql-api): interact with your database through a GraphQL interface.+- [Realtime](/docs/guides/database/api#realtime-api): listen to database changes over websockets.You cannot manage the database schema via the API (for security reasons). To do that you can use the dashboard or connect directly to your database.diff --git a/apps/docs/pages/guides/database/tables.mdx b/apps/docs/pages/guides/database/tables.mdxindex 3a8caa24c19..60931dcf285 100644--- a/apps/docs/pages/guides/database/tables.mdx+++ b/apps/docs/pages/guides/database/tables.mdx@@ -166,7 +166,7 @@ create table movies (## Loading data-There are several ways to load data in Supabase. You can load data directly into the database or using the [APIs](../../guides/api).+There are several ways to load data in Supabase. You can load data directly into the database or using the [APIs](../../guides/database/api).Use the "Bulk Loading" instructions if you are loading large data sets.### Basic data loadingdiff --git a/apps/docs/pages/guides/functions/best-practices.mdx b/apps/docs/pages/guides/functions/best-practices.mdxindex b670cd73a05..99f58fed04d 100644--- a/apps/docs/pages/guides/functions/best-practices.mdx+++ b/apps/docs/pages/guides/functions/best-practices.mdx@@ -9,7 +9,7 @@ export const meta = {## Database Functions vs Edge FunctionsFor data-intensive operations we recommend using [Database Functions](/docs/guides/database/functions), which are executed within your database-and can be called remotely using the [REST and GraphQL API](/docs/guides/api).+and can be called remotely using the [REST and GraphQL API](/docs/guides/database/api).For use-cases which require low-latency we recommend [Edge Functions](/docs/guides/functions), which are globally-distributed and can be written in TypeScript.diff --git a/apps/docs/pages/guides/getting-started/features.mdx b/apps/docs/pages/guides/getting-started/features.mdxindex c1e1a0dcfc9..cea9680d3c1 100755--- a/apps/docs/pages/guides/getting-started/features.mdx+++ b/apps/docs/pages/guides/getting-started/features.mdx@@ -84,11 +84,11 @@ Build login and registration pages with custom themes. [Docs](/docs/guides/auth/### Auto-generated REST API-RESTful APIs are autogenerated from your database, without a single line of code. [Docs](/docs/guides/api#rest-api-overview).+RESTful APIs are autogenerated from your database, without a single line of code. [Docs](/docs/guides/database/api#rest-api-overview).### Auto-generated GraphQL API-Fast GraphQL APIs using our custom Postgres GraphQL extension. [Docs](/docs/guides/api#graphql-api-overview).+Fast GraphQL APIs using our custom Postgres GraphQL extension. [Docs](/docs/guides/database/api#graphql-api-overview).### Realtime Database changesdiff --git a/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdxindex cae8504a010..c32611a4251 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdx@@ -27,7 +27,7 @@ This example provides the steps to build a simple user management app (from scra- Supabase [Database](/docs/guides/database): a Postgres database for storing your user data.- Supabase [Auth](/docs/guides/auth): users can sign in with magic links (no passwords, only email).- Supabase [Storage](/docs/guides/storage): users can upload a photo.-- Instant [APIs](/docs/guides/api): APIs will be automatically generated when you create your database tables.+- Instant [APIs](/docs/guides/database/api): APIs will be automatically generated when you create your database tables.- [Row Level Security](/docs/guides/auth#row-level-security): data is protected so that individuals can only access their own data.By the end of this guide you'll have an app which allows users to login and update some basic profile details:diff --git a/apps/docs/pages/guides/integrations/integrations.mdx b/apps/docs/pages/guides/integrations/integrations.mdxindex de7a444ec58..a42b311571d 100644--- a/apps/docs/pages/guides/integrations/integrations.mdx+++ b/apps/docs/pages/guides/integrations/integrations.mdx@@ -16,8 +16,8 @@ The Supabase Marketplace brings together all the tools you need to extend your SSupabase provides several integration points:- The [Postgres connection](/docs/guides/database/connecting-to-postgres). Anything that works with Postgres also works with Supabase projects.-- The [Project REST API](/docs/guides/api#rest-api) & client libraries.-- The [Project GraphQL API](/docs/guides/api#graphql-api).+- The [Project REST API](/docs/guides/database/api#rest-api) & client libraries.+- The [Project GraphQL API](/docs/guides/database/api#graphql-api).- The [Platform API](/docs/reference/api).## List your integrationdiff --git a/apps/docs/pages/guides/platform.mdx b/apps/docs/pages/guides/platform.mdxindex 8f734fdcd77..7a38fa2b167 100644--- a/apps/docs/pages/guides/platform.mdx+++ b/apps/docs/pages/guides/platform.mdx@@ -16,7 +16,7 @@ Visit [app.supabase.com](https://app.supabase.com) and sign in to start creatingEach project on Supabase comes with:- A dedicated [Postgres database](/docs/guides/database)-- [Auto-generated APIs](/docs/guides/api)+- [Auto-generated APIs](/docs/guides/database/api)- [Auth and user management](/docs/guides/auth)- [Edge Functions](/docs/guides/functions)- [Realtime API](/docs/guides/realtime)diff --git a/apps/docs/pages/guides/platform/logs.mdx b/apps/docs/pages/guides/platform/logs.mdxindex 0754840cd7d..f7d0f4d14be 100644--- a/apps/docs/pages/guides/platform/logs.mdx+++ b/apps/docs/pages/guides/platform/logs.mdx@@ -29,7 +29,7 @@ Supabase provides a logging interface specific to each product. You can use simp><TabPanel id="api" label="API">-[API logs](https://app.supabase.com/project/_/database/api-logs) show all network requests and response for the REST and GraphQL [APIs](../../guides/api).+[API logs](https://app.supabase.com/project/_/database/api-logs) show all network requests and response for the REST and GraphQL [APIs](../../guides/database/api).diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xmlindex 2e86001d252..76f95fcd07d 100644--- a/apps/docs/public/sitemap.xml+++ b/apps/docs/public/sitemap.xml@@ -25,7 +25,7 @@</url><url>- <loc>https://supabase.com/docs/guides/api</loc>+ <loc>https://supabase.com/docs/guides/database/api</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>@@ -127,7 +127,7 @@</url><url>- <loc>https://supabase.com/docs/guides/api/generating-types</loc>+ <loc>https://supabase.com/docs/guides/database/api/generating-types</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>diff --git a/apps/www/_alternatives/supabase-vs-firebase.mdx b/apps/www/_alternatives/supabase-vs-firebase.mdxindex 0ae182bebcc..ac4f8fd444c 100644--- a/apps/www/_alternatives/supabase-vs-firebase.mdx+++ b/apps/www/_alternatives/supabase-vs-firebase.mdx@@ -28,7 +28,7 @@ Supabase is an open source firebase alternative, but instead of being built arouAt Supabase we’ve always been huge fans of Firebase - so we started adding a few things on top of PostgreSQL in an attempt to reach feature parity, including:-- Auto-generated API - [query your data straight from the client](https://supabase.com/docs/guides/api#rest-api-2).+- Auto-generated API - [query your data straight from the client](https://supabase.com/docs/guides/database/api#rest-api-2).- Realtime - [changes in your data will be streamed directly to your application](https://supabase.com/docs/reference/dart/subscribe).- Auth - [a simple to integrate auth system and SQL based rules engine](https://supabase.com/auth).- Functions - [javascript and typescript functions that deploy out globally](https://supabase.com/edge-functions).diff --git a/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx b/apps/www/_alternatives/supabase-vs-heroku-postgres.mdxindex c25b9e4f414..78d2e42dffd 100644--- a/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx+++ b/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx@@ -12,12 +12,11 @@ toc_depth: 3Heroku is a cloud application platform that offers managed PostgreSQL as a service. They offer 5 levels of Postgres support from the Hobby Tier up to the Shield Tier, each with different levels of features and pricing. Heroku announced that starting November 28, 2022, they will [stop offering free product plans and will shut down free dynos and data services](https://blog.heroku.com/next-chapter). Since the announcement, developers started migrating their projects to Supabase.-## What is Supabase?Supabase also offers managed Postgres, the main difference is that with each deployment you also get:-- Auto-generated API - [never write an API again](https://supabase.com/docs/guides/api#rest-api-2)+- Auto-generated API - [never write an API again](https://supabase.com/docs/guides/database/api#rest-api-2)- Realtime - [subscribe to data changes via websockets](https://supabase.com/docs/reference/dart/subscribe)- Auth - [users can log in and out of your application](https://supabase.com/auth)- Functions - [deploy custom logic to the edge](https://supabase.com/edge-functions)@@ -44,7 +43,7 @@ These are some of the key differences between Heroku Postgres and Supabase in te- Supabase is more than just the raw database, it also comes with:- [Connection pooling](https://supabase.com/docs/guides/database/connecting-to-postgres#connection-pool) so that you won’t run out of connections in a serverless environment.- - [Auto-generated APIs](https://supabase.com/docs/guides/api#rest-api-2) based on your schema, so you can communicate with your database directly from the client.+ - [Auto-generated APIs](https://supabase.com/docs/guides/database/api#rest-api-2) based on your schema, so you can communicate with your database directly from the client.- [Realtime API](https://supabase.com/docs/reference/dart/subscribe) is useful for when you want to subscribe to changes to your database over websockets.- [Auth API](https://supabase.com/auth) can be used to leverage Postgres’s Row Level Security model, and control access to sensitive data on a per user, or per group level.- [Functions](https://supabase.com/edge-functions) can be deployed out to the edge directly from the Supabase CLI, which means you can run sensitive business logic or transformations in a serverless fashion.diff --git a/apps/www/_blog/2021-10-28-supabase-series-a.mdx b/apps/www/_blog/2021-10-28-supabase-series-a.mdxindex 4a5e9a67f48..d25724eb472 100644--- a/apps/www/_blog/2021-10-28-supabase-series-a.mdx+++ b/apps/www/_blog/2021-10-28-supabase-series-a.mdx@@ -217,7 +217,7 @@ User-facing applications usually require tools beyond just a database and fronte- **File Storage:** for large images and media.Supabase makes all of this easy. Beyond the database we offer [Auth](/docs/guides/auth),-RESTful and Realtime [APIs](/docs/guides/api), a [Storage](/docs/guides/storage)+RESTful and Realtime [APIs](/docs/guides/database/api), a [Storage](/docs/guides/storage)system for large files, and a bunch of other tools - all wrapped up into a simple-to-use Dashboard.diff --git a/apps/www/_blog/2021-11-05-supabase-beta-october-2021.mdx b/apps/www/_blog/2021-11-05-supabase-beta-october-2021.mdxindex 41c6b0df8de..7ae87740a6a 100644--- a/apps/www/_blog/2021-11-05-supabase-beta-october-2021.mdx+++ b/apps/www/_blog/2021-11-05-supabase-beta-october-2021.mdx@@ -88,7 +88,7 @@ Learn about all the exciting features of Auth within Supabase. [Docs](https://su### API Features-Learn more about the power of PostgREST for RESTful APIs. [Docs](https://supabase.com/docs/guides/api#restful-api).+Learn more about the power of PostgREST for RESTful APIs. [Docs](https://supabase.com/docs/guides/database/api#restful-api).<iframeclassName="video-with-border w-full"diff --git a/apps/www/_blog/2021-12-03-pg-graphql.mdx b/apps/www/_blog/2021-12-03-pg-graphql.mdxindex 6b605e7718a..e723614a063 100644--- a/apps/www/_blog/2021-12-03-pg-graphql.mdx+++ b/apps/www/_blog/2021-12-03-pg-graphql.mdx@@ -27,7 +27,6 @@ Today we're open sourcing [`pg_graphql`](https://github.com/supabase/pg_graphql)Interested? You're [3 commands away](https://supabase.github.io/pg_graphql/quickstart/) from a live [GraphiQL](https://graphql-dotnet.github.io/docs/getting-started/graphiql/) demo.-## MotivationThe Supabase stack is centered around PostgreSQL as the single source of truth. All data, configuration, and security are housed in the database so any GraphQL solution needed to be equivalently SQL-centric.@@ -35,18 +34,18 @@ The Supabase stack is centered around PostgreSQL as the single source of truth.With that in mind, we took a look at the landscape and considered two excellent technologies, [Graphile](https://www.graphile.org/postgraphile/), and [Hasura](https://hasura.io/).| Requirements | Graphile | Hasura |-|--------------------------|----------|--------|-| Open Source | ✅ | ✅ |-| Reflected GraphQL Schema | ✅ | ✅ |-| Reflected Resolvers | ✅ | ✅ |-| Always up-to-date | ✅ | ✅ |-| Performant | ✅ | ✅ |+| ------------------------ | -------- | ------ |+| Open Source | ✅ | ✅ |+| Reflected GraphQL Schema | ✅ | ✅ |+| Reflected Resolvers | ✅ | ✅ |+| Always up-to-date | ✅ | ✅ |+| Performant | ✅ | ✅ |-We found both options to be largely viable for the core feature set.+We found both options to be largely viable for the core feature set.Which left us with one final hang-up: we host free-tier projects on VMs with 1 GB of memory. After tallying the resources reserved for PostgreSQL, PostgREST, Kong, GoTrue, and a handful of smaller services, we were left with a total memory budget of ... 0 MB 😬. Unsurprisingly, our pathological memory target disqualified any option that required launching another process in those VMs.-For that reason, we decided to invest in a lightweight alternative that runs in the database, and can be exposed over HTTP using the existing [PostgREST](https://supabase.com/docs/guides/api) deployments' [RPC functionality.](https://postgrest.org/en/v8.0/api.html#stored-procedures)+For that reason, we decided to invest in a lightweight alternative that runs in the database, and can be exposed over HTTP using the existing [PostgREST](https://supabase.com/docs/guides/database/api) deployments' [RPC functionality.](https://postgrest.org/en/v8.0/api.html#stored-procedures)By our most conservative estimate, that reduces the platform's memory requirements by 525 TB/hours every month, saving 💰 and 🌳.@@ -103,12 +102,7 @@ type PageInfo {type Query {account(nodeId: ID!): Account- allAccounts(- after: Cursor,- before: Cursor,- first: Int,- last: Int- ): AccountConnection+ allAccounts(after: Cursor, before: Cursor, first: Int, last: Int): AccountConnection}type Account {@@ -176,17 +170,17 @@ We're opting to expose the function over HTTP through PostgREST but you could alWhen it comes to APIs, performance counts. Here are some figures from [Apache Bench](https://www.tutorialspoint.com/apache_bench/apache_bench_quick_guide.htm) showing 2,205 requests/second on a 4 core machine with 16 GB of memory.```markdown hideCopy-Concurrency Level: 8-Time taken for tests: 3.628 seconds-Complete requests: 8000-Failed requests: 0-Total transferred: 1768000 bytes-Total body sent: 1928000-HTML transferred: 368000 bytes-Requests per second: 2205.21 [#/sec] (mean)-Time per request: 3.628 [ms] (mean)-Time per request: 0.453 [ms] (mean, across all concurrent requests)-Transfer rate: 475.93 [Kbytes/sec] received+Concurrency Level: 8+Time taken for tests: 3.628 seconds+Complete requests: 8000+Failed requests: 0+Total transferred: 1768000 bytes+Total body sent: 1928000+HTML transferred: 368000 bytes+Requests per second: 2205.21 [#/sec] (mean)+Time per request: 3.628 [ms] (mean)+Time per request: 0.453 [ms] (mean, across all concurrent requests)+Transfer rate: 475.93 [Kbytes/sec] received```Full steps to reproduce this output are available in [the docs](https://supabase.github.io/pg_graphql).@@ -195,5 +189,4 @@ Full steps to reproduce this output are available in [the docs](https://supabase`pg_graphql` is [open source software](https://github.com/supabase/pg_graphql/). As always, Issues and PRs are welcome.-[Try `pg_graphql`](https://supabase.github.io/pg_graphql/quickstart/) today to see a live [GraphiQL](https://graphql-dotnet.github.io/docs/getting-started/graphiql/) demo.diff --git a/apps/www/_blog/2022-03-30-supabase-enterprise.mdx b/apps/www/_blog/2022-03-30-supabase-enterprise.mdxindex 9badebddea9..3b488908695 100644--- a/apps/www/_blog/2022-03-30-supabase-enterprise.mdx+++ b/apps/www/_blog/2022-03-30-supabase-enterprise.mdx@@ -251,7 +251,7 @@ Or how many gigabytes of video a user streamed from [Supabase Storage](/storage)Querying huge datasets can be time-consuming, especially when you are aggregating billions of rows of historical logs. Supabase will make this simple with auto-updating views,saved to disk for increased performance. These views update periodically at a cadence that you decide. You'll even be able to fetch these views with your-[Supabase API](/docs/guides/api)!+[Supabase API](/docs/guides/database/api)!## Next stepsdiff --git a/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx b/apps/www/_blog/2022-03-31-supabase-edge-functions.mdxindex fe17cc6ef21..60d8d785ca9 100644--- a/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx+++ b/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx@@ -66,7 +66,7 @@ The primary goal of this architecture is to reduce the amount of work done in thSupabase Edge Functions are deployed to one region - Earth (and we're exploring Mars as an additional region 👽). Edge Functions are deployed to over 30 data centers in a matter of seconds, ensuring fast response times no matter where your users are located.-[Database Functions](https://supabase.com/docs/guides/database/functions) (also served via our [REST and GraphQL APIs](https://supabase.com/docs/guides/api)) are colocated with your Postgres database, making them ideal for DB-intensive operations. These APIs can also be called seamlessly from your Supabase Edge Functions, making for a powerful combination.+[Database Functions](https://supabase.com/docs/guides/database/functions) (also served via our [REST and GraphQL APIs](https://supabase.com/docs/guides/database/api)) are colocated with your Postgres database, making them ideal for DB-intensive operations. These APIs can also be called seamlessly from your Supabase Edge Functions, making for a powerful combination.### Scale to zerodiff --git a/apps/www/_blog/2022-11-02-supabase-beta-update-october-2022.mdx b/apps/www/_blog/2022-11-02-supabase-beta-update-october-2022.mdxindex 376f924b191..5d43f927826 100644--- a/apps/www/_blog/2022-11-02-supabase-beta-update-october-2022.mdx+++ b/apps/www/_blog/2022-11-02-supabase-beta-update-october-2022.mdx@@ -2,7 +2,7 @@title: Supabase Beta October 2022description: New SDKs, quickstarts, Functions tricks, and more. But, more importantly, Launch Week 6️ has a date!author: ant_wilson-image: 2022-october/monthly-update-october-2022.jpg+image: 2022-october/monthly-update-october-2022.jpgthumb: 2022-october/monthly-update-october-2022.jpgtags:- release-notes@@ -25,11 +25,11 @@ The new versions of our two most popular SDKs have been fully released. It could-Next.js is all the rage right now 🔥+Next.js is all the rage right now 🔥Next.js Conf raised the bar for dev conferences. We had the honor of being a Gold Sponsor, so we revamped our [Next.js Quickstart guide](https://supabase.com/docs/guides/with-nextjs) to include our pre-built Auth UI and [Auth Helpers.](https://supabase.com/docs/guides/auth/auth-helpers/nextjs)-And Next.js 13 was announced! Making it extremely easy to fetch and cache data from our [Serverless API](https://supabase.com/docs/guides/api). So we put together an [example to try it out](https://github.com/supabase/supabase/tree/master/examples/caching/with-nextjs-13).+And Next.js 13 was announced! Making it extremely easy to fetch and cache data from our [Serverless API](https://supabase.com/docs/guides/database/api). So we put together an [example to try it out](https://github.com/supabase/supabase/tree/master/examples/caching/with-nextjs-13).## Supabase Auth and Server-Side Rendering@@ -43,7 +43,7 @@ The Auth team published an in-depth doc explaining how Supabase Auth supports se-Do you have 100% code coverage? Probably not, because that’s usually the last thing you think of, but *definitely* not if you don’t have database tests. We just shipped a framework for Database Tests which makes it incredibly easy to test your database using pgTAP and pg_prove.+Do you have 100% code coverage? Probably not, because that’s usually the last thing you think of, but _definitely_ not if you don’t have database tests. We just shipped a framework for Database Tests which makes it incredibly easy to test your database using pgTAP and pg_prove.[Learn how it works](https://supabase.com/docs/guides/database/testing).@@ -51,7 +51,7 @@ Do you have 100% code coverage? Probably not, because that’s usually the last-Functions now support GET requests! Other HTTP verbs such as PUT, PATCH, and DELETE are supported too.+Functions now support GET requests! Other HTTP verbs such as PUT, PATCH, and DELETE are supported too.[Check this example](https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/restful-tasks/index.ts)diff --git a/apps/www/_blog/2022-12-16-launch-week-6-wrap-up.mdx b/apps/www/_blog/2022-12-16-launch-week-6-wrap-up.mdxindex f8435ebed42..0f6654be5b7 100644--- a/apps/www/_blog/2022-12-16-launch-week-6-wrap-up.mdx+++ b/apps/www/_blog/2022-12-16-launch-week-6-wrap-up.mdx@@ -85,7 +85,7 @@ Today released pg_graphql 1.0 release and its general availability on our platfo- Read the [announcement](/blog/pg-graphql-v1)- Browse the [GitHub repo](https://github.com/supabase/pg_graphql/)-- View the [docs](/docs/guides/api#graphql-api)+- View the [docs](/docs/guides/database/api#graphql-api)## Postgres Point-in-Time Recoverydiff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsxindex 10cddcf4113..113e177a1b0 100644--- a/apps/www/pages/launch-week/index.tsx+++ b/apps/www/pages/launch-week/index.tsx@@ -786,7 +786,7 @@ export default function launchweek() {</span></div><SectionButtons- docs="/docs/guides/api#graphql-api"+ docs="/docs/guides/database/api#graphql-api"blog="/blog/pg-graphql-v1"/></div>diff --git a/i18n/README.bg.md b/i18n/README.bg.mdindex 5f535288cc5..4396669bd19 100644--- a/i18n/README.bg.md+++ b/i18n/README.bg.md@@ -12,9 +12,9 @@- [x] Хоствана Postgres база данни. [Docs](https://supabase.com/docs/guides/database)- [x] Автентикация и оторизация [Docs](https://supabase.com/docs/guides/auth)- [x] Автоматично генерирани APIs (Приложно-програмен интерфейс).- - [x] REST. [Docs](https://supabase.com/docs/guides/api#rest-api)- - [x] Абониране в реално време. [Docs](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST. [Docs](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] Абониране в реално време. [Docs](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/database/api#graphql-api)- [x] Функции.- [x] Функции за база данни. [Docs](https://supabase.com/docs/guides/database/functions)- [x] Edge Functions [Docs](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.bn.md b/i18n/README.bn.mdindex ef6c1836891..649a5f7f46c 100644--- a/i18n/README.bn.md+++ b/i18n/README.bn.md@@ -12,9 +12,9 @@- [x] হোস্ট করা পোস্টগ্রেস ডাটাবেস. [ডক্স](https://supabase.com/docs/guides/database)- [x] অথেনটিকেশন এবং অথরাইজড . [ডক্স](https://supabase.com/docs/guides/auth)- [x] স্বয়ংক্রিয়ভাবে তৈরি এপিআই.- - [x] রেস্ট. [ডক্স](https://supabase.com/docs/guides/api#rest-api)- - [x] রিয়েলটাইম সাবস্ক্রিপশন. [ডক্স](https://supabase.com/docs/guides/api#realtime-api)- - [x] গ্রাফকিউএল (বেটা). [ডক্স](https://supabase.com/docs/guides/api#graphql-api)+ - [x] রেস্ট. [ডক্স](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] রিয়েলটাইম সাবস্ক্রিপশন. [ডক্স](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] গ্রাফকিউএল (বেটা). [ডক্স](https://supabase.com/docs/guides/database/api#graphql-api)- [x] ফাংশনস.- [x] ডাটাবেস ফাংশনস. [ডক্স](https://supabase.com/docs/guides/database/functions)- [x] এজ ফাংশনস. [ডক্স](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.fi.md b/i18n/README.fi.mdindex 104a043c857..a5a841f8ab9 100644--- a/i18n/README.fi.md+++ b/i18n/README.fi.md@@ -12,9 +12,9 @@- [x] Isännöity Postgres-tietokanta [Docs](https://supabase.com/docs/guides/database)- [x] Autentikointi ja valtuutus [Docs](https://supabase.com/docs/guides/auth)- [x] Automaattisesti luodut rajapinnat- - [x] REST [Docs](https://supabase.com/docs/guides/api#rest-api)- - [x] Reaaliaikaiset tilaukset [Docs](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta) [Docs](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST [Docs](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] Reaaliaikaiset tilaukset [Docs](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta) [Docs](https://supabase.com/docs/guides/database/api#graphql-api)- [x] Funktiot- [x] Tietokantatoiminnot [Docs](https://supabase.com/docs/guides/database/functions)- [x] Reunatoiminnot [Docs](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.hi.md b/i18n/README.hi.mdindex 1b4fba9b61a..7dd063c6082 100644--- a/i18n/README.hi.md+++ b/i18n/README.hi.md@@ -12,9 +12,9 @@- [x] होस्टेड पोस्टग्रेज डेटाबेस। [प्रलेखन](https://supabase.com/docs/guides/database)- [x] प्रमाणीकरण और प्राधिकरण। [प्रलेखन](https://supabase.com/docs/guides/auth)- [x] उत्पन्न एपीआईस।- - [x] रेस्ट। [प्रलेखन](https://supabase.com/docs/guides/api#rest-api)- - [x] रीयलटाइम सदस्यता। [प्रलेखन](https://supabase.com/docs/guides/api#realtime-api)- - [x] ग्राफ़क्यूएल (प्रयोगात्मक)। [प्रलेखन](https://supabase.com/docs/guides/api#graphql-api)+ - [x] रेस्ट। [प्रलेखन](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] रीयलटाइम सदस्यता। [प्रलेखन](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] ग्राफ़क्यूएल (प्रयोगात्मक)। [प्रलेखन](https://supabase.com/docs/guides/database/api#graphql-api)- [x] फ़ंक्शंस।- [x] डेटाबेस फ़ंक्शंस। [प्रलेखन](https://supabase.com/docs/guides/database/functions)- [x] एज फ़ंक्शंस। [प्रलेखन](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.jp.md b/i18n/README.jp.mdindex d532a8d7a6a..607d473082d 100644--- a/i18n/README.jp.md+++ b/i18n/README.jp.md@@ -12,9 +12,9 @@- [x] ホスティングされた Postgres データベース [Docs](https://supabase.com/docs/guides/database)- [x] 認証・認可 [Docs](https://supabase.com/docs/guides/auth)- [x] API を自動生成- - [x] REST [Docs](https://supabase.com/docs/guides/api#rest-api)- - [x] リアルタイムサブスクリプション [Docs](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta) [Docs](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST [Docs](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] リアルタイムサブスクリプション [Docs](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta) [Docs](https://supabase.com/docs/guides/database/api#graphql-api)- [x] 関数- [x] データベース関数 [Docs](https://supabase.com/docs/guides/database/functions)- [x] Edge Functions [Docs](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.ko.md b/i18n/README.ko.mdindex 7e7e371295b..2e2eff83792 100644--- a/i18n/README.ko.md+++ b/i18n/README.ko.md@@ -12,9 +12,9 @@- [x] 호스팅 된 Postgres 데이터베이스. [Docs](https://supabase.com/docs/guides/database)- [x] 사용자 인증 및 권한 부여. [Docs](https://supabase.com/docs/guides/auth)- [x] 자동생성 API.- - [x] REST. [Docs](https://supabase.com/docs/guides/api#rest-api)- - [x] 실시간 구독. [Docs](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST. [Docs](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] 실시간 구독. [Docs](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/database/api#graphql-api)- [x] 함수.- [x] 데이터베이스 함수. [Docs](https://supabase.com/docs/guides/database/functions)- [x] 엣지 함수 [Docs](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.pt-br.md b/i18n/README.pt-br.mdindex 9d22a6c7282..66d5e0cafe4 100644--- a/i18n/README.pt-br.md+++ b/i18n/README.pt-br.md@@ -12,9 +12,9 @@- [x] Banco de dados hospedado de Postgres. [Docs](https://supabase.com/docs/guides/database)- [x] Autenticação e Autorização. [Docs](https://supabase.com/docs/guides/auth)- [x] APIs auto-geradas.- - [x] REST. [Docs](https://supabase.com/docs/guides/api#rest-api)- - [x] Assinaturas em tempo real. [Docs](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST. [Docs](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] Assinaturas em tempo real. [Docs](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta). [Docs](https://supabase.com/docs/guides/database/api#graphql-api)- [x] Funções.- [x] Funções do Banco de Dados [Docs]https://supabase.com/docs/guides/database/functions)- [x] Funções de borda [Docs](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.sr.md b/i18n/README.sr.mdindex 83b6cfddad1..2d3889901ed 100644--- a/i18n/README.sr.md+++ b/i18n/README.sr.md@@ -12,9 +12,9 @@- [x] Hostovana Postgres Baza. [Dokumentacija](https://supabase.com/docs/guides/database)- [x] Autentifikacija i Autorizacija. [Dokumentacija](https://supabase.com/docs/guides/auth)- [x] Auto-generisani API-ji.- - [x] REST. [Dokumentacija](https://supabase.com/docs/guides/api#rest-api)- - [x] Subskripcije u realnom vremenu. [Dokumentacija](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Beta). [Dokumentacija](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST. [Dokumentacija](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] Subskripcije u realnom vremenu. [Dokumentacija](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Beta). [Dokumentacija](https://supabase.com/docs/guides/database/api#graphql-api)- [x] Funkcije.- [x] Funkcije u bazi. [Dokumentacija](https://supabase.com/docs/guides/database/functions)- [x] Edge Funkcije [Dokumentacija](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.ta.md b/i18n/README.ta.mdindex 968754ad999..0806fbe79af 100644--- a/i18n/README.ta.md+++ b/i18n/README.ta.md@@ -12,9 +12,9 @@- [x] ஹோஸ்ட் செய்யப்பட்ட பூஸ்ட்ஜீஆர்இஎஸ் தரவுத்தளம். [ஆவணம்](https://supabase.com/docs/guides/database)- [x] அங்கீகாரம் மற்றும் அங்கீகாரம்.. [ஆவணம்](https://supabase.com/docs/guides/auth)- [x] தானாக உருவாக்கப்பட்ட ஏபிஐ கள்.- - [x] ராஸ்ட். [ஆவணம்](https://supabase.com/docs/guides/api#rest-api)- - [x] நிகழ்நேர சந்தாக்கள். [ஆவணம்](https://supabase.com/docs/guides/api#realtime-api)- - [x] கிராப்க்யூஎல் (பீட்டா). [ஆவணம்](https://supabase.com/docs/guides/api#graphql-api)+ - [x] ராஸ்ட். [ஆவணம்](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] நிகழ்நேர சந்தாக்கள். [ஆவணம்](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] கிராப்க்யூஎல் (பீட்டா). [ஆவணம்](https://supabase.com/docs/guides/database/api#graphql-api)- [x] செயல்பாடுகள்.- [x] தரவுத்தளம் செயல்பாடுகள். [ஆவணம்](https://supabase.com/docs/guides/database/functions)- [x] விளிம்பு செயல்பாடுகள் [ஆவணம்](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.vi-vn.md b/i18n/README.vi-vn.mdindex 0b673713085..090c6f6f2e8 100644--- a/i18n/README.vi-vn.md+++ b/i18n/README.vi-vn.md@@ -12,9 +12,9 @@- [x] Cơ sở dữ liệu Postgres tự quản lý. [Tài liệu](https://supabase.com/docs/guides/database)- [x] Xác thực và uỷ quyền. [Tài liệu](https://supabase.com/docs/guides/auth)- [x] APIs tự động khởi tạo.- - [x] REST. [Tài liệu](https://supabase.com/docs/guides/api#rest-api)- - [x] Lắng nghe thay đổi thời gian thực. [Tài liệu](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL (Thử nghiệm). [Tài liệu](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST. [Tài liệu](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] Lắng nghe thay đổi thời gian thực. [Tài liệu](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL (Thử nghiệm). [Tài liệu](https://supabase.com/docs/guides/database/api#graphql-api)- [x] Chức năng hàm.- [x] Hàm dành cho cơ sở dữ liệu (Database functions). [Tài liệu](https://supabase.com/docs/guides/database/functions)- [x] Hàm được phân phối trên toàn cầu (Edge Functions). [Tài liệu](https://supabase.com/docs/guides/functions)diff --git a/i18n/README.zh-cn.md b/i18n/README.zh-cn.mdindex 82cf895f5d2..639483df4fe 100644--- a/i18n/README.zh-cn.md+++ b/i18n/README.zh-cn.md@@ -12,9 +12,9 @@- [x] Postgres 数据库托管。[文档](https://supabase.com/docs/guides/database)- [x] 身份验证和授权。[文档](https://supabase.com/docs/guides/auth)- [x] 自动生成的 API。- - [x] REST。[文档](https://supabase.com/docs/guides/api#rest-api)- - [x] 实时订阅。[文档](https://supabase.com/docs/guides/api#realtime-api)- - [x] GraphQL(测试版)。[文档](https://supabase.com/docs/guides/api#graphql-api)+ - [x] REST。[文档](https://supabase.com/docs/guides/database/api#rest-api)+ - [x] 实时订阅。[文档](https://supabase.com/docs/guides/database/api#realtime-api)+ - [x] GraphQL(测试版)。[文档](https://supabase.com/docs/guides/database/api#graphql-api)- [x] 函数。- [x] 数据库函数。[文档](https://supabase.com/docs/guides/database/functions)- [x] 边缘函数。[文档](https://supabase.com/docs/guides/functions)diff --git a/spec/examples/examples.yml b/spec/examples/examples.ymlindex f1be15db868..02a3b73bd49 100644--- a/spec/examples/examples.yml+++ b/spec/examples/examples.yml@@ -4992,7 +4992,7 @@ functions:title: 'on().subscribe()'$ref: '@supabase/realtime-js.RealtimeChannel.on'notes: |- - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).+ - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/database/api#managing-realtime).- Row level security is not applied to delete statements.- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`- When a delete occurs, the contents of old_record will be broadcast to all subscribers to that table so ensure that each table's replica identity only contains information that is safe to expose publicly.diff --git a/spec/supabase_dart_v0.yml b/spec/supabase_dart_v0.ymlindex c774ffacc24..34ef75264ff 100644--- a/spec/supabase_dart_v0.yml+++ b/spec/supabase_dart_v0.yml@@ -685,7 +685,7 @@ functions:Subscribe to realtime changes in your database.title: 'on().subscribe()'notes: |- - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).+ - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/database/api#managing-realtime).- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`examples:- id: listen-to-all-database-changesdiff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.ymlindex 9c61cc1ee20..e49d0ae89c3 100644--- a/spec/supabase_dart_v1.yml+++ b/spec/supabase_dart_v1.yml@@ -680,7 +680,7 @@ functions:Subscribe to realtime changes in your database.title: 'on().subscribe()'notes: |- - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).+ - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/database/api#managing-realtime).- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`examples:- id: listen-to-all-database-changesdiff --git a/spec/supabase_js_v1.yml b/spec/supabase_js_v1.ymlindex 810e46d2036..007b92e0343 100644--- a/spec/supabase_js_v1.yml+++ b/spec/supabase_js_v1.yml@@ -1123,7 +1123,7 @@ functions:title: 'on().subscribe()'$ref: '@supabase/supabase-js.lib/SupabaseQueryBuilder.SupabaseQueryBuilder.on'notes: |- - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).+ - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/database/api#managing-realtime).- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`examples:- id: listen-to-all-database-changesdiff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.ymlindex 7e220e2dc23..c04639b3a28 100644--- a/spec/supabase_js_v2.yml+++ b/spec/supabase_js_v2.yml@@ -3974,7 +3974,7 @@ functions:title: on().subscribe()$ref: '@supabase/realtime-js.RealtimeChannel.on'notes: |- - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).+ - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/database/api#managing-realtime).- Row level security is not applied to delete statements.- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`- When a delete occurs, the contents of old_record will be broadcast to all subscribers to that table so ensure that each table's replica identity only contains information that is safe to expose publicly.diff --git a/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx b/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsxindex 7903bf41e7d..5ef67552c20 100644--- a/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx+++ b/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx@@ -257,7 +257,7 @@ const NewProjectPanel: FC<Props> = ({}) => {<Button type="default">View API settings</Button></a></Link>- <Link href="https://supabase.com/docs/guides/api">+ <Link href="https://supabase.com/docs/guides/database/api"><a target="_blank" rel="noreferrer"><Button className="translate-y-[1px]" type="default" icon={<IconExternalLink />}>About APIsdiff --git a/studio/components/layouts/AccountLayout/AccountLayout.tsx b/studio/components/layouts/AccountLayout/AccountLayout.tsxindex 10ddf248e05..9d7e0214d4d 100644--- a/studio/components/layouts/AccountLayout/AccountLayout.tsx+++ b/studio/components/layouts/AccountLayout/AccountLayout.tsx@@ -103,7 +103,7 @@ const AccountLayout: FC<Props> = ({ children, title, breadcrumbs }) => {key: 'ext-guides',icon: '/img/book-open.svg',label: 'API Reference',- href: 'https://supabase.com/docs/guides/api',+ href: 'https://supabase.com/docs/guides/database/api',isExternal: true,},],diff --git a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsxindex 83662e8c7bf..c97284cf3e1 100644--- a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx+++ b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx@@ -72,7 +72,7 @@ export const generateDocsMenu = ({name: 'API Reference',key: 'api-reference',- url: `https://supabase.com/docs/guides/api`,+ url: `https://supabase.com/docs/guides/database/api`,icon: <IconBookOpen size={14} strokeWidth={2} />,items: [],isExternal: true,diff --git a/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.tsx b/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.tsxindex c525baaffe0..e36671ae8ed 100644--- a/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.tsx+++ b/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.tsx@@ -67,7 +67,7 @@ const Introduction: FC<Props> = ({ selectedLang }) => {<h2 className="doc-heading flex items-center justify-between"><span>Generating types</span>- <Link href="https://supabase.com/docs/guides/api/generating-types">+ <Link href="https://supabase.com/docs/guides/database/api/generating-types"><a target="_blank"><Button type="default" icon={<IconExternalLink />}>Documentation@@ -83,8 +83,10 @@ const Introduction: FC<Props> = ({ selectedLang }) => {</p><p>You can generate types from your database either through the{' '}- <Link href="https://supabase.com/docs/guides/api/generating-types">Supabase CLI</Link>,- or by downloading the types file via the button on the right and importing it in your+ <Link href="https://supabase.com/docs/guides/database/api/generating-types">+ Supabase CLI+ </Link>+ , or by downloading the types file via the button on the right and importing it in yourapplication within <code>src/index.ts</code>.</p></article>