The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix type errors
Terry Sutton927a002817fd
diff --git a/apps/docs/pages/reference/api/[...slug].tsx b/apps/docs/pages/reference/api/[...slug].tsxindex eccefbf3377..8befd6526f6 100644--- a/apps/docs/pages/reference/api/[...slug].tsx+++ b/apps/docs/pages/reference/api/[...slug].tsx@@ -7,6 +7,7 @@ import { Tabs } from '~/../../packages/ui'import components from '~/components/index'import { MDXRemote } from 'next-mdx-remote'import { serialize } from 'next-mdx-remote/serialize'+import toc from 'markdown-toc'// @ts-ignoreimport CodeBlock from '~/components/CodeBlock/CodeBlock'@@ -212,7 +213,7 @@ export async function getStaticProps({ params }: { params: { slug: string[] } })* - important notes regarding implementation*/const allMarkdownDocs = await Promise.all(- pages.map(async (x, i) => {+ pages.map(async (x: any, i) => {const pathName = `docs/ref/api/${x}.mdx`function checkFileExists(x) {diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xmlindex 8410e09a251..5ea8cd1eb22 100644--- a/apps/docs/public/sitemap.xml+++ b/apps/docs/public/sitemap.xml@@ -126,6 +126,12 @@<changefreq>0.5</changefreq></url>+ <url>+ <loc>https://supabase.com/docs/tutorials/nextjs</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>+<url><loc>https://supabase.com/docs/guides/api</loc><changefreq>weekly</changefreq>@@ -276,12 +282,6 @@<changefreq>0.5</changefreq></url>- <url>- <loc>https://supabase.com/docs/tutorials/nextjs</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-<url><loc>https://supabase.com/docs/getting-started/quickstarts/nextjs</loc><changefreq>weekly</changefreq>@@ -360,30 +360,6 @@<changefreq>0.5</changefreq></url>- <url>- <loc>https://supabase.com/docs/guides/functions/auth</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/functions/best-practices</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/functions/cicd-workflow</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/functions/quickstart</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-<url><loc>https://supabase.com/docs/guides/database/arrays</loc><changefreq>weekly</changefreq>@@ -474,24 +450,6 @@<changefreq>0.5</changefreq></url>- <url>- <loc>https://supabase.com/docs/guides/hosting/docker</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/hosting/overview</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/hosting/platform</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-<url><loc>https://supabase.com/docs/guides/auth/auth-apple</loc><changefreq>weekly</changefreq>@@ -679,181 +637,205 @@</url><url>- <loc>https://supabase.com/docs/guides/integrations/appsmith</loc>+ <loc>https://supabase.com/docs/guides/hosting/docker</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/auth0</loc>+ <loc>https://supabase.com/docs/guides/hosting/overview</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/authsignal</loc>+ <loc>https://supabase.com/docs/guides/hosting/platform</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/clerk</loc>+ <loc>https://supabase.com/docs/guides/functions/auth</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/dashibase</loc>+ <loc>https://supabase.com/docs/guides/functions/best-practices</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/dhiwise</loc>+ <loc>https://supabase.com/docs/guides/functions/cicd-workflow</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/directus</loc>+ <loc>https://supabase.com/docs/guides/functions/quickstart</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/draftbit</loc>+ <loc>https://supabase.com/docs/guides/migrations/firebase-auth</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/estuary</loc>+ <loc>https://supabase.com/docs/guides/migrations/firebase-storage</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/fezto</loc>+ <loc>https://supabase.com/docs/guides/migrations/firestore-data</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/integrations</loc>+ <loc>https://supabase.com/docs/guides/migrations/heroku</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/keyri</loc>+ <loc>https://supabase.com/docs/guides/integrations/appsmith</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/pgmustard</loc>+ <loc>https://supabase.com/docs/guides/integrations/auth0</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/plasmic</loc>+ <loc>https://supabase.com/docs/guides/integrations/authsignal</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/polyscale</loc>+ <loc>https://supabase.com/docs/guides/integrations/clerk</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/prisma</loc>+ <loc>https://supabase.com/docs/guides/integrations/dashibase</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/sequin</loc>+ <loc>https://supabase.com/docs/guides/integrations/dhiwise</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/snaplet</loc>+ <loc>https://supabase.com/docs/guides/integrations/directus</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/stytch</loc>+ <loc>https://supabase.com/docs/guides/integrations/draftbit</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/supertokens</loc>+ <loc>https://supabase.com/docs/guides/integrations/estuary</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/vercel</loc>+ <loc>https://supabase.com/docs/guides/integrations/fezto</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/weweb</loc>+ <loc>https://supabase.com/docs/guides/integrations/integrations</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/zuplo</loc>+ <loc>https://supabase.com/docs/guides/integrations/keyri</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/realtime/postgres-changes</loc>+ <loc>https://supabase.com/docs/guides/integrations/pgmustard</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/realtime/quickstart</loc>+ <loc>https://supabase.com/docs/guides/integrations/plasmic</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/realtime/rate-limits</loc>+ <loc>https://supabase.com/docs/guides/integrations/polyscale</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/firebase-auth</loc>+ <loc>https://supabase.com/docs/guides/integrations/prisma</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/firebase-storage</loc>+ <loc>https://supabase.com/docs/guides/integrations/sequin</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/firestore-data</loc>+ <loc>https://supabase.com/docs/guides/integrations/snaplet</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/heroku</loc>+ <loc>https://supabase.com/docs/guides/integrations/stytch</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/integrations/supertokens</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/integrations/vercel</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/integrations/weweb</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/integrations/zuplo</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>@@ -913,37 +895,55 @@</url><url>- <loc>https://supabase.com/docs/guides/resources/examples</loc>+ <loc>https://supabase.com/docs/guides/realtime/postgres-changes</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/resources/glossary</loc>+ <loc>https://supabase.com/docs/guides/realtime/quickstart</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase</loc>+ <loc>https://supabase.com/docs/guides/realtime/rate-limits</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/resources/self-hosting</loc>+ <loc>https://supabase.com/docs/guides/storage/storage-sample</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/resources/supabase-cli</loc>+ <loc>https://supabase.com/docs/guides/resources/examples</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/storage/storage-sample</loc>+ <loc>https://supabase.com/docs/guides/resources/glossary</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/resources/self-hosting</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/resources/supabase-cli</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>@@ -1032,18 +1032,6 @@<changefreq>0.5</changefreq></url>- <url>- <loc>https://supabase.com/docs/guides/functions/examples/index</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/functions/examples/og-image</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-<url><loc>https://supabase.com/docs/guides/database/extensions/http</loc><changefreq>weekly</changefreq>@@ -1110,6 +1098,18 @@<changefreq>0.5</changefreq></url>+ <url>+ <loc>https://supabase.com/docs/guides/functions/examples/index</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/functions/examples/og-image</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>+<url><loc>https://supabase.com/docs/guides/auth/passwordless-login/email-otp-magic-link</loc><changefreq>weekly</changefreq>@@ -1134,6 +1134,24 @@<changefreq>0.5</changefreq></url>+ <url>+ <loc>https://supabase.com/docs/guides/resources/self-hosting/docker</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/resources/supabase-cli/local-development</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/guides/resources/supabase-cli/managing-enviroments</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>+<url><loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-auth</loc><changefreq>weekly</changefreq>@@ -1266,24 +1284,6 @@<changefreq>0.5</changefreq></url>- <url>- <loc>https://supabase.com/docs/guides/resources/self-hosting/docker</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/resources/supabase-cli/local-development</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/guides/resources/supabase-cli/managing-enviroments</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-<url><loc>https://supabase.com/docs/reference/api</loc><changefreq>weekly</changefreq>