The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
cleans up the storage and cli usage
Copple73d6371e74cb
diff --git a/apps/reference/_api/usage.mdx b/apps/reference/_api/usage.mdxindex bef1f30e332..e08caeaaa91 100644--- a/apps/reference/_api/usage.mdx+++ b/apps/reference/_api/usage.mdx@@ -1,16 +1,25 @@---id: usage+slug: /usagetitle: Usagetoc_max_heading_level: 3----import Tabs from '@theme/Tabs'-import TabItem from '@theme/TabItem'+import Tabs from '@theme/Tabs';+import TabItem from '@theme/TabItem';+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->## Lists all organizations {#lists-all-organizations}@@ -21,25 +30,35 @@ GET https://api.supabase.com/v1/organizations<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+### Parameters<ul className="method-list-group"><li className="method-list-item">- <h4 className="method-list-item-label">- <span className="method-list-item-label-name">owned_only</span>- <span className="method-list-item-label-badge">required</span>- <span className="method-list-item-validation"></span>- </h4>- <div class="method-list-item-description">- Only list organizations you own- </div>+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ owned_only+ </span>+ <span className="method-list-item-label-badge">+ required+ </span>+ <span className="method-list-item-validation">++ </span>+ </h4>+ <div class="method-list-item-description">+ Only list organizations you own+ </div></li></ul>+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->### Responses@@ -48,8 +67,11 @@ GET https://api.supabase.com/v1/organizations<TabItem value="200">++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+```json{"schema": {@@ -64,12 +86,16 @@ GET https://api.supabase.com/v1/organizations"type": "string"}},- "required": ["id", "name"]+ "required": [+ "id",+ "name"+ ]}}}```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" --></TabItem>@@ -80,6 +106,8 @@ Unexpected error listing organizations<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" --></TabItem>@@ -88,6 +116,7 @@ Unexpected error listing organizations<br />+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->## Creates an organization {#creates-an-organization}@@ -98,8 +127,11 @@ POST https://api.supabase.com/v1/organizations<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+### Body```json@@ -111,11 +143,14 @@ POST https://api.supabase.com/v1/organizations"type": "string"}},- "required": ["name"]+ "required": [+ "name"+ ]}}```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->### Responses@@ -124,8 +159,11 @@ POST https://api.supabase.com/v1/organizations<TabItem value="201">++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+```json{"schema": {@@ -138,11 +176,15 @@ POST https://api.supabase.com/v1/organizations"type": "string"}},- "required": ["id", "name"]+ "required": [+ "id",+ "name"+ ]}}```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" --></TabItem>@@ -153,6 +195,8 @@ Unexpected error creating an organization<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" --></TabItem>@@ -161,6 +205,9 @@ Unexpected error creating an organization<br />+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->## Gets all projects that belong to the authenticated user {#gets-all-projects-that-belong-to-the-authenticated-user}@@ -171,8 +218,12 @@ GET https://api.supabase.com/v1/projects<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->### Responses@@ -181,8 +232,11 @@ GET https://api.supabase.com/v1/projects<TabItem value="200">++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+```json{"schema": {@@ -206,12 +260,19 @@ GET https://api.supabase.com/v1/projects"type": "string"}},- "required": ["id", "organization_id", "name", "region", "created_at"]+ "required": [+ "id",+ "organization_id",+ "name",+ "region",+ "created_at"+ ]}}}```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" --></TabItem>@@ -220,6 +281,7 @@ GET https://api.supabase.com/v1/projects<br />+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->## Creates a project {#creates-a-project}@@ -230,8 +292,11 @@ POST https://api.supabase.com/v1/projects<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+### Body```json@@ -250,7 +315,10 @@ POST https://api.supabase.com/v1/projects},"plan": {"type": "string",- "enum": ["free", "pro"]+ "enum": [+ "free",+ "pro"+ ]},"region": {"type": "string",@@ -270,11 +338,18 @@ POST https://api.supabase.com/v1/projects]}},- "required": ["db_pass", "name", "organization_id", "plan", "region"]+ "required": [+ "db_pass",+ "name",+ "organization_id",+ "plan",+ "region"+ ]}}```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->### Responses@@ -283,8 +358,11 @@ POST https://api.supabase.com/v1/projects<TabItem value="200">++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->+```json{"schema": {@@ -306,11 +384,18 @@ POST https://api.supabase.com/v1/projects"type": "string"}},- "required": ["id", "organization_id", "name", "region", "created_at"]+ "required": [+ "id",+ "organization_id",+ "name",+ "region",+ "created_at"+ ]}}```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" --></TabItem>@@ -318,3 +403,4 @@ POST https://api.supabase.com/v1/projects</Tabs><br />+diff --git a/apps/reference/_cli/config.mdx b/apps/reference/_cli/generated/config.mdxsimilarity index 68%rename from apps/reference/_cli/config.mdxrename to apps/reference/_cli/generated/config.mdxindex 90a336ea3bd..0e2860a17dc 100644--- a/apps/reference/_cli/config.mdx+++ b/apps/reference/_cli/generated/config.mdx@@ -1,7 +1,8 @@---id: config+slug: /configtitle: Configuration-toc_max_heading_level: 2+toc_max_heading_level: 3---<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -10,327 +11,381 @@ A `config.toml` file is generated after running `supabase init`.This file is located in the `supabase` folder under `supabase/config.toml`.+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-## General+## General {#general}-### `project_id`+++### `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`.+<ul>- <li>- Required: <code>true</code>- </li>- <li>- Default: <code>None</code>- </li>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li></ul><br />+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-## API+## Auth Settings {#auth}-### `api.port`-Port to use for the API URL.++### `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.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>54321</code></li>+<li>Default: <code>"http://localhost:3000"</code></li><li><span>See also:</span>-<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgREST configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-### `api.extra_search_path`-Extra schemas to add to the `search_path` of every request.+### `auth.additional_redirect_urls` {#auth.additional_redirect_urls}++A list of _exact_ URLs that auth providers are permitted to redirect to post authentication.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>["extensions"]</code></li>+<li>Default: <code>["https://localhost:3000"]</code></li><li><span>See also:</span>-<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgREST configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-### `api.max_rows`-The maximum number of rows returned from a view, table, or stored procedure. Limits payload size for accidental or malicious requests.+### `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).+<ul><li>Required: <code>true</code></li>-<li>Default: <code>1000</code></li>+<li>Default: <code>3600</code></li><li><span>See also:</span>-<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgREST configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-## Database+### `auth.enable_signup` {#auth.enable_signup}-### `db.port`+Allow/disallow new user signups to your project.-Port to use for the local database URL.<ul><li>Required: <code>true</code></li>-<li>Default: <code>54322</code></li>+<li>Default: <code>true</code></li><li><span>See also:</span>-<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgreSQL configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-### `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.+### `auth.email.enable_signup` {#auth.email.enable_signup}++Allow/disallow new user signups via email to your project.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>14</code></li>+<li>Default: <code>true</code></li><li><span>See also:</span>-<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgreSQL configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-## Dashboard+### `auth.email.double_confirm_changes` {#auth.email.double_confirm_changes}-### `studio.port`+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.-Port to use for Supabase Studio.<ul>- <li>- Required: <code>true</code>- </li>- <li>- Default: <code>54323</code>- </li>+<li>Required: <code>true</code></li>+<li>Default: <code>true</code></li>+<li>+<span>See also:</span>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul>+</li>+</ul><br />-<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->--## Local Development-### `inbucket.port`+### `auth.email.enable_confirmations` {#auth.email.enable_confirmations}-Port to use for the email testing server web interface.+If enabled, users need to confirm their email address before signing in.-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.<ul><li>Required: <code>true</code></li>-<li>Default: <code>54324</code></li>+<li>Default: <code>true</code></li><li><span>See also:</span>-<ul><li><a href="https://www.inbucket.org">Inbucket documentation</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-## Auth+### `auth.external.<provider>.enabled` {#auth.external.provider.enabled}-### `auth.site_url`+Use an external OAuth provider. The full list of providers are:++- `apple`+- `azure`+- `bitbucket`+- `discord`+- `facebook`+- `github`+- `gitlab`+- `google`+- `twitch`+- `twitter`+- `slack`+- `spotify`-The base URL of your website. Used as an allow-list for redirects and for constructing URLs used in emails.<ul><li>Required: <code>true</code></li>-<li>Default: <code>"http://localhost:3000"</code></li>+<li>Default: <code>true</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-### `auth.additional_redirect_urls`-A list of _exact_ URLs that auth providers are permitted to redirect to post authentication.+### `auth.external.<provider>.client_id` {#auth.external.provider.client_id}++Client ID for the external OAuth provider.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>["https://localhost:3000"]</code></li>+<li>Default: <code>""</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-### `auth.jwt_expiry`-How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week).+### `auth.external.<provider>.secret` {#auth.external.provider.secret}++Client secret for the external OAuth provider.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>3600</code></li>+<li>Default: <code>""</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://supabase.com/docs/reference/auth">Auth Server configuration</a></li></ul></li></ul><br />-### `auth.enable_signup`-Allow/disallow new user signups to your project.+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++## API Settings {#api}++++### `api.port` {#api.port}++Port to use for the API URL.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>true</code></li>+<li>Default: <code>54321</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgREST configuration</a></li></ul></li></ul><br />-### `auth.email.enable_signup`-Allow/disallow new user signups via email to your project.+### `api.extra_search_path` {#api.extra_search_path}++Extra schemas to add to the `search_path` of every request.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>true</code></li>+<li>Default: <code>["extensions"]</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgREST configuration</a></li></ul></li></ul><br />-### `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.+### `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.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>true</code></li>+<li>Default: <code>1000</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgREST configuration</a></li></ul></li></ul><br />-### `auth.email.enable_confirmations`-If enabled, users need to confirm their email address before signing in.+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++## Database Settings {#database}++++### `db.port` {#db.port}++Port to use for the local database URL.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>true</code></li>+<li>Default: <code>54322</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgreSQL configuration</a></li></ul></li></ul><br />-### `auth.external.<provider>.enabled`-Use an external OAuth provider. The full list of providers are:+### `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.-- `apple`-- `azure`-- `bitbucket`-- `discord`-- `facebook`-- `github`-- `gitlab`-- `google`-- `twitch`-- `twitter`-- `slack`-- `spotify`<ul><li>Required: <code>true</code></li>-<li>Default: <code>true</code></li>+<li>Default: <code>14</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://postgrest.org/en/stable/configuration.html">PostgreSQL configuration</a></li></ul></li></ul><br />-### `auth.external.<provider>.client_id`-Client ID for the external OAuth provider.+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++## Dashboard Settings {#dashboard}++++### `studio.port` {#studio.port}++Port to use for Supabase Studio.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>""</code></li>-<li>-<span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>-</li>-+<li>Default: <code>54323</code></li></ul><br />-### `auth.external.<provider>.secret`-Client secret for the external OAuth provider.+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++## 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.+<ul><li>Required: <code>true</code></li>-<li>Default: <code>""</code></li>+<li>Default: <code>54324</code></li><li><span>See also:</span>-<ul><li><a href="https://supabase.com/docs/reference/tools/reference-auth">Auth Server configuration</a></li></ul>+<ul><li><a href="https://www.inbucket.org">Inbucket documentation</a></li></ul></li></ul><br />++diff --git a/apps/reference/_cli/usage.mdx b/apps/reference/_cli/generated/usage.mdxsimilarity index 84%rename from apps/reference/_cli/usage.mdxrename to apps/reference/_cli/generated/usage.mdxindex 7ddea956077..12dad35a905 100644--- a/apps/reference/_cli/usage.mdx+++ b/apps/reference/_cli/generated/usage.mdx@@ -1,5 +1,6 @@---id: usage+slug: /usagetitle: Usagetoc_max_heading_level: 3---@@ -8,21 +9,31 @@ toc_max_heading_level: 3Supabase CLI provides you with tools to develop your application locally, and deploy your application to the Supabase platform.+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Stop all local Supabase containers {#supabase-stop}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase stop [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -31,21 +42,30 @@ supabase stop [flags]-h, --help help for stop```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Show status of local Supabase containers {#supabase-status}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase status [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -54,21 +74,30 @@ supabase status [flags]-h, --help help for status```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Start containers for Supabase local development {#supabase-start}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase start [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -77,30 +106,35 @@ supabase start [flags]-h, --help help for start```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage Supabase secrets {#supabase-secrets}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-secrets-list">- <code>supabase secrets list</code>- </a>-- <a href="#supabase-secrets-set">- <code>supabase secrets set</code>- </a>+- <a href="#supabase-secrets-list"><code>supabase secrets list</code></a>++- <a href="#supabase-secrets-set"><code>supabase secrets set</code></a>++- <a href="#supabase-secrets-unset"><code>supabase secrets unset</code></a>++-- <a href="#supabase-secrets-unset">- <code>supabase secrets unset</code>- </a><!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -110,10 +144,11 @@ supabase start [flags]-h, --help help for secrets```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Unset a secret(s) on Supabase {#supabase-secrets-unset}@@ -121,12 +156,18 @@ supabase start [flags]Unset a secret(s) from the linked Supabase project.++```shsupabase secrets unset <NAME> ... [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -135,10 +176,11 @@ supabase secrets unset <NAME> ... [flags]-h, --help help for unset```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Set a secret(s) on Supabase {#supabase-secrets-set}@@ -146,12 +188,18 @@ supabase secrets unset <NAME> ... [flags]Set a secret(s) to the linked Supabase project.++```shsupabase secrets set [flags] <NAME=VALUE> ...```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -161,10 +209,11 @@ supabase secrets set [flags] <NAME=VALUE> ...-h, --help help for set```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### List all secrets on Supabase {#supabase-secrets-list}@@ -172,12 +221,18 @@ supabase secrets set [flags] <NAME=VALUE> ...List all secrets in the linked project.++```shsupabase secrets list [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -186,26 +241,33 @@ supabase secrets list [flags]-h, --help help for list```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage Supabase projects {#supabase-projects}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-projects-create">- <code>supabase projects create</code>- </a>-- <a href="#supabase-projects-list">- <code>supabase projects list</code>- </a>+- <a href="#supabase-projects-create"><code>supabase projects create</code></a>++- <a href="#supabase-projects-list"><code>supabase projects list</code></a>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -215,10 +277,11 @@ supabase secrets list [flags]-h, --help help for projects```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### List all Supabase projects {#supabase-projects-list}@@ -226,12 +289,18 @@ supabase secrets list [flags]List all Supabase projects the logged-in user can access.++```shsupabase projects list [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -240,21 +309,30 @@ supabase projects list [flags]-h, --help help for list```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Create a project on Supabase {#supabase-projects-create}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase projects create <project name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -268,22 +346,31 @@ supabase projects create <project name> [flags]--region string Select a region close to you for the best performance.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage Supabase organizations {#supabase-orgs}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-orgs-list">- <code>supabase orgs list</code>- </a>++- <a href="#supabase-orgs-list"><code>supabase orgs list</code></a>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -293,10 +380,11 @@ supabase projects create <project name> [flags]-h, --help help for orgs```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### List all organizations {#supabase-orgs-list}@@ -304,12 +392,18 @@ supabase projects create <project name> [flags]List all organizations the logged-in user belongs.++```shsupabase orgs list [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -318,26 +412,33 @@ supabase orgs list [flags]-h, --help help for list```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage database migration scripts {#supabase-migration}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-migration-list">- <code>supabase migration list</code>- </a>-- <a href="#supabase-migration-new">- <code>supabase migration new</code>- </a>+- <a href="#supabase-migration-list"><code>supabase migration list</code></a>++- <a href="#supabase-migration-new"><code>supabase migration new</code></a>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -347,21 +448,30 @@ supabase orgs list [flags]-h, --help help for migration```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Create an empty migration script {#supabase-migration-new}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase migration new <migration name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -370,21 +480,30 @@ supabase migration new <migration name> [flags]-h, --help help for new```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### List local and remote migrations {#supabase-migration-list}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase migration list [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -394,21 +513,30 @@ supabase migration list [flags]-p, --password string Password to your remote Postgres database.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Authenticate using an access token {#supabase-login}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase login [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -417,21 +545,30 @@ supabase login [flags]-h, --help help for login```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Link to a Supabase project {#supabase-link}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase link [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -442,21 +579,30 @@ supabase link [flags]--project-ref string Project ref of the Supabase project.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Initialize a local project {#supabase-init}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase init [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -465,22 +611,31 @@ supabase init [flags]-h, --help help for init```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Run code generation tools {#supabase-gen}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-gen-types">- <code>supabase gen types</code>- </a>++- <a href="#supabase-gen-types"><code>supabase gen types</code></a>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -490,22 +645,31 @@ supabase init [flags]-h, --help help for gen```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Generate types from Postgres schema {#supabase-gen-types}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-gen-types-typescript">- <code>supabase gen types typescript</code>- </a>++- <a href="#supabase-gen-types-typescript"><code>supabase gen types typescript</code></a>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -515,10 +679,11 @@ supabase init [flags]-h, --help help for types```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Generate types for TypeScript {#supabase-gen-types-typescript}@@ -526,12 +691,19 @@ supabase init [flags]Generate types for TypeScript. Must specify either --local or --db-url+++```shsupabase gen types typescript [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -542,34 +714,37 @@ supabase gen types typescript [flags]--local Generate types from the local dev database.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage Supabase Edge functions {#supabase-functions}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-functions-delete">- <code>supabase functions delete</code>- </a>-- <a href="#supabase-functions-deploy">- <code>supabase functions deploy</code>- </a>+- <a href="#supabase-functions-delete"><code>supabase functions delete</code></a>++- <a href="#supabase-functions-deploy"><code>supabase functions deploy</code></a>++- <a href="#supabase-functions-new"><code>supabase functions new</code></a>++- <a href="#supabase-functions-serve"><code>supabase functions serve</code></a>+-- <a href="#supabase-functions-new">- <code>supabase functions new</code>- </a>-- <a href="#supabase-functions-serve">- <code>supabase functions serve</code>- </a><!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -579,21 +754,30 @@ supabase gen types typescript [flags]-h, --help help for functions```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Serve a Function locally {#supabase-functions-serve}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase functions serve <Function name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -604,21 +788,30 @@ supabase functions serve <Function name> [flags]--no-verify-jwt Disable JWT verification for the Function.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Create a new Function locally {#supabase-functions-new}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase functions new <Function name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -627,10 +820,11 @@ supabase functions new <Function name> [flags]-h, --help help for new```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Deploy a Function to Supabase {#supabase-functions-deploy}@@ -638,12 +832,18 @@ supabase functions new <Function name> [flags]Deploy a Function to the linked Supabase project.++```shsupabase functions deploy <Function name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -654,10 +854,11 @@ supabase functions deploy <Function name> [flags]--project-ref string Project ref of the Supabase project.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Delete a Function from Supabase {#supabase-functions-delete}@@ -665,12 +866,19 @@ supabase functions deploy <Function name> [flags]Delete a Function from the linked Supabase project. This does NOT remove the Function locally.+++```shsupabase functions delete <Function name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -680,38 +888,39 @@ supabase functions delete <Function name> [flags]--project-ref string Project ref of the Supabase project.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage Postgres databases {#supabase-db}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-db-branch">- <code>supabase db branch</code>- </a>-- <a href="#supabase-db-diff">- <code>supabase db diff</code>- </a>+- <a href="#supabase-db-branch"><code>supabase db branch</code></a>++- <a href="#supabase-db-diff"><code>supabase db diff</code></a>++- <a href="#supabase-db-push"><code>supabase db push</code></a>++- <a href="#supabase-db-remote"><code>supabase db remote</code></a>++- <a href="#supabase-db-reset"><code>supabase db reset</code></a>-- <a href="#supabase-db-push">- <code>supabase db push</code>- </a>-- <a href="#supabase-db-remote">- <code>supabase db remote</code>- </a>-- <a href="#supabase-db-reset">- <code>supabase db reset</code>- </a><!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -721,21 +930,30 @@ supabase functions delete <Function name> [flags]-h, --help help for db```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Resets the local database to current migrations {#supabase-db-reset}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db reset [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -744,26 +962,33 @@ supabase db reset [flags]-h, --help help for reset```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage remote databases {#supabase-db-remote}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-db-remote-changes">- <code>supabase db remote changes</code>- </a>-- <a href="#supabase-db-remote-commit">- <code>supabase db remote commit</code>- </a>+- <a href="#supabase-db-remote-changes"><code>supabase db remote changes</code></a>++- <a href="#supabase-db-remote-commit"><code>supabase db remote commit</code></a>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -774,21 +999,30 @@ supabase db reset [flags]-p, --password string Password to your remote Postgres database.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Commit remote changes as a new migration {#supabase-db-remote-commit}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db remote commit [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -797,10 +1031,11 @@ supabase db remote commit [flags]-h, --help help for commit```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Show changes on the remote database {#supabase-db-remote-changes}@@ -808,12 +1043,18 @@ supabase db remote commit [flags]Show changes on the remote database since last migration.++```shsupabase db remote changes [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -822,21 +1063,30 @@ supabase db remote changes [flags]-h, --help help for changes```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Push new migrations to the remote database {#supabase-db-push}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db push [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -847,21 +1097,30 @@ supabase db push [flags]-p, --password string Password to your remote Postgres database.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Diffs the local database for schema changes {#supabase-db-diff}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db diff [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -873,10 +1132,11 @@ supabase db diff [flags]--use-migra Use migra to generate schema diff.```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />## Manage database branches {#supabase-db-branch}@@ -884,25 +1144,26 @@ supabase db diff [flags]Manage database branches. Each branch is associated with a separate database.++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+**Available Commands**-- <a href="#supabase-db-branch-create">- <code>supabase db branch create</code>- </a>-- <a href="#supabase-db-branch-delete">- <code>supabase db branch delete</code>- </a>+- <a href="#supabase-db-branch-create"><code>supabase db branch create</code></a>++- <a href="#supabase-db-branch-delete"><code>supabase db branch delete</code></a>++- <a href="#supabase-db-branch-list"><code>supabase db branch list</code></a>++- <a href="#supabase-db-branch-switch"><code>supabase db branch switch</code></a>+-- <a href="#supabase-db-branch-list">- <code>supabase db branch list</code>- </a>-- <a href="#supabase-db-branch-switch">- <code>supabase db branch switch</code>- </a><!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -912,21 +1173,30 @@ Manage database branches. Each branch is associated with a separate database.-h, --help help for branch```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Switch the active branch {#supabase-db-branch-switch}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db branch switch <branch name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -935,21 +1205,30 @@ supabase db branch switch <branch name> [flags]-h, --help help for switch```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### List branches {#supabase-db-branch-list}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db branch list [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -958,21 +1237,30 @@ supabase db branch list [flags]-h, --help help for list```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Delete a branch {#supabase-db-branch-delete}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db branch delete <branch name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -981,21 +1269,30 @@ supabase db branch delete <branch name> [flags]-h, --help help for delete```++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-<br />-<br />+<br /><br />### Create a branch {#supabase-db-branch-create}<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++++```shsupabase db branch create <branch name> [flags]```+<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->**Options**@@ -1004,4 +1301,6 @@ supabase db branch create <branch name> [flags]-h, --help help for create```-<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->\ No newline at end of filediff --git a/apps/reference/nav/cli_sidebars.js b/apps/reference/nav/cli_sidebars.jsindex 0fe3014b54b..d6b43541a6a 100644--- a/apps/reference/nav/cli_sidebars.js+++ b/apps/reference/nav/cli_sidebars.js@@ -19,8 +19,8 @@ const sidebars = {sidebar: ['intro','installing-and-updating',- 'usage',- 'config',+ 'generated/usage',+ 'generated/config','release-notes',// {// type: "category",diff --git a/packages/spec/package.json b/packages/spec/package.jsonindex f087f691140..a42a19a7ef1 100644--- a/packages/spec/package.json+++ b/packages/spec/package.json@@ -9,8 +9,8 @@"api:deparse": "swagger-cli bundle --dereference --outfile ../../spec/api_v0_openapi/deparsed.json ../../spec/api_v0_openapi.json","api:gen:api": "ts-node ./index.ts gen --type api --url https://api.supabase.com --input ../../spec/api_v0_openapi/deparsed.json --output ../../apps/reference/_api/usage.mdx","cli:gen": "npm run cli:gen:commands && npm run cli:gen:config",- "cli:gen:commands": "ts-node ./index.ts gen --type cli --input ../../spec/cli_v1_commands.yaml --output ../../apps/reference/_cli/usage.mdx ",- "cli:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/cli_v1_config.yaml --output ../../apps/reference/_cli/config.mdx",+ "cli:gen:commands": "ts-node ./index.ts gen --type cli --input ../../spec/cli_v1_commands.yaml --output ../../apps/reference/_cli/generated/usage.mdx ",+ "cli:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/cli_v1_config.yaml --output ../../apps/reference/_cli/generated/config.mdx","gotrue:gen": "npm run gotrue:gen:config","gotrue:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/gotrue_v1_config.yaml --output ../../apps/reference/_gotrue/config.mdx","storage:gen": "npm run storage:gen:api && npm run storage:gen:config",diff --git a/packages/spec/src/docs/templates/CliTemplate.ts b/packages/spec/src/docs/templates/CliTemplate.tsindex 09ba45de3be..0904e47fe37 100644--- a/packages/spec/src/docs/templates/CliTemplate.ts+++ b/packages/spec/src/docs/templates/CliTemplate.ts@@ -1,7 +1,7 @@const template = `---id: usage-slug /usage+slug: /usagetitle: Usagetoc_max_heading_level: 3---diff --git a/packages/spec/src/docs/templates/ConfigTemplate.ts b/packages/spec/src/docs/templates/ConfigTemplate.tsindex cac6b198c62..949de8d0bd8 100644--- a/packages/spec/src/docs/templates/ConfigTemplate.ts+++ b/packages/spec/src/docs/templates/ConfigTemplate.ts@@ -3,7 +3,7 @@ const template = `id: configslug: /configtitle: Configuration-toc_max_heading_level: 2+toc_max_heading_level: 3---<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->@@ -14,11 +14,11 @@ toc_max_heading_level: 2<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->-## <%= section.title %>+## <%= section.title %> {#<%= section.id %>}<% section.parameters.forEach(function(parameter){ %>-### \`<%- parameter.title %>\`+### \`<%- parameter.title %>\` {#<%= parameter.id %>}<%- parameter.description %>diff --git a/spec/cli_v1_config.yaml b/spec/cli_v1_config.yamlindex 3218fad84a2..f4d5ea218cd 100644--- a/spec/cli_v1_config.yaml+++ b/spec/cli_v1_config.yaml@@ -16,6 +16,25 @@ info:A `config.toml` file is generated after running `supabase init`.This file is located in the `supabase` folder under `supabase/config.toml`.+ tags:+ - id: general+ title: General+ description: General settings.+ - id: auth+ title: Auth Settings+ description: Auth Settings.+ - id: api+ title: API Settings+ description: Auth Settings.+ - id: database+ title: Database Settings+ description: Database Settings.+ - id: dashboard+ title: Dashboard Settings+ description: Dashboard Settings.+ - id: local+ title: Local Development+ description: Local Development.# This section is an array of public functions which a user might need to execute.parameters:@@ -113,7 +132,7 @@ parameters:The base URL of your website. Used as an allow-list for redirects and for constructing URLs used in emails.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- id: 'auth.additional_redirect_urls'title: 'auth.additional_redirect_urls'@@ -124,7 +143,7 @@ parameters:A list of _exact_ URLs that auth providers are permitted to redirect to post authentication.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- id: 'auth.jwt_expiry'title: 'auth.jwt_expiry'@@ -135,7 +154,7 @@ parameters:How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week).links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- id: 'auth.enable_signup'title: 'auth.enable_signup'@@ -146,7 +165,7 @@ parameters:Allow/disallow new user signups to your project.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- id: 'auth.email.enable_signup'title: 'auth.email.enable_signup'@@ -157,7 +176,7 @@ parameters:Allow/disallow new user signups via email to your project.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- id: 'auth.email.double_confirm_changes'title: 'auth.email.double_confirm_changes'@@ -168,7 +187,7 @@ parameters: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.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- id: 'auth.email.enable_confirmations'title: 'auth.email.enable_confirmations'@@ -179,9 +198,9 @@ parameters:If enabled, users need to confirm their email address before signing in.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- - id: 'auth.external.<provider>.enabled'+ - id: 'auth.external.provider.enabled'title: 'auth.external.<provider>.enabled'tags: ['auth']required: true@@ -203,9 +222,9 @@ parameters:- `spotify`links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- - id: 'auth.external.<provider>.client_id'+ - id: 'auth.external.provider.client_id'title: 'auth.external.<provider>.client_id'tags: ['auth']required: true@@ -214,9 +233,9 @@ parameters:Client ID for the external OAuth provider.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'- - id: 'auth.external.<provider>.secret'+ - id: 'auth.external.provider.secret'title: 'auth.external.<provider>.secret'tags: ['auth']required: true@@ -225,4 +244,4 @@ parameters:Client secret for the external OAuth provider.links:- name: 'Auth Server configuration'- link: 'https://supabase.com/docs/reference/tools/reference-auth'+ link: 'https://supabase.com/docs/reference/auth'