diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000000..b5924c32836
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,7 @@
+node_modules/
+.vercel
+.next
+.env.local
+.env.production
+.env.dev
+.env.*
\ No newline at end of file
diff --git a/.github/workflows/studio-tests.yml b/.github/workflows/studio-tests.yml
index f9d28288a50..5f4c6cf4b04 100644
--- a/.github/workflows/studio-tests.yml
+++ b/.github/workflows/studio-tests.yml
@@ -6,6 +6,8 @@ name: Studio Unit Tests
on:
push:
branches: [ master ]
+ paths:
+ - 'studio/**'
pull_request:
branches: [ master ]
paths:
diff --git a/README.md b/README.md
index 446e3316709..e8a1708cb3e 100644
--- a/README.md
+++ b/README.md
@@ -225,6 +225,7 @@ Our approach for client libraries is modular. Each sub-library is a standalone i
- [Portuguese (Brazilian) / Português Brasileiro](/i18n/README.pt-br.md)
- [Romanian / Română](/i18n/README.ro.md)
- [Russian / Pусский](/i18n/README.ru.md)
+- [Serbian / Srpski](/i18n/README.sr.md)
- [Sinhala / සිංහල](/i18n/README.si.md)
- [Spanish / Español](/i18n/README.es.md)
- [Simplified Chinese / 简体中文](/i18n/README.zh-cn.md)
diff --git a/apps/reference/.gitignore b/apps/reference/.gitignore
index 8ea2c34929e..6327667b400 100644
--- a/apps/reference/.gitignore
+++ b/apps/reference/.gitignore
@@ -19,5 +19,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
-# _supabase_js/sdk/**/*
-# !_supabase_js/sdk/.gitkeep
\ No newline at end of file
+**/*/generated
\ No newline at end of file
diff --git a/apps/reference/_api/usage.mdx b/apps/reference/_api/usage.mdx
index f9aaa960c54..09584d7a96b 100644
--- a/apps/reference/_api/usage.mdx
+++ b/apps/reference/_api/usage.mdx
@@ -334,6 +334,9 @@ POST https://api.supabase.com/v1/projects
"ap-south-1",
"sa-east-1"
]
+ },
+ "kps_enabled": {
+ "type": "boolean"
}
},
"required": [
@@ -511,6 +514,18 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
```
+
+
+
+
+
+
+
+
+
+
+
+
@@ -583,7 +598,7 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
"properties": {
"slug": {
"type": "string",
- "pattern": {}
+ "pattern": "/^[A-Za-z0-9_-]+$/"
},
"name": {
"type": "string"
@@ -667,6 +682,18 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
```
+
+
+
+
+
+
+
+
+
+
+
+
@@ -814,6 +841,18 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
```
+
+
+
+
+
+
+
+
+
+
+
+
@@ -979,6 +1018,18 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
```
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1075,6 +1126,18 @@ DELETE https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1176,6 +1239,18 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
```
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1253,7 +1328,7 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
},
"value": {
"type": "string",
- "pattern": {}
+ "pattern": "/^(?!SUPABASE_).*/"
}
},
"required": [
@@ -1280,6 +1355,18 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1379,6 +1466,18 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
```
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/reference/_supabase_js_versioned_docs/.gitkeep b/apps/reference/_cli/generated/.gitkeep
similarity index 100%
rename from apps/reference/_supabase_js_versioned_docs/.gitkeep
rename to apps/reference/_cli/generated/.gitkeep
diff --git a/apps/reference/_cli/generated/config.mdx b/apps/reference/_cli/generated/config.mdx
deleted file mode 100644
index 4f69366e0f0..00000000000
--- a/apps/reference/_cli/generated/config.mdx
+++ /dev/null
@@ -1,337 +0,0 @@
----
-id: config
-slug: /config
-title: Configuration
-toc_max_heading_level: 3
----
-
-
-
-A `config.toml` file is generated after running `supabase init`.
-
-This file is located in the `supabase` folder under `supabase/config.toml`.
-
-
-
-## General {#general}
-
-### `project_id` {#project_id}
-
-A string used to distinguish different Supabase projects on the same host. Defaults to the working directory name when running `supabase init`.
-
-
-
- Required: true
-
-
- Default: None
-
-
-
-
-
-
-
-## Auth Settings {#auth}
-
-### `auth.site_url` {#auth.site_url}
-
-The base URL of your website. Used as an allow-list for redirects and for constructing URLs used in emails.
-
-
-
-
-
-### `auth.additional_redirect_urls` {#auth.additional_redirect_urls}
-
-A list of _exact_ URLs that auth providers are permitted to redirect to post authentication.
-
-
-
-
-
-### `auth.jwt_expiry` {#auth.jwt_expiry}
-
-How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week).
-
-
-
-
-
-### `auth.email.double_confirm_changes` {#auth.email.double_confirm_changes}
-
-If enabled, a user will be required to confirm any email change on both the old, and new email addresses. If disabled, only the new email is required to confirm.
-
-
-
-
-
-### `auth.email.enable_confirmations` {#auth.email.enable_confirmations}
-
-If enabled, users need to confirm their email address before signing in.
-
-
-
-
-
-### `api.max_rows` {#api.max_rows}
-
-The maximum number of rows returned from a view, table, or stored procedure. Limits payload size for accidental or malicious requests.
-
-
-
-
-
-### `db.major_version` {#db.major_version}
-
-The database major version to use. This has to be the same as your remote database's. Run `SHOW server_version;` on the remote database to check.
-
-
-
-
-
-
-
-## Dashboard Settings {#dashboard}
-
-### `studio.port` {#studio.port}
-
-Port to use for Supabase Studio.
-
-
-
- Required: true
-
-
- Default: 54323
-
-
-
-
-
-
-
-## Local Development {#local}
-
-### `inbucket.port` {#inbucket.port}
-
-Port to use for the email testing server web interface.
-
-Emails sent with the local dev setup are not actually sent - rather, they are monitored, and you can view the emails that would have been sent from the web interface.
-
-
-
-
diff --git a/apps/reference/_cli/generated/usage.mdx b/apps/reference/_cli/generated/usage.mdx
deleted file mode 100644
index 7235621cecb..00000000000
--- a/apps/reference/_cli/generated/usage.mdx
+++ /dev/null
@@ -1,1008 +0,0 @@
----
-id: usage
-slug: /usage
-title: Usage
-toc_max_heading_level: 3
----
-
-
-
-Supabase CLI provides you with tools to develop your application locally, and deploy your application to the Supabase platform.
-
-
-
-
-
-
-### Stop all local Supabase containers {#supabase-stop}
-
-
-
-```sh
-supabase stop [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for stop
-```
-
-
-
-
-
-
-### Show status of local Supabase containers {#supabase-status}
-
-
-
-```sh
-supabase status [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for status
-```
-
-
-
-
-
-
-### Start containers for Supabase local development {#supabase-start}
-
-
-
-```sh
-supabase start [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for start
-```
-
-
-
-
-
-
-## Manage Supabase secrets {#supabase-secrets}
-
-
-
-
-
-**Available Commands**
-
--
- supabase secrets list
-
-
--
- supabase secrets set
-
-
--
- supabase secrets unset
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for secrets
-```
-
-
-
-
-
-
-### Unset a secret(s) on Supabase {#supabase-secrets-unset}
-
-
-
-Unset a secret(s) from the linked Supabase project.
-
-```sh
-supabase secrets unset ... [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for unset
-```
-
-
-
-
-
-
-### Set a secret(s) on Supabase {#supabase-secrets-set}
-
-
-
-Set a secret(s) to the linked Supabase project.
-
-```sh
-supabase secrets set [flags] ...
-```
-
-
-
-
-
-**Options**
-
-```sh
- --env-file string Read secrets from a .env file.
- -h, --help help for set
-```
-
-
-
-
-
-
-### List all secrets on Supabase {#supabase-secrets-list}
-
-
-
-List all secrets in the linked project.
-
-```sh
-supabase secrets list [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for list
-```
-
-
-
-
-
-
-## Manage Supabase projects {#supabase-projects}
-
-
-
-
-
-**Available Commands**
-
--
- supabase projects create
-
-
--
- supabase projects list
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for projects
-```
-
-
-
-
-
-
-### List all Supabase projects {#supabase-projects-list}
-
-
-
-List all Supabase projects the logged-in user can access.
-
-```sh
-supabase projects list [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for list
-```
-
-
-
-
-
-
-### Create a project on Supabase {#supabase-projects-create}
-
-
-
-```sh
-supabase projects create [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- --db-password string Database password of the project.
- -h, --help help for create
- -i, --interactive Enables interactive mode.
- --org-id string Organization ID to create the project in.
- --plan string Select a plan that suits your needs. (default "free")
- --region string Select a region close to you for the best performance.
-```
-
-
-
-
-
-
-## Manage Supabase organizations {#supabase-orgs}
-
-
-
-
-
-**Available Commands**
-
--
- supabase orgs list
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for orgs
-```
-
-
-
-
-
-
-### List all organizations {#supabase-orgs-list}
-
-
-
-List all organizations the logged-in user belongs.
-
-```sh
-supabase orgs list [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for list
-```
-
-
-
-
-
-
-## Manage database migration scripts {#supabase-migration}
-
-
-
-
-
-**Available Commands**
-
--
- supabase migration list
-
-
--
- supabase migration new
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for migration
-```
-
-
-
-
-
-
-### Create an empty migration script {#supabase-migration-new}
-
-
-
-```sh
-supabase migration new [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for new
-```
-
-
-
-
-
-
-### List local and remote migrations {#supabase-migration-list}
-
-
-
-```sh
-supabase migration list [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for list
- -p, --password string Password to your remote Postgres database.
-```
-
-
-
-
-
-
-### Authenticate using an access token {#supabase-login}
-
-
-
-```sh
-supabase login [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for login
-```
-
-
-
-
-
-
-### Link to a Supabase project {#supabase-link}
-
-
-
-```sh
-supabase link [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for link
- -p, --password string Password to your remote Postgres database.
- --project-ref string Project ref of the Supabase project.
-```
-
-
-
-
-
-
-### Initialize a local project {#supabase-init}
-
-
-
-```sh
-supabase init [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for init
-```
-
-
-
-
-
-
-## Run code generation tools {#supabase-gen}
-
-
-
-
-
-**Available Commands**
-
--
- supabase gen types
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for gen
-```
-
-
-
-
-
-
-## Generate types from Postgres schema {#supabase-gen-types}
-
-
-
-
-
-**Available Commands**
-
--
- supabase gen types typescript
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for types
-```
-
-
-
-
-
-
-### Generate types for TypeScript {#supabase-gen-types-typescript}
-
-
-
-Generate types for TypeScript. Must specify either --local or --db-url
-
-```sh
-supabase gen types typescript [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- --db-url string Generate types from a database url.
- -h, --help help for typescript
- --local Generate types from the local dev database.
-```
-
-
-
-
-
-
-## Manage Supabase Edge functions {#supabase-functions}
-
-
-
-
-
-**Available Commands**
-
--
- supabase functions delete
-
-
--
- supabase functions deploy
-
-
--
- supabase functions new
-
-
--
- supabase functions serve
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for functions
-```
-
-
-
-
-
-
-### Serve a Function locally {#supabase-functions-serve}
-
-
-
-```sh
-supabase functions serve [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- --env-file string Path to an env file to be populated to the Function environment.
- -h, --help help for serve
- --no-verify-jwt Disable JWT verification for the Function.
-```
-
-
-
-
-
-
-### Create a new Function locally {#supabase-functions-new}
-
-
-
-```sh
-supabase functions new [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for new
-```
-
-
-
-
-
-
-### Deploy a Function to Supabase {#supabase-functions-deploy}
-
-
-
-Deploy a Function to the linked Supabase project.
-
-```sh
-supabase functions deploy [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for deploy
- --no-verify-jwt Disable JWT verification for the Function.
- --project-ref string Project ref of the Supabase project.
-```
-
-
-
-
-
-
-### Delete a Function from Supabase {#supabase-functions-delete}
-
-
-
-Delete a Function from the linked Supabase project. This does NOT remove the Function locally.
-
-```sh
-supabase functions delete [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for delete
- --project-ref string Project ref of the Supabase project.
-```
-
-
-
-
-
-
-## Manage local Postgres databases {#supabase-db}
-
-
-
-
-
-**Available Commands**
-
--
- supabase db branch
-
-
--
- supabase db diff
-
-
--
- supabase db push
-
-
--
- supabase db remote
-
-
--
- supabase db reset
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for db
-```
-
-
-
-
-
-
-### Resets the local database to current migrations {#supabase-db-reset}
-
-
-
-```sh
-supabase db reset [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for reset
-```
-
-
-
-
-
-
-## Manage remote databases {#supabase-db-remote}
-
-
-
-
-
-**Available Commands**
-
--
- supabase db remote changes
-
-
--
- supabase db remote commit
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for remote
- -p, --password string Password to your remote Postgres database.
-```
-
-
-
-
-
-
-### Commit remote changes as a new migration {#supabase-db-remote-commit}
-
-
-
-```sh
-supabase db remote commit [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for commit
-```
-
-
-
-
-
-
-### Show changes on the remote database {#supabase-db-remote-changes}
-
-
-
-Show changes on the remote database since last migration.
-
-```sh
-supabase db remote changes [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for changes
-```
-
-
-
-
-
-
-### Push new migrations to the remote database {#supabase-db-push}
-
-
-
-```sh
-supabase db push [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- --dry-run Print the migrations that would be applied, but don't actually apply them.
- -h, --help help for push
- -p, --password string Password to your remote Postgres database.
-```
-
-
-
-
-
-
-### Diffs the local database for schema changes {#supabase-db-diff}
-
-
-
-```sh
-supabase db diff [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -f, --file string Saves schema diff to a file.
- -h, --help help for diff
- -s, --schema strings List of schema to include. (default [public])
- --use-migra Use migra to generate schema diff.
-```
-
-
-
-
-
-
-## Manage local database branches {#supabase-db-branch}
-
-
-
-Manage local database branches. Each branch is associated with a separate local database. Forking remote databases is NOT supported.
-
-
-
-**Available Commands**
-
--
- supabase db branch create
-
-
--
- supabase db branch delete
-
-
--
- supabase db branch list
-
-
--
- supabase db branch switch
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for branch
-```
-
-
-
-
-
-
-### Switch the active branch {#supabase-db-branch-switch}
-
-
-
-```sh
-supabase db branch switch [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for switch
-```
-
-
-
-
-
-
-### List branches {#supabase-db-branch-list}
-
-
-
-```sh
-supabase db branch list [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for list
-```
-
-
-
-
-
-
-### Delete a branch {#supabase-db-branch-delete}
-
-
-
-```sh
-supabase db branch delete [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for delete
-```
-
-
-
-
-
-
-### Create a branch {#supabase-db-branch-create}
-
-
-
-```sh
-supabase db branch create [flags]
-```
-
-
-
-
-
-**Options**
-
-```sh
- -h, --help help for create
-```
-
-
diff --git a/apps/reference/_gotrue/config.mdx b/apps/reference/_gotrue/config.mdx
index dfa0090df45..9a00a5a380e 100644
--- a/apps/reference/_gotrue/config.mdx
+++ b/apps/reference/_gotrue/config.mdx
@@ -1,244 +1,35 @@
---
id: config
+slug: /config
title: Configuration
+toc_max_heading_level: 3
---
-## Security
+
-| Parameter | Type | Description |
-| :-------------------------------------------------------------------- | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `SITE_URL` | `string` | **Required**. The base URL your site is located at. Currently used in combination with other settings to construct URLs used in emails. Any URI that shares a host with `SITE_URL` is a permitted value for `redirect_to` params (see `/authorize` etc.). |
-| `URI_ALLOW_LIST` | `string` | A comma separated list of URIs (e.g. `"https://foo.example.com,https://*.foo.example.com"`) which are permitted as valid `redirect_to` destinations. Defaults to [ ].
Supports wildcard matching through globbing. (e.g. `https://*.foo.example.com` will allow `https://a.foo.example.com` and `https://b.foo.example.com` to be accepted.)
Globbing is also supported on subdomains. (e.g. `https://foo.example.com/*` will allow `https://foo.example.com/page1` and `https://foo.example.com/page2` to be accepted.) For more common glob patterns, check out the [following link](https://pkg.go.dev/github.com/gobwas/glob#Compile). |
-| `OPERATOR_TOKEN` | `string` | The shared secret with an operator for this microservice. Used to verify requests have been proxied through the operator and the payload values can be trusted. |
-| `DISABLE_SIGNUP` | `bool` | When signup is disabled the only way to create new users is through invites. Defaults to `false`, all signups enabled. |
-| `EXTERNAL_EMAIL_ENABLED` | `bool` | Use this to disable email signups (users can still use external oauth providers to sign up / sign in) |
-| `EXTERNAL_PHONE_ENABLED` | `bool` | Use this to disable phone signups (users can still use external oauth providers to sign up / sign in) |
-| `RATE_LIMIT_TOKEN_REFRESH` | `string` | Rate limit the number of requests sent to `/token` |
-| `RATE_LIMIT_EMAIL_SENT` | `string` | Rate limit the number of emails sent per hr on the following endpoints: `/signup`, `/invite`, `/magiclink`, `/recover`, `/otp`, & `/user`. |
-| `PASSWORD_MIN_LENGTH` | `int` | Minimum password length, defaults to 6. |
+A `config.toml` file is generated after running `supabase init`.
-These options control additional security settings available in gotrue. If self-hosting, they need to be prefixed with `GOTRUE_SECURITY_` .
+This file is located in the `supabase` folder under `supabase/config.toml`.
-| Parameter | Type | Description |
-| :---------------------------------------------------------------------------------------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `REFRESH_TOKEN_ROTATION_ENABLED` | `bool` | If refresh token rotation is enabled, gotrue will automatically detect malicious attempts to reuse a revoked refresh token. When a malicious attempt is detected, gotrue immediately revokes all tokens that descended from the offending token. |
-| `REFRESH_TOKEN_REUSE_INTERVAL` | `string` | This setting is only applicable if `REFRESH_TOKEN_ROTATION_ENABLED` is enabled. The reuse interval for a refresh token allows for exchanging the refresh token multiple times during the interval to support concurrency or offline issues. During the reuse interval, gotrue will not consider using a revoked token as a malicious attempt and will simply return the child refresh token. Only the previous revoked token can be reused. Using an old refresh token way before the current valid refresh token will trigger the reuse detection. |
-| `CAPTCHA_ENABLED` | `string` | Enables the captcha middleware. |
-| `CAPTCHA_PROVIDER` | `string` | The only captcha provider option supported is: `hcaptcha`. |
-| `CAPTCHA_SECRET` | `string` | The captcha secret token. Retrieve this from your captcha account. |
-| `CAPTCHA_TIMEOUT` | `string` | The http timeout on the captcha request. |
-| `UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION` | `bool` | When enabled, this requires a user to reauthenticate before being able to update their password. |
-## API
-| Parameter | Type | Description |
-| :------------------------------------------------------ | :------- | :--------------------------------------------------------------------------------------------- |
-| `API_HOST` | `string` | Hostname to listen on. |
-| `PORT` | `number` | Port number to listen on. Defaults to `8081`. |
-| `REQUEST_ID_HEADER` | `string` | If you wish to inherit a request ID from the incoming request, specify the name in this value. |
-## Database
+
-| Parameter | Type | Description |
-| :---------------------------------------------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| `DB_DRIVER` | `string` | **Required**. Chooses what dialect of database you want. Must be `postgres`. |
-| `DATABASE_URL` | `string` | **Required**. Connection string for the database. |
-| `DB_MAX_POOL_SIZE` | `int` | Sets the maximum number of open connections to the database. Defaults to 0 which is equivalent to an "unlimited" number of connections. |
-| `DB_NAMESPACE` | `string` | Specifies the schema in which the tables are to be created in. |
+## General {#general}
-## JSON Web Tokens (JWT)
-| Parameter | Type | Description |
-| :---------------------------------------------------------------- | :------- | :----------------------------------------------------------------------------------- |
-| `JWT_SECRET` | `string` | **Required**. The secret used to sign JWT tokens with. |
-| `JWT_EXP` | `number` | How long tokens are valid for in seconds. Defaults to 3600 (1 hour). |
-| `JWT_AUD` | `string` | The default JWT audience. Use audiences to group users. Defaults to `authenticated`. |
-| `JWT_ADMIN_GROUP_NAME` | `string` | The name of the admin group (if enabled). Defaults to `admin`. |
-| `JWT_DEFAULT_GROUP_NAME` | `string` | The default group to assign all new users to. |
-## External Authentication Providers
+### `project_id` {#project_id}
-We support `apple`, `azure`, `bitbucket`, `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin`, `notion`, `spotify`, `slack`, `twitch`, `twitter` and `workos` for external authentication.
+A string used to distinguish different Supabase projects on the same host. Defaults to the working directory name when running `supabase init`.
-Use the names as the keys underneath `external` to configure each separately.
-No external providers are required, but you must provide the required values if you choose to enable any.
+
+
Required: true
+
Default: None
+
-| Parameter | Type | Description |
-| :------------------------------------------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `EXTERNAL_X_ENABLED` | `bool` | Whether this external provider is enabled or not |
-| `EXTERNAL_X_CLIENT_ID` | `string` | **Required**. The OAuth2 Client ID registered with the external provider. |
-| `EXTERNAL_X_SECRET` | `string` | **Required**. The OAuth2 Client Secret provided by the external provider when you registered. |
-| `EXTERNAL_X_REDIRECT_URI` | `string` | **Required**. Also known as the callback url, this is the URI an OAuth2 provider will redirect to with the `code` and `state` values. |
-| `EXTERNAL_X_URL` | `string` | The base URL used for constructing the URLs to request authorization and access tokens. Used by `gitlab` and `keycloak`. For `gitlab` it defaults to `https://gitlab.com`. For `keycloak` you need to set this to your realm url, (e.g. `https://keycloak.example.com/auth/realms/myrealm`) |
+
-### Apple OAuth
-To try out sign-in with Apple locally, you will need to do the following:
-
-1. Run GoTrue over `https` via a reverse proxy (like ngrok).
-2. Generate the `crt` and `key` file. See [here](https://www.freecodecamp.org/news/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec/) for more information.
-3. Generate the `GOTRUE_EXTERNAL_APPLE_SECRET` by following this [post](https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003)!
-
-## SMTP Configuration
-
-Sending email is not required, but highly recommended for password recovery. If `mailer_autoconfirm` is enabled, no emails will be sent out for `signup`, `recovery`, `invite`. Emails will only be sent out for `magiclink`.
-
-| Parameter | Type | Description |
-| :-------------------------------------------------------- | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `SMTP_ADMIN_EMAIL` | `string` | **Required**. The `From` email address for all emails sent. |
-| `SMTP_HOST` | `string` | **Required**. The mail server hostname to send emails through. |
-| `SMTP_PORT` | `string` | **Required**. The port number to connect to the mail server on. |
-| `SMTP_USER` | `string` | **Required**. If the mail server requires authentication, the username to use. |
-| `SMTP_PASS` | `string` | **Required**. If the mail server requires authentication, the password to use. |
-| `SMTP_MAX_FREQUENCY` | `string` | Controls the minimum amount of time that must pass before sending another signup confirmation or password reset email. The value is the number of seconds. Defaults to 60 seconds. |
-| `SMTP_SENDER_NAME` | `string` | Sets the name of the sender. Defaults to the `SMTP_ADMIN_EMAIL` if not used. |
-
-## Email
-
-These options control the emails sent from GoTrue.
-
-| Parameter | Type | Description |
-| :---------------------------------------------------------------------------------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `MAILER_AUTOCONFIRM` | `bool` | If you do not require email confirmation, you may set this to `true`. Defaults to `false`. |
-| `MAILER_SECURE_EMAIL_CHANGE_ENABLED` | `bool` | If `true`, send an email to both the user's current and new email with a confirmation link, otherwise send an email with confirmation link only to new email. Defaults to `true`. |
-| `MAILER_OTP_EXP` | `string` | Controls the duration an email link or otp is valid for. Defaults to 24 hrs. |
-| `MAILER_URLPATHS_INVITE` | `string` | URL path to use in the user invite email. Defaults to `/`. |
-| `MAILER_URLPATHS_CONFIRMATION` | `string` | URL path to use in the signup confirmation email. Defaults to `/`. |
-| `MAILER_URLPATHS_RECOVERY` | `string` | URL path to use in the password reset email. Defaults to `/`. |
-| `MAILER_URLPATHS_EMAIL_CHANGE` | `string` | URL path to use in the email change confirmation email. Defaults to `/`. |
-| `MAILER_SUBJECTS_INVITE` | `string` | Email subject to use for user invite. Defaults to `You have been invited`. |
-| `MAILER_SUBJECTS_CONFIRMATION` | `string` | Email subject to use for signup confirmation. Defaults to `Confirm Your Signup`. |
-| `MAILER_SUBJECTS_RECOVERY` | `string` | Email subject to use for password reset. Defaults to `Reset Your Password`. |
-| `MAILER_SUBJECTS_MAGIC_LINK` | `string` | Email subject to use for magic link email. Defaults to `Your Magic Link`. |
-| `MAILER_SUBJECTS_EMAIL_CHANGE` | `string` | Email subject to use for email change confirmation. Defaults to `Confirm Email Change`. |
-
-## Email Templates
-
-| Parameter | Type | Description |
-| :------------------------------------------------------------------ | :------- | :---------------------------------------------------------------------------------------------------------------------------- |
-| `MAILER_TEMPLATES_INVITE` | `string` | URL path to an email template to use when inviting a user. `SiteURL`, `Email`, and `ConfirmationURL` variables are available. |
-
-Default Content (if template is unavailable):
-
-```html
-
You have been invited
-
- You have been invited to create a user on {{ .SiteURL }}. Follow this link to
- accept the invite:
-
-```
-
-| Parameter | Type | Description |
-| :------------------------------------------------------------------------------ | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `MAILER_TEMPLATES_EMAIL_CHANGE` | `string` | URL path to an email template to use when confirming the change of an email address. `SiteURL`, `Email`, `NewEmail` and `ConfirmationURL` variables are available. |
-
-Default Content (if template is unavailable):
-
-```html
-
Confirm Change of Email
-
-
- Follow this link to confirm the update of your email from {{ .Email }} to {{
- .NewEmail }}:
-
-```
-
-### Phone Auth
-
-These options control the SMS-es sent from GoTrue.
-
-| Parameter | Type | Description |
-| :------------------------------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `SMS_AUTOCONFIRM` | `bool` | If you do not require phone confirmation, you may set this to `true`. Defaults to `false`. |
-| `SMS_MAX_FREQUENCY` | `number` | Controls the minimum amount of time that must pass before sending another sms otp. The value is the number of seconds. Defaults to 60 (1 minute)). |
-| `SMS_OTP_EXP` | `number` | Controls the duration an sms otp is valid for. |
-| `SMS_OTP_LENGTH` | `number` | Controls the number of digits of the sms otp sent. Valid otp lengths are between [6 - 10] digits |
-| `SMS_PROVIDER` | `string` | Available options are: `twilio`, `messagebird`, `textlocal`, and `vonage` |
-
-If you're using twilio, you can obtain your credentials from the [twilio dashboard](https://www.twilio.com/docs/usage/requests-to-twilio#credentials):
-
-You can find the `SMS_TWILIO_ACCOUNT_SID` and `SMS_TWILIO_AUTH_TOKEN` in the account info page of the twilio console dashboard.
-
-| Parameter | Type | Description |
-| :---------------------------------------------------------------------------- | :------- | :------------------------------------------- |
-| `SMS_TWILIO_ACCOUNT_SID` | `string` | Your twilio account string identifier (SID). |
-| `SMS_TWILIO_AUTH_TOKEN` | `string` | Your twilio auth token. |
-| `SMS_TWILIO_MESSAGE_SERVICE_SID` | `string` | Your twilio sender mobile number |
-
-If you're using MessageBird, you can obtain your credentials from the [MessageBird dashboard](https://dashboard.messagebird.com/en/developers/access):
-
-| Parameter | Type | Description |
-| :-------------------------------------------------------------------- | :------- | :----------------------------------------------------------- |
-| `SMS_MESSAGEBIRD_ACCESS_KEY` | `string` | Your MessageBird access key. |
-| `SMS_MESSAGEBIRD_ORIGINATOR` | `string` | Your MessageBird sender phone number with + or company name. |
-
-## Logging
-
-| Parameter | Type | Description |
-| :-------------------------------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------- |
-| `LOG_LEVEL` | `string` | Controls what log levels are output. Choose from `panic`, `fatal`, `error`, `warn`, `info`, or `debug`. Defaults to `info`. |
-| `LOG_FILE` | `string` | If you wish logs to be written to a file, set `log_file` to a valid file path. |
-
-## Opentracing
-
-Currently Datadog is the only tracer supported.
-
-| Parameter | Type | Description |
-| :-------------------------------------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `TRACING_ENABLED` | `bool` | Whether tracing is enabled or not. Defaults to `false`. |
-| `TRACING_HOST` | `string` | The tracing destination. (e.g. `GOTRUE_TRACING_HOST=127.0.0.1`) |
-| `TRACING_PORT` | `int` | The port for the tracing host. |
-| `TRACING_TAGS` | `string` | A comma separated list of key:value pairs. These key value pairs will be added as tags to all opentracing spans. (e.g. `GOTRUE_TRACING_TAGS="tag1:value1,tag2:value2"`) |
-| `SERVICE_NAME` | `string` | The name to use for the service. |
-
-## Webhooks
-
-| Parameter | Type | Description |
-| :---------------------------------------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `WEBHOOK_URL` | `string` | URL of the webhook receiver endpoint. This will be called when events like `validate`, `signup` or `login` occur. |
-| `WEBHOOK_SECRET` | `string` | Shared secret to authorize webhook requests. This secret signs the [JSON Web Signature](https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-41) of the request. You _should_ use this to verify the integrity of the request. Otherwise others can feed your webhook receiver with fake data. |
-| `WEBHOOK_RETRIES` | `number` | How often GoTrue should try a failed hook. |
-| `WEBHOOK_TIMEOUT_SEC` | `number` | Time between retries (in seconds). |
-| `WEBHOOK_EVENTS` | `list` | Which events should trigger a webhook. You can provide a comma separated list. For example to listen to all events, provide the values `validate,signup,login`. |
diff --git a/apps/reference/_storage/generated/config.mdx b/apps/reference/_storage/generated/config.mdx
deleted file mode 100644
index 2cfc75f1a27..00000000000
--- a/apps/reference/_storage/generated/config.mdx
+++ /dev/null
@@ -1,264 +0,0 @@
----
-id: config
-slug: /config
-title: Configuration
-toc_max_heading_level: 3
----
-
-
-
-A sample `.env` file is located in the [storage repository](https://github.com/supabase/storage-api/blob/master/.env.sample).
-
-Use this file to configure your environment variables for your Storage server.
-
-
-
-
-
-
-## General {#general}
-
-
-
-### `ANON_KEY` {#ANON_KEY}
-
-A long-lived JWT with anonymous Postgres privileges.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `SERVICE_KEY` {#SERVICE_KEY}
-
-A long-lived JWT with Postgres privileges to bypass Row Level Security.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `TENANT_ID` {#TENANT_ID}
-
-The ID of a Storage tenant.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `REGION` {#REGION}
-
-Region of your S3 bucket.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `GLOBAL_S3_BUCKET` {#GLOBAL_S3_BUCKET}
-
-Name of your S3 bucket.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `POSTGREST_URL` {#POSTGREST_URL}
-
-The URL of your PostgREST server.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `PGRST_JWT_SECRET` {#PGRST_JWT_SECRET}
-
-A JWT Secret for the PostgREST database.
-
-
-
-
Required: true
-
Default: None
-
-
-
-
-
-### `DATABASE_URL` {#DATABASE_URL}
-
-The URL of your Postgres database.
-
-
-
-
-
-
-
-
-
-
-
-
-#### Responses
-
-
-
-
-
-Default Response
-
-
-
-
-```json
-{
- "schema": {
- "type": "object",
- "properties": {
- "statusCode": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "statusCode",
- "error",
- "message"
- ],
- "title": "errorSchema"
- }
-}
-```
-
-
-
-
-
-
-
-
-
-
diff --git a/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx b/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx
deleted file mode 100644
index 20bea627851..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx
+++ /dev/null
@@ -1,29 +0,0 @@
----
-id: auth-onauthstatechange
-title: 'auth.onAuthStateChange()'
-slug: /auth-onauthstatechange
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Receive a notification every time an auth event happens.
-
-```dart
-final subscription = supabase.auth.onAuthStateChange((event, session) {
- print(session?.user?.id);
- // handle auth state change
-});
-```
-
-## Examples
-
-### Listen to auth changes
-
-```dart
-final subscription = supabase.auth.onAuthStateChange((event, session) {
- print(session?.user?.id);
- // handle auth state change
-});
-```
diff --git a/apps/reference/_supabase_dart/generated/auth-session.mdx b/apps/reference/_supabase_dart/generated/auth-session.mdx
deleted file mode 100644
index 2695de7e177..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-session.mdx
+++ /dev/null
@@ -1,23 +0,0 @@
----
-id: auth-session
-title: 'auth.session()'
-slug: /auth-session
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Returns the session data, if there is an active session.
-
-```dart
-final Session? session = supabase.auth.currentSession;
-```
-
-## Examples
-
-### Get the session data
-
-```dart
-final Session? session = supabase.auth.currentSession;
-```
diff --git a/apps/reference/_supabase_dart/generated/auth-signin.mdx b/apps/reference/_supabase_dart/generated/auth-signin.mdx
deleted file mode 100644
index 93c12ffd39b..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-signin.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: auth-signin
-title: 'auth.signIn()'
-slug: /auth-signin
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Log in an existing user, or login via a third-party provider.
-
-```dart
-final GotrueSessionResponse res = await supabase.auth.signIn(email: 'example@email.com', password: 'example-password');
-
-final User? user = res.user;
-```
-
-## Notes
-
-- A user can sign up via email, phone number.
-- 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)
-- Similarly, if you provide `phone` without a `password`, the user will be sent a one time password.
-- If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).
-
-## Examples
-
-### Sign in with email.
-
-```dart
-final GotrueSessionResponse res = await supabase.auth.signIn(email: 'example@email.com', password: 'example-password');
-
-final User? user = res.user;
-```
-
-### Sign in with magic link.
-
-If email is provided, but 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.
-
-```dart
-final GotrueSessionResponse res = await supabase.auth.signIn(email: 'example@email.com');
-```
-
-### Get OAuth sign in URL.
-
-Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth.
-If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).
-
-```dart
-final GotrueSessionResponse res = await supabase.auth.signIn(provider: Provider.github);
-
-final User? user = res.user;
-```
diff --git a/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx b/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx
deleted file mode 100644
index cc7078af3f4..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx
+++ /dev/null
@@ -1,55 +0,0 @@
----
-id: auth-signinwithprovider
-title: 'auth.signInWithProvider()'
-slug: /auth-signinwithprovider
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Signs the user in using third party OAuth providers.
-
-```dart
-await supabase.auth.signInWithProvider(Provider.github);
-```
-
-## Notes
-
-- `auth.signInWithProvider()` is only available on `supabase_flutter`
-- It will open the browser to the relevant login page.
-
-## Examples
-
-### Sign in with provider.
-
-```dart
-await supabase.auth.signInWithProvider(Provider.github);
-```
-
-### With `redirectTo`
-
-Specify the redirect link to bring back the user via deeplink.
-Note that `redirectTo` should be null for Flutter Web.
-
-```dart
-await supabase.auth.signInWithProvider(Provider.github,
- options: const AuthOptions(
- redirectTo:
- kIsWeb ? null : 'io.supabase.flutter://reset-callback/'));
-```
-
-### 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.
-
-```dart
-await supabase.auth.signInWithProvider(Provider.github,
- options: const AuthOptions(scopes: 'repo gist notifications'));
-...
-// after user comes back from signin flow
-
-final Session? session = supabase.auth.currentSession;
-final String? oAuthToken = session?.providerToken;
-```
diff --git a/apps/reference/_supabase_dart/generated/auth-signout.mdx b/apps/reference/_supabase_dart/generated/auth-signout.mdx
deleted file mode 100644
index 9a85917e778..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-signout.mdx
+++ /dev/null
@@ -1,23 +0,0 @@
----
-id: auth-signout
-title: 'auth.signOut()'
-slug: /auth-signout
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Signs out the current user, if there is a logged in user.
-
-```dart
-await supabase.auth.signOut();
-```
-
-## Examples
-
-### Sign out
-
-```dart
-await supabase.auth.signOut();
-```
diff --git a/apps/reference/_supabase_dart/generated/auth-signup.mdx b/apps/reference/_supabase_dart/generated/auth-signup.mdx
deleted file mode 100644
index 1174fb7a608..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-signup.mdx
+++ /dev/null
@@ -1,38 +0,0 @@
----
-id: auth-signup
-title: 'auth.signUp()'
-slug: /auth-signup
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Creates a new user.
-
-```dart
-final GotrueSessionResponse res = await supabase.auth.signUp('example@email.com', 'example-password');
-
-final User? user = res.user;
-```
-
-## 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)
-
-## Examples
-
-### Sign up.
-
-```dart
-final GotrueSessionResponse res = await supabase.auth.signUp('example@email.com', 'example-password');
-
-final User? user = res.user;
-```
-
-### Sign up with third-party providers.
-
-If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
diff --git a/apps/reference/_supabase_dart/generated/auth-update.mdx b/apps/reference/_supabase_dart/generated/auth-update.mdx
deleted file mode 100644
index 1d95999e765..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-update.mdx
+++ /dev/null
@@ -1,28 +0,0 @@
----
-id: auth-update
-title: 'auth.update()'
-slug: /auth-update
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Updates user data, if there is a logged in user.
-
-```dart
-final GotrueUserResponse res = await supabase.auth.update(UserAttributes(data: {'hello': 'world'}));
-```
-
-## Notes
-
-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 a user's metadata.
-
-```dart
-final GotrueUserResponse res = await supabase.auth.update(UserAttributes(data: {'hello': 'world'}));
-```
diff --git a/apps/reference/_supabase_dart/generated/auth-user.mdx b/apps/reference/_supabase_dart/generated/auth-user.mdx
deleted file mode 100644
index 25be1f9609c..00000000000
--- a/apps/reference/_supabase_dart/generated/auth-user.mdx
+++ /dev/null
@@ -1,23 +0,0 @@
----
-id: auth-user
-title: 'auth.user()'
-slug: /auth-user
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Returns the user data, if there is a logged in user.
-
-```dart
-final User? user = supabase.auth.currentUser;
-```
-
-## Examples
-
-### Get the logged in user
-
-```dart
-final User? user = supabase.auth.currentUser;
-```
diff --git a/apps/reference/_supabase_dart/generated/containedby.mdx b/apps/reference/_supabase_dart/generated/containedby.mdx
deleted file mode 100644
index 0e09e8326fd..00000000000
--- a/apps/reference/_supabase_dart/generated/containedby.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: containedby
-title: '.containedBy()'
-slug: /containedby
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .containedBy('main_exports', ['cars', 'food', 'machine']);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .containedBy('main_exports', ['cars', 'food', 'machine']);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .containedBy('main_exports', ['orks', 'surveillance', 'evil']);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .containedBy('main_exports', ['cars', 'food', 'machine']);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .containedBy('main_exports', ['cars', 'food', 'machine']);
-```
diff --git a/apps/reference/_supabase_dart/generated/contains.mdx b/apps/reference/_supabase_dart/generated/contains.mdx
deleted file mode 100644
index c1a7823d494..00000000000
--- a/apps/reference/_supabase_dart/generated/contains.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: contains
-title: '.contains()'
-slug: /contains
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .contains('main_exports', ['oil']);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .contains('main_exports', ['oil']);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .contains('main_exports', ['oil']);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .contains('main_exports', ['oil']);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .contains('main_exports', ['oil']);
-```
diff --git a/apps/reference/_supabase_dart/generated/delete.mdx b/apps/reference/_supabase_dart/generated/delete.mdx
deleted file mode 100644
index d94a6df55bf..00000000000
--- a/apps/reference/_supabase_dart/generated/delete.mdx
+++ /dev/null
@@ -1,33 +0,0 @@
----
-id: delete
-title: 'Delete data: delete()'
-slug: /delete
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Performs a DELETE on the table.
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .match({ 'id': 666 });
-```
-
-## Notes
-
-- `delete()` should always be combined with [Filters](/docs/reference/dart/using-filters) to target the item(s) you wish to delete.
-
-## Examples
-
-### Delete records
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .match({ 'id': 666 });
-```
diff --git a/apps/reference/_supabase_dart/generated/eq.mdx b/apps/reference/_supabase_dart/generated/eq.mdx
deleted file mode 100644
index 1cb74567cc5..00000000000
--- a/apps/reference/_supabase_dart/generated/eq.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: eq
-title: '.eq()'
-slug: /eq
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` exactly matches the specified `value`.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .eq('name', 'The shire');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .eq('name', 'The shire');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .eq('name', 'San Francisco');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .eq('name', 'Mordor');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .eq('name', 'San Francisco');
-```
diff --git a/apps/reference/_supabase_dart/generated/filter.mdx b/apps/reference/_supabase_dart/generated/filter.mdx
deleted file mode 100644
index 253945c18ad..00000000000
--- a/apps/reference/_supabase_dart/generated/filter.mdx
+++ /dev/null
@@ -1,75 +0,0 @@
----
-id: filter
-title: '.filter()'
-slug: /filter
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose `column` satisfies the filter.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .filter('name', 'in', '("Paris","Tokyo")');
-```
-
-## Notes
-
-- `.filter()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values, so it should only be used as an escape hatch in case other filters don't work.
- ```dart
- .filter('arraycol','cs','{"a","b"}') // Use Postgres array {} and 'cs' for contains.
- .filter('rangecol','cs','(1,2]') // Use Postgres range syntax for range column.
- .filter('id','in','(6,7)') // Use Postgres list () and 'in' for in_ filter.
- .filter('id','cs','{${mylist.join(',')}}') // You can insert a Dart array list.
- ```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .filter('name', 'in', '("Paris","Tokyo")');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .filter('name', 'in', '("Paris","Tokyo")');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .filter('name', 'in', '("Paris","Tokyo")');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .filter('name', 'in', '("Paris","Tokyo")')
-```
-
-### Filter embedded resources
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, countries ( name )')
- .filter('countries.name', 'in', '("France","Japan")');
-```
diff --git a/apps/reference/_supabase_dart/generated/getchannels.mdx b/apps/reference/_supabase_dart/generated/getchannels.mdx
deleted file mode 100644
index 3f01145853f..00000000000
--- a/apps/reference/_supabase_dart/generated/getchannels.mdx
+++ /dev/null
@@ -1,23 +0,0 @@
----
-id: getchannels
-title: 'getChannels()'
-slug: /getchannels
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Returns all Realtime channels.
-
-```dart
-final channels = supabase.getChannels();
-```
-
-## Examples
-
-### Get all channels
-
-```dart
-final channels = supabase.getChannels();
-```
diff --git a/apps/reference/_supabase_dart/generated/gt.mdx b/apps/reference/_supabase_dart/generated/gt.mdx
deleted file mode 100644
index c2f9e44d6a1..00000000000
--- a/apps/reference/_supabase_dart/generated/gt.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: gt
-title: '.gt()'
-slug: /gt
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` is greater than the specified `value`.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .gt('country_id', 250);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .gt('country_id', 250);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .gt('country_id', 250);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .gt('country_id', 250);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .gt('country_id', 250);
-```
diff --git a/apps/reference/_supabase_dart/generated/gte.mdx b/apps/reference/_supabase_dart/generated/gte.mdx
deleted file mode 100644
index d64aab2d69d..00000000000
--- a/apps/reference/_supabase_dart/generated/gte.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: gte
-title: '.gte()'
-slug: /gte
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` is greater than or equal to the specified `value`.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .gte('country_id', 250);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .gte('country_id', 250);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .gte('country_id', 250);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .gte('country_id', 250);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .gte('country_id', 250);
-```
diff --git a/apps/reference/_supabase_dart/generated/ilike.mdx b/apps/reference/_supabase_dart/generated/ilike.mdx
deleted file mode 100644
index 202f61746e3..00000000000
--- a/apps/reference/_supabase_dart/generated/ilike.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: ilike
-title: '.ilike()'
-slug: /ilike
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value in the stated `column` matches the supplied `pattern` (case insensitive).
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .ilike('name', '%la%');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .ilike('name', '%la%');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .ilike('name', '%la%');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .ilike('name', '%la%');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .ilike('name', '%la%');
-```
diff --git a/apps/reference/_supabase_dart/generated/in_.mdx b/apps/reference/_supabase_dart/generated/in_.mdx
deleted file mode 100644
index 5bfef4a1107..00000000000
--- a/apps/reference/_supabase_dart/generated/in_.mdx
+++ /dev/null
@@ -1,58 +0,0 @@
----
-id: in_
-title: '.in_()'
-slug: /in_
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` is found on the specified `values`.
-
-`is_` and `in_` filter methods are suffixed with `_` to avoid collisions with reserved keywords.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .in_('name', ['Rio de Janeiro', 'San Francisco']);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .in_('name', ['Rio de Janeiro', 'San Francisco']);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .in_('name', ['Rio de Janeiro', 'San Francisco']);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .in_('name', ['Rio de Janeiro', 'San Francisco']);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .in_('name', ['Rio de Janeiro', 'San Francisco']);
-```
diff --git a/apps/reference/_supabase_dart/generated/index.mdx b/apps/reference/_supabase_dart/generated/index.mdx
deleted file mode 100644
index 946a7d97d95..00000000000
--- a/apps/reference/_supabase_dart/generated/index.mdx
+++ /dev/null
@@ -1,11 +0,0 @@
----
-id: index
-title: 'Getting started'
-slug: getting-started
-custom_edit_url: ../../spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Supabase Dart.
diff --git a/apps/reference/_supabase_dart/generated/insert.mdx b/apps/reference/_supabase_dart/generated/insert.mdx
deleted file mode 100644
index 201f39357fb..00000000000
--- a/apps/reference/_supabase_dart/generated/insert.mdx
+++ /dev/null
@@ -1,48 +0,0 @@
----
-id: insert
-title: 'Create data: insert()'
-slug: /insert
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Performs an INSERT into the table.
-
-```dart
-final data = await supabase
- .from('cities')
- .insert([
- {'name': 'The Shire', 'country_id': 554}
- ]);
-```
-
-## 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
-
-```dart
-final data = await supabase
- .from('cities')
- .insert([
- {'name': 'The Shire', 'country_id': 554}
- ]);
-```
-
-### Bulk create
-
-```dart
-final data = await supabase
- .from('cities')
- .insert([
- {'name': 'The Shire', 'country_id': 554},
- {'name': 'Rohan', 'country_id': 555},
- ]);
-```
diff --git a/apps/reference/_supabase_dart/generated/invoke.mdx b/apps/reference/_supabase_dart/generated/invoke.mdx
deleted file mode 100644
index cd946b09aaa..00000000000
--- a/apps/reference/_supabase_dart/generated/invoke.mdx
+++ /dev/null
@@ -1,57 +0,0 @@
----
-id: invoke
-title: 'invoke()'
-slug: /invoke
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Invokes a Supabase Function. See the [guide](/docs/guides/functions) for details on writing Functions.
-
-```dart
-final res = await supabase.functions.invoke('hello', body: {'foo': 'baa'});
-final data = res.data;
-```
-
-## Notes
-
-- Requires an Authorization header.
-- Invoke params generally match the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) spec.
-
-## Examples
-
-### Basic invocation.
-
-```dart
-final res = await supabase.functions.invoke('hello', body: {'foo': 'baa'});
-final data = res.data;
-```
-
-### Specifying response type.
-
-By default, `invoke()` will parse the response as JSON. You can parse the response in the following formats: `json`, `blob`, `text`, and `arrayBuffer`.
-
-```dart
-final res = await supabase.functions.invoke(
- 'hello',
- body: {'foo': 'baa'},
- responseType: ResponseType.text,
-);
-final data = res.data;
-```
-
-### Parsing custom headers.
-
-Any `headers` will be passed through to the function. A common pattern is to pass a logged-in user's JWT token as an Authorization header.
-
-```dart
-final res = await supabase.functions.invoke(
- 'hello',
- body: {'foo': 'baa'},
- headers: {
- 'Authorization': 'Bearer ${supabase.auth.currentSession?.accessToken}'
- },
-);
-```
diff --git a/apps/reference/_supabase_dart/generated/is_.mdx b/apps/reference/_supabase_dart/generated/is_.mdx
deleted file mode 100644
index daae2c1e29b..00000000000
--- a/apps/reference/_supabase_dart/generated/is_.mdx
+++ /dev/null
@@ -1,58 +0,0 @@
----
-id: is_
-title: '.is_()'
-slug: /is_
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-A check for exact equality (null, true, false), finds all rows whose value on the stated `column` exactly match the specified `value`.
-
-`is_` and `in_` filter methods are suffixed with `_` to avoid collisions with reserved keywords.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .is_('name', null);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .is_('name', null);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .is_('name', null);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .is_('name', null);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .is_('name', null);
-```
diff --git a/apps/reference/_supabase_dart/generated/like.mdx b/apps/reference/_supabase_dart/generated/like.mdx
deleted file mode 100644
index 3bb8f1aacdb..00000000000
--- a/apps/reference/_supabase_dart/generated/like.mdx
+++ /dev/null
@@ -1,102 +0,0 @@
----
-id: like
-title: '.like()'
-slug: /like
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value in the stated `column` matches the supplied `pattern` (case sensitive).
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .like('name', '%la%');
-```
-
-## Parameters
-
-
-
-
-
-
- column
-
-
- required
-
-
- object
-
-
-
-
-The column to filter on.
-
-
-
-
-
-
-
-
- pattern
-
-
- required
-
-
- string
-
-
-
-
-The pattern to filter with.
-
-
-
-
-
-
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .like('name', '%la%');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .like('name', '%la%');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .like('name', '%la%');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .like('name', '%la%');
-```
diff --git a/apps/reference/_supabase_dart/generated/limit.mdx b/apps/reference/_supabase_dart/generated/limit.mdx
deleted file mode 100644
index e1dd3bc9d51..00000000000
--- a/apps/reference/_supabase_dart/generated/limit.mdx
+++ /dev/null
@@ -1,39 +0,0 @@
----
-id: limit
-title: 'limit()'
-slug: /limit
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Limits the result with the specified count.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .limit(1);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .limit(1);
-```
-
-### With embedded resources
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, cities(name)')
- .eq('name', 'United States')
- .limit(1, foreignTable: 'cities' );
-```
diff --git a/apps/reference/_supabase_dart/generated/lt.mdx b/apps/reference/_supabase_dart/generated/lt.mdx
deleted file mode 100644
index 2d8f3506dc2..00000000000
--- a/apps/reference/_supabase_dart/generated/lt.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: lt
-title: '.lt()'
-slug: /lt
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` is less than the specified `value`.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .lt('country_id', 250);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .lt('country_id', 250);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .lt('country_id', 250);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .lt('country_id', 250);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .lt('country_id', 250);
-```
diff --git a/apps/reference/_supabase_dart/generated/lte.mdx b/apps/reference/_supabase_dart/generated/lte.mdx
deleted file mode 100644
index 5f33a32f83e..00000000000
--- a/apps/reference/_supabase_dart/generated/lte.mdx
+++ /dev/null
@@ -1,102 +0,0 @@
----
-id: lte
-title: '.lte()'
-slug: /lte
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` is less than or equal to the specified `value`.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .lte('country_id', 250);
-```
-
-## Parameters
-
-
-
-
-
-
- column
-
-
- required
-
-
- object
-
-
-
-
-The column to filter on.
-
-
-
-
-
-
-
-
- value
-
-
- required
-
-
- object
-
-
-
-
-The value to filter with.
-
-
-
-
-
-
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .lte('country_id', 250);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .lte('country_id', 250);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .lte('country_id', 250);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .lte('country_id', 250);
-```
diff --git a/apps/reference/_supabase_dart/generated/match.mdx b/apps/reference/_supabase_dart/generated/match.mdx
deleted file mode 100644
index 91c0a592d65..00000000000
--- a/apps/reference/_supabase_dart/generated/match.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: match
-title: '.match()'
-slug: /match
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose columns match the specified `query` object.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .match({'name': 'Beijing', 'country_id': 156});
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .match({'name': 'Beijing', 'country_id': 156});
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .match({'name': 'Beijing', 'country_id': 156});
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .match({'name': 'Beijing', 'country_id': 156});
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .match({'name': 'Beijing', 'country_id': 156});
-```
diff --git a/apps/reference/_supabase_dart/generated/neq.mdx b/apps/reference/_supabase_dart/generated/neq.mdx
deleted file mode 100644
index 819ef1006ab..00000000000
--- a/apps/reference/_supabase_dart/generated/neq.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: neq
-title: '.neq()'
-slug: /neq
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows whose value on the stated `column` doesn't match the specified `value`.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .neq('name', 'The shire');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .neq('name', 'The shire');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .neq('name', 'San Francisco');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .neq('name', 'Mordor');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities')
- .neq('name', 'Lagos');
-```
diff --git a/apps/reference/_supabase_dart/generated/not.mdx b/apps/reference/_supabase_dart/generated/not.mdx
deleted file mode 100644
index e2dffc5c3b5..00000000000
--- a/apps/reference/_supabase_dart/generated/not.mdx
+++ /dev/null
@@ -1,68 +0,0 @@
----
-id: not
-title: '.not()'
-slug: /not
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows which doesn't satisfy the filter.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .not('name', 'eq', 'Paris');
-```
-
-## Notes
-
-- `.not()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values.
-
- ```dart
- .not('name','eq','Paris')
- .not('arraycol','cs','{"a","b"}') // Use Postgres array {} for array column and 'cs' for contains.
- .not('rangecol','cs','(1,2]') // Use Postgres range syntax for range column.
- .not('id','in','(6,7)') // Use Postgres list () and 'in' for in_ filter.
- .not('id','in','(${mylist.join(',')})') // You can insert a Dart list array.
- ```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .not('name', 'eq', 'Paris');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('cities')
- .update({ 'name': 'Mordor' })
- .not('name', 'eq', 'Paris');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('cities')
- .delete()
- .not('name', 'eq', 'Paris');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_cities)
- .not('name', 'eq', 'Paris');
-```
diff --git a/apps/reference/_supabase_dart/generated/or.mdx b/apps/reference/_supabase_dart/generated/or.mdx
deleted file mode 100644
index f4ebb8e3088..00000000000
--- a/apps/reference/_supabase_dart/generated/or.mdx
+++ /dev/null
@@ -1,48 +0,0 @@
----
-id: or
-title: '.or()'
-slug: /or
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Finds all rows satisfying at least one of the filters.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .or('id.eq.20,id.eq.30');
-```
-
-## Notes
-
-- `.or()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values.
-
- ```dart
- .or('id.in.(6,7),arraycol.cs.{"a","b"}') // Use Postgres list () and 'in' for in_ filter. Array {} and 'cs' for contains.
- .or('id.in.(${mylist.join(',')}),arraycol.cs.{${mylistArray.join(',')}}') // You can insert a Dart list for list or array column.
- .or('id.in.(${mylist.join(',')}),rangecol.cs.(${mylistRange.join(',')}]') // You can insert a Dart list for list or range column.
- ```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .or('id.eq.20,id.eq.30');
-```
-
-### Use `or` with `and`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)');
-```
diff --git a/apps/reference/_supabase_dart/generated/order.mdx b/apps/reference/_supabase_dart/generated/order.mdx
deleted file mode 100644
index 1e306a81069..00000000000
--- a/apps/reference/_supabase_dart/generated/order.mdx
+++ /dev/null
@@ -1,39 +0,0 @@
----
-id: order
-title: 'order()'
-slug: /order
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Orders the result with the specified column.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .order('id', ascending: false );
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .order('id', ascending: false );
-```
-
-### With embedded resources
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, cities(name)')
- .eq('name', 'United States')
- .order('name', foreignTable: 'cities');
-```
diff --git a/apps/reference/_supabase_dart/generated/overlaps.mdx b/apps/reference/_supabase_dart/generated/overlaps.mdx
deleted file mode 100644
index eae54bbdef2..00000000000
--- a/apps/reference/_supabase_dart/generated/overlaps.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: overlaps
-title: '.overlaps()'
-slug: /overlaps
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .overlaps('main_exports', ['computers', 'minerals']);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .overlaps('main_exports', ['computers', 'minerals']);
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .overlaps('main_exports', ['computers', 'minerals']);
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .overlaps('main_exports', ['computers', 'minerals']);
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .overlaps('main_exports', ['computers', 'minerals']);
-```
diff --git a/apps/reference/_supabase_dart/generated/range.mdx b/apps/reference/_supabase_dart/generated/range.mdx
deleted file mode 100644
index 25c6b2c0dbe..00000000000
--- a/apps/reference/_supabase_dart/generated/range.mdx
+++ /dev/null
@@ -1,29 +0,0 @@
----
-id: range
-title: 'range()'
-slug: /range
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Limits the result to rows within the specified range, inclusive.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .range(0,3);
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .range(0,3);
-```
diff --git a/apps/reference/_supabase_dart/generated/rangeadjacent.mdx b/apps/reference/_supabase_dart/generated/rangeadjacent.mdx
deleted file mode 100644
index f3b85d3275c..00000000000
--- a/apps/reference/_supabase_dart/generated/rangeadjacent.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: rangeadjacent
-title: '.rangeAdjacent()'
-slug: /rangeadjacent
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeAdjacent('population_range_millions', '[70, 185]');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeAdjacent('population_range_millions', '[70, 185]');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .rangeAdjacent('population_range_millions', '[70, 185]');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .rangeAdjacent('population_range_millions', '[70, 185]');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .rangeAdjacent('population_range_millions', '[70, 185]');
-```
diff --git a/apps/reference/_supabase_dart/generated/rangegt.mdx b/apps/reference/_supabase_dart/generated/rangegt.mdx
deleted file mode 100644
index 259d2aac135..00000000000
--- a/apps/reference/_supabase_dart/generated/rangegt.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: rangegt
-title: '.rangeGt()'
-slug: /rangegt
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeGt('population_range_millions', '[150, 250]');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeGt('population_range_millions', '[150, 250]');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .rangeGt('population_range_millions', '[150, 250]');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .rangeGt('population_range_millions', '[150, 250]');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .rangeGt('population_range_millions', '[150, 250]');
-```
diff --git a/apps/reference/_supabase_dart/generated/rangegte.mdx b/apps/reference/_supabase_dart/generated/rangegte.mdx
deleted file mode 100644
index 8d6888ce0fd..00000000000
--- a/apps/reference/_supabase_dart/generated/rangegte.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: rangegte
-title: '.rangeGte()'
-slug: /rangegte
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeGte('population_range_millions', '[150, 250]');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeGte('population_range_millions', '[150, 250]');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .rangeGte('population_range_millions', '[150, 250]');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .rangeGte('population_range_millions', '[150, 250]');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .rangeGte('population_range_millions', '[150, 250]');
-```
diff --git a/apps/reference/_supabase_dart/generated/rangelt.mdx b/apps/reference/_supabase_dart/generated/rangelt.mdx
deleted file mode 100644
index a9c27e4b7d0..00000000000
--- a/apps/reference/_supabase_dart/generated/rangelt.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: rangelt
-title: '.rangeLt()'
-slug: /rangelt
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeLt('population_range_millions', '[150, 250]');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeLt('population_range_millions', '[150, 250]');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .rangeLt('population_range_millions', '[150, 250]');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .rangeLt('population_range_millions', '[150, 250]');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .rangeLt('population_range_millions', '[150, 250]');
-```
diff --git a/apps/reference/_supabase_dart/generated/rangelte.mdx b/apps/reference/_supabase_dart/generated/rangelte.mdx
deleted file mode 100644
index 68f4f7fd496..00000000000
--- a/apps/reference/_supabase_dart/generated/rangelte.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-id: rangelte
-title: '.rangeLte()'
-slug: /rangelte
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeLte('population_range_millions', '[150, 250]');
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .rangeLte('population_range_millions', '[150, 250]');
-```
-
-### With `update()`
-
-```dart
-final data = await supabase
- .from('countries')
- .update({ 'name': 'Mordor' })
- .rangeLte('population_range_millions', '[150, 250]');
-```
-
-### With `delete()`
-
-```dart
-final data = await supabase
- .from('countries')
- .delete()
- .rangeLte('population_range_millions', '[150, 250]');
-```
-
-### With `rpc()`
-
-```dart
-// Only valid if the Stored Procedure returns a table type.
-final data = await supabase
- .rpc('echo_all_countries')
- .rangeLte('population_range_millions', [150, 250]);
-```
diff --git a/apps/reference/_supabase_dart/generated/removeallchannels.mdx b/apps/reference/_supabase_dart/generated/removeallchannels.mdx
deleted file mode 100644
index 7bfa2a276a1..00000000000
--- a/apps/reference/_supabase_dart/generated/removeallchannels.mdx
+++ /dev/null
@@ -1,27 +0,0 @@
----
-id: removeallchannels
-title: 'removeAllChannels()'
-slug: /removeallchannels
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Unsubscribes and removes all Realtime channels from Realtime client.
-
-```dart
-final statuses = await supabase.removeAllChannels();
-```
-
-## Notes
-
-- Removing channels is a great way to maintain the performance of your project's Realtime service as well as your database if you're listening to Postgres changes. Supabase will automatically handle cleanup 30 seconds after a client is disconnected, but unused channels may cause degradation as more clients are simultaneously subscribed.
-
-## Examples
-
-### Remove all channels
-
-```dart
-final statuses = await supabase.removeAllChannels();
-```
diff --git a/apps/reference/_supabase_dart/generated/removechannel.mdx b/apps/reference/_supabase_dart/generated/removechannel.mdx
deleted file mode 100644
index b0ec98929f2..00000000000
--- a/apps/reference/_supabase_dart/generated/removechannel.mdx
+++ /dev/null
@@ -1,27 +0,0 @@
----
-id: removechannel
-title: 'removeChannel()'
-slug: /removechannel
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Unsubscribes and removes Realtime channel from Realtime client.
-
-```dart
-final status = await supabase.removeChannel(channel);
-```
-
-## Notes
-
-- Removing a channel is a great way to maintain the performance of your project's Realtime service as well as your database if you're listening to Postgres changes. Supabase will automatically handle cleanup 30 seconds after a client is disconnected, but unused channels may cause degradation as more clients are simultaneously subscribed.
-
-## Examples
-
-### Remove a channel
-
-```dart
-final status = await supabase.removeChannel(channel);
-```
diff --git a/apps/reference/_supabase_dart/generated/reset-password-email.mdx b/apps/reference/_supabase_dart/generated/reset-password-email.mdx
deleted file mode 100644
index 10bbfcb0607..00000000000
--- a/apps/reference/_supabase_dart/generated/reset-password-email.mdx
+++ /dev/null
@@ -1,55 +0,0 @@
----
-id: reset-password-email
-title: 'Reset Password (Email)'
-slug: /reset-password-email
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Sends a reset request to an email address.
-
-```dart
-final res = await supabase.auth.api.resetPasswordForEmail('user@example.com');
-```
-
-## Notes
-
-Sends a reset request to an email address.
-
-When the user clicks the reset link in the email they will be forwarded to:
-
-`#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:
-
-```dart
-final res = await supabase.auth.api.updateUser(
- accessToken,
- UserAttributes(password: 'NEW_PASSWORD'),
-);
-```
-
-## Examples
-
-### Reset password
-
-```dart
-final res = await supabase.auth.api.resetPasswordForEmail('user@example.com');
-```
-
-### Reset password for Flutter
-
-You can pass `redirectTo` to open the app via deeplink when user opens the password reset email.
-
-```dart
-final res = await supabase.auth.api.resetPasswordForEmail(
- 'user@example.com',
- options: AuthOptions(redirectTo: kIsWeb
- ? null
- : 'io.supabase.flutter://reset-callback/'),
-);
-```
diff --git a/apps/reference/_supabase_dart/generated/rpc.mdx b/apps/reference/_supabase_dart/generated/rpc.mdx
deleted file mode 100644
index 8e1dfe9daa2..00000000000
--- a/apps/reference/_supabase_dart/generated/rpc.mdx
+++ /dev/null
@@ -1,48 +0,0 @@
----
-id: rpc
-title: 'Stored Procedures: rpc()'
-slug: /rpc
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-You can call stored procedures 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.
-
-```dart
-final data = await supabase
- .rpc('hello_world');
-```
-
-## Examples
-
-### Call a stored procedure
-
-This is an example invoking a stored procedure.
-
-```dart
-final data = await supabase
- .rpc('hello_world');
-```
-
-### With Parameters
-
-```dart
-final data = await supabase
- .rpc('echo_city', params: { 'name': 'The Shire' });
-```
-
-### With count option
-
-You can specify a count option to get the row count along with your data.
-Allowed values for count option are `exact`, `planned` and `estimated`.
-
-```dart
-final data = await supabase
- .rpc('hello_world')
- .execute(count: CountOption.exact);
-```
diff --git a/apps/reference/_supabase_dart/generated/select.mdx b/apps/reference/_supabase_dart/generated/select.mdx
deleted file mode 100644
index 42eb6bfc5fb..00000000000
--- a/apps/reference/_supabase_dart/generated/select.mdx
+++ /dev/null
@@ -1,133 +0,0 @@
----
-id: select
-title: 'Fetch data: select()'
-slug: /select
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Performs vertical filtering with SELECT.
-
-```dart
-final data = await supabase
- .from('cities')
- .select();
-```
-
-## 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/dart/using-modifiers)
-- `select()` can be combined with [Filters](/docs/reference/dart/using-filters)
-- If using the Supabase hosted platform `apikey` is technically a reserved keyword, since the API gateway will pluck it out for authentication. [It should be avoided as a column name](https://github.com/supabase/supabase/issues/5465).
-
-## Examples
-
-### Getting your data
-
-```dart
-final data = await supabase
- .from('cities')
- .select();
-```
-
-### Selecting specific columns
-
-You can select specific fields from your tables.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name');
-```
-
-### Query foreign tables
-
-If your database has relationships, you can query related tables too.
-
-```dart
-final data = await supabase
- .from('countries')
- .select('''
- name,
- cities (
- name
- )
- ''');
-```
-
-### 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:
-
-```dart
-final data = await supabase
- .from('products')
- .select('''
- id,
- supplier:supplier_id ( name ),
- purchaser:purchaser_id ( name )
- ''');
-```
-
-### 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":
-
-```dart
-final data = await supabase
- .from('messages')
- .select('*, users!inner(*)')
- .eq('users.username', 'Jane');
-```
-
-### Querying with count option
-
-You can get the number of rows by using the count option.
-Allowed values for count option are [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).
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name')
- .execute(count: CountOption.exact);
-
-final count = res.count;
-```
-
-### 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.
-
-```dart
-final data = await supabase
- .from('users')
- .select('''
- id, name,
- address->street
- ''')
- .eq('address->postcode', 90210);
-```
-
-### 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.
-
-```dart
-final data = await supabase
- .from('users')
- .select()
- .csv();
-```
diff --git a/apps/reference/_supabase_dart/generated/single.mdx b/apps/reference/_supabase_dart/generated/single.mdx
deleted file mode 100644
index 93cf85294f3..00000000000
--- a/apps/reference/_supabase_dart/generated/single.mdx
+++ /dev/null
@@ -1,29 +0,0 @@
----
-id: single
-title: 'single()'
-slug: /single
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error.
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .single();
-```
-
-## Examples
-
-### With `select()`
-
-```dart
-final data = await supabase
- .from('cities')
- .select('name, country_id')
- .single();
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-createbucket.mdx b/apps/reference/_supabase_dart/generated/storage-createbucket.mdx
deleted file mode 100644
index 7abae13d89b..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-createbucket.mdx
+++ /dev/null
@@ -1,33 +0,0 @@
----
-id: storage-createbucket
-title: 'createBucket()'
-slug: /storage-createbucket
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Creates a new Storage bucket
-
-```dart
-final String bucketId = await supabase
- .storage
- .createBucket('avatars');
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: `insert`
- - `objects` permissions: none
-
-## Examples
-
-### Create bucket
-
-```dart
-final String bucketId = await supabase
- .storage
- .createBucket('avatars');
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx b/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx
deleted file mode 100644
index c1867fdaac9..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx
+++ /dev/null
@@ -1,33 +0,0 @@
----
-id: storage-deletebucket
-title: 'deleteBucket()'
-slug: /storage-deletebucket
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first `empty()` the bucket.
-
-```dart
-final String result = await supabase
- .storage
- .deleteBucket('avatars');
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: `select` and `delete`
- - `objects` permissions: none
-
-## Examples
-
-### Delete bucket
-
-```dart
-final String result = await supabase
- .storage
- .deleteBucket('avatars');
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx b/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx
deleted file mode 100644
index 3ebe3d0481e..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx
+++ /dev/null
@@ -1,33 +0,0 @@
----
-id: storage-emptybucket
-title: 'emptyBucket()'
-slug: /storage-emptybucket
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Removes all objects inside a single bucket.
-
-```dart
-final String result = await supabase
- .storage
- .emptyBucket('avatars');
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: `select`
- - `objects` permissions: `select` and `delete`
-
-## Examples
-
-### Empty bucket
-
-```dart
-final String result = await supabase
- .storage
- .emptyBucket('avatars');
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx b/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx
deleted file mode 100644
index 0b6691979d5..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx
+++ /dev/null
@@ -1,35 +0,0 @@
----
-id: storage-from-createsignedurl
-title: 'from.createSignedUrl()'
-slug: /storage-from-createsignedurl
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.
-
-```dart
-final String signedUrl = await supabase
- .storage
- .from('avatars')
- .createSignedUrl('avatar1.png', 60);
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: none
- - `objects` permissions: `select`
-
-## Examples
-
-### Create Signed URL
-
-```dart
-final String signedUrl = await supabase
- .storage
- .from('avatars')
- .createSignedUrl('avatar1.png', 60);
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-download.mdx b/apps/reference/_supabase_dart/generated/storage-from-download.mdx
deleted file mode 100644
index 5b205e0bb08..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-download.mdx
+++ /dev/null
@@ -1,35 +0,0 @@
----
-id: storage-from-download
-title: 'from.download()'
-slug: /storage-from-download
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Downloads a file.
-
-```dart
-final Uint8List file = await supabase
- .storage
- .from('avatars')
- .download('avatar1.png');
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: none
- - `objects` permissions: `select`
-
-## Examples
-
-### Download file
-
-```dart
-final Uint8List file = await supabase
- .storage
- .from('avatars')
- .download('avatar1.png');
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx b/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx
deleted file mode 100644
index 18853e773ac..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx
+++ /dev/null
@@ -1,36 +0,0 @@
----
-id: storage-from-getpublicurl
-title: 'from.getPublicUrl()'
-slug: /storage-from-getpublicurl
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Retrieve URLs for assets in public buckets
-
-```dart
-final String publicUrl = supabase
- .storage
- .from('public-bucket')
- .getPublicUrl('avatar1.png');
-```
-
-## 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
-
-```dart
-final String publicUrl = supabase
- .storage
- .from('public-bucket')
- .getPublicUrl('avatar1.png');
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-list.mdx b/apps/reference/_supabase_dart/generated/storage-from-list.mdx
deleted file mode 100644
index b19550f4eab..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-list.mdx
+++ /dev/null
@@ -1,35 +0,0 @@
----
-id: storage-from-list
-title: 'from.list()'
-slug: /storage-from-list
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Lists all the files within a bucket.
-
-```dart
-final List objects = await supabase
- .storage
- .from('avatars')
- .list();
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: none
- - `objects` permissions: `select`
-
-## Examples
-
-### List files in a bucket
-
-```dart
-final List objects = await supabase
- .storage
- .from('avatars')
- .list();
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-move.mdx b/apps/reference/_supabase_dart/generated/storage-from-move.mdx
deleted file mode 100644
index ea147d37463..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-move.mdx
+++ /dev/null
@@ -1,35 +0,0 @@
----
-id: storage-from-move
-title: 'from.move()'
-slug: /storage-from-move
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Moves an existing file, optionally renaming it at the same time.
-
-```dart
-final String result = await supabase
- .storage
- .from('avatars')
- .move('public/avatar1.png', 'private/avatar2.png');
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: none
- - `objects` permissions: `update` and `select`
-
-## Examples
-
-### Move file
-
-```dart
-final String result = await supabase
- .storage
- .from('avatars')
- .move('public/avatar1.png', 'private/avatar2.png');
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-remove.mdx b/apps/reference/_supabase_dart/generated/storage-from-remove.mdx
deleted file mode 100644
index a15ccbd2938..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-remove.mdx
+++ /dev/null
@@ -1,35 +0,0 @@
----
-id: storage-from-remove
-title: 'from.remove()'
-slug: /storage-from-remove
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Deletes files within the same bucket
-
-```dart
-final List objects = await supabase
- .storage
- .from('avatars')
- .remove(['avatar1.png']);
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: none
- - `objects` permissions: `delete` and `select`
-
-## Examples
-
-### Delete file
-
-```dart
-final List objects = await supabase
- .storage
- .from('avatars')
- .remove(['avatar1.png']);
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-update.mdx b/apps/reference/_supabase_dart/generated/storage-from-update.mdx
deleted file mode 100644
index 51946d2b8af..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-update.mdx
+++ /dev/null
@@ -1,40 +0,0 @@
----
-id: storage-from-update
-title: 'from.update()'
-slug: /storage-from-update
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Replaces an existing file at the specified path with a new one.
-
-```dart
-final avatarFile = File('path/to/local/file');
-final String path = await supabase.storage.from('avatars').update(
- 'public/avatar1.png',
- avatarFile,
- fileOptions: const FileOptions(cacheControl: '3600', upsert: false),
- );
-
-```
-
-## Notes
-
-- Policy permissions required:
- - `buckets` permissions: none
- - `objects` permissions: `update` and `select`
-
-## Examples
-
-### Update file
-
-```dart
-final avatarFile = File('path/to/local/file');
-final String path = await supabase.storage.from('avatars').update(
- 'public/avatar1.png',
- avatarFile,
- fileOptions: const FileOptions(cacheControl: '3600', upsert: false),
- );
-```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-upload.mdx b/apps/reference/_supabase_dart/generated/storage-from-upload.mdx
deleted file mode 100644
index d776350c958..00000000000
--- a/apps/reference/_supabase_dart/generated/storage-from-upload.mdx
+++ /dev/null
@@ -1,168 +0,0 @@
----
-id: storage-from-upload
-title: 'from.upload()'
-slug: /storage-from-upload
-custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1_legacy.yml
----
-
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
-Uploads a file to an existing bucket.
-
-```dart
-final avatarFile = File('path/to/file');
-final String path = await supabase.storage.from('avatars').upload(
- 'public/avatar1.png',
- avatarFile,
- fileOptions: const FileOptions(cacheControl: '3600', upsert: false),
- );
-```
-
-## Parameters
-
-
-
-
-
-
- path
-
-
- required
-
-
- string
-
-
-
-
-The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.
-
-
-
-
-
-
-
-
- fileBody
-
-
- required
-
-
- File
-
-
-
-
-The body of the file to be stored in the bucket.
-
-