The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix: prettier newline split within JSX tags (#18414)
Greg Richardsonde1df4cfe0c1
diff --git a/apps/docs/components/MDX/project_setup.mdx b/apps/docs/components/MDX/project_setup.mdxindex 50e887cb504..78060e301de 100644--- a/apps/docs/components/MDX/project_setup.mdx+++ b/apps/docs/components/MDX/project_setup.mdx@@ -30,8 +30,9 @@ Now we are going to set up the database schema. We can use the "User Management3. Click **Run**.<Admonition type="note">- You can easily pull the database schema down to your local project by running the following- commands:++You can easily pull the database schema down to your local project by running the following commands:+</Admonition>```bash@@ -44,7 +45,9 @@ supabase db pull<TabPanel id="sql" label="SQL"><Admonition type="note">- When working locally you can run the following command to create a new migration file:++When working locally you can run the following command to create a new migration file:+</Admonition>```bashdiff --git a/apps/docs/docs/ref/dart/v0/introduction.mdx b/apps/docs/docs/ref/dart/v0/introduction.mdxindex 43aaaee0333..3fa17006e5c 100644--- a/apps/docs/docs/ref/dart/v0/introduction.mdx+++ b/apps/docs/docs/ref/dart/v0/introduction.mdx@@ -12,10 +12,11 @@ hideTitle: true</div></div>-{/* prettier-ignore */}<div className="max-w-xl"><Admonition type="caution">+You're viewing the docs for an older version of the `supabase-flutter` library. Learn how to [upgrade to the latest version](/docs/reference/dart/v0/upgrade-guide).+</Admonition>This reference documents every object and method available in Supabase's Flutter library, [supabase-flutter](https://pub.dev/packages/supabase_flutter). You can use supabase-flutter to interact with your Postgres database, listen to database changes, invoke Deno Edge Functions, build login and user management functionality, and manage large files.diff --git a/apps/docs/docs/ref/javascript/v1/introduction.mdx b/apps/docs/docs/ref/javascript/v1/introduction.mdxindex 6a3e4bde9bc..beb4cd5879b 100644--- a/apps/docs/docs/ref/javascript/v1/introduction.mdx+++ b/apps/docs/docs/ref/javascript/v1/introduction.mdx@@ -12,10 +12,11 @@ hideTitle: true</div></div>-{/* prettier-ignore */}<div className="max-w-xl"><Admonition type="caution">+You're viewing the docs for an older version of the `supabase-js` library. Learn how to [upgrade to the latest version](/docs/reference/javascript/v1/upgrade-guide).+</Admonition><p>diff --git a/apps/docs/docs/ref/self-hosting-functions/introduction.mdx b/apps/docs/docs/ref/self-hosting-functions/introduction.mdxindex f5624ed9f1f..1fe32995336 100644--- a/apps/docs/docs/ref/self-hosting-functions/introduction.mdx+++ b/apps/docs/docs/ref/self-hosting-functions/introduction.mdx@@ -22,8 +22,9 @@ You can use it to:- As a programmable HTTP Proxy: You can intercept / route HTTP requests<Admonition type="info" label="Beta Version">- Self hosted Edge functions are in beta. There will be breaking changes to APIs / Configuration- Options.++Self hosted Edge functions are in beta. There will be breaking changes to APIs / Configuration Options.+</Admonition>## How to run locallydiff --git a/apps/docs/pages/guides/api/api-keys.mdx b/apps/docs/pages/guides/api/api-keys.mdxindex be0be2b2771..4dd674d5b1d 100644--- a/apps/docs/pages/guides/api/api-keys.mdx+++ b/apps/docs/pages/guides/api/api-keys.mdx@@ -51,7 +51,9 @@ selectThe "service_role" is a predefined Postgres role with elevated privileges, designed to perform various administrative and service-related tasks. It can bypass Row Level Security, so it should only be used on a private server.<Admonition type="caution">- Never expose the `service_role` key in a browser or anywhere where a user can see it.++Never expose the `service_role` key in a browser or anywhere where a user can see it.+</Admonition>A common use case for the `service_role` key is running data analytics jobs on the backend. To support joins on user id, it is often useful to grant the service role read access to `auth.users` table.diff --git a/apps/docs/pages/guides/auth/auth-email.mdx b/apps/docs/pages/guides/auth/auth-email.mdxindex 94f6d7548c2..6416eaeeb3a 100644--- a/apps/docs/pages/guides/auth/auth-email.mdx+++ b/apps/docs/pages/guides/auth/auth-email.mdx@@ -21,6 +21,7 @@ Setting up Email logins for your Supabase application.<Admonition type="info" label="Self hosting">For self-hosting, you can update your project configuration using the files and environment variables provided.+See the [self-hosting docs](/docs/guides/hosting/overview#configuration) for details.</Admonition>diff --git a/apps/docs/pages/guides/auth/auth-mfa.mdx b/apps/docs/pages/guides/auth/auth-mfa.mdxindex 7494dd3a0db..38c33eba381 100644--- a/apps/docs/pages/guides/auth/auth-mfa.mdx+++ b/apps/docs/pages/guides/auth/auth-mfa.mdx@@ -234,8 +234,9 @@ Below is an example that creates a new `UnenrollMFA` component that illustrateswhich creates a confirmation modal.<Admonition type="note">-Unenrolling a factor will downgrade the assurance level from `aal2` to `aal1` only after the refresh interval has lapsed.-For an immediate downgrade from `aal2` to `aal1` after enrolling one will need to manually call `refreshSession()`++Unenrolling a factor will downgrade the assurance level from `aal2` to `aal1` only after the refresh interval has lapsed. For an immediate downgrade from `aal2` to `aal1` after enrolling one will need to manually call `refreshSession()`+</Admonition>```tsxdiff --git a/apps/docs/pages/guides/auth/managing-user-data.mdx b/apps/docs/pages/guides/auth/managing-user-data.mdxindex 4412465450b..74b3c428575 100644--- a/apps/docs/pages/guides/auth/managing-user-data.mdx+++ b/apps/docs/pages/guides/auth/managing-user-data.mdx@@ -39,6 +39,7 @@ Primary keys are **guaranteed not to change**. Columns, indices, constraints orYou may delete users directly or via the management console at Authentication > Users. Note that deleting a user from the `auth.users` table does not automatically sign out a user. As Supabase makes use of JSON Web Tokens (JWT), a user's JWT will remain "valid" until it has expired. Should you wish to immediately revoke access for a user, do consider making use of a Row Level Security policy as described below.<Admonition type="caution">+You cannot delete a user if they are the owner of any objects in Supabase Storage.You will encounter an error when you try to delete an Auth user that owns any Storage objects. If this happens, try deleting all the objects for that user, or reassign ownership to another user.diff --git a/apps/docs/pages/guides/auth/phone-login/twilio.mdx b/apps/docs/pages/guides/auth/phone-login/twilio.mdxindex dfc1df1a47a..d903a2e2f44 100644--- a/apps/docs/pages/guides/auth/phone-login/twilio.mdx+++ b/apps/docs/pages/guides/auth/phone-login/twilio.mdx@@ -37,7 +37,9 @@ When using Twilio Verify, OTPs are generated by Twilio. This means that:- Twilio Verify has a separate set of rate limits that apply. Visit Twilio's [Rate Limit and Timeouts page](https://www.twilio.com/docs/verify/api/rate-limits-and-timeouts) to find out more.<Admonition type="caution">- At this time, Twilio Verify is only supported on the `whatsapp` and `sms` channels.++At this time, Twilio Verify is only supported on the `whatsapp` and `sms` channels.+</Admonition>## Twilio (Programmable Messaging)diff --git a/apps/docs/pages/guides/auth/row-level-security.mdx b/apps/docs/pages/guides/auth/row-level-security.mdxindex 624cb0186ce..00d7344f2df 100644--- a/apps/docs/pages/guides/auth/row-level-security.mdx+++ b/apps/docs/pages/guides/auth/row-level-security.mdx@@ -87,11 +87,12 @@ to authenticatedusing ( team_id in (select auth.jwt() -> 'app_metadata' -> 'teams'));```-{/* prettier-ignore */}<Admonition type="caution">+Keep in mind that a JWT is not always "fresh". In the example above, even if you remove a user from a team and update the `app_metadata` field, that will not be reflected using `auth.jwt()` until the user's JWT is refreshed.Also, if you are using Cookies for Auth, then you must be mindful of the JWT size. Some browsers are limited to 4096 bytes for each cookie, and so the total size of your JWT should be small enough to fit inside this limitation.+</Admonition>## Important considerationsdiff --git a/apps/docs/pages/guides/auth/social-login/auth-apple.mdx b/apps/docs/pages/guides/auth/social-login/auth-apple.mdxindex 7a081be4692..ee38d819df4 100644--- a/apps/docs/pages/guides/auth/social-login/auth-apple.mdx+++ b/apps/docs/pages/guides/auth/social-login/auth-apple.mdx@@ -62,7 +62,9 @@ When developing with Expo, you can test Sign in with Apple via the Expo Go app,7. Finally, add the information you configured above to the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers).<Admonition>- Use this tool to generate a new Apple client secret. No keys leave your browser!++ Use this tool to generate a new Apple client secret. No keys leave your browser!+</Admonition><AppleSecretGenerator />@@ -179,14 +181,18 @@ When developing with Expo, you can test Sign in with Apple via the Expo Go app,### Configuration [#expo-configuration-native-app]<Admonition type="note">- When testing with Expo Go, the Expo App ID `host.exp.Exponent` will be used. Make sure to add this to the "Authorized Client IDs" list in your [Supabase dashboard Apple provider configuration](https://supabase.com/dashboard/project/_/auth/providers)!++ When testing with Expo Go, the Expo App ID `host.exp.Exponent` will be used. Make sure to add this to the "Authorized Client IDs" list in your [Supabase dashboard Apple provider configuration](https://supabase.com/dashboard/project/_/auth/providers)!+</Admonition>1. Have an **App ID** which uniquely identifies the app you are building. You can create a new App ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/bundleId) section in the Apple Developer Console (use the filter menu in the upper right side to see all App IDs). These usually are a reverse domain name string, for example `com.example.app`. Make sure you configure Sign in with Apple for the App ID you created or already have, in the Capabilities list. At this time Supabase Auth does not support Server-to-Server notification endpoints, so you should leave that setting blank. (In the past App IDs were referred to as _bundle IDs._)2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Authorized Client IDs_.<Admonition type="note">- If you're building a native app only, you do not need to configure the OAuth settings.++ If you're building a native app only, you do not need to configure the OAuth settings.+</Admonition></TabPanel>@@ -214,7 +220,9 @@ When developing with Expo, you can test Sign in with Apple via the Expo Go app,2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Authorized Client IDs_.<Admonition type="note">- If you're building a native app only, you do not need to configure the OAuth settings.++ If you're building a native app only, you do not need to configure the OAuth settings.+</Admonition></TabPanel>@@ -272,7 +280,9 @@ When developing with Expo, you can test Sign in with Apple via the Expo Go app,2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Authorized Client IDs_.<Admonition type="note">- If you're building a native app only, you do not need to configure the OAuth settings.++ If you're building a native app only, you do not need to configure the OAuth settings.+</Admonition></TabPanel>diff --git a/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx b/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdxindex 035562957b2..f09d2e69839 100644--- a/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx+++ b/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx@@ -11,12 +11,9 @@ To enable LinkedIn Auth for your project, you need to set up a LinkedIn OAuth ap## Overview<Admonition type="caution" label="update">- We will be replacing the existing *LinkedIn* provider with a new *LinkedIn (OIDC)* provider.- Developers with LinkedIn OAuth Applications created prior to 1st August 2023 should create a new- OAuth application and migrate their credentials from the *LinkedIn* provider to the *LinkedIn- (OIDC)* provider. [Read this- section](/docs/guides/auth/social-login/auth-linkedin#linkedin-open-id-connect-oidc) to find out- more.++We will be replacing the existing _LinkedIn_ provider with a new _LinkedIn (OIDC)_ provider. Developers with LinkedIn OAuth Applications created prior to 1st August 2023 should create a new OAuth application and migrate their credentials from the _LinkedIn_ provider to the _LinkedIn (OIDC)_ provider. [Read this section](/docs/guides/auth/social-login/auth-linkedin#linkedin-open-id-connect-oidc) to find out more.+</Admonition>Setting up LinkedIn logins for your application consists of 3 parts:diff --git a/apps/docs/pages/guides/auth/sso/auth-sso-saml.mdx b/apps/docs/pages/guides/auth/sso/auth-sso-saml.mdxindex 4116d445b6f..b95999b2eb3 100644--- a/apps/docs/pages/guides/auth/sso/auth-sso-saml.mdx+++ b/apps/docs/pages/guides/auth/sso/auth-sso-saml.mdx@@ -8,8 +8,9 @@ export const meta = {}<Admonition>- Looking for guides on how to use Single Sign-On with the Supabase dashboard? Head on over to- [Enable SSO for Your Organization](/docs/guides/platform/sso).++Looking for guides on how to use Single Sign-On with the Supabase dashboard? Head on over to [Enable SSO for Your Organization](/docs/guides/platform/sso).+</Admonition>Supabase Auth supports enterprise-level Single Sign-On (SSO) for any identity providers compatible with the using the SAML 2.0 protocol. This is a non-exclusive list of supported identity providers:@@ -101,8 +102,9 @@ Here are some commonly used statements to extract SSO related information from tReturns the identity provider's SAML 2.0 `EntityID`<Admonition type="caution">- If you use [Multi-Factor Authentication](/guides/auth/auth-mfa) with SSO, the `amr` array may have- a different method at index `0`!++If you use [Multi-Factor Authentication](/guides/auth/auth-mfa) with SSO, the `amr` array may have a different method at index `0`!+</Admonition>A common use case with SSO is to use the UUID of the identity provider as the identifier for the organization the user belongs to -- frequently known as a tenant. By associating the identity provider's UUID with your tenants, you can use restrictive RLS policies to scope down actions and data that a user is able to access.diff --git a/apps/docs/pages/guides/cli/local-development.mdx b/apps/docs/pages/guides/cli/local-development.mdxindex 97958a93149..d24fe7fd1ee 100644--- a/apps/docs/pages/guides/cli/local-development.mdx+++ b/apps/docs/pages/guides/cli/local-development.mdx@@ -439,9 +439,9 @@ The buckets and objects themselves are rows in the storage schema so they won'tLocal logs rely on the Supabase Analytics Server, and are available in the Studio automatically.<Admonition type="note">- For advanced logs analysis using the Logs Explorer, it is advised to use the BigQuery backend- instead of the default Postgres backend. Read about the steps- [here](https://supabase.com/docs/reference/self-hosting-analytics/introduction#bigquery).++For advanced logs analysis using the Logs Explorer, it is advised to use the BigQuery backend instead of the default Postgres backend. Read about the steps [here](/docs/reference/self-hosting-analytics/introduction#bigquery).+</Admonition>Logs will be directed to the Analytics server instead of the docker logging driver. All logs will be stored in the local database under the `_analytics` schema.diff --git a/apps/docs/pages/guides/cli/managing-environments.mdx b/apps/docs/pages/guides/cli/managing-environments.mdxindex d84b22990e4..64ba46fc9f2 100644--- a/apps/docs/pages/guides/cli/managing-environments.mdx+++ b/apps/docs/pages/guides/cli/managing-environments.mdx@@ -87,8 +87,7 @@ This command recreates your local database from scratch and applies all migratio<Admonition type="tip">-The new migration command also supports stdin as input.-This allows you to pipe in an existing script from another file or stdout:+The new migration command also supports stdin as input. This allows you to pipe in an existing script from another file or stdout:`supabase migration new new_employee < create_employees_table.sql`@@ -143,6 +142,7 @@ Commit the new migration script to git and you are ready to deploy.<Admonition type="tip">Alternatively, you may pass in the `--use-migra` experimental flag to generate a more concise migration using [migra](https://github.com/djrobstep/migra).+Without the `-f` file flag, the output is written to stdout by default.`supabase db diff --use-migra`diff --git a/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx b/apps/docs/pages/guides/database/extensions/uuid-ossp.mdxindex c48e4e69549..981308602b3 100644--- a/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx+++ b/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx@@ -62,8 +62,9 @@ Once the extension is enabled, you now have access to a `uuid` type.Creates a UUID value based on the combination of computer’s MAC address, current timestamp, and a random value.<Admonition type="note">- UUIDv1 leaks identifiable details, which might make it unsuitable for certain security-sensitive- applications.++UUIDv1 leaks identifiable details, which might make it unsuitable for certain security-sensitive applications.+</Admonition>## `uuid_generate_v4()`diff --git a/apps/docs/pages/guides/database/overview.mdx b/apps/docs/pages/guides/database/overview.mdxindex 80ddf753488..759c7f74340 100644--- a/apps/docs/pages/guides/database/overview.mdx+++ b/apps/docs/pages/guides/database/overview.mdx@@ -60,9 +60,7 @@ Supabase comes with a SQL Editor. You can also save your favorite queries to run<Admonition type="note">-Database backups **do not** include objects stored via the Storage API, as the database only-includes metadata about these objects. Restoring an old backup does not restore objects that have-been deleted since then.+Database backups **do not** include objects stored via the Storage API, as the database only includes metadata about these objects. Restoring an old backup does not restore objects that have been deleted since then.</Admonition>diff --git a/apps/docs/pages/guides/database/postgres/row-level-security.mdx b/apps/docs/pages/guides/database/postgres/row-level-security.mdxindex dde8fb4f884..d67129c30fd 100644--- a/apps/docs/pages/guides/database/postgres/row-level-security.mdx+++ b/apps/docs/pages/guides/database/postgres/row-level-security.mdx@@ -216,9 +216,10 @@ using ( (select auth.uid()) = user_id );This method works well for JWT functions like `auth.uid()` and `auth.jwt()` as well as `security definer` Functions. Wrapping the function causes an initPlan to be run by the Postgres optimizer, which allows it to "cache" the results per-statement, rather than calling the function on each row.-{/* prettier-ignore */}<Admonition type="caution">+You can only use this technique if the results of the query or function do not change based on the row data.+</Admonition>#### Benchmarks@@ -298,9 +299,10 @@ to authenticatedusing ( private.has_good_role() );```-{/* prettier-ignore */}<Admonition type="caution">-Security-definer functions should never be created in a schema in the "Exposed schemas" inside your [API settings](https://supabase.com/dashboard/project/_/settings/api)`.++Security-definer functions should never be created in a schema in the "Exposed schemas" inside your [API settings](https://supabase.com/dashboard/project/_/settings/api)`.+</Admonition>### Minimize joins@@ -337,7 +339,6 @@ using (In this case you can also consider [using a `security definer` function](#use-security-definer-functions) to bypass RLS on the join table:-{/* prettier-ignore */}<Admonition type="note">If the list exceeds 1000 items, a different approach may be needed or you may need to analyze the approach to ensure that the performance is acceptable.diff --git a/apps/docs/pages/guides/functions/unit-test.mdx b/apps/docs/pages/guides/functions/unit-test.mdxindex 9532e435858..ef23086e14b 100644--- a/apps/docs/pages/guides/functions/unit-test.mdx+++ b/apps/docs/pages/guides/functions/unit-test.mdx@@ -89,8 +89,7 @@ This test case consists of two parts. The first part tests the client library an<Admonition type="important">-Please make sure to replace the placeholders (`supabaseUrl`, `supabaseKey`, `my_table`) with the-actual values relevant to your Supabase setup.+Please make sure to replace the placeholders (`supabaseUrl`, `supabaseKey`, `my_table`) with the actual values relevant to your Supabase setup.</Admonition>diff --git a/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx b/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdxindex 3c0a0f5f9f3..58a7ccbf4be 100644--- a/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx+++ b/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx@@ -15,7 +15,9 @@ export const meta = {[Create a new project](https://supabase.com/dashboard) in the Supabase Dashboard.<Admonition type="important">- Be sure to make note of the Database Password you used as you will need this later to connect to your database.++ Be sure to make note of the Database Password you used as you will need this later to connect to your database.+</Admonition></StepHikeCompact.Details>@@ -35,7 +37,9 @@ export const meta = {You will need these to setup environment variables in Step 5.<Admonition type="tip">- You can copy and paste these connection strings from the Supabase Dashboard when needed in later steps.++ You can copy and paste these connection strings from the Supabase Dashboard when needed in later steps.+</Admonition></StepHikeCompact.Details>@@ -50,9 +54,11 @@ export const meta = {Create a RedwoodJS app with TypeScript.<Admonition type="note">+The [`yarn` package manager](https://yarnpkg.com) is required to create a RedwoodJS app. You will use it to run RedwoodJS commands later.While TypeScript is recommended, If you want a JavaScript app, omit the `--ts` flag.+</Admonition></StepHikeCompact.Details>@@ -87,8 +93,11 @@ export const meta = {* The `DATABASE_URL` should use the `Connection Pooling / Connection String` from your Supabase project. Hint: the port is `6432`.<Admonition type="note">+Be sure to append `?pgbouncer=true` to the end of the `DATABASE_URL` connection string.+Also, replace `[YOUR-PASSWORD]` and `[YOUR-PROJECT-REF]` with the password you used when creating your Supabase project and the project reference from the URL in your browser.+</Admonition></StepHikeCompact.Details>@@ -179,7 +188,9 @@ export const meta = {Run the seed database command to populate the `Country` table with the countries you just created.<Admonition type="tip">+The reset database command `yarn rw prisma db reset` will recreate the tables and will also run the seed script.+</Admonition></StepHikeCompact.Details>diff --git a/apps/docs/pages/guides/getting-started/quickstarts/refine.mdx b/apps/docs/pages/guides/getting-started/quickstarts/refine.mdxindex 4bc37f973df..e46afb96fe6 100644--- a/apps/docs/pages/guides/getting-started/quickstarts/refine.mdx+++ b/apps/docs/pages/guides/getting-started/quickstarts/refine.mdx@@ -137,9 +137,11 @@ export const meta = {The `<HeadlessInferencer />` component depends on `@refinedev/react-table` and `@refinedev/react-hook-form` packages. In order to avoid errors, you should install them as dependencies with `npm install @refinedev/react-table @refinedev/react-hook-form`.<Admonition type="note">+The `<HeadlessInferencer />` is a refine Inferencer component that automatically generates necessary code for the `list`, `create`, `show` and `edit` pages.More on [how the Inferencer works is available in the docs here](https://refine.dev/docs/packages/documentation/inferencer/).+</Admonition>@@ -160,7 +162,9 @@ export const meta = {Add routes for the `list`, `create`, `show`, and `edit` pages.<Admonition type="important">+You should remove the `index` route for the Welcome page presented with the `<Welcome />` component.+</Admonition></StepHikeCompact.Details>diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdxindex 2c63525d177..4160e9fce9f 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/angular-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/angular-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-expo-react-native.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-expo-react-native.mdxindex 461a5cd6563..98ba5f231fb 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-expo-react-native.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-expo-react-native.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/expo-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/expo-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-flutter.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-flutter.mdxindex f3831491c88..6143bbb17d2 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-flutter.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-flutter.mdx@@ -11,8 +11,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/flutter-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/flutter-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdxindex 8ff49b546bc..4e9ae748967 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/mhartington/supabase-ionic-angular).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/mhartington/supabase-ionic-angular).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-react.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-react.mdxindex 30b63a1b197..f9b11969d82 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-react.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-react.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/mhartington/supabase-ionic-react).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/mhartington/supabase-ionic-react).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-vue.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-vue.mdxindex 41b58ec9290..cde7e81869e 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-vue.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-vue.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/mhartington/supabase-ionic-vue).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/mhartington/supabase-ionic-vue).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdxindex 8f295c4233e..06d6242b950 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx@@ -14,8 +14,9 @@ This tutorial demonstrates how to build a basic product management app. The app<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/hieuwu/product-sample-supabase-kt).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/hieuwu/product-sample-supabase-kt).+</Admonition><KotlinProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdxindex f658824ecba..553ff36d387 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/nextjs-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/nextjs-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdxindex 29392ce681d..29407877f56 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/nuxt3-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/nuxt3-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-react.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-react.mdxindex 6e8fbaf8be9..6b6b462aad2 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-react.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-react.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/react-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/react-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdxindex d1cbff10719..f41bada38ae 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-redwoodjs.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/redwoodjs/redwoodjs-supabase-quickstart).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/redwoodjs/redwoodjs-supabase-quickstart).+</Admonition>## About RedwoodJS@@ -168,7 +169,9 @@ yarn rw dev```<Admonition type="note">- `rw` is an alias for `redwood`, as in `yarn rw` to run Redwood CLI commands.++`rw` is an alias for `redwood`, as in `yarn rw` to run Redwood CLI commands.+</Admonition>You should see a "Welcome to RedwoodJS" page and a message about not having any pages yet.diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-refine.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-refine.mdxindex 5c1487153f2..99b62cbd88c 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-refine.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-refine.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/refine-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/refine-user-management).+</Admonition>## About refine@@ -21,9 +22,9 @@ export const meta = {refine provides hassle-free integration with Supabase backend with its supplementary [`@refinedev/supabase`](https://github.com/refinedev/refine/tree/master/packages/supabase) package. It generates `authProvider` and `dataProvider` methods at project initialization, so we don't need to expend much effort to define them ourselves. We just need to choose Supabase as our backend service while creating the app with `create refine-app`.<Admonition type="note">- It is possible to customize the `authProvider` for Supabase and as we'll see below, it can be- tweaked from `src/authProvider.ts` file. In contrast, the Supabase `dataProvider` is part of- `node_modules` and therefore is not subject to modification.++It is possible to customize the `authProvider` for Supabase and as we'll see below, it can be tweaked from `src/authProvider.ts` file. In contrast, the Supabase `dataProvider` is part of `node_modules` and therefore is not subject to modification.+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-solidjs.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-solidjs.mdxindex 01056870c24..cbcc9f32803 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-solidjs.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-solidjs.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/solid-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/solid-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdxindex 2dcdea50f93..74bf9fbb3af 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/svelte-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/svelte-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-sveltekit.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-sveltekit.mdxindex 1a453197c51..aeb9fa51f5c 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-sveltekit.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-sveltekit.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/sveltekit-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/sveltekit-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-vue-3.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-vue-3.mdxindex d76df485a6a..b4effd63687 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-vue-3.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-vue-3.mdx@@ -10,8 +10,9 @@ export const meta = {<Admonition type="note">- If you get stuck while working through this guide, refer to the [full example on- GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/vue3-user-management).++If you get stuck while working through this guide, refer to the [full example on GitHub](https://github.com/supabase/supabase/tree/master/examples/user-management/vue3-user-management).+</Admonition><ProjectSetup />diff --git a/apps/docs/pages/guides/platform/backups.mdx b/apps/docs/pages/guides/platform/backups.mdxindex 5c3b956d5ca..475fbffff1a 100644--- a/apps/docs/pages/guides/platform/backups.mdx+++ b/apps/docs/pages/guides/platform/backups.mdx@@ -8,8 +8,9 @@ export const meta = {export const mutuallyExclusiveNote = (<Admonition type="note">- If you enable PITR, Daily Backups will no longer be taken. PITR provides a finer granularity- than Daily Backups, so it's unnecessary to run both.++ If you enable PITR, Daily Backups will no longer be taken. PITR provides a finer granularity than Daily Backups, so it's unnecessary to run both.+</Admonition>)diff --git a/apps/docs/pages/guides/platform/database-size.mdx b/apps/docs/pages/guides/platform/database-size.mdxindex 8554737a802..b72cf655e7e 100644--- a/apps/docs/pages/guides/platform/database-size.mdx+++ b/apps/docs/pages/guides/platform/database-size.mdx@@ -64,8 +64,9 @@ Disk Storage expands automatically when the database reaches 90% of the disk sizThe Disk Storage Size can also be manually expanded on the [Database settings page](https://supabase.com/dashboard/project/_/settings/database). The maximum default you can expand the Disk Storage to is 200GB. If you wish to manually expand it to any more than 200GB, please [contact us](https://supabase.com/dashboard/support/new) to discuss expanding the 200GB limit.<Admonition type="info">+You may want to import a lot of data into your database which requires multiple disk expansions; for example, uploading more than 1.5x the current size of your database storage will put your database into [read-only mode](#read-only-mode). If so, it is highly recommended you increase the Disk Storage Size manually on the [Database settings page](https://supabase.com/dashboard/project/_/settings/database).-+Due to provider restrictions, disk expansions can occur only once every six hours. During the six-hour window, the disk cannot be resized again.</Admonition>diff --git a/apps/docs/pages/guides/platform/org-based-billing.mdx b/apps/docs/pages/guides/platform/org-based-billing.mdxindex 1d7c2ff247a..47039ae1dc3 100644--- a/apps/docs/pages/guides/platform/org-based-billing.mdx+++ b/apps/docs/pages/guides/platform/org-based-billing.mdx@@ -103,9 +103,10 @@ With Organization-based Billing you won't get an immediate charge upfront when cIf you launch a second or third instance on your paid plan, we add the additional compute hours to the final invoice.-{/* prettier-ignore */}<Admonition type="note" label="Paused projects">- We only count compute hours for instances that are active. Paused projects do not count towards compute usage. We’re working on self-serve pausing and unpausing on paid plans to further manage costs.++We only count compute hours for instances that are active. Paused projects do not count towards compute usage. We’re working on self-serve pausing and unpausing on paid plans to further manage costs.+</Admonition>### Compute pricing@@ -244,9 +245,10 @@ If you're currently running a mix of Free and Pro plan projects and migrate thatAll [benefits](https://supabase.com/pricing) of the Pro plan apply to all projects within your organization.-{/* prettier-ignore */}<Admonition type="note">- You can transfer projects to a free organization, in case you haven't used up your 2 free project limit, if you don't want additional projects on the Pro plan. See [Project Transfers](/docs/guides/platform/project-transfer).++You can transfer projects to a free organization, in case you haven't used up your 2 free project limit, if you don't want additional projects on the Pro plan. See [Project Transfers](/docs/guides/platform/project-transfer).+</Admonition>### Self-Serve-Migrationdiff --git a/apps/docs/pages/guides/realtime/postgres-changes.mdx b/apps/docs/pages/guides/realtime/postgres-changes.mdxindex 124ae229d05..0af6a5d8a14 100644--- a/apps/docs/pages/guides/realtime/postgres-changes.mdx+++ b/apps/docs/pages/guides/realtime/postgres-changes.mdx@@ -961,9 +961,10 @@ You may choose to sign your own tokens to customize claims that can be checked iYour project JWT secret is found with your [Project API keys](https://app.supabase.com/project/_/settings/api) in your dashboard.-{/* prettier-ignore */}<Admonition type="caution">- Do not expose the `service_role` token on the client because the role is authorized to bypass row-level security.++Do not expose the `service_role` token on the client because the role is authorized to bypass row-level security.+</Admonition>To use your own JWT with Realtime make sure to set the token after instantiating the Supabase client and before connecting to a Channel.diff --git a/apps/docs/pages/guides/realtime/protocol.mdx b/apps/docs/pages/guides/realtime/protocol.mdxindex 3198403f3cb..e64e41dc2d2 100644--- a/apps/docs/pages/guides/realtime/protocol.mdx+++ b/apps/docs/pages/guides/realtime/protocol.mdx@@ -39,8 +39,9 @@ In the initial message, the client sends a message specifying the features they```<Admonition type="note">- The `in` filter has the format `COLUMN_NAME=in.(value1,value2,value3)`. However, other filters use- the format `COLUMN_NAME=FILTER_NAME.value`.++The `in` filter has the format `COLUMN_NAME=in.(value1,value2,value3)`. However, other filters use the format `COLUMN_NAME=FILTER_NAME.value`.+</Admonition>In response, the server sends the Postgres configuration with a unique ID. With this ID, the client should route incoming changes to the appropriate callback.diff --git a/apps/docs/pages/guides/storage/cdn.mdx b/apps/docs/pages/guides/storage/cdn.mdxindex d349398410f..d586f8de94f 100644--- a/apps/docs/pages/guides/storage/cdn.mdx+++ b/apps/docs/pages/guides/storage/cdn.mdx@@ -45,7 +45,9 @@ The cache status of a particular request is sent in the `cf-cache-status` header## Smart CDN Caching<Admonition type="note">- Smart CDN caching is automatically enabled for [Pro plan and above](https://supabase.com/pricing).++Smart CDN caching is automatically enabled for [Pro plan and above](https://supabase.com/pricing).+</Admonition>With Smart CDN caching enabled, the asset metadata in your database is synchronized to the edge. This automatically revalidates the cache when the asset is changed or deleted.diff --git a/apps/docs/pages/guides/storage/image-transformations.mdx b/apps/docs/pages/guides/storage/image-transformations.mdxindex f050a27fd1f..cd01774cd72 100644--- a/apps/docs/pages/guides/storage/image-transformations.mdx+++ b/apps/docs/pages/guides/storage/image-transformations.mdx@@ -12,7 +12,9 @@ export const meta = {Supabase Storage offers the functionality to transform and resize images dynamically. Any image stored in your buckets can be transformed and optimized for fast delivery.<Admonition type="note">- Image Resizing is currently enabled for [Pro plan and above](https://supabase.com/pricing).++Image Resizing is currently enabled for [Pro plan and above](https://supabase.com/pricing).+</Admonition>## Get a public URL for a transformed image@@ -136,7 +138,9 @@ When using the image transformation API we will automatically find the best formAs a result, this will lower the bandwidth that you send to your users and your application will load much faster.<Admonition type="note">- We currently only support WebP. AVIF support will come in the near future++We currently only support WebP. AVIF support will come in the near future.+</Admonition>**Disabling automatic optimisation:**diff --git a/apps/docs/pages/guides/storage/uploads.mdx b/apps/docs/pages/guides/storage/uploads.mdxindex 6fbc1c39574..d287d6386a7 100644--- a/apps/docs/pages/guides/storage/uploads.mdx+++ b/apps/docs/pages/guides/storage/uploads.mdx@@ -20,9 +20,9 @@ The standard file upload method is ideal for small files that are not larger thaIt uses the traditional `multipart/form-data` format and is simple to implement using the supabase-js SDK. Here's an example of how to upload a file using the standard upload method:<Admonition type="note">- Though you can upload up to 5GB files using the standard upload method, we recommend use [TUS- Resumable Upload](#resumable-upload) for uploading files greater than 6MB in size for better- reliability.++Though you can upload up to 5GB files using the standard upload method, we recommend use [TUS Resumable Upload](#resumable-upload) for uploading files greater than 6MB in size for better reliability.+</Admonition><Tabs@@ -75,8 +75,9 @@ suspend fun uploadFile(file: File) {## Resumable Upload<Admonition type="note">- Resumable upload is in **Beta**. We are rolling this feature gradually, please contact us if you- want to be prioritized.++Resumable upload is in **Beta**. We are rolling this feature gradually, please contact us if you want to be prioritized.+</Admonition>The Resumable upload method is recommended for uploading large files that may exceed 6MB in size or for scenarios where network stability is a concern or if you simply want to have a progress bar for your uploads.@@ -195,9 +196,9 @@ This URL will be valid for **up to 24 hours**. If the upload is not completed wiWhen two or more clients try to upload to the same Upload URL only one of them will succeed. The other clients will receive a `409 Conflict` error. Only 1 client can upload to the same Upload URL at a time which prevents data corruption.<Admonition type="note">- We do not yet support checksum validation for the uploaded chunks. This means if a client changes- the file mid way through the upload, the final upload will be an amalgamation of both the files.- This has to be done intentionally by the client and is unlikely to happen in normal circumstances.++We do not yet support checksum validation for the uploaded chunks. This means if a client changes the file mid way through the upload, the final upload will be an amalgamation of both the files. This has to be done intentionally by the client and is unlikely to happen in normal circumstances.+</Admonition>When two or more clients upload a file to the same path using different upload URLs, the first client to complete the upload will succeed and the other clients will receive a `409 Conflict` error.