The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: update cli reference doc (#27868)
Copple3cffcd0f8690
diff --git a/apps/docs/docs/ref/javascript/typescript-support.mdx b/apps/docs/docs/ref/javascript/typescript-support.mdxindex 101350b24d5..3818dddca9f 100644--- a/apps/docs/docs/ref/javascript/typescript-support.mdx+++ b/apps/docs/docs/ref/javascript/typescript-support.mdx@@ -14,7 +14,7 @@ With TypeScript, `supabase-js` detects things like `not null` constraints and [g<RefSubLayout.EducationRow><RefSubLayout.Details>- You can use the Supabase CLI to [generate the types](/docs/reference/cli/supabase-gen-types-typescript). You can also generate the types [from the dashboard](https://supabase.com/dashboard/project/_/api?page=tables-intro).+ You can use the Supabase CLI to [generate the types](/docs/reference/cli/supabase-gen-types). You can also generate the types [from the dashboard](https://supabase.com/dashboard/project/_/api?page=tables-intro).</RefSubLayout.Details><RefSubLayout.Examples>diff --git a/apps/docs/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yamlindex dec405023d4..40d52368ca7 100644--- a/apps/docs/spec/cli_v1_commands.yaml+++ b/apps/docs/spec/cli_v1_commands.yaml@@ -1,7 +1,7 @@clispec: '001'info:id: cli- version: 1.178.2+ version: 1.183.5title: Supabase CLIlanguage: shsource: https://github.com/supabase/cli@@ -963,6 +963,31 @@ commands:usage: supabase servicessubcommands: []flags: []+ - id: supabase-seed+ title: supabase seed+ summary: Seed a Supabase project from supabase/config.toml+ tags:+ - local-dev+ links: []+ subcommands:+ - supabase-seed-buckets+ flags: []+ - id: supabase-seed-buckets+ title: supabase seed buckets+ summary: Seed buckets declared in [storage.buckets]+ tags: []+ links: []+ usage: supabase seed buckets+ subcommands: []+ flags:+ - id: linked+ name: --linked+ description: Seeds the linked project.+ default_value: 'false'+ - id: local+ name: --local+ description: Seeds the local database.+ default_value: 'true'- id: supabase-secretstitle: supabase secretssummary: Manage Supabase secrets@@ -2466,21 +2491,27 @@ commands:summary: Generate types from Postgres schematags: []links: []- subcommands:- - supabase-gen-types-typescript- flags: []- - id: supabase-gen-types-typescript- title: supabase gen types typescript- summary: Generate types for TypeScript- tags: []- links: []- usage: supabase gen types typescript [flags]+ usage: supabase gen types [flags]subcommands: []flags:- id: db-urlname: --db-url <string>description: Generate types from a database url.default_value: ''+ - id: lang+ name: --lang <[ typescript | go | swift ]>+ description: Output language of the generated types.+ default_value: typescript+ accepted_values:+ - id: typescript+ name: typescript+ type: '[ typescript | go | swift ]'+ - id: go+ name: go+ type: '[ typescript | go | swift ]'+ - id: swift+ name: swift+ type: '[ typescript | go | swift ]'- id: linkedname: --linkeddescription: Generate types from the linked project.@@ -2502,6 +2533,17 @@ commands:name: -s, --schema <strings>description: Comma separated list of schema to include.default_value: '[]'+ - id: swift-access-control+ name: --swift-access-control <[ internal | public ]>+ description: Access control for Swift generated types.+ default_value: internal+ accepted_values:+ - id: internal+ name: internal+ type: '[ internal | public ]'+ - id: public+ name: public+ type: '[ internal | public ]'- id: supabase-gen-keystitle: supabase gen keyssummary: Generate keys for preview branch@@ -2827,11 +2869,12 @@ commands:- id: supabase-domains-activatetitle: supabase domains activatesummary: Activate the custom hostname for a project- description: |-+ description: |2+Activates the custom hostname configuration for a project.This reconfigures your Supabase project to respond to requests on your custom hostname.-+After the custom hostname is activated, your project's third-party auth providers will no longer function on the Supabase-provisioned subdomain. Please refer to [Prepare to activate your domain](/docs/guides/platform/custom-domains#prepare-to-activate-your-domain) section in our documentation to learn more about the steps you need to follow.tags: []links: []diff --git a/apps/docs/spec/client-libs-common.yml b/apps/docs/spec/client-libs-common.ymlindex 6ab88bc27af..66bbdbe78da 100644--- a/apps/docs/spec/client-libs-common.yml+++ b/apps/docs/spec/client-libs-common.yml@@ -40,10 +40,6 @@ commands:title: supabase gen typesproduct: 'general'- - id: supabase-gen-types-typescript- title: supabase gen types typescript- product: 'general'-- id: supabase-secretstitle: supabase secretsproduct: 'secrets'diff --git a/apps/docs/spec/common-cli-sections.json b/apps/docs/spec/common-cli-sections.jsonindex 81e5cd88ca4..c11bd06c9cb 100644--- a/apps/docs/spec/common-cli-sections.json+++ b/apps/docs/spec/common-cli-sections.json@@ -100,12 +100,6 @@"title": "Generate types (Postgres schema)","slug": "supabase-gen-types","type": "cli-command"- },- {- "id": "supabase-gen-types-typescript",- "title": "Generate types (TypeScript)",- "slug": "supabase-gen-types-typescript",- "type": "cli-command"}]},@@ -205,6 +199,24 @@}]},+ {+ "type": "category",+ "title": "Seed",+ "items": [+ {+ "id": "supabase-seed",+ "title": "Seed a Supabase project",+ "slug": "supabase-seed",+ "type": "cli-command"+ },+ {+ "id": "supabase-seed-buckets",+ "title": "Seed storage buckets from config file",+ "slug": "supabase-seed-buckets",+ "type": "cli-command"+ }+ ]+ },{"type": "category","title": "Inspect",diff --git a/apps/docs/spec/common-cli.yml b/apps/docs/spec/common-cli.ymlindex 1f635d28e92..7419bc6a41e 100644--- a/apps/docs/spec/common-cli.yml+++ b/apps/docs/spec/common-cli.yml@@ -40,10 +40,6 @@ commands:title: supabase gen typesproduct: 'general'- - id: supabase-gen-types-typescript- title: supabase gen types typescript- product: 'general'-- id: supabase-secretstitle: supabase secretsproduct: 'secrets'diff --git a/apps/www/_blog/2022-08-16-supabase-js-v2.mdx b/apps/www/_blog/2022-08-16-supabase-js-v2.mdxindex 9b79a312061..9da795ff6ea 100644--- a/apps/www/_blog/2022-08-16-supabase-js-v2.mdx+++ b/apps/www/_blog/2022-08-16-supabase-js-v2.mdx@@ -37,7 +37,7 @@ so we've been strategic about the changes we're making. We plan to follow this m### Type supportIf you followed yesterday's announcement, you will have noticed that we added-[type generators](https://supabase.com/docs/reference/cli/usage#supabase-gen-types-typescript) to the CLI.+[type generators](https://supabase.com/docs/reference/cli/usage#supabase-gen-types) to the CLI.```bashsupabase startdiff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex 2288b334a41..5a1a7891497 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -1242,6 +1242,11 @@ module.exports = [source: '/docs/reference/cli/supabase-db-remote-commit',destination: '/docs/reference/supabase-db-pull',},+ {+ permanent: true,+ source: '/docs/reference/cli/supabase-gen-types-typescript',+ destination: '/docs/reference/supabase-gen-types',+ },{permanent: true,