The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Restructure nav for reference pages
Joshen Lim4e9017ff3320
diff --git a/apps/temp-docs/components/nav/Nav.constants.ts b/apps/temp-docs/components/nav/Nav.constants.tsindex 5f0222a0072..7a65550e57a 100644--- a/apps/temp-docs/components/nav/Nav.constants.ts+++ b/apps/temp-docs/components/nav/Nav.constants.ts@@ -1,11 +1,11 @@-// [Joshen] Ideally this should be generated or automated but will do for now-// Previously, docusaurus only needed the path in reference/nav/_referenceNavbar-// as they could parse the MDX file to extract the title (?), so we need the "name"-// for now until we can do that. The only downside now is that we're manually inputing the-// title here, instead of reading from the MDX files. Let's figure out the parsing-// after getting the MVP out--// Also best to have a consistent JSON structure in an array - rather than mix of strings and objects+import SupabaseJsV1Nav from 'data/nav/supabase-js/v1'+import SupabaseJsV2Nav from 'data/nav/supabase-js/v2'+import SupabaseDartV0Nav from 'data/nav/supabase-dart/v0'+import SupabaseDartV1Nav from 'data/nav/supabase-dart/v1'+import SupabaseCLINav from 'data/nav/supabase-cli'+import SupabaseAPINav from 'data/nav/supabase-api'+import AuthServerNav from 'data/nav/auth-server'+import StorageServerNav from 'data/nav/storage-server'export interface NavMenu {[key: string]: NavMenuGroup[]@@ -23,7 +23,7 @@ export interface NavMenuSection {}export const menuItems: NavMenu = {- Docs: [+ docs: [{label: 'Overview',items: [@@ -283,7 +283,7 @@ export const menuItems: NavMenu = {],},],- Reference: [+ reference: [{label: 'Official',items: [@@ -302,4 +302,12 @@ export const menuItems: NavMenu = {],},],+ 'reference/javascript': SupabaseJsV2Nav,+ 'reference/javascript/v1': SupabaseJsV1Nav,+ 'reference/dart': SupabaseDartV1Nav,+ 'reference/dart/v0': SupabaseDartV0Nav,+ 'reference/cli': SupabaseCLINav,+ 'reference/api': SupabaseAPINav,+ 'reference/auth': AuthServerNav,+ 'reference/storage': StorageServerNav,}diff --git a/apps/temp-docs/components/nav/NavBar.tsx b/apps/temp-docs/components/nav/NavBar.tsxindex b37bc089417..e8a3f40e9be 100644--- a/apps/temp-docs/components/nav/NavBar.tsx+++ b/apps/temp-docs/components/nav/NavBar.tsx@@ -13,8 +13,8 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {}, [isDarkMode])const pageLinks = [- { text: 'Guides', link: '/' },- { text: 'Reference', link: '/reference' },+ { text: 'Guides', key: 'docs', link: '/' },+ { text: 'Reference', key: 'reference', link: '/reference' },]const toggleDarkMode = () => {@@ -57,7 +57,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {<Link href={p.link}><aclassName={`text-sm ${- currentPage === p.text ? 'text-brand-900' : 'text-scale-1100'+ currentPage.includes(p.key) ? 'text-brand-900' : 'text-scale-1100'}`}>{p.text}diff --git a/apps/temp-docs/data/nav/auth-server.ts b/apps/temp-docs/data/nav/auth-server.tsnew file mode 100644index 00000000000..8dfa1bbe110--- /dev/null+++ b/apps/temp-docs/data/nav/auth-server.ts@@ -0,0 +1,12 @@+const Nav = [+ {+ label: 'Auth',+ items: [+ { name: 'Auth Server', url: '/reference/auth', items: [] },+ { name: 'Configuration', url: '/reference/auth/config', items: [] },+ { name: 'Release Notes', url: '/reference/auth/release-notes', items: [] },+ ],+ },+]++export default Navdiff --git a/apps/temp-docs/data/nav/storage-server.ts b/apps/temp-docs/data/nav/storage-server.tsnew file mode 100644index 00000000000..8bfbe9cff46--- /dev/null+++ b/apps/temp-docs/data/nav/storage-server.ts@@ -0,0 +1,13 @@+const Nav = [+ {+ label: 'Storage',+ items: [+ { name: 'Storage Server', url: '/reference/storage', items: [] },+ { name: 'Usage', url: '/reference/storage/usage', items: [] },+ { name: 'Configuration', url: '/reference/storage/config', items: [] },+ { name: 'Release Notes', url: '/reference/storage/release-notes', items: [] },+ ],+ },+]++export default Navdiff --git a/apps/temp-docs/data/nav/supabase-api.ts b/apps/temp-docs/data/nav/supabase-api.tsnew file mode 100644index 00000000000..e0bad91376b--- /dev/null+++ b/apps/temp-docs/data/nav/supabase-api.ts@@ -0,0 +1,12 @@+const Nav = [+ {+ label: 'API',+ items: [+ { name: 'Supabase API', url: '/reference/api', items: [] },+ { name: 'Usage', url: '/reference/api/usage', items: [] },+ { name: 'Release Notes', url: '/reference/api/release-notes', items: [] },+ ],+ },+]++export default Navdiff --git a/apps/temp-docs/data/nav/supabase-cli.ts b/apps/temp-docs/data/nav/supabase-cli.tsnew file mode 100644index 00000000000..65a5bce9419--- /dev/null+++ b/apps/temp-docs/data/nav/supabase-cli.ts@@ -0,0 +1,13 @@+const Nav = [+ {+ label: 'CLI',+ items: [+ { name: 'Supabase CLI', url: '/reference/cli', items: [] },+ { name: 'Usage', url: '/reference/cli/usage', items: [] },+ { name: 'Configuration', url: '/reference/cli/config', items: [] },+ { name: 'Release Notes', url: '/reference/cli/release-notes', items: [] },+ ],+ },+]++export default Navdiff --git a/apps/temp-docs/data/nav/supabase-dart/v0.ts b/apps/temp-docs/data/nav/supabase-dart/v0.tsnew file mode 100644index 00000000000..bb37fde5df1--- /dev/null+++ b/apps/temp-docs/data/nav/supabase-dart/v0.ts@@ -0,0 +1,3 @@+const Nav = []++export default Navdiff --git a/apps/temp-docs/data/nav/supabase-dart/v1.ts b/apps/temp-docs/data/nav/supabase-dart/v1.tsnew file mode 100644index 00000000000..bb37fde5df1--- /dev/null+++ b/apps/temp-docs/data/nav/supabase-dart/v1.ts@@ -0,0 +1,3 @@+const Nav = []++export default Navdiff --git a/apps/temp-docs/data/nav/supabase-js/v1.ts b/apps/temp-docs/data/nav/supabase-js/v1.tsnew file mode 100644index 00000000000..2820eb92b22--- /dev/null+++ b/apps/temp-docs/data/nav/supabase-js/v1.ts@@ -0,0 +1,172 @@+const Nav = [+ {+ label: 'Getting Started',+ items: [+ { name: 'Supabase Javascript Library', url: '/reference/javascript/v1', items: [] },+ { name: 'Installing', url: '/reference/javascript/v1/installing', items: [] },+ { name: 'Initializing', url: '/reference/javascript/v1/initializing', items: [] },+ { name: 'Generating Types', url: '/reference/javascript/v1/generating-types', items: [] },+ ],+ },+ {+ label: 'Auth',+ items: [+ { name: 'signUp()', url: '/reference/javascript/v1/auth-signup', items: [] },+ { name: 'signIn()', url: '/reference/javascript/v1/auth-signin', items: [] },+ { name: 'signOut()', url: '/reference/javascript/v1/auth-signout', items: [] },+ { name: 'session()', url: '/reference/javascript/v1/auth-session', items: [] },+ { name: 'user()', url: '/reference/javascript/v1/auth-user', items: [] },+ { name: 'update()', url: '/reference/javascript/v1/auth-update', items: [] },+ { name: 'setAuth()', url: '/reference/javascript/v1/auth-setauth', items: [] },+ {+ name: 'onAuthStateChange()',+ url: '/reference/javascript/v1/auth-onauthstatechanged',+ items: [],+ },+ { name: 'getUser()', url: '/reference/javascript/v1/auth-api-getuser', items: [] },+ {+ name: 'resetPasswordForEmail()',+ url: '/reference/javascript/v1/auth-api-resetpasswordforemail',+ items: [],+ },+ ],+ },+ {+ label: 'Auth (Server Only)',+ items: [+ { name: 'listUsers()', url: '/reference/javascript/v1/auth-api-listusers', items: [] },+ { name: 'createUser()', url: '/reference/javascript/v1/auth-api-createuser', items: [] },+ { name: 'deleteUser()', url: '/reference/javascript/v1/auth-api-deleteuser', items: [] },+ {+ name: 'generateLink()',+ url: '/reference/javascript/v1/auth-api-generatelink',+ items: [],+ },+ {+ name: 'inviteUserByEmail()',+ url: '/reference/javascript/v1/auth-api-inviteuserbyemail',+ items: [],+ },+ {+ name: 'sendMobileOTP()',+ url: '/reference/javascript/v1/auth-api-sendmobileotp',+ items: [],+ },+ {+ name: 'updateUserById()',+ url: '/reference/javascript/v1/auth-api-updateuserbyid',+ items: [],+ },+ ],+ },+ {+ label: 'Functions',+ items: [{ name: 'invoke()', url: '/reference/javascript/v1/invoke', items: [] }],+ },+ {+ label: 'Database',+ items: [+ { name: 'Fetch data: select()', url: '/reference/javascript/v1/select', items: [] },+ { name: 'Create data: insert()', url: '/reference/javascript/v1/insert', items: [] },+ { name: 'Modify data: update()', url: '/reference/javascript/v1/update', items: [] },+ { name: 'Upsert data: upsert()', url: '/reference/javascript/v1/upsert', items: [] },+ { name: 'Delete data: delete()', url: '/reference/javascript/v1/delete', items: [] },+ { name: 'Postgres functions: rpc()', url: '/reference/javascript/v1/rpc', items: [] },+ ],+ },+ {+ label: 'Realtime',+ items: [+ { name: 'on().subscribe()', url: '/reference/javascript/v1/subscribe', items: [] },+ {+ name: 'removeSubscription()',+ url: '/reference/javascript/v1/removesubscription',+ items: [],+ },+ {+ name: 'removeAllSubscriptions()',+ url: '/reference/javascript/v1/removeallsubscriptions',+ items: [],+ },+ { name: 'getSubscriptions()', url: '/reference/javascript/v1/getsubscriptions', items: [] },+ ],+ },+ {+ label: 'Storage',+ items: [+ { name: 'createBucket()', url: '/reference/javascript/v1/storage-createbucket', items: [] },+ { name: 'getBucket()', url: '/reference/javascript/v1/storage-getbucket', items: [] },+ { name: 'listBuckets()', url: '/reference/javascript/v1/storage-listbuckets', items: [] },+ { name: 'updateBucket()', url: '/reference/javascript/v1/storage-updatebucket', items: [] },+ { name: 'deleteBucket()', url: '/reference/javascript/v1/storage-deletebucket', items: [] },+ { name: 'emptyBucket()', url: '/reference/javascript/v1/storage-emptybucket', items: [] },+ { name: 'from.upload()', url: '/reference/javascript/v1/storage-from-upload', items: [] },+ { name: 'from.download()', url: '/reference/javascript/v1/storage-from-download', items: [] },+ { name: 'from.list()', url: '/reference/javascript/v1/storage-from-list', items: [] },+ { name: 'from.update()', url: '/reference/javascript/v1/storage-from-update', items: [] },+ { name: 'from.move()', url: '/reference/javascript/v1/storage-from-move', items: [] },+ { name: 'from.copy()', url: '/reference/javascript/v1/storage-from-copy', items: [] },+ { name: 'from.remove()', url: '/reference/javascript/v1/storage-from-remove', items: [] },+ {+ name: 'from.createSignedUrl()',+ url: '/reference/javascript/v1/storage-from-createsignedurl',+ items: [],+ },+ {+ name: 'from.createSignedUrls()',+ url: '/reference/javascript/v1/storage-from-createsignedurls',+ items: [],+ },+ {+ name: 'from.getPublicUrl()',+ url: '/reference/javascript/v1/storage-from-getpublicurl',+ items: [],+ },+ ],+ },+ {+ label: 'Filters',+ items: [+ { name: 'Using Filters', url: '/reference/javascript/using-filters', items: [] },+ { name: 'eq()', url: '/reference/javascript/eq', items: [] },+ { name: 'neq()', url: '/reference/javascript/neq', items: [] },+ { name: 'gt()', url: '/reference/javascript/gt', items: [] },+ { name: 'gte()', url: '/reference/javascript/gte', items: [] },+ { name: 'lt()', url: '/reference/javascript/lt', items: [] },+ { name: 'lte()', url: '/reference/javascript/lte', items: [] },+ { name: 'like()', url: '/reference/javascript/like', items: [] },+ { name: 'ilike()', url: '/reference/javascript/ilike', items: [] },+ { name: 'is()', url: '/reference/javascript/is', items: [] },+ { name: 'in()', url: '/reference/javascript/in', items: [] },+ { name: 'contains()', url: '/reference/javascript/contains', items: [] },+ { name: 'containedBy()', url: '/reference/javascript/containedby', items: [] },+ { name: 'rangeGt()', url: '/reference/javascript/rangegt', items: [] },+ { name: 'rangeGte()', url: '/reference/javascript/rangegte', items: [] },+ { name: 'rangeLt()', url: '/reference/javascript/rangelt', items: [] },+ { name: 'rangeLte()', url: '/reference/javascript/rangelte', items: [] },+ { name: 'rangeAdjacent()', url: '/reference/javascript/rangeadjacent', items: [] },+ { name: 'overlaps()', url: '/reference/javascript/overlaps', items: [] },+ { name: 'textSearch()', url: '/reference/javascript/overlaps', items: [] },+ { name: 'match()', url: '/reference/javascript/match', items: [] },+ { name: 'not()', url: '/reference/javascript/not', items: [] },+ { name: 'or()', url: '/reference/javascript/or', items: [] },+ { name: 'filter()', url: '/reference/javascript/filter', items: [] },+ ],+ },+ {+ label: 'Modifiers',+ items: [+ { name: 'Using Modifiers', url: '/reference/javascript/using-modifiers', items: [] },+ { name: 'select()', url: '/reference/javascript/db-modifiers-select', items: [] },+ { name: 'order()', url: '/reference/javascript/order', items: [] },+ { name: 'limit()', url: '/reference/javascript/limit', items: [] },+ { name: 'range()', url: '/reference/javascript/range', items: [] },+ { name: 'abortSignal()', url: '/reference/javascript/db-abortsignal', items: [] },+ { name: 'single()', url: '/reference/javascript/single', items: [] },+ { name: 'maybeSingle()', url: '/reference/javascript/maybesingle', items: [] },+ { name: 'csv()', url: '/reference/javascript/db-csv', items: [] },+ ],+ },+]++export default Navdiff --git a/apps/temp-docs/data/nav/supabase-js/v2.ts b/apps/temp-docs/data/nav/supabase-js/v2.tsnew file mode 100644index 00000000000..f73f147731f--- /dev/null+++ b/apps/temp-docs/data/nav/supabase-js/v2.ts@@ -0,0 +1,166 @@+const Nav = [+ {+ label: 'Getting Started',+ items: [+ { name: 'Supabase Javascript Library', url: '/reference/javascript', items: [] },+ { name: 'Installing', url: '/reference/javascript/installing', items: [] },+ { name: 'Initializing', url: '/reference/javascript/initializing', items: [] },+ { name: 'Typescript Support', url: '/reference/javascript/typescript-support', items: [] },+ { name: 'Release Notes', url: '/reference/javascript/release-notes', items: [] },+ {+ name: 'Upgrading to supabase-js v2',+ url: '/reference/javascript/upgrade-guide',+ items: [],+ },+ ],+ },+ {+ label: 'Auth',+ items: [+ { name: 'signUp()', url: '/reference/javascript/auth-signup', items: [] },+ {+ name: 'signInWithPassword()',+ url: '/reference/javascript/auth-signinwithpassword',+ items: [],+ },+ { name: 'signInWithOtp()', url: '/reference/javascript/auth-signinwithotp', items: [] },+ { name: 'signInWithOAuth()', url: '/reference/javascript/auth-signinwithoauth', items: [] },+ { name: 'signOut()', url: '/reference/javascript/auth-signout', items: [] },+ { name: 'verifyOtp()', url: '/reference/javascript/auth-verifyotp', items: [] },+ { name: 'getSession()', url: '/reference/javascript/auth-getsession', items: [] },+ { name: 'getUser()', url: '/reference/javascript/auth-getuser', items: [] },+ { name: 'updateUser()', url: '/reference/javascript/auth-updateuser', items: [] },+ { name: 'setSession()', url: '/reference/javascript/auth-setSession', items: [] },+ {+ name: 'resetPasswordForEmail()',+ url: '/reference/javascript/auth-resetpasswordforemail',+ items: [],+ },+ ],+ },+ {+ label: 'Auth (Server Only)',+ items: [+ { name: 'Overview', url: '/reference/javascript/supabase-auth-admin-api', items: [] },+ { name: 'listUsers()', url: '/reference/javascript/auth-admin-listusers', items: [] },+ { name: 'createUser()', url: '/reference/javascript/auth-admin-createuser', items: [] },+ { name: 'deleteUser()', url: '/reference/javascript/auth-admin-deleteuser', items: [] },+ { name: 'generateLink()', url: '/reference/javascript/auth-admin-generatelink', items: [] },+ {+ name: 'inviteUserByEmail()',+ url: '/reference/javascript/auth-admin-inviteuserbyemail',+ items: [],+ },+ { name: 'getUserById()', url: '/reference/javascript/auth-admin-getuserbyid', items: [] },+ {+ name: 'updateUserById()',+ url: '/reference/javascript/auth-admin-updateuserbyid',+ items: [],+ },+ ],+ },+ {+ label: 'Database',+ items: [+ { name: 'Fetch data: select()', url: '/reference/javascript/select', items: [] },+ { name: 'Create data: insert()', url: '/reference/javascript/insert', items: [] },+ { name: 'Modify data: update()', url: '/reference/javascript/update', items: [] },+ { name: 'Upsert data: upsert()', url: '/reference/javascript/upsert', items: [] },+ { name: 'Delete data: delete()', url: '/reference/javascript/delete', items: [] },+ { name: 'Postgres functions: rpc()', url: '/reference/javascript/rpc', items: [] },+ {+ name: 'Filters',+ url: undefined,+ items: [+ { name: 'Using Filters', url: '/reference/javascript/using-filters', items: [] },+ { name: 'eq()', url: '/reference/javascript/eq', items: [] },+ { name: 'neq()', url: '/reference/javascript/neq', items: [] },+ { name: 'gt()', url: '/reference/javascript/gt', items: [] },+ { name: 'gte()', url: '/reference/javascript/gte', items: [] },+ { name: 'lt()', url: '/reference/javascript/lt', items: [] },+ { name: 'lte()', url: '/reference/javascript/lte', items: [] },+ { name: 'like()', url: '/reference/javascript/like', items: [] },+ { name: 'ilike()', url: '/reference/javascript/ilike', items: [] },+ { name: 'is()', url: '/reference/javascript/is', items: [] },+ { name: 'in()', url: '/reference/javascript/in', items: [] },+ { name: 'contains()', url: '/reference/javascript/contains', items: [] },+ { name: 'containedBy()', url: '/reference/javascript/containedby', items: [] },+ { name: 'rangeGt()', url: '/reference/javascript/rangegt', items: [] },+ { name: 'rangeGte()', url: '/reference/javascript/rangegte', items: [] },+ { name: 'rangeLt()', url: '/reference/javascript/rangelt', items: [] },+ { name: 'rangeLte()', url: '/reference/javascript/rangelte', items: [] },+ { name: 'rangeAdjacent()', url: '/reference/javascript/rangeadjacent', items: [] },+ { name: 'overlaps()', url: '/reference/javascript/overlaps', items: [] },+ { name: 'textSearch()', url: '/reference/javascript/overlaps', items: [] },+ { name: 'match()', url: '/reference/javascript/match', items: [] },+ { name: 'not()', url: '/reference/javascript/not', items: [] },+ { name: 'or()', url: '/reference/javascript/or', items: [] },+ { name: 'filter()', url: '/reference/javascript/filter', items: [] },+ ],+ },+ {+ name: 'Modifiers',+ url: undefined,+ items: [+ { name: 'Using Modifiers', url: '/reference/javascript/using-modifiers', items: [] },+ { name: 'select()', url: '/reference/javascript/db-modifiers-select', items: [] },+ { name: 'order()', url: '/reference/javascript/order', items: [] },+ { name: 'limit()', url: '/reference/javascript/limit', items: [] },+ { name: 'range()', url: '/reference/javascript/range', items: [] },+ { name: 'abortSignal()', url: '/reference/javascript/db-abortsignal', items: [] },+ { name: 'single()', url: '/reference/javascript/single', items: [] },+ { name: 'maybeSingle()', url: '/reference/javascript/maybesingle', items: [] },+ { name: 'csv()', url: '/reference/javascript/db-csv', items: [] },+ ],+ },+ ],+ },+ {+ label: 'Functions',+ items: [{ name: 'invoke()', url: '/reference/javascript/invoke', items: [] }],+ },+ {+ label: 'Realtime',+ items: [+ { name: 'on().subscribe()', url: '/reference/javascript/subscribe', items: [] },+ { name: 'removeChannel()', url: '/reference/javascript/removechannel', items: [] },+ { name: 'removeAllChannels()', url: '/reference/javascript/removeallchannels', items: [] },+ { name: 'getChannels()', url: '/reference/javascript/getchannels', items: [] },+ ],+ },+ {+ label: 'Storage',+ items: [+ { name: 'createBucket()', url: '/reference/javascript/storage-createbucket', items: [] },+ { name: 'getBucket()', url: '/reference/javascript/storage-getbucket', items: [] },+ { name: 'listBuckets()', url: '/reference/javascript/storage-listbuckets', items: [] },+ { name: 'updateBucket()', url: '/reference/javascript/storage-updatebucket', items: [] },+ { name: 'deleteBucket()', url: '/reference/javascript/storage-deletebucket', items: [] },+ { name: 'emptyBucket()', url: '/reference/javascript/storage-emptybucket', items: [] },+ { name: 'from.upload()', url: '/reference/javascript/storage-from-upload', items: [] },+ { name: 'from.download()', url: '/reference/javascript/storage-from-download', items: [] },+ { name: 'from.list()', url: '/reference/javascript/storage-from-list', items: [] },+ { name: 'from.update()', url: '/reference/javascript/storage-from-update', items: [] },+ { name: 'from.move()', url: '/reference/javascript/storage-from-move', items: [] },+ { name: 'from.copy()', url: '/reference/javascript/storage-from-copy', items: [] },+ { name: 'from.remove()', url: '/reference/javascript/storage-from-remove', items: [] },+ {+ name: 'from.createSignedUrl()',+ url: '/reference/javascript/storage-from-createsignedurl',+ items: [],+ },+ {+ name: 'from.createSignedUrls()',+ url: '/reference/javascript/storage-from-createsignedurls',+ items: [],+ },+ {+ name: 'from.getPublicUrl()',+ url: '/reference/javascript/storage-from-getpublicurl',+ items: [],+ },+ ],+ },+]++export default Navdiff --git a/apps/temp-docs/docs/javascript/.gitkeep b/apps/temp-docs/docs/javascript/.gitkeepdeleted file mode 100644index e69de29bb2d..00000000000diff --git a/apps/temp-docs/docs/javascript/auth-api-createuser.mdx b/apps/temp-docs/docs/javascript/auth-api-createuser.mdxdeleted file mode 100644index 95eb40e21dd..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-createuser.mdx+++ /dev/null@@ -1,97 +0,0 @@-----id: auth-api-createuser-title: "createUser()"-slug: auth-api-createuser-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Creates a new user.--This function should only be called on a server. Never expose your `service_role` key in the browser.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth.api.createUser({- name: 'Yoda'-})-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- attributes- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>UserAttributes</code>- </span>- </h4>- <div class="method-list-item-description">--The data you want to create the user with.-- </div>--</li>--</ul>---## Notes--- Requires a `service_role` key.-- This function should be called on a server. Never expose your `service_role` key in the browser.-----------## Examples--### Create a new user.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth.api.createUser({- name: 'Yoda'-})-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-api-deleteuser.mdx b/apps/temp-docs/docs/javascript/auth-api-deleteuser.mdxdeleted file mode 100644index 4cd5536d508..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-deleteuser.mdx+++ /dev/null@@ -1,120 +0,0 @@-----id: auth-api-deleteuser-title: "deleteUser()"-slug: auth-api-deleteuser-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Delete a user. Requires a `service_role` key.--This function should only be called on a server. Never expose your `service_role` key in the browser.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth.api.deleteUser(- '715ed5db-f090-4b8c-a067-640ecee36aa0',- 'YOUR_SERVICE_ROLE_KEY'-)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- uid- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The user uid you want to remove.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- jwt- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--A valid JWT. Must be a full-access API key (e.g. service_role key).-- </div>--</li>--</ul>---## Notes--- Requires a `service_role` key.-- This function should be called on a server. Never expose your `service_role` key in the browser.-----------## Examples--### Remove a user completely.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth.api.deleteUser(- '715ed5db-f090-4b8c-a067-640ecee36aa0',- 'YOUR_SERVICE_ROLE_KEY'-)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-api-generatelink.mdx b/apps/temp-docs/docs/javascript/auth-api-generatelink.mdxdeleted file mode 100644index bfb612aef93..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-generatelink.mdx+++ /dev/null@@ -1,189 +0,0 @@-----id: auth-api-generatelink-title: "generateLink()"-slug: auth-api-generatelink-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Generates links to be sent via email or other.----## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- type- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>signup</code> | <code>magiclink</code> | <code>recovery</code> | <code>invite</code>- </span>- </h4>- <div class="method-list-item-description">--The link type ("signup" or "magiclink" or "recovery" or "invite").-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The user's email.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- data- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- password- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.-----------## Examples--### Generate invite link.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth.api.generateLink({- type: 'invite',- email: '[email protected]'-})-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-api-getuser.mdx b/apps/temp-docs/docs/javascript/auth-api-getuser.mdxdeleted file mode 100644index 0d10b1bbca8..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-getuser.mdx+++ /dev/null@@ -1,96 +0,0 @@-----id: auth-api-getuser-title: "getUser()"-slug: auth-api-getuser-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Gets the user details.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.api.getUser(- 'ACCESS_TOKEN_JWT',-)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- jwt- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--A valid, logged-in JWT.-- </div>--</li>--</ul>---## Notes--- Fetches the user object from the database instead of local storage.-- Note that user() fetches the user object from local storage which might not be the most updated.-- Requires the user's access_token.-----------## Examples--### Fetch the user object using the access_token jwt.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.api.getUser(- 'ACCESS_TOKEN_JWT',-)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-api-inviteuserbyemail.mdx b/apps/temp-docs/docs/javascript/auth-api-inviteuserbyemail.mdxdeleted file mode 100644index 1ed7271198f..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-inviteuserbyemail.mdx+++ /dev/null@@ -1,146 +0,0 @@-----id: auth-api-inviteuserbyemail-title: "inviteUserByEmail()"-slug: auth-api-inviteuserbyemail-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Sends an invite link to an email address.----## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The email address of the user.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- data- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.-----------## Examples--### Basic example.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth- .api- .inviteUserByEmail('[email protected]')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-api-resetpasswordforemail.mdx b/apps/temp-docs/docs/javascript/auth-api-resetpasswordforemail.mdxdeleted file mode 100644index 68ad2d890fc..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-resetpasswordforemail.mdx+++ /dev/null@@ -1,125 +0,0 @@-----id: auth-api-resetpasswordforemail-title: "resetPasswordForEmail()"-slug: auth-api-resetpasswordforemail-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Sends a reset request to an email address.----## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The email address of the user.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.-----------## Examples--### Basic example.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth- .api- .resetPasswordForEmail('[email protected]')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-api-sendmobileotp.mdx b/apps/temp-docs/docs/javascript/auth-api-sendmobileotp.mdxdeleted file mode 100644index 671a54b7545..00000000000--- a/apps/temp-docs/docs/javascript/auth-api-sendmobileotp.mdx+++ /dev/null@@ -1,79 +0,0 @@-----id: auth-api-sendmobileotp-title: "sendMobileOTP()"-slug: auth-api-sendmobileotp-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Sends a mobile OTP via SMS. Will register the account if it doesn't already exist----## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- phone- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The user's phone number WITH international prefix-- </div>--</li>--</ul>---## Notes--- Requires a `service_role` key.-- This function should only be called on a server. Never expose your `service_role` key in the browser.-----------## Examples--### Basic example.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data: user, error } = await supabase.auth- .api- .sendMobileOTP('12345879')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-onauthstatechange.mdx b/apps/temp-docs/docs/javascript/auth-onauthstatechange.mdxdeleted file mode 100644index baa6bd540d5..00000000000--- a/apps/temp-docs/docs/javascript/auth-onauthstatechange.mdx+++ /dev/null@@ -1,93 +0,0 @@-----id: auth-onauthstatechange-title: "onAuthStateChange()"-slug: auth-onauthstatechange-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Receive a notification every time an auth event happens.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-supabase.auth.onAuthStateChange((event, session) => {- console.log(event, session)-})-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- callback- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>---------------## Examples--### Listen to auth changes----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-supabase.auth.onAuthStateChange((event, session) => {- console.log(event, session)-})-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-session.mdx b/apps/temp-docs/docs/javascript/auth-session.mdxdeleted file mode 100644index fb1f1287b30..00000000000--- a/apps/temp-docs/docs/javascript/auth-session.mdx+++ /dev/null@@ -1,65 +0,0 @@-----id: auth-session-title: "session()"-slug: auth-session-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Returns the session data, if there is an active session.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const session = supabase.auth.session()-```---</TabsPanel>--</Tabs>------------------## Examples--### Get the session data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const session = supabase.auth.session()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-setauth.mdx b/apps/temp-docs/docs/javascript/auth-setauth.mdxdeleted file mode 100644index 4a86aaffe4f..00000000000--- a/apps/temp-docs/docs/javascript/auth-setauth.mdx+++ /dev/null@@ -1,160 +0,0 @@-----id: auth-setauth-title: "setAuth()"-slug: auth-setauth-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-function apiFunction(req, res) {- // Assuming the access token was sent as a header "X-Supabase-Auth"- const { access_token } = req.get('X-Supabase-Auth')-- // You can now use it within a Supabase Client- const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key")- const { user, error } = supabase.auth.setAuth(access_token)-- // This client will now send requests as this user- const { data } = await supabase.from('your_table').select()-}-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- access_token- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--a jwt access token-- </div>--</li>--</ul>---------------## Examples--### Basic example.--This is most useful on server-side functions where you cannot log the user in, but have access to the user's access token.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-function apiFunction(req, res) {- // Assuming the access token was sent as a header "X-Supabase-Auth"- const { access_token } = req.get('X-Supabase-Auth')-- // You can now use it within a Supabase Client- const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key")- const { user, error } = supabase.auth.setAuth(access_token)-- // This client will now send requests as this user- const { data } = await supabase.from('your_table').select()-}-```---</TabsPanel>--</Tabs>--### With Express.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js--/**-* Make a request from the client to your server function-*/-async function makeApiRequest() {- const token = newClient.session()?.access_token-- await fetch('https://example.com/withAuth', {- method: 'GET',- withCredentials: true,- credentials: 'include',- headers: {- 'Content-Type': 'application/json'- 'Authorization': bearer, // Your own auth- 'X-Supabase-Auth': token, // Set the Supabase user- }- })-}--/**-* Use the Auth token in your server-side function.-*/-async function apiFunction(req, res) {- const { access_token } = req.get('X-Supabase-Auth')-- // You can now use it within a Supabase Client- const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key")- const { user, error } = supabase.auth.setAuth(access_token)-- // This client will now send requests as this user- const { data } = await supabase.from('your_table').select()-}-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-signin.mdx b/apps/temp-docs/docs/javascript/auth-signin.mdxdeleted file mode 100644index 40acefd8e88..00000000000--- a/apps/temp-docs/docs/javascript/auth-signin.mdx+++ /dev/null@@ -1,278 +0,0 @@-----id: auth-signin-title: 'signIn()'-slug: auth-signin-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs'-import TabsPanel from '@theme/TabsPanel'--Log in an existing user, or login via a third-party provider.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signIn({- email: '[email protected]',- password: 'example-password',-})-```--</TabsPanel>--</Tabs>--## Parameters--<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>UserCredentials</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- scopes- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>--## Notes--- A user can sign up either via email or OAuth.-- If you provide `email` without a `password`, the user will be sent a magic link.-- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)-- Specifying a `provider` will open the browser to the relevant login page.--## Examples--### Sign in with email.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signIn({- email: '[email protected]',- password: 'example-password',-})-```--</TabsPanel>--</Tabs>--### Sign in with magic link.--If no password is provided, the user will be sent a "magic link" to their email address, which they can click to open your application with a valid session. By default, a given user can only request a Magic Link once every 60 seconds.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signIn({- email: '[email protected]',-})-```--</TabsPanel>--</Tabs>--### Sign in using third-party providers.--Supabase supports OAuth logins.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signIn({- // provider can be 'github', 'google', 'gitlab', or 'bitbucket'- provider: 'github',-})-```--</TabsPanel>--</Tabs>--### Sign in with redirect.--Sometimes you want to control where the user is redirected to after they are logged in. Supabase supports this for-any URL path on your website (the URL must either be on the same domain as your Site URL [see Auth>Settings in dashboard], or must match one of the Additional Redirect URLs [also in Auth>Settings]).--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signIn(- {- provider: 'github',- },- {- redirectTo: 'https://example.com/welcome',- }-)-```--</TabsPanel>--</Tabs>--### Sign in with scopes.--If you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token.-You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signIn(- {- provider: 'github',- },- {- scopes: 'repo gist notifications',- }-)-const oAuthToken = session.provider_token // use to access provider API-```--</TabsPanel>--</Tabs>--### Sign in using a refresh token (e.g. in React Native).--If you are completing a sign up or login in a React Native app you can pass the refresh token obtained from the provider to obtain a session.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// An example using Expo's `AuthSession`-const redirectUri = AuthSession.makeRedirectUri({ useProxy: false })-const provider = 'google'--AuthSession.startAsync({- authUrl: `https://MYSUPABASEAPP.supabase.co/auth/v1/authorize?provider=${provider}&redirect_to=${redirectUri}`,- returnUrl: redirectUri,-}).then(async (response: any) => {- if (!response) return- const { user, session, error } = await supabase.auth.signIn({- refreshToken: response.params?.refresh_token,- })-})-```--</TabsPanel>--</Tabs>diff --git a/apps/temp-docs/docs/javascript/auth-signout.mdx b/apps/temp-docs/docs/javascript/auth-signout.mdxdeleted file mode 100644index caa66f506bf..00000000000--- a/apps/temp-docs/docs/javascript/auth-signout.mdx+++ /dev/null@@ -1,68 +0,0 @@-----id: auth-signout-title: "signOut()"-slug: auth-signout-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Inside a browser context, `signOut()` will remove the logged in user from the browser session-and log them out - removing all items from localstorage and then trigger a "SIGNED_OUT" event.--For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { error } = await supabase.auth.signOut()-```---</TabsPanel>--</Tabs>------------------## Examples--### Sign out----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { error } = await supabase.auth.signOut()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-signup.mdx b/apps/temp-docs/docs/javascript/auth-signup.mdxdeleted file mode 100644index 6a153f3b576..00000000000--- a/apps/temp-docs/docs/javascript/auth-signup.mdx+++ /dev/null@@ -1,185 +0,0 @@-----id: auth-signup-title: 'signUp()'-slug: auth-signup-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs'-import TabsPanel from '@theme/TabsPanel'--Creates a new user.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signUp({- email: '[email protected]',- password: 'example-password',-})-```--</TabsPanel>--</Tabs>--## Parameters--<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>UserCredentials</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- data- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>--## Notes--- By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)-- If "Email Confirmations" is turned on, a `user` is returned but `session` will be null-- If "Email Confirmations" is turned off, both a `user` and a `session` will be returned-- When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)-- If signUp() is called for an existing confirmed user:- - If "Enable email confirmations" is enabled on the "Authentication" -> "Settings" page, an obfuscated / fake user object will be returned.- - If "Enable email confirmations" is disabled, an error with a message "User already registered" will be returned.-- To check if a user already exists, refer to getUser().--## Examples--### Sign up.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signUp({- email: '[email protected]',- password: 'example-password',-})-```--</TabsPanel>--</Tabs>--### Sign up with additional user meta data.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, session, error } = await supabase.auth.signUp(- {- email: '[email protected]',- password: 'example-password',- },- {- data: {- first_name: 'John',- age: 27,- },- }-)-```--</TabsPanel>--</Tabs>--### Sign up with third-party providers.--You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers) method.diff --git a/apps/temp-docs/docs/javascript/auth-update.mdx b/apps/temp-docs/docs/javascript/auth-update.mdxdeleted file mode 100644index bc7f9f6124a..00000000000--- a/apps/temp-docs/docs/javascript/auth-update.mdx+++ /dev/null@@ -1,137 +0,0 @@-----id: auth-update-title: "update()"-slug: auth-update-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Updates user data, if there is a logged in user.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.update({email: '[email protected]'})-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- attributes- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>UserAttributes</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>---## Notes--User email: Email updates will send an email to both the user's current and new email with a confirmation link by default.-To toggle this behavior off and only send a single confirmation link to the new email, toggle "Double confirm email changes" under "Authentication" -> "Settings" off.---User metadata: It's generally better to store user data in a table inside your public schema (i.e. `public.users`).-Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.-----------## Examples--### Update email for authenticated user.--Sends a "Confirm Email Change" email to the new email address.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.update({email: '[email protected]'})-```---</TabsPanel>--</Tabs>--### Update password for authenticated user.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.update({password: 'new password'})-```---</TabsPanel>--</Tabs>--### Update a user's metadata.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.update({- data: { hello: 'world' }-})-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/auth-user.mdx b/apps/temp-docs/docs/javascript/auth-user.mdxdeleted file mode 100644index f0875580371..00000000000--- a/apps/temp-docs/docs/javascript/auth-user.mdx+++ /dev/null@@ -1,68 +0,0 @@-----id: auth-user-title: "user()"-slug: auth-user-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Inside a browser context, `user()` will return the user data, if there is a logged in user.--For server-side management, you can get a user through `auth.api.getUserByCookie()`--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const user = supabase.auth.user()-```---</TabsPanel>--</Tabs>------## Notes--This method gets the user object from memory.-----------## Examples--### Get the logged in user----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const user = supabase.auth.user()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/containedby.mdx b/apps/temp-docs/docs/javascript/containedby.mdxdeleted file mode 100644index 6e783d53d71..00000000000--- a/apps/temp-docs/docs/javascript/containedby.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: containedby-title: ".containedBy()"-slug: containedby-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, main_exports')- .containedBy('main_exports', ['cars', 'food', 'machine'])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, main_exports')- .containedBy('main_exports', ['cars', 'food', 'machine'])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .containedBy('main_exports', ['orks', 'surveillance', 'evil'])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .containedBy('main_exports', ['cars', 'food', 'machine'])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .containedBy('main_exports', ['cars', 'food', 'machine'])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/contains.mdx b/apps/temp-docs/docs/javascript/contains.mdxdeleted file mode 100644index 9d46db6f9db..00000000000--- a/apps/temp-docs/docs/javascript/contains.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: contains-title: ".contains()"-slug: contains-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, main_exports')- .contains('main_exports', ['oil'])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, main_exports')- .contains('main_exports', ['oil'])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .contains('main_exports', ['oil'])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .contains('main_exports', ['oil'])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .contains('main_exports', ['oil'])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/delete-user.mdx b/apps/temp-docs/docs/javascript/delete-user.mdxdeleted file mode 100644index cb370409907..00000000000--- a/apps/temp-docs/docs/javascript/delete-user.mdx+++ /dev/null@@ -1,118 +0,0 @@-----id: delete-user-title: "Delete User"-slug: delete-user-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Delete a user. Requires a `service_role` key.--This function should only be called on a server. Never expose your `service_role` key in the browser.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.api.deleteUser(- '715ed5db-f090-4b8c-a067-640ecee36aa0',- 'YOUR_SERVICE_ROLE_KEY'-)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- uid- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The user uid you want to remove.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- jwt- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--A valid JWT. Must be a full-access API key (e.g. service_role key).-- </div>--</li>--</ul>---------------## Examples--### Remove a user completely.----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { user, error } = await supabase.auth.api.deleteUser(- '715ed5db-f090-4b8c-a067-640ecee36aa0',- 'YOUR_SERVICE_ROLE_KEY'-)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/delete.mdx b/apps/temp-docs/docs/javascript/delete.mdxdeleted file mode 100644index 75b26387576..00000000000--- a/apps/temp-docs/docs/javascript/delete.mdx+++ /dev/null@@ -1,147 +0,0 @@-----id: delete-title: "Delete data: delete()"-slug: delete-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Performs a DELETE on the table.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .match({ id: 666 })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- returning- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>minimal</code> | <code>representation</code>- </span>- </h4>- <div class="method-list-item-description">--If `true`, return the deleted row(s) in the response.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- count- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>null</code> | <code>exact</code> | <code>planned</code> | <code>estimated</code>- </span>- </h4>- <div class="method-list-item-description">--Count algorithm to use to count rows in a table.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- `delete()` should always be combined with [filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to delete.-- If you use `delete()` with filters and you have- [RLS](/docs/learn/auth-deep-dive/auth-row-level-security) enabled, only- rows visible through `SELECT` policies are deleted. Note that by default- no rows are visible, so you need at least one `SELECT`/`ALL` policy that- makes the rows visible.-----------## Examples--### Delete records----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .match({ id: 666 })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/eq.mdx b/apps/temp-docs/docs/javascript/eq.mdxdeleted file mode 100644index 57a536977bf..00000000000--- a/apps/temp-docs/docs/javascript/eq.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: eq-title: ".eq()"-slug: eq-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` exactly matches the-specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .eq('name', 'The shire')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .eq('name', 'The shire')-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .eq('name', 'San Francisco')-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .eq('name', 'Mordor')-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .eq('name', 'San Francisco')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/filter.mdx b/apps/temp-docs/docs/javascript/filter.mdxdeleted file mode 100644index 4dcd39afe94..00000000000--- a/apps/temp-docs/docs/javascript/filter.mdx+++ /dev/null@@ -1,230 +0,0 @@-----id: filter-title: ".filter()"-slug: filter-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose `column` satisfies the filter.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .filter('name', 'in', '("Paris","Tokyo")')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- operator- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>FilterOperator</code>- </span>- </h4>- <div class="method-list-item-description">--The operator to filter with.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>any</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---## Notes--- `.filter()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter values, so it should only be used as an escape hatch in case other filters don't work.-----------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .filter('name', 'in', '("Paris","Tokyo")')-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .filter('name', 'in', '("Paris","Tokyo")')-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .filter('name', 'in', '("Paris","Tokyo")')-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .filter('name', 'in', '("Paris","Tokyo")')-```---</TabsPanel>--</Tabs>--### Filter embedded resources----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, countries ( name )')- .filter('countries.name', 'in', '("France","Japan")')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/generating-types.mdx b/apps/temp-docs/docs/javascript/generating-types.mdxdeleted file mode 100644index 70f24120dd4..00000000000--- a/apps/temp-docs/docs/javascript/generating-types.mdx+++ /dev/null@@ -1,136 +0,0 @@-----id: generating-types-title: "Generating Types"-slug: generating-types-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Supabase will soon release native type generators that dump your database types for various languages. For now, we support TypeScript through a third-party tool.--## Usage with TypeScript--`supabase-js` ships with type definitions for usage with TypeScript and for convenient IntelliSense auto-complete and documentation in your editor.--When using TypeScript, you can pass the type of database row as a type parameter to the `from` method to get better auto-completion support down the chain.-If you don't provide a type for the row you need to explicitly pass `from<any>('tableName')`.--```ts-type Message = {- id: number;- inserted_at: string;- message: string;- user_id: string;- channel_id: number;- author: { username: string };-}--const response = await supabase- .from<Message>('messages') // Message maps to the type of the row in your database.- .select('*, author:user_id(username)')- .match({ channel_id: 2 }) // Your IDE will be able to help with auto-completion.-response.data // Response data will be of type Array<Message>.--// If you don't provide a type for the row you need to explicitly pass `from<any>('tableName')`.-const response = await supabase- .from<any>('messages')- .select('*, author:user_id(username)')- .match({ channel_id: 2 })-response.data // Response data will be of type Array<any>.-```--### Generate database types from OpenAPI specification--Supabase generates an OpenAPI specification file for your database which can be used to generate your data types for usage with TypeScript.--The OpenAPI specification for your Supabase project can be accessed as follows:--```txt-https://your-project.supabase.co/rest/v1/?apikey=your-anon-key-```--Using the open source [openapi-typescript](https://github.com/drwpow/openapi-typescript#%EF%B8%8F-reading-specs-from-remote-resource) tool you can generate your types and store them locally:--```bash-npx openapi-typescript https://your-project.supabase.co/rest/v1/?apikey=your-anon-key --output types/supabase.ts-```--Important notes:--- Since the generator uses JSON API, there is no way to determine if a column is an Array. It will generate array types as `string`, even though Supabase handles this automatically and returns arrays.- You can fix this manually in the files by changing the type, e.g. `names: string` -> `names: string[]`-- The types won't automatically stay in sync with your database, so make sure to regenerate your types after your make changes to your database.--After you have generated your types, you can use them in your TypeScript projects:--```ts-import { NextApiRequest, NextApiResponse } from "next";-import { createClient } from "@supabase/supabase-js";-import { definitions } from "../../types/supabase";--const supabase = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL,- process.env.SUPABASE_SECRET_KEY-);--export default async (req: NextApiRequest, res: NextApiResponse) => {- const allOnlineUsers = await supabase- .from<definitions["users"]>("users")- .select("*")- .eq("status", "ONLINE");- res.status(200).json(allOnlineUsers);-};-```--### Update types automatically with GitHub Actions--One way to keep your type definitions in sync with your database is to set up a GitHub action that runs on a schedule.--Add a script to your package.json to generate the types:--```-"update-types": "npx openapi-typescript https://your-project.supabase.co/rest/v1/?apikey=your-anon-key --output types/database/index.ts"-```--In your repo, create the file `.github/workflows/update-types.yml`. Add the following snippet into this file to define the action. If there is a change to your definitions, this script will commit the change to your repo.--```yml-name: Update database types--on:- schedule:- # sets the action to run daily. You can modify this to run the action more or less frequently- - cron: '0 0 * * *'--jobs:- update:- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v2- with:- persist-credentials: false- fetch-depth: 0- - uses: actions/[email protected]- with:- node-version: 14- - run: npm run update-types- - name: check for file changes- id: git_status- run: |- echo "::set-output name=status::$(git status -s)"- - name: Commit files- if: ${{contains(steps.git_status.outputs.status, ' ')}}- run: |- git add types/database/index.ts- git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"- git config --local user.name "github-actions[bot]"- git commit -m "Update database types" -a- - name: Push changes- if: ${{contains(steps.git_status.outputs.status, ' ')}}- uses: ad-m/github-push-action@master- with:- github_token: ${{ secrets.GITHUB_TOKEN }}- branch: ${{ github.ref }}-```\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/getsubscriptions.mdx b/apps/temp-docs/docs/javascript/getsubscriptions.mdxdeleted file mode 100644index 7e98d88a575..00000000000--- a/apps/temp-docs/docs/javascript/getsubscriptions.mdx+++ /dev/null@@ -1,65 +0,0 @@-----id: getsubscriptions-title: "getSubscriptions()"-slug: getsubscriptions-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Returns an array of all your subscriptions.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const subscriptions = supabase.getSubscriptions()-```---</TabsPanel>--</Tabs>------------------## Examples--### Get all subscriptions----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const subscriptions = supabase.getSubscriptions()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/gt.mdx b/apps/temp-docs/docs/javascript/gt.mdxdeleted file mode 100644index 159221aabd6..00000000000--- a/apps/temp-docs/docs/javascript/gt.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: gt-title: ".gt()"-slug: gt-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` is greater than the-specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .gt('country_id', 250)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .gt('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .gt('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .gt('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .gt('country_id', 250)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/gte.mdx b/apps/temp-docs/docs/javascript/gte.mdxdeleted file mode 100644index eb67a61bcd8..00000000000--- a/apps/temp-docs/docs/javascript/gte.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: gte-title: ".gte()"-slug: gte-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` is greater than or-equal to the specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .gte('country_id', 250)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .gte('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .gte('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .gte('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .gte('country_id', 250)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/ilike.mdx b/apps/temp-docs/docs/javascript/ilike.mdxdeleted file mode 100644index 94090260f1e..00000000000--- a/apps/temp-docs/docs/javascript/ilike.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: ilike-title: ".ilike()"-slug: ilike-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value in the stated `column` matches the supplied-`pattern` (case insensitive).--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .ilike('name', '%la%')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- pattern- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The pattern to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .ilike('name', '%la%')-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .ilike('name', '%la%')-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .ilike('name', '%la%')-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .ilike('name', '%la%')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/in.mdx b/apps/temp-docs/docs/javascript/in.mdxdeleted file mode 100644index 09c29d98692..00000000000--- a/apps/temp-docs/docs/javascript/in.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: in-title: ".in()"-slug: in-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` is found on the-specified `values`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .in('name', ['Rio de Janeiro', 'San Francisco'])-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- values- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The values to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .in('name', ['Rio de Janeiro', 'San Francisco'])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .in('name', ['Rio de Janeiro', 'San Francisco'])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .in('name', ['Rio de Janeiro', 'San Francisco'])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .in('name', ['Rio de Janeiro', 'San Francisco'])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/index.mdx b/apps/temp-docs/docs/javascript/index.mdxdeleted file mode 100644index a6c7fe90bbc..00000000000--- a/apps/temp-docs/docs/javascript/index.mdx+++ /dev/null@@ -1,109 +0,0 @@-----id: index-title: "Supabase Client"-slug: supabase-client-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Our approach for client libraries is modular. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing tools.--<table style={{tableLayout: 'fixed', whiteSpace: 'nowrap' }}>- <tr>- <th>Language</th>- <th>Client</th>- <th colspan="4">Feature-Clients (bundled in Supabase client)</th>- </tr>- <tr>- <th></th>- <th>Supabase</th>- <th><a href="https://github.com/postgrest/postgrest" target="_blank" rel="noopener noreferrer">PostgREST</a></th>- <th><a href="https://github.com/supabase/gotrue" target="_blank" rel="noopener noreferrer">GoTrue</a></th>- <th><a href="https://github.com/supabase/realtime" target="_blank" rel="noopener noreferrer">Realtime</a></th>- <th><a href="https://github.com/supabase/storage-api" target="_blank" rel="noopener noreferrer">Storage</a></th>- </tr>- <th colspan="6">⚡️ Official ⚡️</th>- <tr>- <td>JavaScript (TypeScript)</td>- <td><a href="https://github.com/supabase/supabase-js" target="_blank" rel="noopener noreferrer">supabase-js</a></td>- <td><a href="https://github.com/supabase/postgrest-js" target="_blank" rel="noopener noreferrer">postgrest-js</a></td>- <td><a href="https://github.com/supabase/gotrue-js" target="_blank" rel="noopener noreferrer">gotrue-js</a></td>- <td><a href="https://github.com/supabase/realtime-js" target="_blank" rel="noopener noreferrer">realtime-js</a></td>- <td><a href="https://github.com/supabase/storage-js" target="_blank" rel="noopener noreferrer">storage-js</a></td>- </tr>- <th colspan="6">💚 Community 💚</th>- <tr>- <td>C#</td>- <td><a href="https://github.com/supabase-community/supabase-csharp" target="_blank" rel="noopener noreferrer">supabase-csharp</a></td>- <td><a href="https://github.com/supabase-community/postgrest-csharp" target="_blank" rel="noopener noreferrer">postgrest-csharp</a></td>- <td><a href="https://github.com/supabase-community/gotrue-csharp" target="_blank" rel="noopener noreferrer">gotrue-csharp</a></td>- <td><a href="https://github.com/supabase-community/realtime-csharp" target="_blank" rel="noopener noreferrer">realtime-csharp</a></td>- <td>-</td>- </tr>- <tr>- <td>Flutter</td>- <td><a href="https://github.com/supabase/supabase-dart" target="_blank" rel="noopener noreferrer">supabase-dart</a></td>- <td><a href="https://github.com/supabase/postgrest-dart" target="_blank" rel="noopener noreferrer">postgrest-dart</a></td>- <td><a href="https://github.com/supabase/gotrue-dart" target="_blank" rel="noopener noreferrer">gotrue-lang</a></td>- <td><a href="https://github.com/supabase/realtime-dart" target="_blank" rel="noopener noreferrer">realtime-dart</a></td>- <td><a href="https://github.com/supabase/storage-dart" target="_blank" rel="noopener noreferrer">storage-dart</a></td>- </tr>- <tr>- <td>Go</td>- <td>-</td>- <td><a href="https://github.com/supabase-community/postgrest-go" target="_blank" rel="noopener noreferrer">postgrest-go</a></td>- <td>-</td>- <td>-</td>- <td>-</td>- </tr>- <tr>- <td>Java</td>- <td>-</td>- <td>-</td>- <td><a href="https://github.com/supabase-community/gotrue-java" target="_blank" rel="noopener noreferrer">gotrue-java</a></td>- <td>-</td>- <td>-</td>- </tr>- <tr>- <td>Kotlin</td>- <td>-</td>- <td><a href="https://github.com/supabase-community/postgrest-kt" target="_blank" rel="noopener noreferrer">postgrest-kt</a></td>- <td><a href="https://github.com/supabase-community/gotrue-kt" target="_blank" rel="noopener noreferrer">gotrue-kt</a></td>- <td>-</td>- <td>-</td>- </tr>- <tr>- <td>Python</td>- <td><a href="https://github.com/supabase-community/supabase-py" target="_blank" rel="noopener noreferrer">supabase-py</a></td>- <td><a href="https://github.com/supabase-community/postgrest-py" target="_blank" rel="noopener noreferrer">postgrest-py</a></td>- <td><a href="https://github.com/supabase-community/gotrue-py" target="_blank" rel="noopener noreferrer">gotrue-py</a></td>- <td><a href="https://github.com/supabase-community/realtime-py" target="_blank" rel="noopener noreferrer">realtime-py</a></td>- <td>-</td>- </tr>- <tr>- <td>Ruby</td>- <td><a href="https://github.com/supabase-community/supabase-rb" target="_blank" rel="noopener noreferrer">supabase-rb</a></td>- <td><a href="https://github.com/supabase-community/postgrest-rb" target="_blank" rel="noopener noreferrer">postgrest-rb</a></td>- <td>-</td>- <td>-</td>- <td>-</td>- </tr>- <tr>- <td>Rust</td>- <td>-</td>- <td><a href="https://github.com/supabase-community/postgrest-rs" target="_blank" rel="noopener noreferrer">postgrest-rs</a></td>- <td>-</td>- <td>-</td>- <td>-</td>- </tr>- <tr>- <td>Swift</td>- <td><a href="https://github.com/supabase-community/supabase-swift" target="_blank" rel="noopener noreferrer">supabase-swift</a></td>- <td><a href="https://github.com/supabase-community/postgrest-swift" target="_blank" rel="noopener noreferrer">postgrest-swift</a></td>- <td><a href="https://github.com/supabase-community/gotrue-swift" target="_blank" rel="noopener noreferrer">gotrue-swift</a></td>- <td><a href="https://github.com/supabase-community/realtime-swift" target="_blank" rel="noopener noreferrer">realtime-swift</a></td>- <td><a href="https://github.com/supabase-community/storage-swift" target="_blank" rel="noopener noreferrer">storage-swift</a></td>- </tr>-</table>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/initializing.mdx b/apps/temp-docs/docs/javascript/initializing.mdxdeleted file mode 100644index 39bd9890b98..00000000000--- a/apps/temp-docs/docs/javascript/initializing.mdx+++ /dev/null@@ -1,211 +0,0 @@-----id: initializing-title: "Initializing"-slug: initializing-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--You can initialize a new Supabase client using the `createClient()` method.--The Supabase client is your entrypoint to the rest of the Supabase functionality-and is the easiest way to interact with everything we offer within the Supabase ecosystem.-----## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- supabaseUrl- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The unique Supabase URL which is supplied when you create a new project in your project dashboard.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- supabaseKey- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The unique Supabase Key which is supplied when you create a new project in your project dashboard.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>SupabaseClientOptions</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>---------------## Examples--### createClient()----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-import { createClient } from '@supabase/supabase-js'--// Create a single supabase client for interacting with your database-const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')-```---</TabsPanel>--</Tabs>--### With additional parameters----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-import { createClient } from '@supabase/supabase-js'--const options = {- schema: 'public',- headers: { 'x-my-custom-header': 'my-app-name' },- autoRefreshToken: true,- persistSession: true,- detectSessionInUrl: true-}-const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key", options)-```---</TabsPanel>--</Tabs>--### API schemas----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-import { createClient } from '@supabase/supabase-js'--// Provide a custom schema. Defaults to "public".-const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {- schema: 'other_schema'-})-```--By default the API server points to the `public` schema. You can enable other database schemas within the Dashboard.-Go to `Settings > API > Schema` and add the schema which you want to expose to the API.--Note: each client connection can only access a single schema, so the code above can access the `other_schema` schema but cannot access the `public` schema.---</TabsPanel>--</Tabs>--### Custom `fetch` implementation----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-import { createClient } from '@supabase/supabase-js'--const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {- fetch: fetch.bind(globalThis)-})-```--`supabase-js` uses the [`cross-fetch`](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests,-but an alternative `fetch` implementation can be provided as an option.-This is most useful in environments where `cross-fetch` is not compatible (for instance Cloudflare Workers).---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/insert.mdx b/apps/temp-docs/docs/javascript/insert.mdxdeleted file mode 100644index abaf8b0eda2..00000000000--- a/apps/temp-docs/docs/javascript/insert.mdx+++ /dev/null@@ -1,179 +0,0 @@-----id: insert-title: "Create data: insert()"-slug: insert-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Performs an INSERT into the table.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .insert([- { name: 'The Shire', country_id: 554 }- ])-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- values- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>Partial</code> | <code>array</code>- </span>- </h4>- <div class="method-list-item-description">--The values to insert.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>reflection</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>---## Notes--- By default, every time you run `insert()`, the client library will make a `select` to return the full record.-This is convenient, but it can also cause problems if your Policies are not configured to allow the `select` operation.-If you are using Row Level Security and you are encountering problems, try setting the `returning` param to `minimal`.-----------## Examples--### Create a record----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .insert([- { name: 'The Shire', country_id: 554 }- ])-```---</TabsPanel>--</Tabs>--### Bulk create----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .insert([- { name: 'The Shire', country_id: 554 },- { name: 'Rohan', country_id: 555 },- ])-```---</TabsPanel>--</Tabs>--### Upsert--For upsert, if set to true, primary key columns would need to be included-in the data parameter in order for an update to properly happen. Also, primary keys-used must be natural, not surrogate. There are however,-[workarounds](https://github.com/PostgREST/postgrest/issues/1118)-for surrogate primary keys.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .insert(- [- { name: 'The Shire', country_id: 554 },- { name: 'Rohan', country_id: 555 },- { name: 'City by the Bay', country_id:840}- ],- { upsert: true })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/installing.mdx b/apps/temp-docs/docs/javascript/installing.mdxdeleted file mode 100644index 8e74b4f4398..00000000000--- a/apps/temp-docs/docs/javascript/installing.mdx+++ /dev/null@@ -1,45 +0,0 @@-----id: installing-title: 'Installing'-slug: installing-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs'-import TabsPanel from '@theme/TabsPanel'--All JavaScript libraries are built directly by the Supabase team. This page is in the docs dir.--Other languages are built by the community and supported by Supabase.--## JavaScript--Via NPM--```bash-npm install @supabase/supabase-js-```--Via Yarn--```bash-yarn add @supabase/supabase-js-```--Find the source code on [GitHub](https://github.com/supabase/supabase-js).--Or via CDN--```js-<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>-//or-<script src="https://unpkg.com/@supabase/supabase-js@2"></script>-```--## Python--```bash-pip install supabase-py-```--Find the source code on [GitHub](https://github.com/supabase/supabase-py).diff --git a/apps/temp-docs/docs/javascript/is.mdx b/apps/temp-docs/docs/javascript/is.mdxdeleted file mode 100644index fb75d615a60..00000000000--- a/apps/temp-docs/docs/javascript/is.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: is-title: ".is()"-slug: is-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--A check for exact equality (null, true, false), finds all rows whose-value on the stated `column` exactly match the specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .is('name', null)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code> | <code>null</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .is('name', null)-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .is('name', null)-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .is('name', null)-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .is('name', null)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/like.mdx b/apps/temp-docs/docs/javascript/like.mdxdeleted file mode 100644index fee839bf02f..00000000000--- a/apps/temp-docs/docs/javascript/like.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: like-title: ".like()"-slug: like-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value in the stated `column` matches the supplied-`pattern` (case sensitive).--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .like('name', '%la%')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- pattern- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The pattern to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .like('name', '%la%')-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .like('name', '%la%')-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .like('name', '%la%')-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .like('name', '%la%')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/limit.mdx b/apps/temp-docs/docs/javascript/limit.mdxdeleted file mode 100644index 6d7f0708e65..00000000000--- a/apps/temp-docs/docs/javascript/limit.mdx+++ /dev/null@@ -1,165 +0,0 @@-----id: limit-title: "limit()"-slug: limit-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Limits the result with the specified `count`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .limit(1)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- count- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>number</code>- </span>- </h4>- <div class="method-list-item-description">--The maximum no. of rows to limit to.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- foreignTable- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The foreign table to use (for foreign columns).-- </div>--</li>--</ul>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .limit(1)-```---</TabsPanel>--</Tabs>--### With embedded resources----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, cities(name)')- .eq('name', 'United States')- .limit(1, { foreignTable: 'cities' })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/lt.mdx b/apps/temp-docs/docs/javascript/lt.mdxdeleted file mode 100644index dff252d9bc3..00000000000--- a/apps/temp-docs/docs/javascript/lt.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: lt-title: ".lt()"-slug: lt-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` is less than the-specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .lt('country_id', 250)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .lt('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .lt('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .lt('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .lt('country_id', 250)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/lte.mdx b/apps/temp-docs/docs/javascript/lte.mdxdeleted file mode 100644index cd783f12d9d..00000000000--- a/apps/temp-docs/docs/javascript/lte.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: lte-title: ".lte()"-slug: lte-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` is less than or equal-to the specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .lte('country_id', 250)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .lte('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .lte('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .lte('country_id', 250)-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .lte('country_id', 250)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/match.mdx b/apps/temp-docs/docs/javascript/match.mdxdeleted file mode 100644index 2c705811778..00000000000--- a/apps/temp-docs/docs/javascript/match.mdx+++ /dev/null@@ -1,165 +0,0 @@-----id: match-title: ".match()"-slug: match-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose columns match the specified `query` object.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .match({name: 'Beijing', country_id: 156})-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- query- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>Record</code>- </span>- </h4>- <div class="method-list-item-description">--The object to filter with, with column names as keys mapped- to their filter values.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .match({name: 'Beijing', country_id: 156})-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .match({name: 'Beijing', country_id: 156})-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .match({name: 'Beijing', country_id: 156})-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .match({name: 'Beijing', country_id: 156})-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/maybesingle.mdx b/apps/temp-docs/docs/javascript/maybesingle.mdxdeleted file mode 100644index 8e41b958d20..00000000000--- a/apps/temp-docs/docs/javascript/maybesingle.mdx+++ /dev/null@@ -1,75 +0,0 @@-----id: maybesingle-title: "maybeSingle()"-slug: maybesingle-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Retrieves at most one row from the result. Result must be at most one row-(e.g. using `eq` on a UNIQUE column), otherwise this will result in an-error.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .eq('name', 'Singapore')- .maybeSingle()-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .eq('name', 'Singapore')- .maybeSingle()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/neq.mdx b/apps/temp-docs/docs/javascript/neq.mdxdeleted file mode 100644index 3793d89dea2..00000000000--- a/apps/temp-docs/docs/javascript/neq.mdx+++ /dev/null@@ -1,186 +0,0 @@-----id: neq-title: ".neq()"-slug: neq-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose value on the stated `column` doesn't match the-specified `value`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .neq('name', 'The shire')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .neq('name', 'The shire')-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .neq('name', 'San Francisco')-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .neq('name', 'Mordor')-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .neq('name', 'Lagos')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/not.mdx b/apps/temp-docs/docs/javascript/not.mdxdeleted file mode 100644index 2d9ce2cae81..00000000000--- a/apps/temp-docs/docs/javascript/not.mdx+++ /dev/null@@ -1,206 +0,0 @@-----id: not-title: ".not()"-slug: not-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows which doesn't satisfy the filter.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .not('name', 'eq', 'Paris')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- operator- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>FilterOperator</code>- </span>- </h4>- <div class="method-list-item-description">--The operator to filter with.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- value- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>any</code>- </span>- </h4>- <div class="method-list-item-description">--The value to filter with.-- </div>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .not('name', 'eq', 'Paris')-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Mordor' })- .not('name', 'eq', 'Paris')-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .delete()- .not('name', 'eq', 'Paris')-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_cities')- .not('name', 'eq', 'Paris')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/or.mdx b/apps/temp-docs/docs/javascript/or.mdxdeleted file mode 100644index f4dcc9ec923..00000000000--- a/apps/temp-docs/docs/javascript/or.mdx+++ /dev/null@@ -1,187 +0,0 @@-----id: or-title: ".or()"-slug: or-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows satisfying at least one of the filters.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .or('id.eq.20,id.eq.30')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- filters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The filters to use, separated by commas.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- foreignTable- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The foreign table to use (if `column` is a foreign column).-- </div>--</li>--</ul>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .or('id.eq.20,id.eq.30')-```---</TabsPanel>--</Tabs>--### Use `or` with `and`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)')-```---</TabsPanel>--</Tabs>--### Use `or` on foreign tables----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('id, cities(*)')- .or('name.eq.Wellington,name.eq.Paris', { foreignTable: "cities" })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/order.mdx b/apps/temp-docs/docs/javascript/order.mdxdeleted file mode 100644index c8b536b8bc0..00000000000--- a/apps/temp-docs/docs/javascript/order.mdx+++ /dev/null@@ -1,207 +0,0 @@-----id: order-title: "order()"-slug: order-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Orders the result with the specified `column`.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name', 'country_id')- .order('id', { ascending: false })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to order on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- nullsFirst- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--If `true`, `null`s appear first.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- foreignTable- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The foreign table to use (if `column` is a foreign column).-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- ascending- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--If `true`, the result will be in ascending order.-- </div>--</li>--</ul>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name', 'country_id')- .order('id', { ascending: false })-```---</TabsPanel>--</Tabs>--### With embedded resources----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, cities(name)')- .eq('name', 'United States')- .order('name', {foreignTable: 'cities'})-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/overlaps.mdx b/apps/temp-docs/docs/javascript/overlaps.mdxdeleted file mode 100644index b396a179145..00000000000--- a/apps/temp-docs/docs/javascript/overlaps.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: overlaps-title: ".overlaps()"-slug: overlaps-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, main_exports')- .overlaps('main_exports', ['computers', 'minerals'])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, main_exports')- .overlaps('main_exports', ['computers', 'minerals'])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-let countries = await supabase- .from('countries')- .update({ name: 'Mordor' })- .overlaps('main_exports', ['computers', 'minerals'])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .overlaps('main_exports', ['computers', 'minerals'])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .overlaps('main_exports', ['computers', 'minerals'])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/range.mdx b/apps/temp-docs/docs/javascript/range.mdxdeleted file mode 100644index 00b8532b0f2..00000000000--- a/apps/temp-docs/docs/javascript/range.mdx+++ /dev/null@@ -1,162 +0,0 @@-----id: range-title: "range()"-slug: range-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Limits the result to rows within the specified range, inclusive.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .range(0,3)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- from- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>number</code>- </span>- </h4>- <div class="method-list-item-description">--The starting index from which to limit the result, inclusive.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- to- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>number</code>- </span>- </h4>- <div class="method-list-item-description">--The last index to which to limit the result, inclusive.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- foreignTable- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The foreign table to use (for foreign columns).-- </div>--</li>--</ul>--</li>--</ul>---------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .range(0,3)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/rangeadjacent.mdx b/apps/temp-docs/docs/javascript/rangeadjacent.mdxdeleted file mode 100644index 5197c6baf77..00000000000--- a/apps/temp-docs/docs/javascript/rangeadjacent.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: rangeadjacent-title: ".rangeAdjacent()"-slug: rangeadjacent-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeAdjacent('population_range_millions', [70, 185])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeAdjacent('population_range_millions', [70, 185])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .rangeAdjacent('population_range_millions', [70, 185])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .rangeAdjacent('population_range_millions', [70, 185])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .rangeAdjacent('population_range_millions', [70, 185])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/rangegt.mdx b/apps/temp-docs/docs/javascript/rangegt.mdxdeleted file mode 100644index c152a4222a1..00000000000--- a/apps/temp-docs/docs/javascript/rangegt.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: rangegt-title: ".rangeGt()"-slug: rangegt-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeGt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeGt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .rangeGt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .rangeGt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .rangeGt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/rangegte.mdx b/apps/temp-docs/docs/javascript/rangegte.mdxdeleted file mode 100644index 1d7fd697384..00000000000--- a/apps/temp-docs/docs/javascript/rangegte.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: rangegte-title: ".rangeGte()"-slug: rangegte-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeGte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeGte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .rangeGte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .rangeGte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .rangeGte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/rangelt.mdx b/apps/temp-docs/docs/javascript/rangelt.mdxdeleted file mode 100644index 3663dacc60b..00000000000--- a/apps/temp-docs/docs/javascript/rangelt.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: rangelt-title: ".rangeLt()"-slug: rangelt-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeLt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeLt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .rangeLt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .rangeLt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .rangeLt('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/rangelte.mdx b/apps/temp-docs/docs/javascript/rangelte.mdxdeleted file mode 100644index 538d45770f3..00000000000--- a/apps/temp-docs/docs/javascript/rangelte.mdx+++ /dev/null@@ -1,140 +0,0 @@-----id: rangelte-title: ".rangeLte()"-slug: rangelte-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeLte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select('name, id, population_range_millions')- .rangeLte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `update()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .update({ name: 'Mordor' })- .rangeLte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `delete()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .delete()- .rangeLte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>--### With `rpc()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-// Only valid if the Postgres function returns a table type.-const { data, error } = await supabase- .rpc('echo_all_countries')- .rangeLte('population_range_millions', [150, 250])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/removeallsubscriptions.mdx b/apps/temp-docs/docs/javascript/removeallsubscriptions.mdxdeleted file mode 100644index 6786350333a..00000000000--- a/apps/temp-docs/docs/javascript/removeallsubscriptions.mdx+++ /dev/null@@ -1,66 +0,0 @@-----id: removeallsubscriptions-title: "removeAllSubscriptions()"-slug: removeallsubscriptions-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Removes all subscriptions and disconnects the Websocket connection.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-supabase.removeAllSubscriptions()-```---</TabsPanel>--</Tabs>------## Notes--- Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed.-----------## Examples--### Removes all subscriptions----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-supabase.removeAllSubscriptions()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/removesubscription.mdx b/apps/temp-docs/docs/javascript/removesubscription.mdxdeleted file mode 100644index 53c2a6b7a94..00000000000--- a/apps/temp-docs/docs/javascript/removesubscription.mdx+++ /dev/null@@ -1,90 +0,0 @@-----id: removesubscription-title: "removeSubscription()"-slug: removesubscription-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Removes an active subscription and returns the number of open connections.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-supabase.removeSubscription(mySubscription)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- subscription- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>RealtimeSubscription</code>- </span>- </h4>- <div class="method-list-item-description">--The subscription you want to remove.-- </div>--</li>--</ul>---## Notes--- Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed.-----------## Examples--### Remove a subscription----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-supabase.removeSubscription(mySubscription)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/reset-password-email.mdx b/apps/temp-docs/docs/javascript/reset-password-email.mdxdeleted file mode 100644index 7dad6d33ed3..00000000000--- a/apps/temp-docs/docs/javascript/reset-password-email.mdx+++ /dev/null@@ -1,151 +0,0 @@-----id: reset-password-email-title: "Reset Password (Email)"-slug: reset-password-email-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Sends a reset request to an email address.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = supabase.auth.api- .resetPasswordForEmail('[email protected]')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The email address of the user.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- redirectTo- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--Sends a reset request to an email address.--When the user clicks the reset link in the email they will be forwarded to:--`<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`--Your app must detect `type=recovery` in the fragment and display a password reset form to the user.--You should then use the access_token in the url and new password to update the user as follows:--```js-const { error, data } = await supabase.auth.api- .updateUser(access_token, { password : new_password })-```-----------## Examples--### Reset password----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = supabase.auth.api- .resetPasswordForEmail('[email protected]')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/rpc.mdx b/apps/temp-docs/docs/javascript/rpc.mdxdeleted file mode 100644index 5a664ee1a86..00000000000--- a/apps/temp-docs/docs/javascript/rpc.mdx+++ /dev/null@@ -1,274 +0,0 @@-----id: rpc-title: "Postgres functions: rpc()"-slug: rpc-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--You can call Postgres functions as a "Remote Procedure Call".--That's a fancy way of saying that you can put some logic into your database then call it from anywhere.-It's especially useful when the logic rarely changes - like password resets and updates.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .rpc('hello_world')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- fn- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The function name to call.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- params- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The parameters to pass to the function call.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- head- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--When set to true, no data will be returned.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- count- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>null</code> | <code>exact</code> | <code>planned</code> | <code>estimated</code>- </span>- </h4>- <div class="method-list-item-description">--Count algorithm to use to count rows in a table.-- </div>--</li>--</ul>--</li>--</ul>---------------## Examples--### Call a Postgres function--This is an example of invoking a Postgres function.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .rpc('hello_world')-```---</TabsPanel>--</Tabs>--### With Parameters----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .rpc('echo_city', { name: 'The Shire' })-```---</TabsPanel>--</Tabs>--### Bulk processing--You can process large payloads at once using [array parameters](https://postgrest.org/en/stable/api.html#calling-functions-with-array-parameters).--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await postgrest- .rpc('echo_cities', { names: ['The Shire', 'Mordor'] })-```---</TabsPanel>--</Tabs>--### With filters--Postgres functions that return tables can also be combined with-[Modifiers](/docs/reference/javascript/using-modifiers) and-[Filters](/docs/reference/javascript/using-filters).---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .rpc('echo_all_cities')- .select('name, population')- .eq('name', 'The Shire')-```---</TabsPanel>--</Tabs>--### With count option--You can specify a count option to get the row count along with your data.-Allowed values for count option are `null`, `exact`, `planned` and `estimated`.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error, count } = await supabase- .rpc('hello_world', {}, { count: 'exact' })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/select.mdx b/apps/temp-docs/docs/javascript/select.mdxdeleted file mode 100644index 37ee18cf1c9..00000000000--- a/apps/temp-docs/docs/javascript/select.mdx+++ /dev/null@@ -1,388 +0,0 @@-----id: select-title: "Fetch data: select()"-slug: select-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Performs vertical filtering with SELECT.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select()-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- columns- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The columns to retrieve, separated by commas.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- head- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--When set to true, select will void data.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- count- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>null</code> | <code>exact</code> | <code>planned</code> | <code>estimated</code>- </span>- </h4>- <div class="method-list-item-description">--Count algorithm to use to count rows in a table.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed in Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data.-- `select()` can be combined with [Modifiers](/docs/reference/javascript/using-modifiers)-- `select()` can be combined with [Filters](/docs/reference/javascript/using-filters)-----------## Examples--### Getting your data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select()-```---</TabsPanel>--</Tabs>--### Selecting specific columns--You can select specific fields from your tables.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name')-```---</TabsPanel>--</Tabs>--### Query foreign tables--If your database has foreign key relationships, you can query related tables too.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('countries')- .select(`- name,- cities (- name- )- `)-```---</TabsPanel>--</Tabs>--### Query the same foreign table multiple times--Sometimes you will need to query the same foreign table twice.-In this case, you can use the name of the joined column to identify-which join you intend to use. For convenience, you can also give an-alias for each column. For example, if we had a shop of products,-and we wanted to get the supplier and the purchaser at the same time-(both in the users) table:---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('products')- .select(`- id,- supplier:supplier_id ( name ),- purchaser:purchaser_id ( name )- `)-```---</TabsPanel>--</Tabs>--### Filtering with inner joins--If you want to filter a table based on a child table's values you can use the `!inner()` function. For example, if you wanted-to select all rows in a `message` table which belong to a user with the `username` "Jane":---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('messages')- .select('*, users!inner(*)')- .eq('users.username', 'Jane')-```---</TabsPanel>--</Tabs>--### Querying with count option--You can get the number of rows by using the count option.-Allowed values for count option are `null`, [exact](https://postgrest.org/en/stable/api.html#exact-count), [planned](https://postgrest.org/en/stable/api.html#planned-count) and [estimated](https://postgrest.org/en/stable/api.html#estimated-count).---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error, count } = await supabase- .from('cities')- .select('name', { count: 'exact' }) // if you don't want to return any rows, you can use { count: 'exact', head: true }-```---</TabsPanel>--</Tabs>--### Querying JSON data--If you have data inside of a JSONB column, you can apply select-and query filters to the data values. Postgres offers a-[number of operators](https://www.postgresql.org/docs/current/functions-json.html)-for querying JSON data. Also see-[PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('users')- .select(`- id, name,- address->street- `)- .eq('address->postcode', 90210)-```---</TabsPanel>--</Tabs>--### Return data as CSV--By default the data is returned in JSON format, however you can also request for it to be returned as Comma Separated Values.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('users')- .select()- .csv()-```---</TabsPanel>--</Tabs>--### Aborting requests in-flight--You can use an [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) to abort requests. Note that `status` and `statusText` doesn't mean anything for aborted requests, since the request wasn't actually fulfilled.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const ac = new AbortController()-supabase- .from('very_big_table')- .select()- .abortSignal(ac.signal)- .then(console.log)-ac.abort()-// {-// error: {-// message: 'FetchError: The user aborted a request.',-// details: '',-// hint: '',-// code: ''-// },-// data: null,-// body: null,-// count: null,-// status: 400,-// statusText: 'Bad Request'-// }-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/single.mdx b/apps/temp-docs/docs/javascript/single.mdxdeleted file mode 100644index abcc6a619cc..00000000000--- a/apps/temp-docs/docs/javascript/single.mdx+++ /dev/null@@ -1,74 +0,0 @@-----id: single-title: "single()"-slug: single-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Retrieves only one row from the result. Result must be one row (e.g. using-`limit`), otherwise this will result in an error.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .limit(1)- .single()-```---</TabsPanel>--</Tabs>------------------## Examples--### With `select()`----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .limit(1)- .single()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-createbucket.mdx b/apps/temp-docs/docs/javascript/storage-createbucket.mdxdeleted file mode 100644index 9da8ce977ad..00000000000--- a/apps/temp-docs/docs/javascript/storage-createbucket.mdx+++ /dev/null@@ -1,142 +0,0 @@-----id: storage-createbucket-title: "createBucket()"-slug: storage-createbucket-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Creates a new Storage bucket--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .createBucket('avatars', { public: false })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- id- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--A unique identifier for the bucket you are creating.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- public- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: `insert`- - `objects` permissions: none-----------## Examples--### Create bucket----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .createBucket('avatars', { public: false })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-deletebucket.mdx b/apps/temp-docs/docs/javascript/storage-deletebucket.mdxdeleted file mode 100644index b246d8b6339..00000000000--- a/apps/temp-docs/docs/javascript/storage-deletebucket.mdx+++ /dev/null@@ -1,97 +0,0 @@-----id: storage-deletebucket-title: "deleteBucket()"-slug: storage-deletebucket-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.-You must first `empty()` the bucket.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .deleteBucket('avatars')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- id- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The unique identifier of the bucket you would like to delete.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: `select` and `delete`- - `objects` permissions: none-----------## Examples--### Delete bucket----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .deleteBucket('avatars')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-emptybucket.mdx b/apps/temp-docs/docs/javascript/storage-emptybucket.mdxdeleted file mode 100644index 698b18d97e1..00000000000--- a/apps/temp-docs/docs/javascript/storage-emptybucket.mdx+++ /dev/null@@ -1,96 +0,0 @@-----id: storage-emptybucket-title: "emptyBucket()"-slug: storage-emptybucket-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Removes all objects inside a single bucket.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .emptyBucket('avatars')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- id- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The unique identifier of the bucket you would like to empty.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: `select`- - `objects` permissions: `select` and `delete`-----------## Examples--### Empty bucket----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .emptyBucket('avatars')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-createsignedurl.mdx b/apps/temp-docs/docs/javascript/storage-from-createsignedurl.mdxdeleted file mode 100644index 0be5d2db714..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-createsignedurl.mdx+++ /dev/null@@ -1,119 +0,0 @@-----id: storage-from-createsignedurl-title: "from.createSignedUrl()"-slug: storage-from-createsignedurl-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { signedURL, error } = await supabase- .storage- .from('avatars')- .createSignedUrl('folder/avatar1.png', 60)-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- path- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The file path to be downloaded, including the current file name. For example `folder/image.png`.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- expiresIn- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>number</code>- </span>- </h4>- <div class="method-list-item-description">--The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `select`-----------## Examples--### Create Signed URL----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { signedURL, error } = await supabase- .storage- .from('avatars')- .createSignedUrl('folder/avatar1.png', 60)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-download.mdx b/apps/temp-docs/docs/javascript/storage-from-download.mdxdeleted file mode 100644index 4222d61947c..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-download.mdx+++ /dev/null@@ -1,98 +0,0 @@-----id: storage-from-download-title: "from.download()"-slug: storage-from-download-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Downloads a file.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .download('folder/avatar1.png')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- path- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The file path to be downloaded, including the path and file name. For example `folder/image.png`.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `select`-----------## Examples--### Download file----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .download('folder/avatar1.png')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-getpublicurl.mdx b/apps/temp-docs/docs/javascript/storage-from-getpublicurl.mdxdeleted file mode 100644index adf4d7fb5e1..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-getpublicurl.mdx+++ /dev/null@@ -1,82 +0,0 @@-----id: storage-from-getpublicurl-title: 'from.getPublicUrl()'-slug: storage-from-getpublicurl-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs'-import TabsPanel from '@theme/TabsPanel'--Retrieve URLs for assets in public buckets--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { publicURL, error } = supabase.storage- .from('public-bucket')- .getPublicUrl('folder/avatar1.png')-```--</TabsPanel>--</Tabs>--## Parameters--<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- path- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The file path to be downloaded, including the path and file name. For example `folder/image.png`.-- </div>--</li>--</ul>--## Notes--- The bucket needs to be set to public, either via [updateBucket()](/docs/reference/javascript/storage-updatebucket) or by going to Storage on [app.supabase.com](https://app.supabase.com), clicking the overflow menu on a bucket and choosing "Make public"-- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: none--## Examples--### Returns the URL for an asset in a public bucket--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { publicURL, error } = supabase.storage- .from('public-bucket')- .getPublicUrl('folder/avatar1.png')-```--</TabsPanel>--</Tabs>diff --git a/apps/temp-docs/docs/javascript/storage-from-list.mdx b/apps/temp-docs/docs/javascript/storage-from-list.mdxdeleted file mode 100644index bda57dd68a5..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-list.mdx+++ /dev/null@@ -1,148 +0,0 @@-----id: storage-from-list-title: "from.list()"-slug: storage-from-list-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Lists all the files within a bucket.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .list('folder', {- limit: 100,- offset: 0,- sortBy: { column: 'name', order: 'asc' },- })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- path- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The folder path.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>SearchOptions</code>- </span>- </h4>- <div class="method-list-item-description">--Search options, including `limit`, `offset`, and `sortBy`.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- parameters- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>FetchParameters</code>- </span>- </h4>- <div class="method-list-item-description">--Fetch parameters, currently only supports `signal`, which is an AbortController's signal-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `select`-----------## Examples--### List files in a bucket----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .list('folder', {- limit: 100,- offset: 0,- sortBy: { column: 'name', order: 'asc' },- })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-move.mdx b/apps/temp-docs/docs/javascript/storage-from-move.mdxdeleted file mode 100644index 8c00b50ebeb..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-move.mdx+++ /dev/null@@ -1,119 +0,0 @@-----id: storage-from-move-title: "from.move()"-slug: storage-from-move-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Moves an existing file, optionally renaming it at the same time.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .move('public/avatar1.png', 'private/avatar2.png')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- fromPath- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The original file path, including the current file name. For example `folder/image.png`.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- toPath- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The new file path, including the new file name. For example `folder/image-copy.png`.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `update` and `select`-----------## Examples--### Move file----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .move('public/avatar1.png', 'private/avatar2.png')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-remove.mdx b/apps/temp-docs/docs/javascript/storage-from-remove.mdxdeleted file mode 100644index 0df1e3bd7cf..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-remove.mdx+++ /dev/null@@ -1,98 +0,0 @@-----id: storage-from-remove-title: "from.remove()"-slug: storage-from-remove-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Deletes files within the same bucket--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .remove(['folder/avatar1.png'])-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- paths- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--An array of files to be deleted, including the path and file name. For example [`folder/image.png`].-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `delete` and `select`-----------## Examples--### Delete file----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .from('avatars')- .remove(['folder/avatar1.png'])-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-update.mdx b/apps/temp-docs/docs/javascript/storage-from-update.mdxdeleted file mode 100644index 11d4fb2be31..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-update.mdx+++ /dev/null@@ -1,179 +0,0 @@-----id: storage-from-update-title: "from.update()"-slug: storage-from-update-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Replaces an existing file at the specified path with a new one.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const avatarFile = event.target.files[0]-const { data, error } = await supabase- .storage- .from('avatars')- .update('public/avatar1.png', avatarFile, {- cacheControl: '3600',- upsert: false- })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- path- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- fileBody- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>ArrayBuffer</code> | <code>ArrayBufferView</code> | <code>Blob</code> | <code>Buffer</code> | <code>File</code> | <code>FormData</code> | <code>ReadableStream</code> | <code>ReadableStream</code> | <code>URLSearchParams</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The body of the file to be stored in the bucket.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- fileOptions- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>FileOptions</code>- </span>- </h4>- <div class="method-list-item-description">--HTTP headers.-`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.-`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.-`upsert`: boolean, whether to perform an upsert.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `update` and `select`-- For React Native, using either `Blob`, `File` or `FormData` does not work as intended. Update file using `ArrayBuffer` from base64 file data instead, see example below.-----------## Examples--### Update file----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const avatarFile = event.target.files[0]-const { data, error } = await supabase- .storage- .from('avatars')- .update('public/avatar1.png', avatarFile, {- cacheControl: '3600',- upsert: false- })-```---</TabsPanel>--</Tabs>--### Update file using `ArrayBuffer` from base64 file data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-import {decode} from 'base64-arraybuffer'--const { data, error } = await supabase- .storage- .from('avatars')- .update('public/avatar1.png', decode('base64FileData'), {- contentType: 'image/png'- })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-from-upload.mdx b/apps/temp-docs/docs/javascript/storage-from-upload.mdxdeleted file mode 100644index bc5fe41832e..00000000000--- a/apps/temp-docs/docs/javascript/storage-from-upload.mdx+++ /dev/null@@ -1,179 +0,0 @@-----id: storage-from-upload-title: "from.upload()"-slug: storage-from-upload-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Uploads a file to an existing bucket.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const avatarFile = event.target.files[0]-const { data, error } = await supabase- .storage- .from('avatars')- .upload('public/avatar1.png', avatarFile, {- cacheControl: '3600',- upsert: false- })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- path- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- fileBody- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>ArrayBuffer</code> | <code>ArrayBufferView</code> | <code>Blob</code> | <code>Buffer</code> | <code>File</code> | <code>FormData</code> | <code>ReadableStream</code> | <code>ReadableStream</code> | <code>URLSearchParams</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The body of the file to be stored in the bucket.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- fileOptions- </span>- <span className="method-list-item-label-badge false">- optional- </span>- <span className="method-list-item-validation">- <code>FileOptions</code>- </span>- </h4>- <div class="method-list-item-description">--HTTP headers.-`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.-`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.-`upsert`: boolean, whether to perform an upsert.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: none- - `objects` permissions: `insert`-- For React Native, using either `Blob`, `File` or `FormData` does not work as intended. Upload file using `ArrayBuffer` from base64 file data instead, see example below.-----------## Examples--### Upload file----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const avatarFile = event.target.files[0]-const { data, error } = await supabase- .storage- .from('avatars')- .upload('public/avatar1.png', avatarFile, {- cacheControl: '3600',- upsert: false- })-```---</TabsPanel>--</Tabs>--### Upload file using `ArrayBuffer` from base64 file data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-import {decode} from 'base64-arraybuffer'--const { data, error } = await supabase- .storage- .from('avatars')- .upload('public/avatar1.png', decode('base64FileData'), {- contentType: 'image/png'- })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-getbucket.mdx b/apps/temp-docs/docs/javascript/storage-getbucket.mdxdeleted file mode 100644index 96da99dac06..00000000000--- a/apps/temp-docs/docs/javascript/storage-getbucket.mdx+++ /dev/null@@ -1,96 +0,0 @@-----id: storage-getbucket-title: "getBucket()"-slug: storage-getbucket-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Retrieves the details of an existing Storage bucket.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .getBucket('avatars')-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- id- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The unique identifier of the bucket you would like to retrieve.-- </div>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: `select`- - `objects` permissions: none-----------## Examples--### Get bucket----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .getBucket('avatars')-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-listbuckets.mdx b/apps/temp-docs/docs/javascript/storage-listbuckets.mdxdeleted file mode 100644index f78bb44a61e..00000000000--- a/apps/temp-docs/docs/javascript/storage-listbuckets.mdx+++ /dev/null@@ -1,72 +0,0 @@-----id: storage-listbuckets-title: "listBuckets()"-slug: storage-listbuckets-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Retrieves the details of all Storage buckets within an existing product.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .listBuckets()-```---</TabsPanel>--</Tabs>------## Notes--- Policy permissions required:- - `buckets` permissions: `select`- - `objects` permissions: none-----------## Examples--### List buckets----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .listBuckets()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/storage-updatebucket.mdx b/apps/temp-docs/docs/javascript/storage-updatebucket.mdxdeleted file mode 100644index 903aa7c4415..00000000000--- a/apps/temp-docs/docs/javascript/storage-updatebucket.mdx+++ /dev/null@@ -1,142 +0,0 @@-----id: storage-updatebucket-title: "updateBucket()"-slug: storage-updatebucket-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Updates a new Storage bucket--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .updateBucket('avatars', { public: false })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- id- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--A unique identifier for the bucket you are creating.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- options- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- public- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- Policy permissions required:- - `buckets` permissions: `update`- - `objects` permissions: none-----------## Examples--### Update bucket----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .storage- .updateBucket('avatars', { public: false })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/subscribe.mdx b/apps/temp-docs/docs/javascript/subscribe.mdxdeleted file mode 100644index 7d0139bae12..00000000000--- a/apps/temp-docs/docs/javascript/subscribe.mdx+++ /dev/null@@ -1,281 +0,0 @@-----id: subscribe-title: "on().subscribe()"-slug: subscribe-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Subscribe to realtime changes in your databse.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('*')- .on('*', payload => {- console.log('Change received!', payload)- })- .subscribe()-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- event- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>SupabaseEventTypes</code>- </span>- </h4>- <div class="method-list-item-description">--The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- callback- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--A callback that will handle the payload that is sent whenever your database changes.-- </div>--</li>--</ul>---## 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).-- 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--### Listen to all database changes----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('*')- .on('*', payload => {- console.log('Change received!', payload)- })- .subscribe()-```---</TabsPanel>--</Tabs>--### Listening to a specific table----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('countries')- .on('*', payload => {- console.log('Change received!', payload)- })- .subscribe()-```---</TabsPanel>--</Tabs>--### Listening to inserts----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('countries')- .on('INSERT', payload => {- console.log('Change received!', payload)- })- .subscribe()-```---</TabsPanel>--</Tabs>--### Listening to updates--By default, Supabase will send only the updated record. If you want to receive the previous values as well you can-enable full replication for the table you are listening too:--```sql-alter table "your_table" replica identity full;-```---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('countries')- .on('UPDATE', payload => {- console.log('Change received!', payload)- })- .subscribe()-```---</TabsPanel>--</Tabs>--### Listening to deletes--By default, Supabase does not send deleted records. If you want to receive the deleted record you can-enable full replication for the table you are listening too:--```sql-alter table "your_table" replica identity full;-```---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('countries')- .on('DELETE', payload => {- console.log('Change received!', payload)- })- .subscribe()-```---</TabsPanel>--</Tabs>--### Listening to multiple events--You can chain listeners if you want to listen to multiple events for each table.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('countries')- .on('INSERT', handleRecordInserted)- .on('DELETE', handleRecordDeleted)- .subscribe()-```---</TabsPanel>--</Tabs>--### Listening to row level changes--You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const mySubscription = supabase- .from('countries:id=eq.200')- .on('UPDATE', handleRecordUpdated)- .subscribe()-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/textsearch.mdx b/apps/temp-docs/docs/javascript/textsearch.mdxdeleted file mode 100644index 6354b2f39a6..00000000000--- a/apps/temp-docs/docs/javascript/textsearch.mdx+++ /dev/null@@ -1,234 +0,0 @@-----id: textsearch-title: ".textSearch()"-slug: textsearch-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Finds all rows whose tsvector value on the stated `column` matches-to_tsquery(`query`).----## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- column- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--The column to filter on.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- query- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The Postgres tsquery string to filter with.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- config- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--The text search configuration to use.-- </div>--</li>--</ul>--</li>--</ul>---------------## Examples--### Text search----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('quotes')- .select('catchphrase')- .textSearch('catchphrase', `'fat' & 'cat'`, {- config: 'english'- })-```---</TabsPanel>--</Tabs>--### Basic normalization--Uses PostgreSQL's `plainto_tsquery` function.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('quotes')- .select('catchphrase')- .textSearch('catchphrase', `'fat' & 'cat'`, {- type: 'plain',- config: 'english'- })-```---</TabsPanel>--</Tabs>--### Full normalization--Uses PostgreSQL's `phraseto_tsquery` function.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('quotes')- .select('catchphrase')- .textSearch('catchphrase', `'fat' & 'cat'`, {- type: 'phrase',- config: 'english'- })-```---</TabsPanel>--</Tabs>--### Full normalization--Uses PostgreSQL's `websearch_to_tsquery` function.-This function will never raise syntax errors, which makes it possible to use raw user-supplied input for search, and can be used-with advanced operators.--- `unquoted text`: text not inside quote marks will be converted to terms separated by & operators, as if processed by plainto_tsquery.-- `"quoted text"`: text inside quote marks will be converted to terms separated by <-> operators, as if processed by phraseto_tsquery.-- `OR`: the word “or” will be converted to the | operator.-- `-`: a dash will be converted to the ! operator.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('quotes')- .select('catchphrase')- .textSearch('catchphrase', `'fat or cat'`, {- type: 'websearch',- config: 'english'- })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/update.mdx b/apps/temp-docs/docs/javascript/update.mdxdeleted file mode 100644index dca58efa64d..00000000000--- a/apps/temp-docs/docs/javascript/update.mdx+++ /dev/null@@ -1,195 +0,0 @@-----id: update-title: "Modify data: update()"-slug: update-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Performs an UPDATE on the table.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Middle Earth' })- .match({ name: 'Auckland' })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- values- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>Partial</code>- </span>- </h4>- <div class="method-list-item-description">--The values to update.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- returning- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>minimal</code> | <code>representation</code>- </span>- </h4>- <div class="method-list-item-description">--By default the updated record is returned. Set this to 'minimal' if you don't need this value.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- count- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>null</code> | <code>exact</code> | <code>planned</code> | <code>estimated</code>- </span>- </h4>- <div class="method-list-item-description">--Count algorithm to use to count rows in a table.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- `update()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to update.-----------## Examples--### Updating your data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('cities')- .update({ name: 'Middle Earth' })- .match({ name: 'Auckland' })-```---</TabsPanel>--</Tabs>--### Updating JSON data--Postgres offers a-[number of operators](https://www.postgresql.org/docs/current/functions-json.html)-for working with JSON data. Right now it is only possible to update an entire JSON document,-but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('users')- .update(`- address: {- street: 'Melrose Place',- postcode: 90210- }- `)- .eq('address->postcode', 90210)-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/upsert.mdx b/apps/temp-docs/docs/javascript/upsert.mdxdeleted file mode 100644index a0b1edc28ae..00000000000--- a/apps/temp-docs/docs/javascript/upsert.mdx+++ /dev/null@@ -1,281 +0,0 @@-----id: upsert-title: "Upsert data: upsert()"-slug: upsert-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Performs an UPSERT into the table.--<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('messages')- .upsert({ id: 3, message: 'foo', username: 'supabot' })-```---</TabsPanel>--</Tabs>--## Parameters---<ul className="method-list-group">--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- values- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>Partial</code> | <code>array</code>- </span>- </h4>- <div class="method-list-item-description">--The values to insert.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- __namedParameters- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>object</code>- </span>- </h4>- <div class="method-list-item-description">--No description provided.-- </div>--<ul className="method-list-group">- <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>--<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- returning- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>minimal</code> | <code>representation</code>- </span>- </h4>- <div class="method-list-item-description">--By default the new record is returned. Set this to 'minimal' if you don't need this value.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- onConflict- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>undefined</code> | <code>string</code>- </span>- </h4>- <div class="method-list-item-description">--By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- ignoreDuplicates- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>boolean</code>- </span>- </h4>- <div class="method-list-item-description">--Specifies if duplicate rows should be ignored and not inserted.-- </div>--</li>---<li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">- count- </span>- <span className="method-list-item-label-badge required">- required- </span>- <span className="method-list-item-validation">- <code>null</code> | <code>exact</code> | <code>planned</code> | <code>estimated</code>- </span>- </h4>- <div class="method-list-item-description">--Count algorithm to use to count rows in a table.-- </div>--</li>--</ul>--</li>--</ul>---## Notes--- Primary keys should be included in the data payload in order for an update to work correctly.-- Primary keys must be natural, not surrogate. There are however, [workarounds](https://github.com/PostgREST/postgrest/issues/1118) for surrogate primary keys.-----------## Examples--### Upsert your data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('messages')- .upsert({ id: 3, message: 'foo', username: 'supabot' })-```---</TabsPanel>--</Tabs>--### Bulk Upsert your data----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('messages')- .upsert([- { id: 3, message: 'foo', username: 'supabot' },- { id: 4, message: 'bar', username: 'supabot' }- ])-```---</TabsPanel>--</Tabs>--### Upserting into tables with constraints--Running the following will cause supabase to upsert data into the `users` table.-If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row-based on the column passed into `onConflict`.---<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error } = await supabase- .from('users')- .upsert({ username: 'supabot' }, { onConflict: 'username' })-```---</TabsPanel>--</Tabs>--### Return the exact number of rows----<Tabs- defaultActiveId="js"- groupId="reference/supabase-js"- values={[{ label: 'JavaScript', value: 'js' }]}>--<TabsPanel id="js" label="js">--```js-const { data, error, count } = await supabase- .from('users')- .upsert({- id: 3, message: 'foo',- username: 'supabot'- }, {- count: 'exact'- })-```---</TabsPanel>--</Tabs>\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/using-filters.mdx b/apps/temp-docs/docs/javascript/using-filters.mdxdeleted file mode 100644index b4ce9a4811e..00000000000--- a/apps/temp-docs/docs/javascript/using-filters.mdx+++ /dev/null@@ -1,61 +0,0 @@-----id: using-filters-title: "Using Filters"-slug: using-filters-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Filters can be used on `select()`, `update()`, and `delete()` queries.--If a Postgres function returns a table response, you can also apply filters.--### Applying Filters--You must apply your filters to the end of your query. For example:--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .eq('name', 'The Shire') // Correct--const { data, error } = await supabase- .from('cities')- .eq('name', 'The Shire') // Incorrect- .select('name, country_id')-```--### Chaining--Filters can be chained together to produce advanced queries. For example:--```js-const { data, error } = await supabase- .from('cities')- .select('name, country_id')- .gte('population', 1000)- .lt('population', 10000)-```--### Conditional Chaining--Filters can be built up one step at a time and then executed. For example:--```js-const filterByName = null-const filterPopLow = 1000-const filterPopHigh = 10000--let query = supabase- .from('cities')- .select('name, country_id')--if (filterByName) { query = query.eq('name', filterByName) }-if (filterPopLow) { query = query.gte('population', filterPopLow) }-if (filterPopHigh) { query = query.lt('population', filterPopHigh) }--const { data, error } = await query-```\ No newline at end of filediff --git a/apps/temp-docs/docs/javascript/using-modifiers.mdx b/apps/temp-docs/docs/javascript/using-modifiers.mdxdeleted file mode 100644index cad96411fd3..00000000000--- a/apps/temp-docs/docs/javascript/using-modifiers.mdx+++ /dev/null@@ -1,13 +0,0 @@-----id: using-modifiers-title: "Using Modifiers"-slug: using-modifiers-custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml------import Tabs from '@theme/Tabs';-import TabsPanel from '@theme/TabsPanel';--Modifiers can be used on `select()` queries.--If a Postgres function returns a table response, you can also apply modifiers to the `rpc()` function.\ No newline at end of filediff --git a/apps/temp-docs/docs/reference/dart.mdx b/apps/temp-docs/docs/reference/dart.mdxnew file mode 100644index 00000000000..5926fffadf3--- /dev/null+++ b/apps/temp-docs/docs/reference/dart.mdx@@ -0,0 +1,28 @@+---+id: intro+slug: /+title: Supabase Flutter Library+sidebar_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:++- interact with your Postgres database+- listen to database changes+- invoke Deno Edge Functions+- build login and user management functionality+- manage large files++## For non-Flutter projects++We also have [supabase-dart](https://github.com/supabase-community/supabase-dart) for non-Flutter Dart projects, such as server-side Dart or Angular-Dart.+supabase-dart shares most of the APIs with supabase-flutter without being dependent on Flutter so that you can use Supabase anywhere you can run Dart!++## Additional Links++- Source Code: [github.com/supabase/supabase-flutter](https://github.com/supabase/supabase-flutter)+- [Known bugs and issues](https://github.com/supabase/supabase-flutter/issues)diff --git a/apps/temp-docs/docs/reference/javascript/intro.md b/apps/temp-docs/docs/reference/javascript.mdxsimilarity index 96%rename from apps/temp-docs/docs/reference/javascript/intro.mdrename to apps/temp-docs/docs/reference/javascript.mdxindex bec6b4f975e..a8b5b34887d 100644--- a/apps/temp-docs/docs/reference/javascript/intro.md+++ b/apps/temp-docs/docs/reference/javascript.mdx@@ -1,6 +1,7 @@---slug: /sidebar_position: 1+title: Supabase Javascript Librarysidebar_label: Supabase JavaScript Libraryhide_table_of_contents: true---diff --git a/apps/temp-docs/lib/docs.ts b/apps/temp-docs/lib/docs.tsindex 5f048630b4d..4af21292994 100644--- a/apps/temp-docs/lib/docs.ts+++ b/apps/temp-docs/lib/docs.ts@@ -4,15 +4,33 @@ import matter from 'gray-matter'const docsDirectory = process.cwd()+const nonGeneratedReferencePages = [+ 'docs/reference/javascript/installing',+ 'docs/reference/javascript/release-notes',+ 'docs/reference/javascript/upgrade-guide',+ 'docs/reference/javascript/typescript-support',+]++const getPathToGeneratedDoc = (slug: string) => {+ const sections = slug.split('/')+ const updatedSections = sections.slice()+ updatedSections.splice(updatedSections.length - 1, 0, 'generated')+ return updatedSections.join('/')+}+export function getDocsBySlug(slug: string) {console.log('getDocsBySlug', { slug })const realSlug = slug.replace(/\.mdx$/, '')+ const formattedSlug =+ realSlug.includes('/javascript/') && !nonGeneratedReferencePages.includes(realSlug)+ ? getPathToGeneratedDoc(realSlug)+ : realSlug// files can either be .md or .mdx// we need to check which one existslet fullPath- let fullPathMD = join(docsDirectory, `${realSlug}.md`)- let fullPathMDX = join(docsDirectory, `${realSlug}.mdx`)+ let fullPathMD = join(docsDirectory, `${formattedSlug}.md`)+ let fullPathMDX = join(docsDirectory, `${formattedSlug}.mdx`)if (fs.existsSync(fullPathMD)) {fullPath = fullPathMD@@ -37,6 +55,7 @@ export function getDocsBySlug(slug: string) {export function getAllDocs() {const slugs = walk('docs')+ console.log('getAllDocs', slugs)const docs = slugs.map((slug) => getDocsBySlug(slug))return docsdiff --git a/apps/temp-docs/lib/helpers.ts b/apps/temp-docs/lib/helpers.tsindex 9d103202ad2..b0b7539e9dd 100644--- a/apps/temp-docs/lib/helpers.ts+++ b/apps/temp-docs/lib/helpers.ts@@ -1,17 +1,21 @@export function getPageType(asPath: string) {let page- switch (asPath) {- case '/guides':- case '/guides/local-development':- case /\/guides\/[a-zA-Z]*\/[a-zA-Z\-]*/.test(asPath) && asPath:- page = 'Guides'- break- case asPath.includes('/reference') && asPath:- page = 'Reference'- break- default:- page = 'Docs'- break+ if (!asPath) return ''++ if (asPath.includes('/guides')) {+ page = 'docs'+ } else if (asPath.includes('/reference/javascript')) {+ page = 'reference/javascript'+ } else if (asPath.includes('/reference/javascript/v1')) {+ page = 'reference/javascript/v1'+ } else if (asPath.includes('/reference/dart')) {+ page = 'reference/dart'+ } else if (asPath.includes('/reference/dart/v0')) {+ page = 'reference/dart/v0'+ } else if (asPath.includes('/reference')) {+ page = 'reference'+ } else {+ page = 'docs'}return pagediff --git a/apps/temp-docs/pages/[...slug].tsx b/apps/temp-docs/pages/[...slug].tsxindex 8fd46aa2bde..68019689f9d 100644--- a/apps/temp-docs/pages/[...slug].tsx+++ b/apps/temp-docs/pages/[...slug].tsx@@ -1,11 +1,12 @@-import { getAllDocs, getDocsBySlug } from '../lib/docs'-import Layout from '~/layouts/Default'-import { serialize } from 'next-mdx-remote/serialize'-import { MDXRemote } from 'next-mdx-remote'import { MDXProvider } from '@mdx-js/react'+import { useRouter } from 'next/router'+import { MDXRemote } from 'next-mdx-remote'+import { serialize } from 'next-mdx-remote/serialize'import components from '../components/index'import { menuItems } from '../components/nav/Nav.constants'-import { useRouter } from 'next/router'+import { getPageType } from '../lib/helpers'+import { getAllDocs, getDocsBySlug } from '../lib/docs'+import Layout from '~/layouts/Default'// table of contents extractorconst toc = require('markdown-toc')@@ -19,24 +20,9 @@ interface Meta {export default function Doc({ meta, content, toc }: { meta: Meta; content: any; toc: any }) {const { asPath } = useRouter()+ const page = getPageType(asPath)- console.log('[slug]', { meta })-- // get the current kind of page- let page- switch (asPath) {- case '/guides':- case '/guides/local-development':- case /\/guides\/[a-zA-Z]*\/[a-zA-Z\-]*/.test(asPath) && asPath:- page = 'Docs'- break- case asPath.includes('/reference') && asPath:- page = 'Reference'- break- default:- page = 'Docs'- break- }+ console.log('[slug]', { meta, asPath, page })return (// @ts-ignorediff --git a/apps/temp-docs/pages/index.tsx b/apps/temp-docs/pages/index.tsxindex 18ca313f152..7bb9d14a62d 100644--- a/apps/temp-docs/pages/index.tsx+++ b/apps/temp-docs/pages/index.tsx@@ -15,7 +15,7 @@ export default function Home({}) {console.log({ menuItems }, 'index')return (- <Layout meta={meta} menuItems={menuItems['Docs']} currentPage="Guides">+ <Layout meta={meta} menuItems={menuItems['docs']} currentPage="docs"><MDXProvider components={components}><MDXRemote {...content} /></MDXProvider>