The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update tabs for remaining pages
Joshen Limfd14ecc936f0
diff --git a/apps/temp-docs/components/CodeBlock/CodeBlock.tsx b/apps/temp-docs/components/CodeBlock/CodeBlock.tsxindex d0c6208a054..6c11934248e 100644--- a/apps/temp-docs/components/CodeBlock/CodeBlock.tsx+++ b/apps/temp-docs/components/CodeBlock/CodeBlock.tsx@@ -4,15 +4,17 @@ import { Button, IconCheck, IconCopy } from 'ui'import CopyToClipboard from 'react-copy-to-clipboard'import js from 'react-syntax-highlighter/dist/cjs/languages/hljs/javascript'+import ts from 'react-syntax-highlighter/dist/cjs/languages/hljs/typescript'import py from 'react-syntax-highlighter/dist/cjs/languages/hljs/python'import sql from 'react-syntax-highlighter/dist/cjs/languages/hljs/sql'import bash from 'react-syntax-highlighter/dist/cjs/languages/hljs/bash'+import dart from 'react-syntax-highlighter/dist/cjs/languages/hljs/dart'import { useState } from 'react'import { useTheme } from '../Providers'interface Props {- lang: 'js' | 'sql' | 'py' | 'bash'+ lang: 'js' | 'jsx' | 'sql' | 'py' | 'bash' | 'ts' | 'dart'startingLineNumber?: numberhideCopy?: booleanclassName?: string@@ -42,9 +44,11 @@ function CodeBlock(props: Props) {// force jsx to be js highlightedif (lang === 'jsx') lang = 'js'SyntaxHighlighter.registerLanguage('js', js)+ SyntaxHighlighter.registerLanguage('ts', ts)SyntaxHighlighter.registerLanguage('py', py)SyntaxHighlighter.registerLanguage('sql', sql)SyntaxHighlighter.registerLanguage('bash', bash)+ SyntaxHighlighter.registerLanguage('dart', dart)// const large = props.size === 'large' ? true : falseconst large = falsediff --git a/apps/temp-docs/components/Navigation/Navigation.constants.ts b/apps/temp-docs/components/Navigation/Navigation.constants.tsindex 3877e82b227..97a89df72ac 100644--- a/apps/temp-docs/components/Navigation/Navigation.constants.ts+++ b/apps/temp-docs/components/Navigation/Navigation.constants.ts@@ -26,13 +26,13 @@ export const REFERENCES: References = {name: 'CLI',library: undefined,versions: [],- icon: '/docs/img/libraries/cli-icon.svg',+ icon: '/docs/img/icons/cli-icon.svg',},api: {name: 'API',library: undefined,versions: [],- icon: '/docs/img/libraries/api-icon.svg',+ icon: '/docs/img/icons/api-icon.svg',},}diff --git a/apps/temp-docs/components/Navigation/SideBar.tsx b/apps/temp-docs/components/Navigation/SideBar.tsxindex bdf5d4b453c..19285ac73cc 100644--- a/apps/temp-docs/components/Navigation/SideBar.tsx+++ b/apps/temp-docs/components/Navigation/SideBar.tsx@@ -73,7 +73,6 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {)}{menuItems.length === 1 ? (<div className="my-2">- <h4 className="text-scale-1200 pt-2 pb-3">{menuItems[0].label}</h4>{menuItems[0].items.map((item) => (<Link href={item.url}><a>diff --git a/apps/temp-docs/data/nav/supabase-api.ts b/apps/temp-docs/data/nav/supabase-api.tsindex e0bad91376b..3bb9cda0a42 100644--- a/apps/temp-docs/data/nav/supabase-api.ts+++ b/apps/temp-docs/data/nav/supabase-api.ts@@ -2,7 +2,7 @@ const Nav = [{label: 'API',items: [- { name: 'Supabase API', url: '/reference/api', items: [] },+ { name: 'Management API', url: '/reference/api', items: [] },{ name: 'Usage', url: '/reference/api/usage', items: [] },{ name: 'Release Notes', url: '/reference/api/release-notes', items: [] },],diff --git a/apps/temp-docs/docs/guides/cli.mdx b/apps/temp-docs/docs/guides/cli.mdxindex 5c8dc970de0..b3c8ce65574 100644--- a/apps/temp-docs/docs/guides/cli.mdx+++ b/apps/temp-docs/docs/guides/cli.mdx@@ -6,9 +6,6 @@ sidebar_label: Overviewtoc_max_heading_level: 2----import Tabs from '@theme/Tabs'-import TabItem from '@theme/TabItem'-The Supabase CLI provides tools to develop your project locally and deploy to the Supabase Platform.You can also use the CLI to manage your Supabase projects, handle database migrations and CI/CD workflows, and generate types directly from your database schema.diff --git a/apps/temp-docs/docs/guides/database/full-text-search.mdx b/apps/temp-docs/docs/guides/database/full-text-search.mdxindex 83ddd87afd1..03e7a5a0e8e 100644--- a/apps/temp-docs/docs/guides/database/full-text-search.mdx+++ b/apps/temp-docs/docs/guides/database/full-text-search.mdx@@ -14,13 +14,23 @@ Postgres has built-in functions to handle `Full Text Search` queries. This is liFor this guide we'll use the following example data:<Tabs-defaultValue="Data"-values={[- {label: 'Data', value: 'Data'},- {label: 'SQL', value: 'SQL'},-]}>+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="data"+>+<TabPanel id="data" label="Data">-<TabItem value="SQL">+| id | title | author | description |+| --- | ----------------------------------- | ---------------------- | ------------------------------------------------------------------ |+| 1 | The Poky Little Puppy | Janette Sebring Lowrey | Puppy is slower than other, bigger animals. |+| 2 | The Tale of Peter Rabbit | Beatrix Potter | Rabbit eats some vegetables. |+| 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. |+| 4 | Green Eggs and Ham | Dr. Seuss | Sam has changing food preferences and eats unusually colored food. |+| 5 | Harry Potter and the Goblet of Fire | J.K. Rowling | Fourth year of school starts, big drama ensues. |++</TabPanel>+<TabPanel id="sql" label="SQL">```sqlcreate table books (@@ -39,19 +49,7 @@ values('Harry Potter and the Goblet of Fire','J.K. Rowling','Fourth year of school starts, big drama ensues.');```-</TabItem>-<TabItem value="Data">--| id | title | author | description |-| --- | ----------------------------------- | ---------------------- | ------------------------------------------------------------------ |-| 1 | The Poky Little Puppy | Janette Sebring Lowrey | Puppy is slower than other, bigger animals. |-| 2 | The Tale of Peter Rabbit | Beatrix Potter | Rabbit eats some vegetables. |-| 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. |-| 4 | Green Eggs and Ham | Dr. Seuss | Sam has changing food preferences and eats unusually colored food. |-| 5 | Harry Potter and the Goblet of Fire | J.K. Rowling | Fourth year of school starts, big drama ensues. |--</TabItem>-+</TabPanel></Tabs>## Usage@@ -84,13 +82,12 @@ The `@@` symbol is the "match" symbol for Full Text Search. It returns any matchTake the following example:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect *@@ -98,19 +95,15 @@ from bookswhere title = 'Harry';```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```js-const { data, error } = await supabase- .from('books')- .select()- .eq('title', 'Harry')+const { data, error } = await supabase.from('books').select().eq('title', 'Harry')```-</TabItem>--<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -120,20 +113,19 @@ final result = await client.execute();```-</TabItem>+</TabPanel></Tabs>The equality symbol above (`=`) is very "strict" on what it matches. In a full text search context, we might want to find all "Harry Potter" books and so we can rewrite theexample above:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect *@@ -141,18 +133,15 @@ from bookswhere to_tsvector(title) @@ to_tsquery('Harry');```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```js-const { data, error } = await supabase- .from('books')- .select()- .textSearch('title', `'Harry'`)+const { data, error } = await supabase.from('books').select().textSearch('title', `'Harry'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -162,7 +151,7 @@ final result = await client.execute();```-</TabItem>+</TabPanel></Tabs>## Basic Full Text Queries@@ -172,14 +161,12 @@ final result = await clientTo find all `books` where the `description` contain the word `big`:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},- {label: 'Data', value: 'Data'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -191,18 +178,15 @@ where@@ to_tsquery('big');```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```js-const { data, error } = await supabase- .from('books')- .select()- .textSearch('description', `'big'`)+const { data, error } = await supabase.from('books').select().textSearch('description', `'big'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -212,15 +196,15 @@ final result = await client.execute();```-</TabItem>-<TabItem value="Data">+</TabPanel>+<TabPanel id="data" label="Data">| id | title | author | description || --- | ----------------------------------- | ----------------- | ----------------------------------------------- || 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. || 5 | Harry Potter and the Goblet of Fire | J.K. Rowling | Fourth year of school starts, big drama ensues. |-</TabItem>+</TabPanel></Tabs>### Search multiple columns@@ -228,12 +212,12 @@ final result = await clientTo find all `books` where `description` or `title` contain the word `little`:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'Data', value: 'Data'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -245,15 +229,15 @@ where@@ to_tsquery('little');```-</TabItem>-<TabItem value="Data">+</TabPanel>+<TabPanel id="data" label="Data">| id | title | author | description || --- | --------------------- | ---------------------- | ------------------------------------------- || 1 | The Poky Little Puppy | Janette Sebring Lowrey | Puppy is slower than other, bigger animals. || 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. |-</TabItem>+</TabPanel></Tabs>### Match all search words@@ -261,14 +245,12 @@ whereTo find all `books` where `description` contains BOTH of the words `little` and `big`, we can use the `&` symbol:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},- {label: 'Data', value: 'Data'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -280,8 +262,8 @@ where@@ to_tsquery('little & big'); -- use & for AND in the search query```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```jsconst { data, error } = await supabase@@ -290,8 +272,8 @@ const { data, error } = await supabase.textSearch('description', `'little' & 'big'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -301,14 +283,14 @@ final result = await client.execute();```-</TabItem>-<TabItem value="Data">+</TabPanel>+<TabPanel id="data" label="Data">| id | title | author | description || --- | ------ | ----------------- | -------------------------------- || 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. |-</TabItem>+</TabPanel></Tabs>### Match any search words@@ -316,14 +298,12 @@ final result = await clientTo find all `books` where `description` contain ANY of the words `little` or `big`, use the `|` symbol:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},- {label: 'Data', value: 'Data'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -335,8 +315,8 @@ where@@ to_tsquery('little | big'); -- use | for OR in the search query```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```jsconst { data, error } = await supabase@@ -345,8 +325,8 @@ const { data, error } = await supabase.textSearch('description', `'little' | 'big'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -356,15 +336,15 @@ final result = await client.execute();```-</TabItem>-<TabItem value="Data">+</TabPanel>+<TabPanel id="data" label="Data">| id | title | author | description || --- | --------------------- | ---------------------- | ------------------------------------------- || 1 | The Poky Little Puppy | Janette Sebring Lowrey | Puppy is slower than other, bigger animals. || 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. |-</TabItem>+</TabPanel></Tabs>Notice how searching for `big` includes results with the word `bigger` (or `biggest`, etc).@@ -383,12 +363,12 @@ We can use a special feature of Postgres calledto ensure that the index is updated any time the values in the `title` and `description` columns change.<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'Data', value: 'Data'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlalter table@@ -402,8 +382,8 @@ select id, ftsfrom books;```-</TabItem>-<TabItem value="Data">+</TabPanel>+<TabPanel id="data" label="Data">| id | fts || --- | --------------------------------------------------------------------------------------------------------------- |@@ -413,7 +393,7 @@ from books;| 4 | 'chang':3 'color':9 'eat':7 'egg':12 'food':4,10 'green':11 'ham':14 'prefer':5 'sam':1 'unus':8 || 5 | 'big':6 'drama':7 'ensu':8 'fire':15 'fourth':1 'goblet':13 'harri':9 'potter':10 'school':4 'start':5 'year':2 |-</TabItem>+</TabPanel></Tabs>### Search using the new column@@ -421,14 +401,12 @@ from books;Now that we've created and populated our index, we can search it using the same techniques as before:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},- {label: 'Data', value: 'Data'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -439,18 +417,15 @@ wherefts @@ to_tsquery('little & big');```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```js-const { data, error } = await supabase- .from('books')- .select()- .textSearch('fts', `'little' & 'big'`)+const { data, error } = await supabase.from('books').select().textSearch('fts', `'little' & 'big'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -460,14 +435,14 @@ final result = await client.execute();```-</TabItem>-<TabItem value="Data">+</TabPanel>+<TabPanel id="data" label="Data">| id | title | author | description | fts || --- | ------ | ----------------- | -------------------------------- | ------------------------------------------------------- || 3 | Tootle | Gertrude Crampton | Little toy train has big dreams. | 'big':5 'dream':6 'littl':1 'tootl':7 'toy':2 'train':3 |-</TabItem>+</TabPanel></Tabs>## Query Operators@@ -481,13 +456,12 @@ The proximity symbol is useful for searching for terms that are a certain "distaFor example, to find the phrase `big dreams`, where the a match for "big" is followed immediately by a match for "dreams":<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -498,8 +472,8 @@ whereto_tsvector(description) @@ to_tsquery('big <-> dreams');```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```jsconst { data, error } = await supabase@@ -508,8 +482,8 @@ const { data, error } = await supabase.textSearch('description', `'big' <-> 'dreams'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -519,19 +493,18 @@ final result = await client.execute();```-</TabItem>+</TabPanel></Tabs>We can also use the `<->` to find words within a certain distance of eachother. For example to find `year` and `school` within 2 words of each other:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -542,8 +515,8 @@ whereto_tsvector(description) @@ to_tsquery('year <2> school');```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```jsconst { data, error } = await supabase@@ -552,8 +525,8 @@ const { data, error } = await supabase.textSearch('description', `'year' <2> 'school'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -563,7 +536,7 @@ final result = await client.execute();```-</TabItem>+</TabPanel></Tabs>### Negation: `!`@@ -572,13 +545,12 @@ The negation symbol can be used to find phrases which _don't_ contain a search tFor example, to find records that have the word `big` but not `little`:<Tabs-defaultValue="SQL"-values={[- {label: 'SQL', value: 'SQL'},- {label: 'JavaScript', value: 'JS'},- {label: 'Dart', value: 'DART'},-]}>-<TabItem value="SQL">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="sql"+>+<TabPanel id="sql" label="SQL">```sqlselect@@ -589,8 +561,8 @@ whereto_tsvector(description) @@ to_tsquery('big & !little');```-</TabItem>-<TabItem value="JS">+</TabPanel>+<TabPanel id="js" label="JavaScript">```jsconst { data, error } = await supabase@@ -599,8 +571,8 @@ const { data, error } = await supabase.textSearch('description', `'big' & !'little'`)```-</TabItem>-<TabItem value="DART">+</TabPanel>+<TabPanel id="dart" label="Dart">```dartfinal result = await client@@ -610,7 +582,7 @@ final result = await client.execute();```-</TabItem>+</TabPanel></Tabs>## Resourcesdiff --git a/apps/temp-docs/docs/guides/database/functions.mdx b/apps/temp-docs/docs/guides/database/functions.mdxindex c4554069883..2fc6a94ff7f 100644--- a/apps/temp-docs/docs/guides/database/functions.mdx+++ b/apps/temp-docs/docs/guides/database/functions.mdx@@ -109,8 +109,28 @@ For example, if we had a database with some Star Wars data inside:scrollablesize="small"type="underlined"- defaultActiveId="sql"+ defaultActiveId="data">+<TabPanel id="data" label="Data">++<h4>Planets</h4>++| id | name |+| --- | -------- |+| 1 | Tattoine |+| 2 | Alderaan |+| 3 | Kashyyyk |++<h4>People</h4>++| id | name | planet_id |+| --- | ---------------- | --------- |+| 1 | Anakin Skywalker | 1 |+| 2 | Luke Skywalker | 1 |+| 3 | Princess Leia | 2 |+| 4 | Chewbacca | 3 |++</TabPanel><TabPanel id="sql" label="SQL">```sql@@ -139,26 +159,6 @@ values(4, 'Chewbacca', 3);```-</TabPanel>-<TabPanel id="data" label="Data">--<h4>Planets</h4>--| id | name |-| --- | -------- |-| 1 | Tattoine |-| 2 | Alderaan |-| 3 | Kashyyyk |--<h4>People</h4>--| id | name | planet_id |-| --- | ---------------- | --------- |-| 1 | Anakin Skywalker | 1 |-| 2 | Luke Skywalker | 1 |-| 3 | Princess Leia | 2 |-| 4 | Chewbacca | 3 |-</TabPanel></Tabs>diff --git a/apps/temp-docs/docs/reference/api.mdx b/apps/temp-docs/docs/reference/api.mdxindex 6382c59a944..371041af0bd 100644--- a/apps/temp-docs/docs/reference/api.mdx+++ b/apps/temp-docs/docs/reference/api.mdx@@ -6,8 +6,6 @@ title: Management APIsidebar_label: Management API----# Management API-The Management API allows you to manage your projects programmatically.## Statusdiff --git a/apps/temp-docs/docs/reference/auth.mdx b/apps/temp-docs/docs/reference/auth.mdxindex 9174d9ce1a2..b471652b24a 100644--- a/apps/temp-docs/docs/reference/auth.mdx+++ b/apps/temp-docs/docs/reference/auth.mdx@@ -2,12 +2,10 @@slug: /sidebar_position: 1id: auth-server-title: Auth Server-sidebar_label: Auth Server+title: Supabase Auth Server+sidebar_label: Supabase Auth Server----# Supabase Auth Server-The Supabase Auth Server (GoTrue) is a JSON Web Token (JWT)-based API for managing users and issuing access tokens.GoTrue is an open-source API written in Golang, that acts as a self-standing API service for handling user registration and authentication for JAM projects. It's based on OAuth2 and JWT and handles user signup, authentication, and custom user data.diff --git a/apps/temp-docs/docs/reference/cli.mdx b/apps/temp-docs/docs/reference/cli.mdxindex 50d64dcfb13..34bb836f037 100644--- a/apps/temp-docs/docs/reference/cli.mdx+++ b/apps/temp-docs/docs/reference/cli.mdx@@ -7,8 +7,6 @@ title: Supabase CLIhide_table_of_contents: true----# Supabase CLI-The Supabase CLI provides tools to develop your project locally and deploy to the Supabase Platform.The CLI is still under development, but it contains all the functionality for working with your Supabase projects and the Supabase Platform.diff --git a/apps/temp-docs/docs/reference/dart.mdx b/apps/temp-docs/docs/reference/dart.mdxindex 5926fffadf3..88095e50392 100644--- a/apps/temp-docs/docs/reference/dart.mdx+++ b/apps/temp-docs/docs/reference/dart.mdx@@ -5,8 +5,6 @@ title: Supabase Flutter Librarysidebar_label: Supabase Flutter Library----# Supabase Flutter Library-This reference documents every object and method available in Supabase's isomorphic Flutter library, [`supabase-flutter`](https://pub.dev/packages/supabase_flutter).You can use the `supabase-flutter` library to:diff --git a/apps/temp-docs/docs/reference/dart/upgrade-guide.mdx b/apps/temp-docs/docs/reference/dart/upgrade-guide.mdxindex 5ceb6784e50..707cdd06129 100644--- a/apps/temp-docs/docs/reference/dart/upgrade-guide.mdx+++ b/apps/temp-docs/docs/reference/dart/upgrade-guide.mdx@@ -22,26 +22,24 @@ supabase_flutter: ^1.0.0The way supabase-flutter throws error has changed in v1. In v0, errors were returned as a response. In v1, errors are thrown as exceptions. This makes it more intuitive as a Flutter developer to handle errors.<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartfinal res = await supabase.from('my_table').select().execute();final error = res.error;-if(error != null) {+if (error != null) {// handle error}final data = res.data;```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```darttry {@@ -51,7 +49,7 @@ try {}```-</TabItem>+</TabPanel></Tabs>## Auth classes / methods@@ -61,13 +59,12 @@ try {In v0, `SupabaseAuthState` and `SupabaseAuthRequiredState` were required to handle automatic token refresh and to listen to auth state change. In v1, `SupabaseAuthState` and `SupabaseAuthRequiredState` are deprecated, and token refresh will happen automatically just by initializing Supabase. [`onAuthStateChange`](/docs/reference/dart/upgrade-guide#listening-to-auth-state-change) can be used to action on auth state change.<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait Supabase.initialize(@@ -87,9 +84,8 @@ class AuthRequiredState<T extends StatefulWidget> extends SupabaseAuthState<T> {}```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait Supabase.initialize(@@ -98,7 +94,7 @@ await Supabase.initialize();```-</TabItem>+</TabPanel></Tabs>### Listening to auth state change@@ -106,13 +102,12 @@ await Supabase.initialize(`onAuthStateChange` now returns a `Stream`.<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartfinal authSubscription = supabase.auth.onAuthStateChange((event, session) {@@ -123,9 +118,8 @@ final authSubscription = supabase.auth.onAuthStateChange((event, session) {authSubscription.data?.unsubscribe();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartfinal authSubscription = supabase.auth.onAuthStateChange.listen((data) {@@ -138,7 +132,7 @@ final authSubscription = supabase.auth.onAuthStateChange.listen((data) {authSubscription.cancel();```-</TabItem>+</TabPanel></Tabs>### Sign in with email and password@@ -146,65 +140,60 @@ authSubscription.cancel();The signIn() method has been deprecated in favor of more explicit method signatures to help with type hinting. Previously it was difficult for developers to know what they were missing (e.g., a lot of developers didn't realize they could use passwordless magic links).<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase.auth.signIn(email: email, password: password);```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.auth.signInWithPassword(email: email, password: password);```-</TabItem>+</TabPanel></Tabs>### Sign in with magic link<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase.auth.signIn(email: email);```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.auth.signInWithOtp(email: email);```-</TabItem>+</TabPanel></Tabs>### Sign in with a third-party OAuth provider<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase.auth.signInWithProvider(@@ -216,9 +205,8 @@ await supabase.auth.signInWithProvider();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.auth.signInWithOAuth(@@ -227,19 +215,18 @@ await supabase.auth.signInWithOAuth();```-</TabItem>+</TabPanel></Tabs>### Sign in with phone<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase.auth.signIn(@@ -248,9 +235,8 @@ await supabase.auth.signIn();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.auth.signInWithPassword(@@ -259,27 +245,25 @@ await supabase.auth.signInWithPassword();```-</TabItem>+</TabPanel></Tabs>### Sign in with phone using OTP<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartfinal res = await supabase.auth.signIn(phone: phone);```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.auth.signInWithOtp(@@ -294,19 +278,18 @@ await supabase.auth.verifyOTP();```-</TabItem>+</TabPanel></Tabs>### Reset password for email<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase.auth.api.resetPasswordForEmail(@@ -316,9 +299,8 @@ await supabase.auth.api.resetPasswordForEmail();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.auth.resetPasswordForEmail(@@ -327,71 +309,66 @@ await supabase.auth.resetPasswordForEmail();```-</TabItem>+</TabPanel></Tabs>### Get the user's current session<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dart- final session = supabase.auth.session();+final session = supabase.auth.session();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartfinal Session? session = supabase.auth.currentSession;```-</TabItem>+</TabPanel></Tabs>### Get the logged-in user<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartfinal user = supabase.auth.user();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartfinal User? user = supabase.auth.currentUser;```-</TabItem>+</TabPanel></Tabs>### Update user data for a logged-in user<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase.auth.update(@@ -399,9 +376,8 @@ await supabase.auth.update();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.updateUser(@@ -411,7 +387,7 @@ await supabase.updateUser();```-</TabItem>+</TabPanel></Tabs>## Data methods@@ -425,60 +401,56 @@ Also, calling `.execute()` at the end of the query was a requirement in v0, but### Insert without returning inserted data<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartawait supabase- .from('my_table')- .insert(data, returning: ReturningOption.minimal)- .execute();+ .from('my_table')+ .insert(data, returning: ReturningOption.minimal)+ .execute();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.from('my_table').insert(data);```-</TabItem>+</TabPanel></Tabs>### Insert with returning inserted data<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartfinal res = await supabase- .from('my_table')- .insert(data)- .execute();+ .from('my_table')+ .insert(data)+ .execute();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartfinal insertedData = await supabase.from('my_table').insert(data).select();```-</TabItem>+</TabPanel></Tabs>## Realtime methods@@ -488,13 +460,12 @@ final insertedData = await supabase.from('my_table').insert(data).select();`.stream()` no longer needs the `.execute()` at the end. Also, filtering by `eq` is a lot easier now. `primaryKey` is now a named parameter to make it more obvious what to pass.<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartsupabase.from('my_table:id=eq.120')@@ -502,9 +473,8 @@ supabase.from('my_table:id=eq.120').listen();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartsupabase.from('my_table')@@ -513,19 +483,18 @@ supabase.from('my_table').listen();```-</TabItem>+</TabPanel></Tabs>### Subscribe<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartfinal subscription = supabase@@ -536,9 +505,8 @@ final subscription = supabase.subscribe();```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartfinal channel = supabase.channel('*');@@ -551,31 +519,29 @@ channel.on().subscribe();```-</TabItem>+</TabPanel></Tabs>### Unsubscribe<Tabs- groupId="version"- values={[- {label: 'Before', value: '0.x'},- {label: 'After', value: '1.x'},- ]}>--<TabItem value="0.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="0.x"+>+<TabPanel id="0.x" label="Before">```dartsupabase.removeSubscription(subscription);```-</TabItem>--<TabItem value="1.x">+</TabPanel>+<TabPanel id="1.0x" label="After">```dartawait supabase.removeChannel(channel);```-</TabItem>+</TabPanel></Tabs>diff --git a/apps/temp-docs/docs/reference/javascript.mdx b/apps/temp-docs/docs/reference/javascript.mdxindex e2d98e082aa..8f800d33dfc 100644--- a/apps/temp-docs/docs/reference/javascript.mdx+++ b/apps/temp-docs/docs/reference/javascript.mdx@@ -7,8 +7,6 @@ sidebar_label: Supabase JavaScript Libraryhide_table_of_contents: true----# Supabase JavaScript Library-This reference documents every object and method available in Supabase's isomorphic JavaScript library, `supabase-js`.You can use the `supabase-js` library to:diff --git a/apps/temp-docs/docs/reference/javascript/upgrade-guide.mdx b/apps/temp-docs/docs/reference/javascript/upgrade-guide.mdxindex c0afabbfbae..e2da7758c81 100644--- a/apps/temp-docs/docs/reference/javascript/upgrade-guide.mdx+++ b/apps/temp-docs/docs/reference/javascript/upgrade-guide.mdx@@ -20,13 +20,12 @@ npm install @supabase/supabase-js@2_Optionally_ if you are using custom configuration with `createClient` then follow below:<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```ts title="src/supabaseClient.ts"const supabaseClient = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {@@ -35,9 +34,8 @@ const supabaseClient = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {})```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```ts title="src/supabaseClient.ts"const supabaseClient = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {@@ -50,7 +48,7 @@ const supabaseClient = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {})```-</TabItem>+</TabPanel></Tabs>Read more about the [constructor options](/docs/reference/javascript/release-notes#explicit-constructor-options).@@ -62,21 +60,19 @@ The signIn() method has been deprecated in favor of more explicit method signatu#### Sign in with email and password<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { user, error } = await supabase.auth.signIn({ email, password })```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst {@@ -85,105 +81,97 @@ const {} = await supabase.auth.signInWithPassword({ email, password })```-</TabItem>+</TabPanel></Tabs>#### Sign in with magic link<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { error } = await supabase.auth.signIn({ email })```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { error } = await supabase.auth.signInWithOtp({ email })```-</TabItem>+</TabPanel></Tabs>#### Sign in with a third-party provider<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { error } = await supabase.auth.signIn({ provider })```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { error } = await supabase.auth.signInWithOAuth({ provider })```-</TabItem>+</TabPanel></Tabs>#### Sign in with phone<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { error } = await supabase.auth.signIn({ phone, password })```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { error } = await supabase.auth.signInWithPassword({ phone, password })```-</TabItem>+</TabPanel></Tabs>#### Sign in with phone using OTP<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { error } = await supabase.auth.api.sendMobileOTP(phone)```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { data, error } = await supabase.auth.signInWithOtp({ phone })@@ -192,53 +180,49 @@ const { data, error } = await supabase.auth.signInWithOtp({ phone })const { data, error } = await supabase.auth.verifyOtp({ phone, token })```-</TabItem>+</TabPanel></Tabs>#### Reset password for email<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { data, error } = await supabase.auth.api.resetPasswordForEmail(email)```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { data, error } = await supabase.auth.resetPasswordForEmail(email)```-</TabItem>+</TabPanel></Tabs>#### Get the user's current session<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst session = supabase.auth.session()```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst {@@ -246,27 +230,25 @@ const {} = await supabase.auth.getSession()```-</TabItem>+</TabPanel></Tabs>#### Get the logged-in user<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst user = supabase.auth.user()```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst {@@ -275,27 +257,25 @@ const {const { user } = session```-</TabItem>+</TabPanel></Tabs>#### Update user data for a logged-in user<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { user, error } = await supabase.auth.update({ attributes })```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst {@@ -304,27 +284,25 @@ const {} = await supabase.auth.updateUser({ attributes })```-</TabItem>+</TabPanel></Tabs>#### Use a custom `access_token` JWT with Supabase<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { user, error } = supabase.auth.setAuth(access_token)```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {@@ -336,7 +314,7 @@ const supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {})```-</TabItem>+</TabPanel></Tabs>### Data methods@@ -348,53 +326,49 @@ Previously, these methods return inserted/updated/deleted rows by default (which#### Insert and return data<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { data, error } = await supabase.auth.insert({ new_data })```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { data, error } = await supabase.auth.insert({ new_data }).select()```-</TabItem>+</TabPanel></Tabs>#### Update and return data<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst { data, error } = await supabase.auth.update({ new_data }).eq('id', id)```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst { data, error } = await supabase.auth.update({ new_data }).eq('id', id).select()```-</TabItem>+</TabPanel></Tabs>### Realtime methods@@ -402,13 +376,12 @@ const { data, error } = await supabase.auth.update({ new_data }).eq('id', id).se#### Subscribe<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsconst userListener = supabase@@ -417,9 +390,8 @@ const userListener = supabase.subscribe()```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tsconst userListener = supabase@@ -430,31 +402,29 @@ const userListener = supabase.subscribe()```-</TabItem>+</TabPanel></Tabs>#### Unsubscribe<Tabs- groupId="version"- values={[- {label: 'Before', value: '1.x'},- {label: 'After', value: '2.x'},- ]}>--<TabItem value="1.x">+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="1.0x"+>+<TabPanel id="1.0x" label="Before">```tsuserListener.unsubscribe()```-</TabItem>--<TabItem value="2.x">+</TabPanel>+<TabPanel id="2.0x" label="After">```tssupabase.removeChannel(userListener)```-</TabItem>+</TabPanel></Tabs>diff --git a/apps/temp-docs/docs/reference/storage.mdx b/apps/temp-docs/docs/reference/storage.mdxindex b83eb44f634..028ae289b59 100644--- a/apps/temp-docs/docs/reference/storage.mdx+++ b/apps/temp-docs/docs/reference/storage.mdx@@ -2,12 +2,10 @@slug: /sidebar_position: 1id: storage-server-title: Storage Server-sidebar_label: Storage Server+title: Supabase Storage Server+sidebar_label: Supabase Storage Server----# Supabase Storage Server-An S3 compatible object storage service that integrates with Postgres.- Uses Postgres as it's datastore for storing metadatadiff --git a/apps/temp-docs/generator/legacy/components/Tab.ts b/apps/temp-docs/generator/legacy/components/Tab.tsindex a7280f6a166..d6b83c419c7 100644--- a/apps/temp-docs/generator/legacy/components/Tab.ts+++ b/apps/temp-docs/generator/legacy/components/Tab.ts@@ -1,10 +1,10 @@const Tab = (library: string, exampleText: string) =>`-<TabItem value="${library}">+<TabPanel id="${library}" label="${library}">${exampleText}-</TabItem>+</TabPanel>`.trim()export default Tabdiff --git a/apps/temp-docs/generator/templates/ApiTemplate.ts b/apps/temp-docs/generator/templates/ApiTemplate.tsindex cadb38583a1..e4b7c565e93 100644--- a/apps/temp-docs/generator/templates/ApiTemplate.ts+++ b/apps/temp-docs/generator/templates/ApiTemplate.ts@@ -6,9 +6,6 @@ title: Usagetoc_max_heading_level: 3----import Tabs from '@theme/Tabs';-import TabItem from '@theme/TabItem';-<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->@@ -117,9 +114,9 @@ import TabItem from '@theme/TabItem';#### Responses-<Tabs>+<Tabs scrollable size="small" type="underlined" defaultActiveId="<%- operation.responseList[0].responseCode %>"><% operation.responseList.forEach(function(response){ %>-<TabItem value="<%- response.responseCode %>">+<TabPanel id="<%- response.responseCode %>" label="<%- response.responseCode %>"><%- response.description %>@@ -133,7 +130,7 @@ import TabItem from '@theme/TabItem';<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->-</TabItem>+</TabPanel><% }); %></Tabs>