Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Implement sidebar for docs

Joshen Lim25c335bb024b
diff --git a/apps/temp-docs/components/nav/Nav.constants.ts b/apps/temp-docs/components/nav/Nav.constants.ts
new file mode 100644
index 00000000000..f7f2fb2e610
--- /dev/null
+++ b/apps/temp-docs/components/nav/Nav.constants.ts
@@ -0,0 +1,304 @@
+// [Joshen] Ideally this should be generated or automated but will do for now
+// Previously, docusaurus only needed the path in reference/nav/_referenceNavbar
+// as they could parse the MDX file to extract the title (?), so we need the "name"
+// for now until we can do that. The only downside now is that we're manually inputing the
+// title here, instead of reading from the MDX files. Let's figure out the parsing
+// after getting the MVP out
+
+// Also best to have a consistent JSON structure in an array - rather than mix of strings and objects
+
+export interface NavMenu {
+ [key: string]: NavMenuGroup[]
+}
+
+export interface NavMenuGroup {
+ label: string
+ items: NavMenuSection[]
+}
+
+export interface NavMenuSection {
+ name: string
+ url?: string
+ items: NavMenuSection[]
+}
+
+export const menuItems: NavMenu = {
+ Docs: [
+ {
+ label: 'Overview',
+ items: [
+ { name: 'Introduction', url: '/', items: [] },
+ { name: 'Features', url: '/guides/features', items: [] },
+ { name: 'Architecture', url: '/architecture', items: [] },
+ ],
+ },
+ {
+ label: 'Quickstarts',
+ items: [
+ { name: 'Angular', url: '/guides/with-angular', items: [] },
+ { name: 'Expo', url: '/guides/with-expo', items: [] },
+ { name: 'Flutter', url: '/guides/with-flutter', items: [] },
+ { name: 'Ionic Angular', url: '/guides/with-ionic-angular', items: [] },
+ { name: 'Ionic React', url: '/guides/with-ionic-react', items: [] },
+ { name: 'Ionic Vue', url: '/guides/with-ionic-vue', items: [] },
+ { name: 'Next.js', url: '/guides/with-nextjs', items: [] },
+ { name: 'Nuxt 3', url: '/guides/with-nuxt-3', items: [] },
+ { name: 'React', url: '/guides/with-react', items: [] },
+ { name: 'RedwoodJS', url: '/guides/with-redwoodjs', items: [] },
+ { name: 'SolidJS', url: '/guides/with-solidjs', items: [] },
+ { name: 'Svelte', url: '/guides/with-svelte', items: [] },
+ { name: 'SvelteKit', url: '/guides/with-sveltekit', items: [] },
+ { name: 'Vue 3', url: '/guides/with-vue-3', items: [] },
+ ],
+ },
+ {
+ label: 'CLI',
+ items: [
+ { name: 'Overview', url: '/guides/cli', items: [] },
+ { name: 'Local Development', url: '/guides/cli/local-development', items: [] },
+ { name: 'Managing Environments', url: '/guides/cli/managing-environments', items: [] },
+ ],
+ },
+ {
+ label: 'Auth',
+ items: [
+ { name: 'Overview', url: '/guides/auth', items: [] },
+ {
+ name: 'Authentication',
+ url: undefined,
+ items: [
+ { name: 'Login with Email', url: '/guides/auth/auth-email', items: [] },
+ { name: 'Login with Magic Link', url: '/guides/auth/auth-magic-link', items: [] },
+ { name: 'Login with Apple', url: '/guides/auth/auth-apple', items: [] },
+ { name: 'Login with Azure', url: '/guides/auth/auth-azure', items: [] },
+ { name: 'Login with Bitbucket', url: '/guides/auth/auth-bitbucket', items: [] },
+ { name: 'Login with Discord', url: '/guides/auth/auth-discord', items: [] },
+ { name: 'Login with Facebook', url: '/guides/auth/auth-facebook', items: [] },
+ { name: 'Login with Github', url: '/guides/auth/auth-github', items: [] },
+ { name: 'Login with Gitlab', url: '/guides/auth/auth-gitlab', items: [] },
+ { name: 'Login with Google', url: '/guides/auth/auth-google', items: [] },
+ { name: 'Login with Keycloak', url: '/guides/auth/auth-keycloak', items: [] },
+ { name: 'Login with LinkedIn', url: '/guides/auth/auth-linkedin', items: [] },
+ { name: 'Login with Notion', url: '/guides/auth/auth-notion', items: [] },
+ { name: 'Login with Slack', url: '/guides/auth/auth-slack', items: [] },
+ { name: 'Login with Spotify', url: '/guides/auth/auth-spotify', items: [] },
+ { name: 'Login with Twitch', url: '/guides/auth/auth-twitch', items: [] },
+ { name: 'Login with Twitter', url: '/guides/auth/auth-twitter', items: [] },
+ { name: 'Login with WorkOS', url: '/guides/auth/auth-workos', items: [] },
+ { name: 'Phone Auth with Twilio', url: '/guides/auth/twilio', items: [] },
+ { name: 'Phone Auth with Vonage', url: '/guides/auth/vonage', items: [] },
+ { name: 'Phone Auth with MessageBird', url: '/guides/auth/messagebird', items: [] },
+ ],
+ },
+ {
+ name: 'Authorization',
+ url: undefined,
+ items: [
+ { name: 'Row Level Security', url: '/guides/auth/row-level-security', items: [] },
+ { name: 'Managing User Data', url: '/guides/auth/managing-user-data', items: [] },
+ { name: 'Enable Captcha Protection', url: '/guides/auth/auth-captcha', items: [] },
+ { name: 'Server-side Rendering', url: '/guides/auth/server-side-rendering', items: [] },
+ { name: 'Multi-Factor Authentication', url: '/guides/auth/auth-mfa', items: [] },
+ ],
+ },
+ {
+ name: 'Auth Helpers',
+ url: undefined,
+ items: [
+ { name: 'Overview', url: '/guides/auth/auth-helpers', items: [] },
+ { name: 'Auth UI', url: '/guides/auth/auth-helpers/auth-ui', items: [] },
+ { name: 'Next.js', url: '/guides/auth/auth-helpers/nextjs', items: [] },
+ { name: 'SvelteKit', url: '/guides/auth/auth-helpers/sveltekit', items: [] },
+ ],
+ },
+ {
+ name: 'Deep Dive',
+ url: undefined,
+ items: [
+ { name: 'Part One: JWTs', url: 'learn/auth-deep-dive/auth-deep-dive-jwts', items: [] },
+ {
+ name: 'Part Two: Row Level Security',
+ url: 'learn/auth-deep-dive/auth-row-level-security',
+ items: [],
+ },
+ { name: 'Part Three: Policies', url: 'learn/auth-deep-dive/auth-policies', items: [] },
+ { name: 'Part Four: GoTrue', url: 'learn/auth-deep-dive/auth-gotrue', items: [] },
+ {
+ name: 'Part Fibe: Google OAuth',
+ url: 'learn/auth-deep-dive/auth-google-oauth',
+ items: [],
+ },
+ ],
+ },
+ ],
+ },
+ {
+ label: 'APIs',
+ items: [
+ { name: 'Overview', url: '/guides/api', items: [] },
+ { name: 'Generating Types', url: '/guides/api/generating-types', items: [] },
+ ],
+ },
+ {
+ label: 'Database',
+ items: [
+ { name: 'Overview', url: '/guides/database', items: [] },
+ { name: 'Database Connections', url: '/guides/database/connecting-to-postgres', items: [] },
+ { name: 'Tables and Data', url: '/guides/database/tables', items: [] },
+ { name: 'Database Functions', url: '/guides/database/functions', items: [] },
+ { name: 'Full Text Search', url: '/guides/database/full-text-search', items: [] },
+ {
+ name: 'Migrating Between Projects',
+ url: '/guides/database/migrating-between-projects',
+ items: [],
+ },
+ {
+ name: 'Extensions',
+ url: undefined,
+ items: [
+ { name: 'Overview', url: '/guides/database/extensions', items: [] },
+ {
+ name: 'plv8: Javascript Language',
+ url: '/guides/database/extensions/plv8',
+ items: [],
+ },
+ { name: 'http: RESTful Client', url: '/guides/database/extensions/http', items: [] },
+ { name: 'pgTAP: Unit Testing', url: '/guides/database/extensions/pgtap', items: [] },
+ {
+ name: 'uuid-ossp: Unique Identifiers',
+ url: '/guides/database/extensions/uuid-ossp',
+ items: [],
+ },
+ ],
+ },
+ {
+ name: 'Configuration',
+ url: undefined,
+ items: [
+ { name: 'Timeouts', url: '/guides/database/timeouts', items: [] },
+ { name: 'Replication', url: '/guides/database/replication', items: [] },
+ { name: 'Passwords', url: '/guides/database/managing-passwords', items: [] },
+ { name: 'Timezones', url: '/guides/database/managing-timezones', items: [] },
+ ],
+ },
+ ],
+ },
+ {
+ label: 'Edge Functions',
+ items: [
+ { name: 'Overview', url: '/guides/functions', items: [] },
+ { name: 'Auth', url: '/guides/functions/auth', items: [] },
+ { name: 'Examples', url: '/guides/functions/examples', items: [] },
+ { name: 'CI/CD Workflow', url: '/guides/functions/cicd-workflow', items: [] },
+ ],
+ },
+ {
+ label: 'Realtime',
+ items: [
+ { name: 'Overview', url: '/guides/realtime', items: [] },
+ { name: 'Quickstart', url: '/guides/realtime/quickstart', items: [] },
+ { name: 'Postgres CDC', url: '/guides/realtime/postgres-cdc', items: [] },
+ ],
+ },
+ {
+ label: 'Storage',
+ items: [
+ { name: 'Overview', url: '/guides/storage', items: [] },
+ { name: 'CDN', url: '/guides/storage-cdn', items: [] },
+ ],
+ },
+ {
+ label: 'Platform',
+ items: [
+ { name: 'Overview', url: '/guides/hosting/platform', items: [] },
+ { name: 'Custom Domains', url: '/guides/platform/custom-domains', items: [] },
+ { name: 'Disk Space Usage', url: '/guides/platform/disk-usage', items: [] },
+ { name: 'Logging', url: '/guides/platform/logs', items: [] },
+ { name: 'Metrics', url: '/guides/platform/metrics', items: [] },
+ { name: 'Performance', url: '/guides/platform/performance', items: [] },
+ { name: 'Permissions', url: '/guides/platform/permissions', items: [] },
+ { name: 'Production Readiness', url: '/guides/platform/going-into-prod', items: [] },
+ ],
+ },
+ {
+ label: 'Self Hosting',
+ items: [
+ { name: 'Overview', url: '/guides/hosting/overview', items: [] },
+ { name: 'Docker', url: '/guides/hosting/docker', items: [] },
+ ],
+ },
+ {
+ label: 'Migrate to Supabase',
+ items: [
+ { name: 'Firebase Auth', url: '/guides/migrations/firebase-auth', items: [] },
+ { name: 'Firestore Data', url: '/guides/migrations/firestore-data', items: [] },
+ { name: 'Firebase Storage', url: '/guides/migrations/firebase-storage', items: [] },
+ { name: 'Herokuy', url: '/guides/migrations/heroku', items: [] },
+ ],
+ },
+ {
+ label: 'Integrations',
+ items: [
+ { name: 'Supabase Marketplace', url: '/guides/integrations/integrations', items: [] },
+ {
+ name: 'Auth',
+ url: undefined,
+ items: [
+ { name: 'Auth0', url: '/guides/integration/auth0', items: [] },
+ { name: 'Authsignal', url: '/guides/integration/authsignal', items: [] },
+ { name: 'Clerk', url: '/guides/integration/clerk', items: [] },
+ { name: 'keyri', url: '/guides/integration/keyri', items: [] },
+ { name: 'Stytch', url: '/guides/integration/stytch', items: [] },
+ { name: 'SuperTokens', url: '/guides/integration/supertokens', items: [] },
+ ],
+ },
+ {
+ name: 'Caching / Offline-first',
+ url: undefined,
+ items: [{ name: 'Polyscale', url: '/guides/integrations/polyscale', items: [] }],
+ },
+ {
+ name: 'Developer Tools',
+ url: undefined,
+ items: [
+ { name: 'pgMustard', url: '/guides/integrations/pgmustard', items: [] },
+ { name: 'Prisma', url: '/guides/integrations/prisma', items: [] },
+ { name: 'Sequin', url: '/guides/integrations/sequin', items: [] },
+ { name: 'Snaplet', url: '/guides/integrations/snaplet', items: [] },
+ { name: 'Vercel', url: '/guides/integrations/vercel', items: [] },
+ ],
+ },
+ {
+ name: 'Low-code',
+ url: undefined,
+ items: [
+ { name: 'Appsmith', url: '/guides/integrations/appsmith', items: [] },
+ { name: 'Dashibase', url: '/guides/integrations/dashibase', items: [] },
+ { name: 'DhiWise', url: '/guides/integrations/dhiwise', items: [] },
+ { name: 'Directus', url: '/guides/integrations/directus', items: [] },
+ { name: 'Draftbit', url: '/guides/integrations/draftbit', items: [] },
+ { name: 'Plasmic', url: '/guides/integrations/plasmic', items: [] },
+ ],
+ },
+ ],
+ },
+ ],
+ Reference: [
+ {
+ label: 'Official',
+ items: [
+ { name: 'Reference Documentation', url: '/reference', items: [] },
+ { name: 'Supabase Javascript Library', url: '/reference/javascript', items: [] },
+ { name: 'Supabase CLI', url: '/reference/cli', items: [] },
+ { name: 'Supabase API', url: '/reference/api', items: [] },
+ ],
+ },
+ {
+ label: 'Self-hosting',
+ items: [
+ { name: 'Auth Server', url: '/reference/auth', items: [] },
+ { name: 'Storage Server', url: '/reference/storage', items: [] },
+ ],
+ },
+ ],
+}
diff --git a/apps/temp-docs/components/nav/NavBar.tsx b/apps/temp-docs/components/nav/NavBar.tsx
index cd313a1e7fe..df8ed633d2a 100644
--- a/apps/temp-docs/components/nav/NavBar.tsx
+++ b/apps/temp-docs/components/nav/NavBar.tsx
@@ -13,7 +13,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
}, [isDarkMode])
const pageLinks = [
- { text: 'Guides', link: '/guides' },
+ { text: 'Guides', link: '/' },
{
text: 'Reference',
link: '/reference',
@@ -21,7 +21,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
]
return (
- <nav className="dark:border-scale-400 dark:bg-scale-200 sticky top-0 z-10 flex h-[72px] items-center justify-between border-b bg-white p-4 backdrop-blur backdrop-filter">
+ <nav className="dark:border-scale-400 dark:bg-scale-200 sticky top-0 z-10 flex h-[60px] items-center justify-between border-b bg-white p-4 backdrop-blur backdrop-filter">
<div className="flex items-center">
<button className="mr-4 block stroke-2 lg:hidden">
<IconMenu className="text-scale-1100" />
diff --git a/apps/temp-docs/components/nav/SideBar.tsx b/apps/temp-docs/components/nav/SideBar.tsx
index 5cb87cab215..41af6d3260a 100644
--- a/apps/temp-docs/components/nav/SideBar.tsx
+++ b/apps/temp-docs/components/nav/SideBar.tsx
@@ -1,117 +1,99 @@
import Link from 'next/link'
import { useRouter } from 'next/router'
-import { useEffect, useState } from 'react'
import { IconChevronRight } from '~/../../packages/ui'
+import { NavMenuGroup, NavMenuSection } from './Nav.constants'
+import * as Accordion from '@radix-ui/react-accordion'
-const SideBar = ({ menuItems: passedMenuItems }: { menuItems: any }) => {
- const [menuItems, setMenuItems] = useState(passedMenuItems)
- console.log('sidebar', menuItems)
-
+const SideBar = ({ menuItems }: { menuItems: any }) => {
const { asPath } = useRouter()
- function toggleMenuItem(label: string) {
- const newMenuItems = menuItems.map((item: any) => {
- // see if the item has grandchildren
-
- // collapse all first
- item.collapsed = true
-
- // then grab the one that matches the label and invert it
- if (item.label === label) {
- return { ...item, collapsed: !item.collapsed }
- }
-
- return item
- })
- setMenuItems(newMenuItems)
- }
-
return (
<div
className="dark:bg-scale-200 dark:border-scale-400 sidebar-width sticky top-0 flex
- h-screen overflow-y-scroll border-r py-10 px-6 sidebar-menu-container"
+ h-screen overflow-y-scroll border-r py-8 px-6 sidebar-menu-container"
>
- <ul className="w-full flex-col gap-12 mb-8">
- {menuItems.map((item) => (
- <li className="mt-1">
- <button onClick={(e) => toggleMenuItem(item.label)} className="flex items-center">
- <IconChevronRight /> {item.label}
- </button>
- <ul className={`mb-8 ml-5 text-sm ${item.collapsed ? 'hidden' : ''}`}>
- {item.items.map((child) => (
- <li>
- {child.items ? (
- <div>
- <button
- className="flex items-center"
- onClick={(e) => toggleMenuItem(child.label)}
- >
- <IconChevronRight />
- {child.label}
- </button>
- <ul className={`mb-4 mt-2 ml-2 ${child.collapsed ? 'hidden' : ''}`}>
- {child.items.map((grandchild) => (
- <li>{grandchild}</li>
- ))}
- </ul>
- </div>
- ) : (
- child
- )}
- </li>
- ))}
- </ul>
- </li>
- ))}
- {/* {Object.keys(menuItems).map((key, i) => (
- <li key={key} className="mb-8 bg-gray-200 parent-menu-container">
- <button
- onClick={(e) => console.log('hay ')}
- className={[
- 'parent-menu-toggle text-sm bg-gray-500 flex items-center gap-1',
- 2 > 1 ? 'active' : '',
- ].join(' ')}
- >
- <IconChevronRight size="tiny" strokeWidth="0.75" />
- {key}
- </button>
- <ul className={['parent-menu mt-4', 2 > 1 ? '' : 'hidden'].join(' ')}>
- {menuItems[key].map((item) =>
- Array.isArray(item.sections) ? (
- <div className="sub-menu-group ml-4">
- <button
- onClick={(e) => console.log()}
- className="parent-menu-toggle text-sm bg-gray-500 flex items-center gap-1"
+ <Accordion.Root
+ collapsible
+ type="single"
+ defaultValue="Overview"
+ className="w-full space-y-0.5"
+ >
+ {menuItems.map((group: NavMenuGroup) => (
+ <Accordion.Item key={group.label} value={group.label}>
+ <Accordion.Trigger className="w-full flex items-center space-x-2 py-1.5">
+ <IconChevronRight
+ className="transition text-scale-1000 data-open-parent:rotate-90"
+ size={14}
+ strokeWidth={2}
+ />
+ <span className="text-scale-1200 text-sm group-hover:text-brand-900 transition">
+ {group.label}
+ </span>
+ </Accordion.Trigger>
+ <Accordion.Content className="transition my-2 data-open:animate-slide-down data-closed:animate-slide-up">
+ {group.items.map((section: NavMenuSection) => {
+ if (section.items.length === 0) {
+ return (
+ <Link href={section.url}>
+ <a>
+ <div
+ key={section.name}
+ className={[
+ 'py-1.5 px-5 rounded text-sm',
+ `${
+ section.url === asPath
+ ? 'bg-scale-400 text-brand-900'
+ : 'text-scale-1100 hover:text-scale-1200'
+ }`,
+ ].join(' ')}
+ >
+ {section.name}
+ </div>
+ </a>
+ </Link>
+ )
+ } else {
+ return (
+ <Accordion.Root
+ collapsible
+ key={section.name}
+ type="single"
+ className="space-y-0.5"
>
- <IconChevronRight size="tiny" strokeWidth="0.75" />
- {item.text}
- </button>
- <ul className={['bg-gray-300 sub-menu ml-5', 2 > 1 ? 'hidden' : ''].join(' ')}>
- {item.sections.map((menuItem) => (
- <li>
- <Link href={menuItem.link}>
- <a className={menuItem.link === asPath ? 'text-brand-800' : ''}>
- {menuItem.text}
- </a>
- </Link>
- </li>
- ))}
- </ul>
- </div>
- ) : (
- <p>
- <li>
- <Link href={item.link}>
- <a className={item.link === asPath ? 'text-brand-800' : ''}>{item.text}</a>
- </Link>
- </li>
- </p>
- )
- )}
- </ul>
- </li>
- ))} */}
- </ul>
+ <Accordion.Item value={section.name}>
+ <Accordion.Trigger className="flex items-center space-x-2 px-4 py-1.5">
+ <IconChevronRight
+ className="transition text-scale-1000 data-open-parent:rotate-90"
+ size={14}
+ strokeWidth={2}
+ />
+ <span className="text-scale-1200 text-sm group-hover:text-brand-900 transition">
+ {section.name}
+ </span>
+ </Accordion.Trigger>
+ <Accordion.Content className="my-2">
+ {section.items.map((item: NavMenuSection) => (
+ <Link href={item.url}>
+ <a>
+ <div
+ key={item.name}
+ className="py-1.5 px-9 text-sm text-scale-1100 hover:text-scale-1200 transition"
+ >
+ {item.name}
+ </div>
+ </a>
+ </Link>
+ ))}
+ </Accordion.Content>
+ </Accordion.Item>
+ </Accordion.Root>
+ )
+ }
+ })}
+ </Accordion.Content>
+ </Accordion.Item>
+ ))}
+ </Accordion.Root>
</div>
)
}
diff --git a/apps/temp-docs/components/nav/menu-items-reduced.js b/apps/temp-docs/components/nav/menu-items-reduced.js
deleted file mode 100644
index 59cf929681d..00000000000
--- a/apps/temp-docs/components/nav/menu-items-reduced.js
+++ /dev/null
@@ -1,275 +0,0 @@
-export const menuItems = {
- Docs: [
- {
- type: 'category',
- label: 'Overview',
- collapsed: true,
- items: ['about', 'guides/features', 'architecture'],
- },
- {
- type: 'category',
- label: 'Quickstarts',
- collapsed: true,
- items: [
- 'guides/with-angular',
- 'guides/with-expo',
- 'guides/with-flutter',
- 'guides/with-ionic-angular',
- 'guides/with-ionic-react',
- 'guides/with-ionic-vue',
- 'guides/with-nextjs',
- 'guides/with-nuxt-3',
- 'guides/with-react',
- 'guides/with-redwoodjs',
- 'guides/with-solidjs',
- 'guides/with-svelte',
- 'guides/with-sveltekit',
- 'guides/with-vue-3',
- ],
- },
- {
- type: 'category',
- label: 'CLI',
- collapsed: true,
- items: ['guides/cli', 'guides/cli/local-development', 'guides/cli/managing-environments'],
- },
- {
- type: 'category',
- label: 'Auth',
- collapsed: true,
- items: [
- 'guides/auth',
- {
- type: 'category',
- label: 'Authentication',
- collapsed: true,
- items: [
- 'guides/auth/auth-email',
- 'guides/auth/auth-magic-link',
- 'guides/auth/auth-apple',
- 'guides/auth/auth-azure',
- 'guides/auth/auth-bitbucket',
- 'guides/auth/auth-discord',
- 'guides/auth/auth-facebook',
- 'guides/auth/auth-github',
- 'guides/auth/auth-gitlab',
- 'guides/auth/auth-google',
- 'guides/auth/auth-keycloak',
- 'guides/auth/auth-linkedin',
- 'guides/auth/auth-notion',
- 'guides/auth/auth-slack',
- 'guides/auth/auth-spotify',
- 'guides/auth/auth-twitch',
- 'guides/auth/auth-twitter',
- 'guides/auth/auth-workos',
- 'guides/auth/auth-zoom',
- 'guides/auth/auth-twilio',
- 'guides/auth/auth-vonage',
- 'guides/auth/auth-messagebird',
- ],
- },
- {
- type: 'category',
- label: 'Authorization',
- collapsed: true,
- items: [
- 'guides/auth/row-level-security',
- 'guides/auth/managing-user-data',
- 'guides/auth/auth-captcha',
- 'guides/auth/server-side-rendering',
- 'guides/auth/auth-mfa',
- ],
- },
- {
- type: 'category',
- label: 'Auth Helpers',
- collapsed: true,
- items: [
- 'guides/auth/auth-helpers/index',
- 'guides/auth/auth-helpers/auth-ui',
- 'guides/auth/auth-helpers/nextjs',
- 'guides/auth/auth-helpers/sveltekit',
- ],
- },
- {
- type: 'category',
- label: 'Deep Dive',
- collapsed: true,
- items: [
- 'learn/auth-deep-dive/auth-deep-dive-jwts',
- 'learn/auth-deep-dive/auth-row-level-security',
- 'learn/auth-deep-dive/auth-policies',
- 'learn/auth-deep-dive/auth-gotrue',
- 'learn/auth-deep-dive/auth-google-oauth',
- ],
- },
- ],
- },
- {
- type: 'category',
- label: 'APIs',
- collapsed: true,
- items: ['guides/api', 'guides/api/generating-types'],
- },
- {
- type: 'category',
- label: 'Database',
- collapsed: true,
- items: [
- 'guides/database',
- 'guides/database/connecting-to-postgres',
- 'guides/database/tables',
- 'guides/database/functions',
- 'guides/database/full-text-search',
- 'guides/database/migrating-between-projects',
- // 'guides/database/json',
- // 'guides/database/arrays',
- // 'guides/database/sql-to-api',
- {
- type: 'category',
- label: 'Extensions',
- collapsed: true,
- items: [
- 'guides/database/extensions',
- 'guides/database/extensions/plv8',
- 'guides/database/extensions/http',
- 'guides/database/extensions/pgtap',
- 'guides/database/extensions/uuid-ossp',
- ],
- },
- {
- type: 'category',
- label: 'Configuration',
- collapsed: true,
- items: [
- 'guides/database/timeouts',
- 'guides/database/replication',
- 'guides/database/managing-passwords',
- 'guides/database/managing-timezones',
- ],
- },
- ],
- },
- {
- type: 'category',
- label: 'Edge Functions',
- collapsed: true,
- items: [
- 'guides/functions',
- 'guides/functions/auth',
- 'guides/functions/examples',
- 'guides/functions/cicd-workflow',
- ],
- },
- {
- type: 'category',
- label: 'Realtime',
- collapsed: true,
- items: ['guides/realtime', 'guides/realtime/quickstart', 'guides/realtime/postgres-cdc'],
- },
- {
- type: 'category',
- label: 'Storage',
- collapsed: true,
- items: ['guides/storage', 'guides/storage-cdn'],
- },
- {
- type: 'category',
- label: 'Platform',
- collapsed: true,
- items: [
- 'guides/hosting/platform',
- 'guides/platform/custom-domains',
- 'guides/platform/disk-usage',
- 'guides/platform/logs',
- 'guides/platform/metrics',
- 'guides/platform/performance',
- 'guides/platform/permissions',
- 'going-into-prod',
- ],
- },
- {
- type: 'category',
- label: 'Self Hosting',
- collapsed: true,
- items: ['guides/hosting/overview', 'guides/hosting/docker'],
- },
- {
- type: 'category',
- label: 'Migrate to Supabase',
- collapsed: true,
- items: [
- 'guides/migrations/firebase-auth',
- 'guides/migrations/firestore-data',
- 'guides/migrations/firebase-storage',
- 'guides/migrations/heroku',
- ],
- },
- {
- type: 'category',
- label: 'Integrations',
- collapsed: true,
- items: [
- 'guides/integrations/integrations',
- {
- type: 'category',
- label: 'Auth',
- collapsed: true,
- items: [
- 'guides/integrations/auth0',
- 'guides/integrations/authsignal',
- 'guides/integrations/clerk',
- 'guides/integrations/keyri',
- 'guides/integrations/stytch',
- 'guides/integrations/supertokens',
- ],
- },
- {
- type: 'category',
- label: 'Caching / Offline-first',
- collapsed: true,
- items: ['guides/integrations/polyscale'],
- },
- {
- type: 'category',
- label: 'Developer Tools',
- collapsed: true,
- items: [
- 'guides/integrations/pgmustard',
- 'guides/integrations/prisma',
- 'guides/integrations/sequin',
- 'guides/integrations/snaplet',
- 'guides/integrations/vercel',
- ],
- },
- {
- type: 'category',
- label: 'Low-code',
- collapsed: true,
- items: [
- 'guides/integrations/appsmith',
- 'guides/integrations/dashibase',
- 'guides/integrations/dhiwise',
- 'guides/integrations/directus',
- 'guides/integrations/draftbit',
- 'guides/integrations/plasmic',
- ],
- },
- ],
- },
- ],
- Reference: [
- {
- type: 'category',
- label: 'Official',
- collapsed: true,
- items: ['reference-documentation', 'js library', 'flutter library', 'cli', 'api'],
- },
- {
- type: 'category',
- label: 'Self-hosting',
- collapsed: true,
- items: ['auth-server', 'storage-server'],
- },
- ],
-}
diff --git a/apps/temp-docs/components/nav/menu-items.json b/apps/temp-docs/components/nav/menu-items.json
deleted file mode 100644
index b29ce6f17de..00000000000
--- a/apps/temp-docs/components/nav/menu-items.json
+++ /dev/null
@@ -1,818 +0,0 @@
-{
- "Docs": {
- "Overview": [
- { "text": "Introduction", "link": "/" },
- { "text": "Features", "link": "/features" },
- { "text": "Architecture", "link": "/architecture" },
- {
- "text": "Grandchildren",
- "sections": [
- {
- "text": "Grandchild1",
- "link": "/guides/database/extensions"
- },
- {
- "text": "Grandchild2",
- "link": "/guides/database/extensions/plv8"
- }
- ]
- }
- ],
- "Tutorials": [
- { "text": "Quickstart: Angular", "link": "/guides/with-angular" },
- { "text": "Quickstart: Next.js", "link": "/guides/with-nextjs" },
- { "text": "Quickstart: Nuxt 3", "link": "/guides/with-nuxt-3" },
- { "text": "Quickstart: Flutter", "link": "/guides/with-flutter" },
- { "text": "Quickstart: React", "link": "/guides/with-react" },
- { "text": "Quickstart: RedwoodJS", "link": "/guides/with-redwoodjs" },
- { "text": "Quickstart: Svelte", "link": "/guides/with-svelte" },
- { "text": "Quickstart: Vue 3", "link": "/guides/with-vue-3" }
- ],
- "See Also": [
- { "text": "FAQs", "link": "/faqs" },
- { "text": "Going into Prod Checklist", "link": "/going-into-prod" },
- { "text": "Contributing", "link": "/handbook/contributing" },
- { "text": "SupaSquad", "link": "/handbook/supasquad" },
- { "text": "Terms of Service", "link": "/company/terms" },
- { "text": "Privacy Policy", "link": "/company/privacy" },
- { "text": "Acceptable Use Policy", "link": "/company/aup" }
- ]
- },
- "Guides": {
- "Guides": [
- { "text": "Introduction", "link": "/guides" },
- { "text": "Features", "link": "/features" },
- { "text": "Architecture", "link": "/architecture" }
- ],
- "Database": [
- { "text": "Introduction", "link": "/guides/database/introduction" },
- { "text": "Tables", "link": "/guides/database/tables" },
- { "text": "Functions", "link": "/guides/database/functions" },
- { "text": "Full Text Search", "link": "/guides/database/full-text-search" },
- {
- "text": "Extensions",
- "sections": [
- {
- "text": "Overview",
- "link": "/guides/database/extensions"
- },
- {
- "text": "plv8: Javascript Language",
- "link": "/guides/database/extensions/plv8"
- },
- {
- "text": "http: RESTful Client",
- "link": "/guides/database/extensions/http"
- },
- {
- "text": "uuid-ossp: Unique Identifiers",
- "link": "/guides/database/extensions/uuid-ossp"
- }
- ]
- },
- {
- "text": "Connecting to Postgres",
- "sections": [
- {
- "text": "Overview",
- "link": "/guides/database/connecting/connecting-to-postgres"
- },
- {
- "text": "Direct Connections",
- "link": "/guides/database/connecting/direct-connections"
- },
- {
- "text": "Connection Pooling",
- "link": "/guides/database/connecting/connection-pooling"
- }
- ]
- },
- {
- "text": "Configuration",
- "sections": [
- {
- "text": "Timeouts",
- "link": "/guides/database/timeouts"
- },
- {
- "text": "Direct Connections",
- "link": "/guides/database/replication"
- },
- {
- "text": "Passwords",
- "link": "/guides/database/managing-passwords"
- },
- {
- "text": "Timezones",
- "link": "/guides/database/managing-timezones"
- }
- ]
- }
- ],
- "Auth": [
- {
- "text": "Introduction",
- "link": "/guides/auth/intro"
- },
- {
- "text": "Authentication",
- "sections": [
- { "text": "Login With Email", "link": "/guides/auth/auth-email" },
- { "text": "Login With Magic Link", "link": "/guides/auth/auth-magic-link" },
- { "text": "Login With Apple", "link": "/guides/auth/auth-apple" },
- { "text": "Login With Bitbucket", "link": "/guides/auth/auth-bitbucket" },
- { "text": "Login With Discord", "link": "/guides/auth/auth-discord" },
- { "text": "Login With Facebook", "link": "/guides/auth/auth-facebook" },
- { "text": "Login With GitHub", "link": "/guides/auth/auth-gitHub" },
- { "text": "Login With GitLab", "link": "/guides/auth/auth-gitLab" },
- { "text": "Login With Google", "link": "/guides/auth/auth-google" },
- { "text": "Login With Slack", "link": "/guides/auth/auth-slack" },
- { "text": "Login With Spotify", "link": "/guides/auth/auth-spotify" },
- { "text": "Login With Twitter", "link": "/guides/auth/auth-twitter" },
- { "text": "Login With Twitch", "link": "/guides/auth/auth-twitch" },
- { "text": "Phone Auth With Twilio", "link": "/guides/auth/auth-twilio" },
- { "text": "Phone Auth With MessageBird", "link": "/guides/auth/auth-messageBird" }
- ]
- },
- {
- "text": "Authorization",
- "sections": [
- { "text": "Row Level Security", "link": "/guides/auth/row-level-security" },
- { "text": "Managing User Data", "link": "/guides/auth/managing-user-data" }
- ]
- },
- {
- "text": "Deep Dive",
- "link": [
- { "text": "Part One: JWTs", "link": "/guides/auth-deep-dive/auth-deep-dive-jwts" },
- {
- "text": "Part Two: Row Level Security",
- "link": "/guides/auth-deep-dive/auth-row-level-security"
- },
- { "text": "Part Three: Policies", "link": "/guides/auth-deep-dive/auth-policies" },
- { "text": "Part Four: Gotrue", "link": "/guides/auth-deep-dive/auth-gotrue" },
- { "text": "Part Five: Google Oauth", "link": "/guides/auth-deep-dive/auth-google-auth" }
- ]
- }
- ],
- "Integrations": [
- {
- "text": "Auth0",
- "link": "/guides/integrations/auth0"
- },
- {
- "text": "Draftbit",
- "link": "/guides/integrations/draftbit"
- },
- {
- "text": "Prisma",
- "link": "/guides/integrations/prisma"
- },
- {
- "text": "Vercel",
- "link": "/guides/integrations/vercel"
- }
- ],
- "Self Hosting": [
- { "text": "Overview", "link": "/guides/hosting/overview" },
- { "text": "Supabase Platform", "link": "/guides/hosting/platform" },
- { "text": "With Docker", "link": "/guides/hosting/docker" }
- ]
- },
- "Reference": {
- "JAVASCRIPT": [
- {
- "text": "Getting Started",
- "sections": [
- { "text": "Supabase JavaScript Library", "link": "/reference/javascript/index" },
- { "text": "Installing", "link": "/reference/javascript/installing" },
- { "text": "Initializing", "link": "/reference/javascript/initializing" },
- { "text": "Typescript Support", "link": "/reference/javascript/typescript-support" },
- { "text": "Generating Types", "link": "/reference/javascript/generating-types" }
- ]
- },
- {
- "text": "Auth",
- "sections": [
- { "text": "signUp()", "link": "/reference/javascript/auth-signup" },
- { "text": "signIn()", "link": "/reference/javascript/auth-signin" },
- { "text": "signOut()", "link": "/reference/javascript/auth-signout" },
- { "text": "session()", "link": "/reference/javascript/auth-session" },
- { "text": "user()", "link": "/reference/javascript/auth-user" },
- { "text": "update()", "link": "/reference/javascript/generated/update" },
- { "text": "setAuth()", "link": "/reference/javascript/auth-setauth" },
- { "text": "onAuthStateChange()", "link": "/reference/javascript/auth-onauthstatechange" },
- { "text": "getUser()", "link": "/reference/javascript/auth-api-getuser" },
- { "text": "Reset Password(Email)", "link": "/reference/javascript/reset-password-email" }
- ]
- },
- {
- "text": "Auth (Server Only)",
- "sections": [
- { "text": "createUser()", "link": "/reference/javascript/auth-api-createuser" },
- { "text": "deleteUser()", "link": "/reference/javascript/auth-api-deleteuser" },
- { "text": "generateLink()", "link": "/reference/javascript/auth-api-generatelink" },
- {
- "text": "inviteUserByEmail()",
- "link": "/reference/javascript/auth-api-inviteuserbyemail"
- },
- { "text": "sendMobileOTP()", "link": "/reference/javascript/auth-api-sendmobileotp" },
- {
- "text": "resetPasswordForEmail()",
- "link": "/reference/javascript/auth-api-resetpasswordforemail"
- }
- ]
- },
- {
- "text": "Database",
- "sections": [
- {
- "text": "Fetch data: select()",
- "link": "/reference/javascript/select"
- },
- {
- "text": "Create data: insert()",
- "link": "/reference/javascript/insert"
- },
- {
- "text": "Modify data: update()",
- "link": "/reference/javascript/update"
- },
- {
- "text": "Upsert data: upsert()",
- "link": "/reference/javascript/upsert"
- },
- {
- "text": "Delete data: delete()",
- "link": "/reference/javascript/delete"
- },
- {
- "text": "Postgres functions: rpc()",
- "link": "/reference/javascript/rpc"
- }
- ]
- },
- {
- "text": "Realtime",
- "sections": [
- {
- "text": "on().subscribe()",
- "link": "/reference/javascript/subscribe"
- },
- {
- "text": "removeSubscription()",
- "link": "/reference/javascript/removesubscription"
- },
- {
- "text": "removeAllSubscriptions()",
- "link": "/reference/javascript/removeallsubscriptions"
- },
- {
- "text": "getSubscriptions()",
- "link": "/reference/javascript/getsubscriptions"
- }
- ]
- },
- {
- "text": "Storage",
- "sections": [
- {
- "text": "createBucket()",
- "link": "/reference/javascript/storage-createbucket"
- },
- {
- "text": "getBucket()",
- "link": "/reference/javascript/storage-getbucket"
- },
- {
- "text": "listBuckets()",
- "link": "/reference/javascript/storage-listbuckets"
- },
- {
- "text": "updateBucket()",
- "link": "/reference/javascript/storage-updatebucket"
- },
- {
- "text": "deleteBucket()",
- "link": "/reference/javascript/storage-deletebucket"
- },
- {
- "text": "emptyBucket()",
- "link": "/reference/javascript/storage-emptybucket"
- },
- {
- "text": "from.upload()",
- "link": "/reference/javascript/storage-from-upload"
- },
- {
- "text": "from.download()",
- "link": "/reference/javascript/storage-from-download"
- },
- {
- "text": "from.list()",
- "link": "/reference/javascript/storage-from-list"
- },
- {
- "text": "from.update()",
- "link": "/reference/javascript/storage-from-update"
- },
- {
- "text": "from.move()",
- "link": "/reference/javascript/storage-from-move"
- },
- {
- "text": "from.remove()",
- "link": "/reference/javascript/storage-from-remove"
- },
- {
- "text": "from.createSignedUrl()",
- "link": "/reference/javascript/storage-from-createsignedurl"
- },
- {
- "text": "from.getPublicUrl()",
- "link": "/reference/javascript/storage-from-getpublicurl"
- }
- ]
- },
- {
- "text": "Modifiers",
- "sections": [
- {
- "text": "Using Modifiers",
- "link": "/reference/javascript/using-modifiers"
- },
- {
- "text": "limit()",
- "link": "/reference/javascript/limit"
- },
- {
- "text": "order()",
- "link": "/reference/javascript/order"
- },
- {
- "text": "range()",
- "link": "/reference/javascript/range"
- },
- {
- "text": "single()",
- "link": "/reference/javascript/single"
- },
- {
- "text": "maybeSingle()",
- "link": "/reference/javascript/maybesingle"
- }
- ]
- },
- {
- "text": "Filters",
- "sections": [
- {
- "text": "Using Filters",
- "link": "/reference/javascript/using-filters"
- },
- {
- "text": "or()",
- "link": "/reference/javascript/or"
- },
- {
- "text": "not()",
- "link": "/reference/javascript/not"
- },
- {
- "text": "match()",
- "link": "/reference/javascript/match"
- },
- {
- "text": "eq()",
- "link": "/reference/javascript/eq"
- },
- {
- "text": "neq()",
- "link": "/reference/javascript/neq"
- },
- {
- "text": "gt()",
- "link": "/reference/javascript/gt"
- },
- {
- "text": "gte()",
- "link": "/reference/javascript/gte"
- },
- {
- "text": "lt()",
- "link": "/reference/javascript/lt"
- },
- {
- "text": "lte()",
- "link": "/reference/javascript/lte"
- },
- {
- "text": "like()",
- "link": "/reference/javascript/like"
- },
- {
- "text": "ilike()",
- "link": "/reference/javascript/ilike"
- },
- {
- "text": "is()",
- "link": "/reference/javascript/is"
- },
- {
- "text": "in()",
- "link": "/reference/javascript/in"
- },
- {
- "text": "contains()",
- "link": "/reference/javascript/contains"
- },
- {
- "text": "containedBy()",
- "link": "/reference/javascript/containedby"
- },
- {
- "text": "rangeLt()",
- "link": "/reference/javascript/rangelt"
- },
- {
- "text": "rangeGt()",
- "link": "/reference/javascript/rangegt"
- },
- {
- "text": "rangeGte()",
- "link": "/reference/javascript/rangegte"
- },
- {
- "text": "rangeLte()",
- "link": "/reference/javascript/rangelte"
- },
-
- {
- "text": "rangeAdjacent()",
- "link": "/reference/javascript/rangeadjacent"
- },
- {
- "text": "overlaps()",
- "link": "/reference/javascript/overlaps"
- },
- {
- "text": "textSearch()",
- "link": "/reference/javascript/textsearch"
- },
- {
- "text": "filter()",
- "link": "/reference/javascript/filter"
- }
- ]
- }
- ],
- "DART": [
- {
- "text": "Getting Started",
- "sections": [
- { "text": "Installing", "link": "/reference/dart/installing" },
- { "text": "Initializing", "link": "/reference/dart/initializing" }
- ]
- },
- {
- "text": "Auth",
- "sections": [
- { "text": "signUp()", "link": "/reference/dart/auth-signup" },
- { "text": "signIn()", "link": "/reference/dart/auth-signin" },
- { "text": "signOut()", "link": "/reference/dart/auth-signout" },
- { "text": "session()", "link": "/reference/dart/auth-session" },
- { "text": "user()", "link": "/reference/dart/auth-user" },
- { "text": "update()", "link": "/reference/dart/auth-update" },
- { "text": "setAuth()", "link": "/reference/dart/auth-setauth" },
- { "text": "onAuthStateChange()", "link": "/reference/dart/auth-onauthsatechange" },
- { "text": "Reset Password(Email)", "link": "/reference/dart/reset-password-email" }
- ]
- },
-
- {
- "text": "Database",
- "sections": [
- {
- "text": "Fetch data: select()",
- "link": "/reference/dart/select"
- },
- {
- "text": "Create data: insert()",
- "link": "/reference/dart/insert"
- },
- {
- "text": "Modify data: update()",
- "link": "/reference/dart/update"
- },
- {
- "text": "Upsert data: upsert()",
- "link": "/reference/dart/upsert"
- },
- {
- "text": "Delete data: delete()",
- "link": "/reference/dart/delete"
- },
- {
- "text": "Postgres functions: rpc()",
- "link": "/reference/dart/rpc"
- }
- ]
- },
- {
- "text": "Realtime",
- "sections": [
- {
- "text": "on().subscribe()",
- "link": "/reference/dart/subscribe"
- },
- {
- "text": "removeSubscription()",
- "link": "/reference/dart/removesubscription"
- },
- {
- "text": "getSubscriptions()",
- "link": "/reference/dart/getsubscriptions"
- }
- ]
- },
- {
- "text": "Storage",
- "sections": [
- {
- "text": "createBucket()",
- "link": "/reference/dart/storage-createbucket"
- },
- {
- "text": "getBucket()",
- "link": "/reference/dart/storage-getbucket"
- },
- {
- "text": "listBuckets()",
- "link": "/reference/dart/storage-listbuckets"
- },
- {
- "text": "updateBucket()",
- "link": "/reference/dart/storage-updatebucket"
- },
- {
- "text": "deleteBucket()",
- "link": "/reference/dart/storage-deletebucket"
- },
- {
- "text": "emptyBucket()",
- "link": "/reference/dart/storage-emptybucket"
- },
- {
- "text": "from.upload()",
- "link": "/reference/dart/storage-from-upload"
- },
- {
- "text": "from.download()",
- "link": "/reference/dart/storage-from-download"
- },
- {
- "text": "from.list()",
- "link": "/reference/dart/storage-from-list"
- },
- {
- "text": "from.update()",
- "link": "/reference/dart/storage-from-update"
- },
- {
- "text": "from.move()",
- "link": "/reference/dart/storage-from-move"
- },
- {
- "text": "from.remove()",
- "link": "/reference/dart/storage-from-remove"
- },
- {
- "text": "from.createSignedUrl()",
- "link": "/reference/dart/storage-from-createsignedurl"
- },
- {
- "text": "from.getPublicUrl()",
- "link": "/reference/dart/storage-from-getpublicurl"
- }
- ]
- },
- {
- "text": "Modifiers",
- "sections": [
- {
- "text": "Using Modifiers",
- "link": "/reference/dart/using-modifiers"
- },
- {
- "text": "limit()",
- "link": "/reference/dart/limit"
- },
- {
- "text": "order()",
- "link": "/reference/dart/order"
- },
- {
- "text": "range()",
- "link": "/reference/dart/range"
- },
- {
- "text": "single()",
- "link": "/reference/dart/single"
- },
- {
- "text": "maybeSingle()",
- "link": "/reference/dart/maybesingle"
- }
- ]
- },
- {
- "text": "Filters",
- "sections": [
- {
- "text": "Using Filters",
- "link": "/reference/dart/using-filters"
- },
- {
- "text": "or()",
- "link": "/reference/dart/or"
- },
- {
- "text": "not()",
- "link": "/reference/dart/not"
- },
- {
- "text": "match()",
- "link": "/reference/dart/match"
- },
- {
- "text": "eq()",
- "link": "/reference/dart/eq"
- },
- {
- "text": "neq()",
- "link": "/reference/dart/neq"
- },
- {
- "text": "gt()",
- "link": "/reference/dart/gt"
- },
- {
- "text": "gte()",
- "link": "/reference/dart/gte"
- },
- {
- "text": "lt()",
- "link": "/reference/dart/lt"
- },
- {
- "text": "lte()",
- "link": "/reference/dart/lte"
- },
- {
- "text": "like()",
- "link": "/reference/dart/like"
- },
- {
- "text": "ilike()",
- "link": "/reference/dart/ilike"
- },
- {
- "text": "is_()",
- "link": "/reference/dart/is_"
- },
- {
- "text": "in_()",
- "link": "/reference/dart/in_"
- },
- {
- "text": "contains()",
- "link": "/reference/dart/contains"
- },
- {
- "text": "containedBy()",
- "link": "/reference/dart/containedby"
- },
- {
- "text": "rangeLt()",
- "link": "/reference/dart/rangelt"
- },
- {
- "text": "rangeGt()",
- "link": "/reference/dart/rangegt"
- },
- {
- "text": "rangeGte()",
- "link": "/reference/dart/rangegte"
- },
- {
- "text": "rangeLte()",
- "link": "/reference/dart/rangelte"
- },
-
- {
- "text": "rangeAdjacent()",
- "link": "/reference/dart/rangeadjacent"
- },
- {
- "text": "overlaps()",
- "link": "/reference/dart/overlaps"
- },
- {
- "text": "textSearch()",
- "link": "/reference/dart/textsearch"
- },
- {
- "text": "filter()",
- "link": "/reference/dart/filter"
- }
- ]
- }
- ],
- "CLI": [
- {
- "text": "About",
- "sections": [{ "text": "About", "link": "/reference/cli/about" }]
- },
- {
- "text": "Command reference",
- "sections": [
- {
- "text": "supabase help",
- "link": "/reference/cli/supabase-help"
- },
-
- {
- "text": "supabase init",
- "link": "/reference/cli/supabase-init"
- },
- {
- "text": "supabase start",
- "link": "/reference/cli/supabase-start"
- },
- {
- "text": "supabase stop",
- "link": "/reference/cli/supabase-stop"
- },
- {
- "text": "supabase eject",
- "link": "/reference/cli/supabase-eject"
- },
-
- {
- "text": "supabase db branch list",
- "link": "/reference/cli/supabase-db-branch-list"
- },
- {
- "text": "supabase db branch create",
- "link": "/reference/cli/supabase-db-branch-create"
- },
- {
- "text": "supabase db branch delete",
- "link": "/reference/cli/supabase-db-branch-delete"
- },
- {
- "text": "supabase db switch",
- "link": "/reference/cli/supabase-db-switch"
- },
- {
- "text": "supabase db changes",
- "link": "/reference/cli/supabase-db-changes"
- },
- {
- "text": "supabase db commit",
- "link": "/reference/cli/supabase-db-commit"
- },
- {
- "text": "supabase db reset",
- "link": "/reference/cli/supabase-db-reset"
- },
- {
- "text": "supabase db remote set",
- "link": "/reference/cli/supabase-db-remote-set"
- },
- {
- "text": "supabase db remote commit",
- "link": "/reference/cli/supabase-db-remote-commit"
- },
- {
- "text": "supabase db push",
- "link": "/reference/cli/supabase-db-push"
- },
- {
- "text": "supabase migration new",
- "link": "/reference/cli/supabase-migration-new"
- }
- ]
- },
- {
- "text": "Config reference",
- "sections": [
- {
- "text": "Config reference",
- "link": "/reference/cli/config-reference"
- }
- ]
- }
- ]
- }
-}
diff --git a/apps/temp-docs/docs/guides/features.mdx b/apps/temp-docs/docs/guides/features.mdx
new file mode 100755
index 00000000000..bd3ae948058
--- /dev/null
+++ b/apps/temp-docs/docs/guides/features.mdx
@@ -0,0 +1,171 @@
+---
+id: features
+title: Features
+description: 'Supabase features'
+---
+
+This is a non-exhaustive list of features that Supabase provides for every project.
+
+## Database
+
+### Postgres Database
+
+Every project is a full Postgres database. [Docs](/docs/guides/database).
+
+### Database Extensions
+
+Every database comes with a full set of Postgres extensions. [Docs](/docs/guides/database/extensions).
+
+### Database Functions
+
+Create custom database functions which you can call from the browser. [Docs](/docs/guides/database/functions).
+
+### Database Triggers
+
+Attach triggers to your tables to handle database changes. [Docs](/docs/guides/auth/managing-user-data#using-triggers).
+
+### Database Webhooks
+
+Send database changes to any external service using Webhooks. [Link](https://supabase.com/blog/supabase-functions-updates#database-webhooks-alpha).
+
+### Database Backups
+
+Projects are backed up daily with the option to upgrade to Point in Time recovery.
+
+### Search
+
+Build search functionality using Postgres Full Text Search. [Docs](/docs/guides/database/full-text-search).
+
+### Secrets and encryption
+
+Encrypt sensitive data and store secrets using our Postgres extension, Supabase Vault. [Link](https://supabase.com/blog/supabase-vault).
+
+### Database migrations
+
+Develop locally and push your changes to your production database using migrations. [Docs](/docs/guides/cli/local-development#database-migrations)
+
+<br />
+
+## Auth
+
+### Email & Password Logins
+
+Build email logins for your application or website. [Docs](/docs/guides/auth/auth-email).
+
+### Magic Links
+
+Build passwordless logins for your application or website.[Docs](/docs/guides/auth/auth-magic-link).
+
+### Social Logins
+
+Provide social logins - everything from Apple, to GitHub, to Slack. [Docs](/docs/guides/auth/auth-apple).
+
+### Phone Logins
+
+Provide phone logins using a 3rd-party SMS provider. [Docs](/docs/guides/auth/auth-twilio).
+
+### Row Level Security
+
+Control the data each user can access with Postgres Policies. [Docs](/docs/guides/auth/row-level-security).
+
+### Serverside Auth Helpers
+
+Helpers for implementing user authentication in popular frameworks like [Next.js](/docs/guides/auth/auth-helpers/nextjs) and [SvelteKit](/docs/guides/auth/auth-helpers/sveltekit)
+
+### Auth UI Kit
+
+Build login and registration pages with custom themes. [Docs](/docs/guides/auth/auth-helpers/auth-ui).
+
+<br />
+
+## APIs & Client libraries
+
+### Auto-generated REST API
+
+RESTful APIs are autogenerated from your database, without a single line of code. [Docs](/docs/guides/api#rest-api-overview).
+
+### Auto-generated GraphQL API
+
+Fast GraphQL APIs using our custom Postgres GraphQL extension. [Docs](/docs/guides/api#graphql-api-overview).
+
+### Realtime Database changes
+
+Receive your database changes through websockets. [Docs](/docs/guides/realtime/postgres-cdc).
+
+### User Broadcasting
+
+Send messages between connected users through websockets. [Docs](/docs/guides/realtime#broadcast).
+
+### User Presence
+
+Synchronize shared state across your users, including online status and typing indicators. [Docs](/docs/guides/realtime#presence).
+
+### Client libraries
+
+Official client libraries for [JavaScript](/docs/reference/javascript/) and [Dart](/docs/reference/dart).
+Unofficial libraries [supported by the community](https://github.com/supabase-community#client-libraries).
+
+<br />
+
+## File Storage
+
+### Large File storage
+
+Supabase Storage makes it simple to store and serve large files. [Docs](/docs/guides/storage).
+
+### Storage CDN
+
+Cache large files using the Supabase CDN. [Docs](/docs/guides/storage-cdn).
+
+<br />
+
+## Edge Functions
+
+### Deno Edge Functions
+
+Globally distributed TypeScript functions to execute custom business logic. [Docs](/docs/guides/functions).
+
+<br />
+
+## Project Managment
+
+### CLI
+
+Use our CLI to develop your project locally and deploy to the Supabase Platform. [Docs](/docs/reference/cli).
+
+### Admin API
+
+Manage your projects programmatically. [Docs](/docs/reference/api).
+
+<br />
+
+## Feature Status
+
+Both Postgres and the Supabase Platform are production-ready. Some tools we offer on top of Postgres are still under development.
+
+| Product | Feature | Stage |
+| -------------------------- | ---------------------- | ------- |
+| Database | Postgres | `GA` |
+| Database | Triggers | `GA` |
+| Database | Functions | `GA` |
+| Database | Extensions | `GA` |
+| Database | Full Text Search | `GA` |
+| Database | Webhooks | `alpha` |
+| Database | Point-in-Time Recovery | `alpha` |
+| Database | Vault | `alpha` |
+| Studio | | `GA` |
+| Realtime | Postgres CDC | `beta` |
+| Realtime | Broadcast | `alpha` |
+| Realtime | Presence | `alpha` |
+| Storage | Backend (S3) | `GA` |
+| Storage | API | `beta` |
+| Storage | CDN | `beta` |
+| Edge Functions | | `beta` |
+| Auth | OAuth Providers | `beta` |
+| Auth | Passwordless | `beta` |
+| Auth | Next.js Auth Helpers | `alpha` |
+| Auth | SvelteKit Auth Helpers | `alpha` |
+| Admin API | | `beta` |
+| CLI | | `beta` |
+| Client Library: JavaScript | | `GA` |
+| Client Library: Dart | | `beta` |
diff --git a/apps/temp-docs/layouts/Guide.tsx b/apps/temp-docs/layouts/Guide.tsx
index 7d0f14cb83f..42bed0e6aa1 100644
--- a/apps/temp-docs/layouts/Guide.tsx
+++ b/apps/temp-docs/layouts/Guide.tsx
@@ -1,7 +1,7 @@
import { MDXProvider } from '@mdx-js/react'
import { NextSeo } from 'next-seo'
import { useRouter } from 'next/router'
-import { menuItems } from '~/components/nav/menu-items-reduced'
+import { menuItems } from '~/components/nav/Nav.constants'
import Layout from '~/layouts/Default'
import { getPageType } from '~/lib/helpers'
import getComponents from '~/lib/mdx/getComponents'
diff --git a/apps/temp-docs/package.json b/apps/temp-docs/package.json
index 7313bfe9f3f..5c41bc23e17 100644
--- a/apps/temp-docs/package.json
+++ b/apps/temp-docs/package.json
@@ -30,11 +30,12 @@
},
"dependencies": {
"@apollo/client": "^3.6.6",
+ "@docsearch/react": "1.0.0-alpha.27",
"@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^12.0.4",
+ "@radix-ui/react-accordion": "^1.0.1",
"@tailwindcss/typography": "^0.4.1",
- "@docsearch/react": "1.0.0-alpha.27",
"babel": "^6.23.0",
"common": "*",
"config": "*",
diff --git a/apps/temp-docs/pages/[...slug].tsx b/apps/temp-docs/pages/[...slug].tsx
index 4a29e4db5d6..f978034071a 100644
--- a/apps/temp-docs/pages/[...slug].tsx
+++ b/apps/temp-docs/pages/[...slug].tsx
@@ -4,7 +4,7 @@ import { serialize } from 'next-mdx-remote/serialize'
import { MDXRemote } from 'next-mdx-remote'
import { MDXProvider } from '@mdx-js/react'
import components from '../components/index'
-import { menuItems } from '../components/nav/menu-items-reduced'
+import { menuItems } from '../components/nav/Nav.constants'
import { useRouter } from 'next/router'
// table of contents extractor
diff --git a/apps/temp-docs/pages/index.tsx b/apps/temp-docs/pages/index.tsx
index ab9582018d7..095846a5940 100644
--- a/apps/temp-docs/pages/index.tsx
+++ b/apps/temp-docs/pages/index.tsx
@@ -2,7 +2,7 @@ import { MDXProvider } from '@mdx-js/react'
import { MDXRemote } from 'next-mdx-remote'
import { serialize } from 'next-mdx-remote/serialize'
import components from '~/components'
-import { menuItems } from '~/components/nav/menu-items-reduced'
+import { menuItems } from '~/components/nav/Nav.constants'
import Layout from '~/layouts/Default'
import { getDocsBySlug } from '../lib/docs'
diff --git a/package-lock.json b/package-lock.json
index 511fb247a71..73fdb4c2014 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -41,6 +41,7 @@
"@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^12.0.4",
+ "@radix-ui/react-accordion": "^1.0.1",
"@tailwindcss/typography": "^0.4.1",
"babel": "^6.23.0",
"common": "*",
@@ -171,6 +172,200 @@
"react": "^16.13.1 || ^17.0.0"
}
},
+ "apps/temp-docs/node_modules/@radix-ui/primitive": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz",
+ "integrity": "sha512-3e7rn8FDMin4CgeL7Z/49smCA3rFYY3Ha2rUQ7HRWFadS5iCRw08ZgVT1LaNTCNqgvrUiyczLflrVrF0SRQtNA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.0.1.tgz",
+ "integrity": "sha512-Ka7BQoyRRPwsOb0YEv0fQU8V8aCXCxAzNVI5BRN7WmPG2E1zQKKxmb86NVDqIj6uSnaahJ1E5S6bX5Lk9hTK+g==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.0",
+ "@radix-ui/react-collapsible": "1.0.1",
+ "@radix-ui/react-collection": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-id": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.0.1.tgz",
+ "integrity": "sha512-0maX4q91iYa4gjt3PsNf7dq/yqSR+HGAE8I5p54dQ6gnveS+ETWlMoijxrhmgV1k8svxpm34mQAtqIrJt4XZmA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.0",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-id": "1.0.0",
+ "@radix-ui/react-presence": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.0",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
+ "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
+ "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.0.1.tgz",
+ "integrity": "sha512-uuiFbs+YCKjn3X1DTSx9G7BHApu4GHbi3kgiwsnFUbOKCrwejAJv4eE4Vc8C0Oaxt9T0aV4ox0WCOdx+39Xo+g==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.1",
+ "@radix-ui/react-slot": "1.0.1"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
+ "integrity": "sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.0.tgz",
+ "integrity": "sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-context": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.0.0.tgz",
+ "integrity": "sha512-1pVM9RfOQ+n/N5PJK33kRSKsr1glNxomxONs5c49MliinBY6Yw2Q995qfBUUo0/Mbg05B/sGA0gkgPI7kmSHBg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-id": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.0.tgz",
+ "integrity": "sha512-Q6iAB/U7Tq3NTolBBQbHTgclPmGWE3OlktGGqrClPozSw4vkQ1DfQAOtzgRPecKsMdJINE05iaoDUG8tRzCBjw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-id/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
+ "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.1.tgz",
+ "integrity": "sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-slot": "1.0.1"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
+ "integrity": "sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.0.0.tgz",
+ "integrity": "sha512-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-callback-ref": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "apps/temp-docs/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-controllable-state/node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
+ "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
"apps/temp-docs/node_modules/acorn": {
"version": "8.8.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
@@ -61227,6 +61422,7 @@
"@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^12.0.4",
+ "@radix-ui/react-accordion": "*",
"@tailwindcss/typography": "^0.4.1",
"@types/node": "^17.0.12",
"@types/react": "17.0.39",
@@ -61316,6 +61512,165 @@
"version": "1.6.22",
"requires": {}
},
+ "@radix-ui/primitive": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz",
+ "integrity": "sha512-3e7rn8FDMin4CgeL7Z/49smCA3rFYY3Ha2rUQ7HRWFadS5iCRw08ZgVT1LaNTCNqgvrUiyczLflrVrF0SRQtNA==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "@radix-ui/react-accordion": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.0.1.tgz",
+ "integrity": "sha512-Ka7BQoyRRPwsOb0YEv0fQU8V8aCXCxAzNVI5BRN7WmPG2E1zQKKxmb86NVDqIj6uSnaahJ1E5S6bX5Lk9hTK+g==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.0",
+ "@radix-ui/react-collapsible": "1.0.1",
+ "@radix-ui/react-collection": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-id": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-collapsible": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.0.1.tgz",
+ "integrity": "sha512-0maX4q91iYa4gjt3PsNf7dq/yqSR+HGAE8I5p54dQ6gnveS+ETWlMoijxrhmgV1k8svxpm34mQAtqIrJt4XZmA==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.0",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-id": "1.0.0",
+ "@radix-ui/react-presence": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.0",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-presence": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
+ "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
+ }
+ },
+ "@radix-ui/react-use-layout-effect": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
+ "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ }
+ }
+ },
+ "@radix-ui/react-collection": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.0.1.tgz",
+ "integrity": "sha512-uuiFbs+YCKjn3X1DTSx9G7BHApu4GHbi3kgiwsnFUbOKCrwejAJv4eE4Vc8C0Oaxt9T0aV4ox0WCOdx+39Xo+g==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.1",
+ "@radix-ui/react-slot": "1.0.1"
+ },
+ "dependencies": {
+ "@radix-ui/react-slot": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
+ "integrity": "sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0"
+ }
+ }
+ }
+ },
+ "@radix-ui/react-compose-refs": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.0.tgz",
+ "integrity": "sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "@radix-ui/react-context": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.0.0.tgz",
+ "integrity": "sha512-1pVM9RfOQ+n/N5PJK33kRSKsr1glNxomxONs5c49MliinBY6Yw2Q995qfBUUo0/Mbg05B/sGA0gkgPI7kmSHBg==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "@radix-ui/react-id": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.0.tgz",
+ "integrity": "sha512-Q6iAB/U7Tq3NTolBBQbHTgclPmGWE3OlktGGqrClPozSw4vkQ1DfQAOtzgRPecKsMdJINE05iaoDUG8tRzCBjw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
+ "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ }
+ }
+ },
+ "@radix-ui/react-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.1.tgz",
+ "integrity": "sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-slot": "1.0.1"
+ },
+ "dependencies": {
+ "@radix-ui/react-slot": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
+ "integrity": "sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0"
+ }
+ }
+ }
+ },
+ "@radix-ui/react-use-controllable-state": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.0.0.tgz",
+ "integrity": "sha512-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-callback-ref": "1.0.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-use-callback-ref": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
+ "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ }
+ }
+ }
+ }
+ },
"acorn": {
"version": "8.8.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
diff --git a/package.json b/package.json
index f998e62b8d9..d435f0f2a56 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,8 @@
"dev": "turbo run dev --parallel",
"dev:reference": "turbo run dev --filter=reference --parallel",
"dev:studio": "turbo run dev --filter=studio --parallel",
+ "dev:docs": "turbo run dev --filter=temp-docs --parallel",
+ "dev:www": "turbo run dev --filter=www --parallel",
"lint": "turbo run lint",
"format": "prettier --write \"apps/**/*.{js,jsx,ts,tsx,css,md,json}\"",
"docker:dev": "cd docker && docker-compose -f docker-compose.yml -f ./dev/docker-compose.dev.yml up --renew-anon-volumes",