The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(studio): TanStack project routes — data surfaces (stack 5.1/6, from #46424) (#47117)
Alaister Young7d3f72ec7d1e
diff --git a/apps/studio/api/server.js b/apps/studio/api/server.jsnew file mode 100644index 00000000000..3d12a8e55b3--- /dev/null+++ b/apps/studio/api/server.js@@ -0,0 +1,25 @@+// STUDIO_FRAMEWORK gates whether this function actually serves the TanStack+// SSR handler. Vercel auto-detects every file under /api as a Function+// regardless of the framework preset (vercel.com/docs/functions), so we+// can't keep this file from being deployed in the Next.js prod build — we+// just make it inert when the env var is unset.+const isTanstack = process.env.STUDIO_FRAMEWORK === 'tanstack'++// Computed path keeps `dist/server/server.js` out of Vercel's function+// bundler's static analysis. In the Next.js prod deploy the `dist/` tree+// doesn't exist, but Vercel still bundles this file because it lives under+// `api/`. With the .join() the bundler treats the import as runtime-only+// and the missing dist/ isn't a build error. In TanStack mode the SSR+// bundle is shipped into the function via the `functions['api/server.js']+// .includeFiles` config in vercel.ts.+const tanstackEntry = ['..', 'dist', 'server', 'server.js'].join('/')++const handler = isTanstack+ ? (await import(tanstackEntry)).default+ : { fetch: () => new Response('Not Found', { status: 404 }) }++// Vercel's Web API handler convention: export an object with `fetch(request)`.+// TanStack's server build is already shaped that way — default-export it+// verbatim and Vercel hands us a real Web Request.+// eslint-disable-next-line no-restricted-exports+export default handlerdiff --git a/apps/studio/components/interfaces/ConnectSheet/ConnectStepsSection.tsx b/apps/studio/components/interfaces/ConnectSheet/ConnectStepsSection.tsxindex 8ba37f3fc08..5eee915f9dd 100644--- a/apps/studio/components/interfaces/ConnectSheet/ConnectStepsSection.tsx+++ b/apps/studio/components/interfaces/ConnectSheet/ConnectStepsSection.tsx@@ -1,12 +1,11 @@import { useParams } from 'common'import dynamic from 'next/dynamic'import Link from 'next/link'-import { useMemo, useRef } from 'react'+import { useMemo, useRef, type ComponentType } from 'react'import { Button } from 'ui'import { Admonition } from 'ui-patterns/admonition'import { GenericSkeletonLoader } from 'ui-patterns/ShimmeringLoader'-import { connectSchema } from './connect.schema'import type {ConnectionStringPooler,ConnectState,@@ -129,6 +128,27 @@ function useConnectionStringPooler(deploymentMode: DeploymentMode): ConnectionSt)}+// Vite needs `import.meta.glob` to statically discover the step content+// modules because the `${filePath}` template can span multiple directory+// segments (`flask/supabasepy`, `steps/shadcn/explore`, ...) which Vite's+// dynamic-import-vars plugin can't analyze. Skip the glob on the SSR bundle+// — Vite replaces `import.meta.env.SSR` at build time and tree-shakes the+// call so the 37 content modules stay out of the server graph (pulling them+// in reshuffles chunks enough to surface latent circular-dep bugs in+// unrelated modules). Next/webpack doesn't know about `import.meta.glob`+// either; the try/catch lets that branch fall through to the webpack-friendly+// `import()` below.+let contentModules: Record<string, () => Promise<unknown>> = {}+if (!import.meta.env?.SSR) {+ try {+ contentModules = import.meta.glob('./content/**/content.{tsx,ts}')+ } catch {+ // webpack build: import.meta.glob is undefined, keep empty map+ }+}++type StepContentModule = { default: ComponentType<StepContentProps> }+/*** Dynamically loads and renders a content component from the content directory.* All step content uses this unified loader - no built-in component registry needed.@@ -151,7 +171,16 @@ function StepContent({// Dynamically import the content componentconst ContentComponent = useMemo(() => {- return dynamic<StepContentProps>(() => import(`./content/${filePath}/content`), {+ const viteLoader =+ contentModules[`./content/${filePath}/content.tsx`] ??+ contentModules[`./content/${filePath}/content.ts`]++ const loader = viteLoader+ ? (viteLoader as () => Promise<StepContentModule>)+ : () =>+ import(/* @vite-ignore */ `./content/${filePath}/content`) as Promise<StepContentModule>++ return dynamic<StepContentProps>(loader, {loading: () => (<div className="p-4 min-h-[200px]"><GenericSkeletonLoader />@@ -196,11 +225,6 @@ export function ConnectStepsSection({ steps, state, projectKeys }: ConnectStepsSconst showSelfHostedMcpNotice = deploymentMode.isSelfHosted && state.mode === 'mcp'- const customPrompt = useMemo(- () => connectSchema.modes.find((m) => m.id === state.mode)?.prompt,- [state.mode]- )-if (steps.length === 0) return nullreturn (@@ -244,7 +268,7 @@ export function ConnectStepsSection({ steps, state, projectKeys }: ConnectStepsS/>)}- <CopyPromptAdmonition stepsContainerRef={stepsContainerRef} customPrompt={customPrompt} />+ <CopyPromptAdmonition stepsContainerRef={stepsContainerRef} /><div className="mt-6" ref={stepsContainerRef}>{steps.map((step, index) => (diff --git a/apps/studio/pages/org/_/[[...routeSlug]].tsx b/apps/studio/pages/org/_/[[...routeSlug]].tsxindex b910436b218..f40cf881fbd 100644--- a/apps/studio/pages/org/_/[[...routeSlug]].tsx+++ b/apps/studio/pages/org/_/[[...routeSlug]].tsx@@ -3,6 +3,7 @@ import Head from 'next/head'import { useRouter } from 'next/router'import { cn } from 'ui'+import { parseCatchAllRoute } from '@/compat/next/router'import {Header,LoadingCardView,@@ -20,7 +21,10 @@ import { buildStudioPageTitle } from '@/lib/page-title'const GenericOrganizationPage: NextPage = () => {const router = useRouter()const { appTitle } = useCustomContent(['app:title'])- const { routeSlug, ...queryParams } = router.query+ // Normalise the catch-all path across Next (`routeSlug: string[]`) and+ // TanStack (`_splat: string`) so downstream URL building (buildOrgUrl)+ // keeps working — see parseCatchAllRoute.+ const { segments: routeSlug, queryParams } = parseCatchAllRoute(router.query, 'routeSlug')const queryString =Object.keys(queryParams).length > 0? new URLSearchParams(queryParams as Record<string, string>).toString()diff --git a/apps/studio/pages/project/[ref]/branches/index.tsx b/apps/studio/pages/project/[ref]/branches/index.tsxindex ac37bdaede7..102a0783c76 100644--- a/apps/studio/pages/project/[ref]/branches/index.tsx+++ b/apps/studio/pages/project/[ref]/branches/index.tsx@@ -3,7 +3,7 @@ import { useParams } from 'common'import { partition } from 'lodash'import { MessageCircle } from 'lucide-react'import { useRouter } from 'next/router'-import { useState } from 'react'+import { useState, type PropsWithChildren } from 'react'import { toast } from 'sonner'import { Button } from 'ui'@@ -189,73 +189,74 @@ const BranchesPage: NextPageWithLayout = () => {)}-BranchesPage.getLayout = (page) => {- const BranchesPageWrapper = () => {- const snap = useAppStateSnapshot()- const { can: canCreateBranches } = useAsyncCheckPermissions(- PermissionAction.CREATE,- 'preview_branches',- {- resource: { is_default: false },- }- )-- const primaryActions = (- <ButtonTooltip- variant="primary"- disabled={!canCreateBranches}- onClick={() => snap.setShowCreateBranchModal(true)}- tooltip={{- content: {- side: 'bottom',- text: !canCreateBranches- ? 'You need additional permissions to create branches'- : undefined,- },- }}- >- Create branch- </ButtonTooltip>- )+// Hoisted out of `getLayout` so the TanStack route can import it+// directly. Same shape and identical body as before — accepts the page+// content as `children` instead of capturing it from a closure.+export const BranchesPageWrapper = ({ children }: PropsWithChildren) => {+ const snap = useAppStateSnapshot()+ const { can: canCreateBranches } = useAsyncCheckPermissions(+ PermissionAction.CREATE,+ 'preview_branches',+ {+ resource: { is_default: false },+ }+ )- const secondaryActions = (- <div className="flex items-center gap-x-2">- <Button- asChild- variant="text"- icon={<MessageCircle className="text-muted" strokeWidth={1} />}- >- <a- target="_blank"- rel="noreferrer"- href="https://github.com/orgs/supabase/discussions/18937"- >- Branching feedback- </a>- </Button>- <DocsButton href={`${DOCS_URL}/guides/platform/branching`} />- </div>- )+ const primaryActions = (+ <ButtonTooltip+ variant="primary"+ disabled={!canCreateBranches}+ onClick={() => snap.setShowCreateBranchModal(true)}+ tooltip={{+ content: {+ side: 'bottom',+ text: !canCreateBranches+ ? 'You need additional permissions to create branches'+ : undefined,+ },+ }}+ >+ Create branch+ </ButtonTooltip>+ )- return (- <PageLayout- title="Branches"- subtitle="Manage your database preview branches and deployments"- primaryActions={primaryActions}- secondaryActions={secondaryActions}+ const secondaryActions = (+ <div className="flex items-center gap-x-2">+ <Button+ asChild+ variant="text"+ icon={<MessageCircle className="text-muted" strokeWidth={1} />}>- {page}- </PageLayout>- )- }+ <a+ target="_blank"+ rel="noreferrer"+ href="https://github.com/orgs/supabase/discussions/18937"+ >+ Branching feedback+ </a>+ </Button>+ <DocsButton href={`${DOCS_URL}/guides/platform/branching`} />+ </div>+ )return (- <DefaultLayout>- <BranchLayout>- <BranchesPageWrapper />- </BranchLayout>- </DefaultLayout>+ <PageLayout+ title="Branches"+ subtitle="Manage your database preview branches and deployments"+ primaryActions={primaryActions}+ secondaryActions={secondaryActions}+ >+ {children}+ </PageLayout>)}+BranchesPage.getLayout = (page) => (+ <DefaultLayout>+ <BranchLayout>+ <BranchesPageWrapper>{page}</BranchesPageWrapper>+ </BranchLayout>+ </DefaultLayout>+)+export default BranchesPagediff --git a/apps/studio/pages/project/[ref]/branches/merge-requests.tsx b/apps/studio/pages/project/[ref]/branches/merge-requests.tsxindex f517ff844f7..10aeeec6669 100644--- a/apps/studio/pages/project/[ref]/branches/merge-requests.tsx+++ b/apps/studio/pages/project/[ref]/branches/merge-requests.tsx@@ -300,7 +300,7 @@ const MergeRequestsPage: NextPageWithLayout = () => {)}-const MergeRequestsPageWrapper = ({ children }: PropsWithChildren<{}>) => {+export const MergeRequestsPageWrapper = ({ children }: PropsWithChildren<{}>) => {const router = useRouter()const { ref } = useParams()const { data: project } = useSelectedProjectQuery()diff --git a/apps/studio/pages/project/_/[[...routeSlug]].tsx b/apps/studio/pages/project/_/[[...routeSlug]].tsxindex 0eaa6af3fb3..0f276e9fd7e 100644--- a/apps/studio/pages/project/_/[[...routeSlug]].tsx+++ b/apps/studio/pages/project/_/[[...routeSlug]].tsx@@ -15,6 +15,7 @@ import {} from 'ui'import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader'+import { parseCatchAllRoute } from '@/compat/next/router'import {Header,LoadingCardView,@@ -35,7 +36,10 @@ import { withAuth } from '@/hooks/misc/withAuth'const GenericProjectPage: NextPage = () => {const router = useRouter()const { slug } = useParams()- const { routeSlug, ...queryParams } = router.query+ // Normalise the catch-all path across Next (`routeSlug: string[]`) and+ // TanStack (`_splat: string`) so downstream URL building+ // (urlRewriterFactory) keeps working — see parseCatchAllRoute.+ const { segments: routeSlug, queryParams } = parseCatchAllRoute(router.query, 'routeSlug')const { lastVisitedOrganization } = useLastVisitedOrganization()diff --git a/apps/studio/routeTree.gen.ts b/apps/studio/routeTree.gen.tsindex 0587305614f..37a7e7df814 100644--- a/apps/studio/routeTree.gen.ts+++ b/apps/studio/routeTree.gen.ts@@ -9,6 +9,22 @@// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.import { Route as rootRouteImport } from './routes/__root'+import { Route as VerifyEmailRouteImport } from './routes/verify-email'+import { Route as RedeemRouteImport } from './routes/redeem'+import { Route as MaintenanceRouteImport } from './routes/maintenance'+import { Route as LogoutRouteImport } from './routes/logout'+import { Route as JoinRouteImport } from './routes/join'+import { Route as ClaimProjectRouteImport } from './routes/claim-project'+import { Route as AwsMarketplaceOnboardingRouteImport } from './routes/aws-marketplace-onboarding'+import { Route as AuthorizeRouteImport } from './routes/authorize'+import { Route as AuthRouteImport } from './routes/_auth'+import { Route as AppRouteImport } from './routes/_app'+import { Route as IndexRouteImport } from './routes/index'+import { Route as ProjectChar91_Char93RouteImport } from './routes/project.[_]'+import { Route as ProjectRefRouteImport } from './routes/project/$ref'+import { Route as OrgChar91_Char93RouteImport } from './routes/org.[_]'+import { Route as NewSlugRouteImport } from './routes/new/$slug'+import { Route as IntegrationsVercelRouteImport } from './routes/integrations/vercel'import { Route as ApiStatusOverrideRouteImport } from './routes/api/status-override'import { Route as ApiParseQueryRouteImport } from './routes/api/parse-query'import { Route as ApiIncidentStatusRouteImport } from './routes/api/incident-status'@@ -36,6 +52,17 @@ import { Route as ApiMcpIndexRouteImport } from './routes/api/mcp/index'import { Route as ApiConnectIndexRouteImport } from './routes/api/connect/index'import { Route as AppOrgIndexRouteImport } from './routes/_app/org/index'import { Route as AppNewIndexRouteImport } from './routes/_app/new/index'+import { Route as ProjectChar91_Char93SplatRouteImport } from './routes/project.[_].$'+import { Route as ProjectRefStorageRouteImport } from './routes/project/$ref/storage'+import { Route as ProjectRefSqlRouteImport } from './routes/project/$ref/sql'+import { Route as ProjectRefRealtimeRouteImport } from './routes/project/$ref/realtime'+import { Route as ProjectRefMergeRouteImport } from './routes/project/$ref/merge'+import { Route as ProjectRefEditorRouteImport } from './routes/project/$ref/editor'+import { Route as ProjectRefDatabaseRouteImport } from './routes/project/$ref/database'+import { Route as ProjectRefBranchesRouteImport } from './routes/project/$ref/branches'+import { Route as OrgChar91_Char93SplatRouteImport } from './routes/org.[_].$'+import { Route as IntegrationsVercelInstallRouteImport } from './routes/integrations/vercel/install'+import { Route as IntegrationsGithubAuthorizeRouteImport } from './routes/integrations/github/authorize'import { Route as ApiPlatformDeploymentModeRouteImport } from './routes/api/platform/deployment-mode'import { Route as ApiIntegrationsStripeSyncRouteImport } from './routes/api/integrations/stripe-sync'import { Route as ApiEdgeFunctionsTestRouteImport } from './routes/api/edge-functions/test'@@ -47,11 +74,34 @@ import { Route as AppSupportLinkRouteImport } from './routes/_app/support/link'import { Route as AppAccountSecurityRouteImport } from './routes/_app/account/security'import { Route as AppAccountMeRouteImport } from './routes/_app/account/me'import { Route as AppAccountAuditRouteImport } from './routes/_app/account/audit'+import { Route as ProjectRefSqlIndexRouteImport } from './routes/project/$ref/sql/index'+import { Route as ProjectRefEditorIndexRouteImport } from './routes/project/$ref/editor/index'+import { Route as ProjectRefBranchesIndexRouteImport } from './routes/project/$ref/branches/index'import { Route as ApiPlatformProjectsIndexRouteImport } from './routes/api/platform/projects/index'import { Route as ApiPlatformProfileIndexRouteImport } from './routes/api/platform/profile/index'import { Route as ApiPlatformOrganizationsIndexRouteImport } from './routes/api/platform/organizations/index'import { Route as AppOrgSlugIndexRouteImport } from './routes/_app/org/$slug/index'import { Route as AppAccountTokensIndexRouteImport } from './routes/_app/account/tokens/index'+import { Route as ProjectRefStorageS3RouteImport } from './routes/project/$ref/storage/s3'+import { Route as ProjectRefSqlTemplatesRouteImport } from './routes/project/$ref/sql/templates'+import { Route as ProjectRefSqlExamplesRouteImport } from './routes/project/$ref/sql/examples'+import { Route as ProjectRefSqlIdRouteImport } from './routes/project/$ref/sql/$id'+import { Route as ProjectRefRealtimeSettingsRouteImport } from './routes/project/$ref/realtime/settings'+import { Route as ProjectRefRealtimePoliciesRouteImport } from './routes/project/$ref/realtime/policies'+import { Route as ProjectRefRealtimeInspectorRouteImport } from './routes/project/$ref/realtime/inspector'+import { Route as ProjectRefEditorNewRouteImport } from './routes/project/$ref/editor/new'+import { Route as ProjectRefEditorIdRouteImport } from './routes/project/$ref/editor/$id'+import { Route as ProjectRefDatabaseTypesRouteImport } from './routes/project/$ref/database/types'+import { Route as ProjectRefDatabaseTriggersRouteImport } from './routes/project/$ref/database/triggers'+import { Route as ProjectRefDatabaseSettingsRouteImport } from './routes/project/$ref/database/settings'+import { Route as ProjectRefDatabaseSchemasRouteImport } from './routes/project/$ref/database/schemas'+import { Route as ProjectRefDatabaseRolesRouteImport } from './routes/project/$ref/database/roles'+import { Route as ProjectRefDatabaseMigrationsRouteImport } from './routes/project/$ref/database/migrations'+import { Route as ProjectRefDatabaseIndexesRouteImport } from './routes/project/$ref/database/indexes'+import { Route as ProjectRefDatabaseFunctionsRouteImport } from './routes/project/$ref/database/functions'+import { Route as ProjectRefDatabaseExtensionsRouteImport } from './routes/project/$ref/database/extensions'+import { Route as ProjectRefDatabaseColumnPrivilegesRouteImport } from './routes/project/$ref/database/column-privileges'+import { Route as ProjectRefBranchesMergeRequestsRouteImport } from './routes/project/$ref/branches/merge-requests'import { Route as ApiPlatformTelemetryEventRouteImport } from './routes/api/platform/telemetry/event'import { Route as ApiPlatformIntegrationsSlugRouteImport } from './routes/api/platform/integrations/$slug'import { Route as ApiAiSqlTitleV2RouteImport } from './routes/api/ai/sql/title-v2'@@ -77,9 +127,28 @@ import { Route as AppOrgSlugAuditLogDrainsRouteImport } from './routes/_app/org/import { Route as AppOrgSlugAuditRouteImport } from './routes/_app/org/$slug/audit'import { Route as AppOrgSlugAppsRouteImport } from './routes/_app/org/$slug/apps'import { Route as AppAccountTokensScopedRouteImport } from './routes/_app/account/tokens/scoped'+import { Route as ProjectRefStorageVectorsIndexRouteImport } from './routes/project/$ref/storage/vectors/index'+import { Route as ProjectRefStorageFilesIndexRouteImport } from './routes/project/$ref/storage/files/index'+import { Route as ProjectRefStorageAnalyticsIndexRouteImport } from './routes/project/$ref/storage/analytics/index'+import { Route as ProjectRefDatabaseTriggersIndexRouteImport } from './routes/project/$ref/database/triggers/index'+import { Route as ProjectRefDatabaseTablesIndexRouteImport } from './routes/project/$ref/database/tables/index'+import { Route as ProjectRefDatabaseReplicationIndexRouteImport } from './routes/project/$ref/database/replication/index'+import { Route as ProjectRefDatabasePublicationsIndexRouteImport } from './routes/project/$ref/database/publications/index'import { Route as ApiPlatformProjectsRefIndexRouteImport } from './routes/api/platform/projects/$ref/index'import { Route as AppOrgSlugWebhooksIndexRouteImport } from './routes/_app/org/$slug/webhooks/index'import { Route as AppOrgSlugPrivateAppsIndexRouteImport } from './routes/_app/org/$slug/private-apps/index'+import { Route as ProjectRefStorageFilesSettingsRouteImport } from './routes/project/$ref/storage/files/settings'+import { Route as ProjectRefStorageFilesPoliciesRouteImport } from './routes/project/$ref/storage/files/policies'+import { Route as ProjectRefDatabaseTriggersEventRouteImport } from './routes/project/$ref/database/triggers/event'+import { Route as ProjectRefDatabaseTriggersDataRouteImport } from './routes/project/$ref/database/triggers/data'+import { Route as ProjectRefDatabaseTablesIdRouteImport } from './routes/project/$ref/database/tables/$id'+import { Route as ProjectRefDatabaseReplicationPipelineIdRouteImport } from './routes/project/$ref/database/replication/$pipelineId'+import { Route as ProjectRefDatabasePublicationsIdRouteImport } from './routes/project/$ref/database/publications/$id'+import { Route as ProjectRefDatabaseBackupsScheduledRouteImport } from './routes/project/$ref/database/backups/scheduled'+import { Route as ProjectRefDatabaseBackupsRestoreToNewProjectRouteImport } from './routes/project/$ref/database/backups/restore-to-new-project'+import { Route as ProjectRefDatabaseBackupsPitrRouteImport } from './routes/project/$ref/database/backups/pitr'+import { Route as IntegrationsVercelSlugMarketplaceChooseProjectRouteImport } from './routes/integrations/vercel/$slug/marketplace/choose-project'+import { Route as IntegrationsVercelSlugDeployButtonNewProjectRouteImport } from './routes/integrations/vercel/$slug/deploy-button/new-project'import { Route as ApiV1ProjectsRefApiKeysRouteImport } from './routes/api/v1/projects/$ref/api-keys'import { Route as ApiPlatformPropsOrgSlugRouteImport } from './routes/api/platform/props/org/$slug'import { Route as ApiPlatformProjectsRefSettingsRouteImport } from './routes/api/platform/projects/$ref/settings'@@ -114,6 +183,10 @@ import { Route as ApiPlatformProjectsRefContentIndexRouteImport } from './routesimport { Route as ApiPlatformProjectsRefConfigIndexRouteImport } from './routes/api/platform/projects/$ref/config/index'import { Route as ApiPlatformPgMetaRefQueryIndexRouteImport } from './routes/api/platform/pg-meta/$ref/query/index'import { Route as ApiPlatformAuthRefUsersIndexRouteImport } from './routes/api/platform/auth/$ref/users/index'+import { Route as ProjectRefStorageVectorsBucketsBucketIdRouteImport } from './routes/project/$ref/storage/vectors/buckets/$bucketId'+import { Route as ProjectRefStorageFilesBucketsBucketIdRouteImport } from './routes/project/$ref/storage/files/buckets/$bucketId'+import { Route as ProjectRefStorageAnalyticsBucketsBucketIdRouteImport } from './routes/project/$ref/storage/analytics/buckets/$bucketId'+import { Route as ProjectRefDatabaseReplicationReplicaReplicaIdRouteImport } from './routes/project/$ref/database/replication/replica/$replicaId'import { Route as ApiV1ProjectsRefTypesTypescriptRouteImport } from './routes/api/v1/projects/$ref/types/typescript'import { Route as ApiV1ProjectsRefDatabaseMigrationsRouteImport } from './routes/api/v1/projects/$ref/database/migrations'import { Route as ApiV1ProjectsRefApiKeysIdRouteImport } from './routes/api/v1/projects/$ref/api-keys/$id'@@ -151,6 +224,85 @@ import { Route as ApiPlatformStorageRefBucketsIdObjectsMoveRouteImport } from '.import { Route as ApiPlatformStorageRefBucketsIdObjectsListRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/list'import { Route as ApiPlatformStorageRefBucketsIdObjectsDownloadRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/download'+const VerifyEmailRoute = VerifyEmailRouteImport.update({+ id: '/verify-email',+ path: '/verify-email',+ getParentRoute: () => rootRouteImport,+} as any)+const RedeemRoute = RedeemRouteImport.update({+ id: '/redeem',+ path: '/redeem',+ getParentRoute: () => rootRouteImport,+} as any)+const MaintenanceRoute = MaintenanceRouteImport.update({+ id: '/maintenance',+ path: '/maintenance',+ getParentRoute: () => rootRouteImport,+} as any)+const LogoutRoute = LogoutRouteImport.update({+ id: '/logout',+ path: '/logout',+ getParentRoute: () => rootRouteImport,+} as any)+const JoinRoute = JoinRouteImport.update({+ id: '/join',+ path: '/join',+ getParentRoute: () => rootRouteImport,+} as any)+const ClaimProjectRoute = ClaimProjectRouteImport.update({+ id: '/claim-project',+ path: '/claim-project',+ getParentRoute: () => rootRouteImport,+} as any)+const AwsMarketplaceOnboardingRoute =+ AwsMarketplaceOnboardingRouteImport.update({+ id: '/aws-marketplace-onboarding',+ path: '/aws-marketplace-onboarding',+ getParentRoute: () => rootRouteImport,+ } as any)+const AuthorizeRoute = AuthorizeRouteImport.update({+ id: '/authorize',+ path: '/authorize',+ getParentRoute: () => rootRouteImport,+} as any)+const AuthRoute = AuthRouteImport.update({+ id: '/_auth',+ getParentRoute: () => rootRouteImport,+} as any)+const AppRoute = AppRouteImport.update({+ id: '/_app',+ getParentRoute: () => rootRouteImport,+} as any)+const IndexRoute = IndexRouteImport.update({+ id: '/',+ path: '/',+ getParentRoute: () => rootRouteImport,+} as any)+const ProjectChar91_Char93Route = ProjectChar91_Char93RouteImport.update({+ id: '/project/_',+ path: '/project/_',+ getParentRoute: () => rootRouteImport,+} as any)+const ProjectRefRoute = ProjectRefRouteImport.update({+ id: '/project/$ref',+ path: '/project/$ref',+ getParentRoute: () => rootRouteImport,+} as any)+const OrgChar91_Char93Route = OrgChar91_Char93RouteImport.update({+ id: '/org/_',+ path: '/org/_',+ getParentRoute: () => rootRouteImport,+} as any)+const NewSlugRoute = NewSlugRouteImport.update({+ id: '/new/$slug',+ path: '/new/$slug',+ getParentRoute: () => rootRouteImport,+} as any)+const IntegrationsVercelRoute = IntegrationsVercelRouteImport.update({+ id: '/integrations/vercel',+ path: '/integrations/vercel',+ getParentRoute: () => rootRouteImport,+} as any)const ApiStatusOverrideRoute = ApiStatusOverrideRouteImport.update({id: '/api/status-override',path: '/api/status-override',@@ -214,59 +366,59 @@ const ApiCheckCnameRoute = ApiCheckCnameRouteImport.update({getParentRoute: () => rootRouteImport,} as any)const AuthSignUpRoute = AuthSignUpRouteImport.update({- id: '/_auth/sign-up',+ id: '/sign-up',path: '/sign-up',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthSignInSsoRoute = AuthSignInSsoRouteImport.update({- id: '/_auth/sign-in-sso',+ id: '/sign-in-sso',path: '/sign-in-sso',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthSignInPartnerRoute = AuthSignInPartnerRouteImport.update({- id: '/_auth/sign-in-partner',+ id: '/sign-in-partner',path: '/sign-in-partner',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthSignInMfaRoute = AuthSignInMfaRouteImport.update({- id: '/_auth/sign-in-mfa',+ id: '/sign-in-mfa',path: '/sign-in-mfa',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthSignInRoute = AuthSignInRouteImport.update({- id: '/_auth/sign-in',+ id: '/sign-in',path: '/sign-in',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthResetPasswordRoute = AuthResetPasswordRouteImport.update({- id: '/_auth/reset-password',+ id: '/reset-password',path: '/reset-password',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthForgotPasswordMfaRoute = AuthForgotPasswordMfaRouteImport.update({- id: '/_auth/forgot-password-mfa',+ id: '/forgot-password-mfa',path: '/forgot-password-mfa',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AuthForgotPasswordRoute = AuthForgotPasswordRouteImport.update({- id: '/_auth/forgot-password',+ id: '/forgot-password',path: '/forgot-password',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AppOrganizationsRoute = AppOrganizationsRouteImport.update({- id: '/_app/organizations',+ id: '/organizations',path: '/organizations',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AppRoute,} as any)const AppOrgRoute = AppOrgRouteImport.update({- id: '/_app/org',+ id: '/org',path: '/org',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AppRoute,} as any)const AppAccountRoute = AppAccountRouteImport.update({- id: '/_app/account',+ id: '/account',path: '/account',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AppRoute,} as any)const ApiMcpIndexRoute = ApiMcpIndexRouteImport.update({id: '/api/mcp/',@@ -284,10 +436,68 @@ const AppOrgIndexRoute = AppOrgIndexRouteImport.update({getParentRoute: () => AppOrgRoute,} as any)const AppNewIndexRoute = AppNewIndexRouteImport.update({- id: '/_app/new/',+ id: '/new/',path: '/new/',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AppRoute,+} as any)+const ProjectChar91_Char93SplatRoute =+ ProjectChar91_Char93SplatRouteImport.update({+ id: '/$',+ path: '/$',+ getParentRoute: () => ProjectChar91_Char93Route,+ } as any)+const ProjectRefStorageRoute = ProjectRefStorageRouteImport.update({+ id: '/storage',+ path: '/storage',+ getParentRoute: () => ProjectRefRoute,+} as any)+const ProjectRefSqlRoute = ProjectRefSqlRouteImport.update({+ id: '/sql',+ path: '/sql',+ getParentRoute: () => ProjectRefRoute,} as any)+const ProjectRefRealtimeRoute = ProjectRefRealtimeRouteImport.update({+ id: '/realtime',+ path: '/realtime',+ getParentRoute: () => ProjectRefRoute,+} as any)+const ProjectRefMergeRoute = ProjectRefMergeRouteImport.update({+ id: '/merge',+ path: '/merge',+ getParentRoute: () => ProjectRefRoute,+} as any)+const ProjectRefEditorRoute = ProjectRefEditorRouteImport.update({+ id: '/editor',+ path: '/editor',+ getParentRoute: () => ProjectRefRoute,+} as any)+const ProjectRefDatabaseRoute = ProjectRefDatabaseRouteImport.update({+ id: '/database',+ path: '/database',+ getParentRoute: () => ProjectRefRoute,+} as any)+const ProjectRefBranchesRoute = ProjectRefBranchesRouteImport.update({+ id: '/branches',+ path: '/branches',+ getParentRoute: () => ProjectRefRoute,+} as any)+const OrgChar91_Char93SplatRoute = OrgChar91_Char93SplatRouteImport.update({+ id: '/$',+ path: '/$',+ getParentRoute: () => OrgChar91_Char93Route,+} as any)+const IntegrationsVercelInstallRoute =+ IntegrationsVercelInstallRouteImport.update({+ id: '/install',+ path: '/install',+ getParentRoute: () => IntegrationsVercelRoute,+ } as any)+const IntegrationsGithubAuthorizeRoute =+ IntegrationsGithubAuthorizeRouteImport.update({+ id: '/integrations/github/authorize',+ path: '/integrations/github/authorize',+ getParentRoute: () => rootRouteImport,+ } as any)const ApiPlatformDeploymentModeRoute =ApiPlatformDeploymentModeRouteImport.update({id: '/api/platform/deployment-mode',@@ -316,19 +526,19 @@ const ApiAiDocsRoute = ApiAiDocsRouteImport.update({getParentRoute: () => rootRouteImport,} as any)const AuthCliLoginRoute = AuthCliLoginRouteImport.update({- id: '/_auth/cli/login',+ id: '/cli/login',path: '/cli/login',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AppSupportNewRoute = AppSupportNewRouteImport.update({- id: '/_app/support/new',+ id: '/support/new',path: '/support/new',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AppRoute,} as any)const AppSupportLinkRoute = AppSupportLinkRouteImport.update({- id: '/_app/support/link',+ id: '/support/link',path: '/support/link',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AppRoute,} as any)const AppAccountSecurityRoute = AppAccountSecurityRouteImport.update({id: '/security',@@ -345,6 +555,21 @@ const AppAccountAuditRoute = AppAccountAuditRouteImport.update({path: '/audit',getParentRoute: () => AppAccountRoute,} as any)+const ProjectRefSqlIndexRoute = ProjectRefSqlIndexRouteImport.update({+ id: '/',+ path: '/',+ getParentRoute: () => ProjectRefSqlRoute,+} as any)+const ProjectRefEditorIndexRoute = ProjectRefEditorIndexRouteImport.update({+ id: '/',+ path: '/',+ getParentRoute: () => ProjectRefEditorRoute,+} as any)+const ProjectRefBranchesIndexRoute = ProjectRefBranchesIndexRouteImport.update({+ id: '/',+ path: '/',+ getParentRoute: () => ProjectRefBranchesRoute,+} as any)const ApiPlatformProjectsIndexRoute =ApiPlatformProjectsIndexRouteImport.update({id: '/api/platform/projects/',@@ -372,6 +597,118 @@ const AppAccountTokensIndexRoute = AppAccountTokensIndexRouteImport.update({path: '/tokens/',getParentRoute: () => AppAccountRoute,} as any)+const ProjectRefStorageS3Route = ProjectRefStorageS3RouteImport.update({+ id: '/s3',+ path: '/s3',+ getParentRoute: () => ProjectRefStorageRoute,+} as any)+const ProjectRefSqlTemplatesRoute = ProjectRefSqlTemplatesRouteImport.update({+ id: '/templates',+ path: '/templates',+ getParentRoute: () => ProjectRefSqlRoute,+} as any)+const ProjectRefSqlExamplesRoute = ProjectRefSqlExamplesRouteImport.update({+ id: '/examples',+ path: '/examples',+ getParentRoute: () => ProjectRefSqlRoute,+} as any)+const ProjectRefSqlIdRoute = ProjectRefSqlIdRouteImport.update({+ id: '/$id',+ path: '/$id',+ getParentRoute: () => ProjectRefSqlRoute,+} as any)+const ProjectRefRealtimeSettingsRoute =+ ProjectRefRealtimeSettingsRouteImport.update({+ id: '/settings',+ path: '/settings',+ getParentRoute: () => ProjectRefRealtimeRoute,+ } as any)+const ProjectRefRealtimePoliciesRoute =+ ProjectRefRealtimePoliciesRouteImport.update({+ id: '/policies',+ path: '/policies',+ getParentRoute: () => ProjectRefRealtimeRoute,+ } as any)+const ProjectRefRealtimeInspectorRoute =+ ProjectRefRealtimeInspectorRouteImport.update({+ id: '/inspector',+ path: '/inspector',+ getParentRoute: () => ProjectRefRealtimeRoute,+ } as any)+const ProjectRefEditorNewRoute = ProjectRefEditorNewRouteImport.update({+ id: '/new',+ path: '/new',+ getParentRoute: () => ProjectRefEditorRoute,+} as any)+const ProjectRefEditorIdRoute = ProjectRefEditorIdRouteImport.update({+ id: '/$id',+ path: '/$id',+ getParentRoute: () => ProjectRefEditorRoute,+} as any)+const ProjectRefDatabaseTypesRoute = ProjectRefDatabaseTypesRouteImport.update({+ id: '/types',+ path: '/types',+ getParentRoute: () => ProjectRefDatabaseRoute,+} as any)+const ProjectRefDatabaseTriggersRoute =+ ProjectRefDatabaseTriggersRouteImport.update({+ id: '/triggers',+ path: '/triggers',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseSettingsRoute =+ ProjectRefDatabaseSettingsRouteImport.update({+ id: '/settings',+ path: '/settings',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseSchemasRoute =+ ProjectRefDatabaseSchemasRouteImport.update({+ id: '/schemas',+ path: '/schemas',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseRolesRoute = ProjectRefDatabaseRolesRouteImport.update({+ id: '/roles',+ path: '/roles',+ getParentRoute: () => ProjectRefDatabaseRoute,+} as any)+const ProjectRefDatabaseMigrationsRoute =+ ProjectRefDatabaseMigrationsRouteImport.update({+ id: '/migrations',+ path: '/migrations',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseIndexesRoute =+ ProjectRefDatabaseIndexesRouteImport.update({+ id: '/indexes',+ path: '/indexes',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseFunctionsRoute =+ ProjectRefDatabaseFunctionsRouteImport.update({+ id: '/functions',+ path: '/functions',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseExtensionsRoute =+ ProjectRefDatabaseExtensionsRouteImport.update({+ id: '/extensions',+ path: '/extensions',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseColumnPrivilegesRoute =+ ProjectRefDatabaseColumnPrivilegesRouteImport.update({+ id: '/column-privileges',+ path: '/column-privileges',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefBranchesMergeRequestsRoute =+ ProjectRefBranchesMergeRequestsRouteImport.update({+ id: '/merge-requests',+ path: '/merge-requests',+ getParentRoute: () => ProjectRefBranchesRoute,+ } as any)const ApiPlatformTelemetryEventRoute =ApiPlatformTelemetryEventRouteImport.update({id: '/api/platform/telemetry/event',@@ -500,6 +837,48 @@ const AppAccountTokensScopedRoute = AppAccountTokensScopedRouteImport.update({path: '/tokens/scoped',getParentRoute: () => AppAccountRoute,} as any)+const ProjectRefStorageVectorsIndexRoute =+ ProjectRefStorageVectorsIndexRouteImport.update({+ id: '/vectors/',+ path: '/vectors/',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefStorageFilesIndexRoute =+ ProjectRefStorageFilesIndexRouteImport.update({+ id: '/files/',+ path: '/files/',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefStorageAnalyticsIndexRoute =+ ProjectRefStorageAnalyticsIndexRouteImport.update({+ id: '/analytics/',+ path: '/analytics/',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefDatabaseTriggersIndexRoute =+ ProjectRefDatabaseTriggersIndexRouteImport.update({+ id: '/',+ path: '/',+ getParentRoute: () => ProjectRefDatabaseTriggersRoute,+ } as any)+const ProjectRefDatabaseTablesIndexRoute =+ ProjectRefDatabaseTablesIndexRouteImport.update({+ id: '/tables/',+ path: '/tables/',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseReplicationIndexRoute =+ ProjectRefDatabaseReplicationIndexRouteImport.update({+ id: '/replication/',+ path: '/replication/',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabasePublicationsIndexRoute =+ ProjectRefDatabasePublicationsIndexRouteImport.update({+ id: '/publications/',+ path: '/publications/',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)const ApiPlatformProjectsRefIndexRoute =ApiPlatformProjectsRefIndexRouteImport.update({id: '/api/platform/projects/$ref/',@@ -517,6 +896,78 @@ const AppOrgSlugPrivateAppsIndexRoute =path: '/$slug/private-apps/',getParentRoute: () => AppOrgRoute,} as any)+const ProjectRefStorageFilesSettingsRoute =+ ProjectRefStorageFilesSettingsRouteImport.update({+ id: '/files/settings',+ path: '/files/settings',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefStorageFilesPoliciesRoute =+ ProjectRefStorageFilesPoliciesRouteImport.update({+ id: '/files/policies',+ path: '/files/policies',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefDatabaseTriggersEventRoute =+ ProjectRefDatabaseTriggersEventRouteImport.update({+ id: '/event',+ path: '/event',+ getParentRoute: () => ProjectRefDatabaseTriggersRoute,+ } as any)+const ProjectRefDatabaseTriggersDataRoute =+ ProjectRefDatabaseTriggersDataRouteImport.update({+ id: '/data',+ path: '/data',+ getParentRoute: () => ProjectRefDatabaseTriggersRoute,+ } as any)+const ProjectRefDatabaseTablesIdRoute =+ ProjectRefDatabaseTablesIdRouteImport.update({+ id: '/tables/$id',+ path: '/tables/$id',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseReplicationPipelineIdRoute =+ ProjectRefDatabaseReplicationPipelineIdRouteImport.update({+ id: '/replication/$pipelineId',+ path: '/replication/$pipelineId',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabasePublicationsIdRoute =+ ProjectRefDatabasePublicationsIdRouteImport.update({+ id: '/publications/$id',+ path: '/publications/$id',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseBackupsScheduledRoute =+ ProjectRefDatabaseBackupsScheduledRouteImport.update({+ id: '/backups/scheduled',+ path: '/backups/scheduled',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseBackupsRestoreToNewProjectRoute =+ ProjectRefDatabaseBackupsRestoreToNewProjectRouteImport.update({+ id: '/backups/restore-to-new-project',+ path: '/backups/restore-to-new-project',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const ProjectRefDatabaseBackupsPitrRoute =+ ProjectRefDatabaseBackupsPitrRouteImport.update({+ id: '/backups/pitr',+ path: '/backups/pitr',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)+const IntegrationsVercelSlugMarketplaceChooseProjectRoute =+ IntegrationsVercelSlugMarketplaceChooseProjectRouteImport.update({+ id: '/$slug/marketplace/choose-project',+ path: '/$slug/marketplace/choose-project',+ getParentRoute: () => IntegrationsVercelRoute,+ } as any)+const IntegrationsVercelSlugDeployButtonNewProjectRoute =+ IntegrationsVercelSlugDeployButtonNewProjectRouteImport.update({+ id: '/$slug/deploy-button/new-project',+ path: '/$slug/deploy-button/new-project',+ getParentRoute: () => IntegrationsVercelRoute,+ } as any)const ApiV1ProjectsRefApiKeysRoute = ApiV1ProjectsRefApiKeysRouteImport.update({id: '/api/v1/projects/$ref/api-keys',path: '/api/v1/projects/$ref/api-keys',@@ -660,9 +1111,9 @@ const ApiPlatformAuthRefInviteRoute =} as any)const AuthPartnersStripeProjectsLoginRoute =AuthPartnersStripeProjectsLoginRouteImport.update({- id: '/_auth/partners/stripe/projects/login',+ id: '/partners/stripe/projects/login',path: '/partners/stripe/projects/login',- getParentRoute: () => rootRouteImport,+ getParentRoute: () => AuthRoute,} as any)const AppOrgSlugWebhooksEndpointIdRoute =AppOrgSlugWebhooksEndpointIdRouteImport.update({@@ -718,6 +1169,30 @@ const ApiPlatformAuthRefUsersIndexRoute =path: '/api/platform/auth/$ref/users/',getParentRoute: () => rootRouteImport,} as any)+const ProjectRefStorageVectorsBucketsBucketIdRoute =+ ProjectRefStorageVectorsBucketsBucketIdRouteImport.update({+ id: '/vectors/buckets/$bucketId',+ path: '/vectors/buckets/$bucketId',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefStorageFilesBucketsBucketIdRoute =+ ProjectRefStorageFilesBucketsBucketIdRouteImport.update({+ id: '/files/buckets/$bucketId',+ path: '/files/buckets/$bucketId',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefStorageAnalyticsBucketsBucketIdRoute =+ ProjectRefStorageAnalyticsBucketsBucketIdRouteImport.update({+ id: '/analytics/buckets/$bucketId',+ path: '/analytics/buckets/$bucketId',+ getParentRoute: () => ProjectRefStorageRoute,+ } as any)+const ProjectRefDatabaseReplicationReplicaReplicaIdRoute =+ ProjectRefDatabaseReplicationReplicaReplicaIdRouteImport.update({+ id: '/replication/replica/$replicaId',+ path: '/replication/replica/$replicaId',+ getParentRoute: () => ProjectRefDatabaseRoute,+ } as any)const ApiV1ProjectsRefTypesTypescriptRoute =ApiV1ProjectsRefTypesTypescriptRouteImport.update({id: '/api/v1/projects/$ref/types/typescript',@@ -936,6 +1411,15 @@ const ApiPlatformStorageRefBucketsIdObjectsDownloadRoute =} as any)export interface FileRoutesByFullPath {+ '/': typeof IndexRoute+ '/authorize': typeof AuthorizeRoute+ '/aws-marketplace-onboarding': typeof AwsMarketplaceOnboardingRoute+ '/claim-project': typeof ClaimProjectRoute+ '/join': typeof JoinRoute+ '/logout': typeof LogoutRoute+ '/maintenance': typeof MaintenanceRoute+ '/redeem': typeof RedeemRoute+ '/verify-email': typeof VerifyEmailRoute'/account': typeof AppAccountRouteWithChildren'/org': typeof AppOrgRouteWithChildren'/organizations': typeof AppOrganizationsRoute@@ -959,6 +1443,11 @@ export interface FileRoutesByFullPath {'/api/incident-status': typeof ApiIncidentStatusRoute'/api/parse-query': typeof ApiParseQueryRoute'/api/status-override': typeof ApiStatusOverrideRoute+ '/integrations/vercel': typeof IntegrationsVercelRouteWithChildren+ '/new/$slug': typeof NewSlugRoute+ '/org/_': typeof OrgChar91_Char93RouteWithChildren+ '/project/$ref': typeof ProjectRefRouteWithChildren+ '/project/_': typeof ProjectChar91_Char93RouteWithChildren'/account/audit': typeof AppAccountAuditRoute'/account/me': typeof AppAccountMeRoute'/account/security': typeof AppAccountSecurityRoute@@ -970,6 +1459,17 @@ export interface FileRoutesByFullPath {'/api/edge-functions/test': typeof ApiEdgeFunctionsTestRoute'/api/integrations/stripe-sync': typeof ApiIntegrationsStripeSyncRoute'/api/platform/deployment-mode': typeof ApiPlatformDeploymentModeRoute+ '/integrations/github/authorize': typeof IntegrationsGithubAuthorizeRoute+ '/integrations/vercel/install': typeof IntegrationsVercelInstallRoute+ '/org/_/$': typeof OrgChar91_Char93SplatRoute+ '/project/$ref/branches': typeof ProjectRefBranchesRouteWithChildren+ '/project/$ref/database': typeof ProjectRefDatabaseRouteWithChildren+ '/project/$ref/editor': typeof ProjectRefEditorRouteWithChildren+ '/project/$ref/merge': typeof ProjectRefMergeRoute+ '/project/$ref/realtime': typeof ProjectRefRealtimeRouteWithChildren+ '/project/$ref/sql': typeof ProjectRefSqlRouteWithChildren+ '/project/$ref/storage': typeof ProjectRefStorageRouteWithChildren+ '/project/_/$': typeof ProjectChar91_Char93SplatRoute'/new/': typeof AppNewIndexRoute'/org/': typeof AppOrgIndexRoute'/api/connect/': typeof ApiConnectIndexRoute@@ -999,11 +1499,34 @@ export interface FileRoutesByFullPath {'/api/ai/sql/title-v2': typeof ApiAiSqlTitleV2Route'/api/platform/integrations/$slug': typeof ApiPlatformIntegrationsSlugRoute'/api/platform/telemetry/event': typeof ApiPlatformTelemetryEventRoute+ '/project/$ref/branches/merge-requests': typeof ProjectRefBranchesMergeRequestsRoute+ '/project/$ref/database/column-privileges': typeof ProjectRefDatabaseColumnPrivilegesRoute+ '/project/$ref/database/extensions': typeof ProjectRefDatabaseExtensionsRoute+ '/project/$ref/database/functions': typeof ProjectRefDatabaseFunctionsRoute+ '/project/$ref/database/indexes': typeof ProjectRefDatabaseIndexesRoute+ '/project/$ref/database/migrations': typeof ProjectRefDatabaseMigrationsRoute+ '/project/$ref/database/roles': typeof ProjectRefDatabaseRolesRoute+ '/project/$ref/database/schemas': typeof ProjectRefDatabaseSchemasRoute+ '/project/$ref/database/settings': typeof ProjectRefDatabaseSettingsRoute+ '/project/$ref/database/triggers': typeof ProjectRefDatabaseTriggersRouteWithChildren+ '/project/$ref/database/types': typeof ProjectRefDatabaseTypesRoute+ '/project/$ref/editor/$id': typeof ProjectRefEditorIdRoute+ '/project/$ref/editor/new': typeof ProjectRefEditorNewRoute+ '/project/$ref/realtime/inspector': typeof ProjectRefRealtimeInspectorRoute+ '/project/$ref/realtime/policies': typeof ProjectRefRealtimePoliciesRoute+ '/project/$ref/realtime/settings': typeof ProjectRefRealtimeSettingsRoute+ '/project/$ref/sql/$id': typeof ProjectRefSqlIdRoute+ '/project/$ref/sql/examples': typeof ProjectRefSqlExamplesRoute+ '/project/$ref/sql/templates': typeof ProjectRefSqlTemplatesRoute+ '/project/$ref/storage/s3': typeof ProjectRefStorageS3Route'/account/tokens/': typeof AppAccountTokensIndexRoute'/org/$slug/': typeof AppOrgSlugIndexRoute'/api/platform/organizations/': typeof ApiPlatformOrganizationsIndexRoute'/api/platform/profile/': typeof ApiPlatformProfileIndexRoute'/api/platform/projects/': typeof ApiPlatformProjectsIndexRoute+ '/project/$ref/branches/': typeof ProjectRefBranchesIndexRoute+ '/project/$ref/editor/': typeof ProjectRefEditorIndexRoute+ '/project/$ref/sql/': typeof ProjectRefSqlIndexRoute'/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute'/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute'/api/platform/auth/$ref/invite': typeof ApiPlatformAuthRefInviteRoute@@ -1030,9 +1553,28 @@ export interface FileRoutesByFullPath {'/api/platform/projects/$ref/settings': typeof ApiPlatformProjectsRefSettingsRoute'/api/platform/props/org/$slug': typeof ApiPlatformPropsOrgSlugRoute'/api/v1/projects/$ref/api-keys': typeof ApiV1ProjectsRefApiKeysRouteWithChildren+ '/integrations/vercel/$slug/deploy-button/new-project': typeof IntegrationsVercelSlugDeployButtonNewProjectRoute+ '/integrations/vercel/$slug/marketplace/choose-project': typeof IntegrationsVercelSlugMarketplaceChooseProjectRoute+ '/project/$ref/database/backups/pitr': typeof ProjectRefDatabaseBackupsPitrRoute+ '/project/$ref/database/backups/restore-to-new-project': typeof ProjectRefDatabaseBackupsRestoreToNewProjectRoute+ '/project/$ref/database/backups/scheduled': typeof ProjectRefDatabaseBackupsScheduledRoute+ '/project/$ref/database/publications/$id': typeof ProjectRefDatabasePublicationsIdRoute+ '/project/$ref/database/replication/$pipelineId': typeof ProjectRefDatabaseReplicationPipelineIdRoute+ '/project/$ref/database/tables/$id': typeof ProjectRefDatabaseTablesIdRoute+ '/project/$ref/database/triggers/data': typeof ProjectRefDatabaseTriggersDataRoute+ '/project/$ref/database/triggers/event': typeof ProjectRefDatabaseTriggersEventRoute+ '/project/$ref/storage/files/policies': typeof ProjectRefStorageFilesPoliciesRoute+ '/project/$ref/storage/files/settings': typeof ProjectRefStorageFilesSettingsRoute'/org/$slug/private-apps/': typeof AppOrgSlugPrivateAppsIndexRoute'/org/$slug/webhooks/': typeof AppOrgSlugWebhooksIndexRoute'/api/platform/projects/$ref/': typeof ApiPlatformProjectsRefIndexRoute+ '/project/$ref/database/publications/': typeof ProjectRefDatabasePublicationsIndexRoute+ '/project/$ref/database/replication/': typeof ProjectRefDatabaseReplicationIndexRoute+ '/project/$ref/database/tables/': typeof ProjectRefDatabaseTablesIndexRoute+ '/project/$ref/database/triggers/': typeof ProjectRefDatabaseTriggersIndexRoute+ '/project/$ref/storage/analytics/': typeof ProjectRefStorageAnalyticsIndexRoute+ '/project/$ref/storage/files/': typeof ProjectRefStorageFilesIndexRoute+ '/project/$ref/storage/vectors/': typeof ProjectRefStorageVectorsIndexRoute'/api/platform/organizations/$slug/billing/subscription': typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute'/api/platform/projects/$ref/analytics/log-drains': typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren'/api/platform/projects/$ref/api-keys/temporary': typeof ApiPlatformProjectsRefApiKeysTemporaryRoute@@ -1045,6 +1587,10 @@ export interface FileRoutesByFullPath {'/api/v1/projects/$ref/api-keys/$id': typeof ApiV1ProjectsRefApiKeysIdRoute'/api/v1/projects/$ref/database/migrations': typeof ApiV1ProjectsRefDatabaseMigrationsRoute'/api/v1/projects/$ref/types/typescript': typeof ApiV1ProjectsRefTypesTypescriptRoute+ '/project/$ref/database/replication/replica/$replicaId': typeof ProjectRefDatabaseReplicationReplicaReplicaIdRoute+ '/project/$ref/storage/analytics/buckets/$bucketId': typeof ProjectRefStorageAnalyticsBucketsBucketIdRoute+ '/project/$ref/storage/files/buckets/$bucketId': typeof ProjectRefStorageFilesBucketsBucketIdRoute+ '/project/$ref/storage/vectors/buckets/$bucketId': typeof ProjectRefStorageVectorsBucketsBucketIdRoute'/api/platform/auth/$ref/users/': typeof ApiPlatformAuthRefUsersIndexRoute'/api/platform/pg-meta/$ref/query/': typeof ApiPlatformPgMetaRefQueryIndexRoute'/api/platform/projects/$ref/config/': typeof ApiPlatformProjectsRefConfigIndexRoute@@ -1079,6 +1625,15 @@ export interface FileRoutesByFullPath {'/api/v1/projects/$ref/config/auth/signing-keys/': typeof ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute}export interface FileRoutesByTo {+ '/': typeof IndexRoute+ '/authorize': typeof AuthorizeRoute+ '/aws-marketplace-onboarding': typeof AwsMarketplaceOnboardingRoute+ '/claim-project': typeof ClaimProjectRoute+ '/join': typeof JoinRoute+ '/logout': typeof LogoutRoute+ '/maintenance': typeof MaintenanceRoute+ '/redeem': typeof RedeemRoute+ '/verify-email': typeof VerifyEmailRoute'/account': typeof AppAccountRouteWithChildren'/organizations': typeof AppOrganizationsRoute'/forgot-password': typeof AuthForgotPasswordRoute@@ -1101,6 +1656,11 @@ export interface FileRoutesByTo {'/api/incident-status': typeof ApiIncidentStatusRoute'/api/parse-query': typeof ApiParseQueryRoute'/api/status-override': typeof ApiStatusOverrideRoute+ '/integrations/vercel': typeof IntegrationsVercelRouteWithChildren+ '/new/$slug': typeof NewSlugRoute+ '/org/_': typeof OrgChar91_Char93RouteWithChildren+ '/project/$ref': typeof ProjectRefRouteWithChildren+ '/project/_': typeof ProjectChar91_Char93RouteWithChildren'/account/audit': typeof AppAccountAuditRoute'/account/me': typeof AppAccountMeRoute'/account/security': typeof AppAccountSecurityRoute@@ -1112,6 +1672,14 @@ export interface FileRoutesByTo {'/api/edge-functions/test': typeof ApiEdgeFunctionsTestRoute'/api/integrations/stripe-sync': typeof ApiIntegrationsStripeSyncRoute'/api/platform/deployment-mode': typeof ApiPlatformDeploymentModeRoute+ '/integrations/github/authorize': typeof IntegrationsGithubAuthorizeRoute+ '/integrations/vercel/install': typeof IntegrationsVercelInstallRoute+ '/org/_/$': typeof OrgChar91_Char93SplatRoute+ '/project/$ref/database': typeof ProjectRefDatabaseRouteWithChildren+ '/project/$ref/merge': typeof ProjectRefMergeRoute+ '/project/$ref/realtime': typeof ProjectRefRealtimeRouteWithChildren+ '/project/$ref/storage': typeof ProjectRefStorageRouteWithChildren+ '/project/_/$': typeof ProjectChar91_Char93SplatRoute'/new': typeof AppNewIndexRoute'/org': typeof AppOrgIndexRoute'/api/connect': typeof ApiConnectIndexRoute@@ -1141,11 +1709,33 @@ export interface FileRoutesByTo {'/api/ai/sql/title-v2': typeof ApiAiSqlTitleV2Route'/api/platform/integrations/$slug': typeof ApiPlatformIntegrationsSlugRoute'/api/platform/telemetry/event': typeof ApiPlatformTelemetryEventRoute+ '/project/$ref/branches/merge-requests': typeof ProjectRefBranchesMergeRequestsRoute+ '/project/$ref/database/column-privileges': typeof ProjectRefDatabaseColumnPrivilegesRoute+ '/project/$ref/database/extensions': typeof ProjectRefDatabaseExtensionsRoute+ '/project/$ref/database/functions': typeof ProjectRefDatabaseFunctionsRoute+ '/project/$ref/database/indexes': typeof ProjectRefDatabaseIndexesRoute+ '/project/$ref/database/migrations': typeof ProjectRefDatabaseMigrationsRoute+ '/project/$ref/database/roles': typeof ProjectRefDatabaseRolesRoute+ '/project/$ref/database/schemas': typeof ProjectRefDatabaseSchemasRoute+ '/project/$ref/database/settings': typeof ProjectRefDatabaseSettingsRoute+ '/project/$ref/database/types': typeof ProjectRefDatabaseTypesRoute+ '/project/$ref/editor/$id': typeof ProjectRefEditorIdRoute+ '/project/$ref/editor/new': typeof ProjectRefEditorNewRoute+ '/project/$ref/realtime/inspector': typeof ProjectRefRealtimeInspectorRoute+ '/project/$ref/realtime/policies': typeof ProjectRefRealtimePoliciesRoute+ '/project/$ref/realtime/settings': typeof ProjectRefRealtimeSettingsRoute+ '/project/$ref/sql/$id': typeof ProjectRefSqlIdRoute+ '/project/$ref/sql/examples': typeof ProjectRefSqlExamplesRoute+ '/project/$ref/sql/templates': typeof ProjectRefSqlTemplatesRoute+ '/project/$ref/storage/s3': typeof ProjectRefStorageS3Route'/account/tokens': typeof AppAccountTokensIndexRoute'/org/$slug': typeof AppOrgSlugIndexRoute'/api/platform/organizations': typeof ApiPlatformOrganizationsIndexRoute'/api/platform/profile': typeof ApiPlatformProfileIndexRoute'/api/platform/projects': typeof ApiPlatformProjectsIndexRoute+ '/project/$ref/branches': typeof ProjectRefBranchesIndexRoute+ '/project/$ref/editor': typeof ProjectRefEditorIndexRoute+ '/project/$ref/sql': typeof ProjectRefSqlIndexRoute'/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute'/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute'/api/platform/auth/$ref/invite': typeof ApiPlatformAuthRefInviteRoute@@ -1172,9 +1762,28 @@ export interface FileRoutesByTo {'/api/platform/projects/$ref/settings': typeof ApiPlatformProjectsRefSettingsRoute'/api/platform/props/org/$slug': typeof ApiPlatformPropsOrgSlugRoute'/api/v1/projects/$ref/api-keys': typeof ApiV1ProjectsRefApiKeysRouteWithChildren+ '/integrations/vercel/$slug/deploy-button/new-project': typeof IntegrationsVercelSlugDeployButtonNewProjectRoute+ '/integrations/vercel/$slug/marketplace/choose-project': typeof IntegrationsVercelSlugMarketplaceChooseProjectRoute+ '/project/$ref/database/backups/pitr': typeof ProjectRefDatabaseBackupsPitrRoute+ '/project/$ref/database/backups/restore-to-new-project': typeof ProjectRefDatabaseBackupsRestoreToNewProjectRoute+ '/project/$ref/database/backups/scheduled': typeof ProjectRefDatabaseBackupsScheduledRoute+ '/project/$ref/database/publications/$id': typeof ProjectRefDatabasePublicationsIdRoute+ '/project/$ref/database/replication/$pipelineId': typeof ProjectRefDatabaseReplicationPipelineIdRoute+ '/project/$ref/database/tables/$id': typeof ProjectRefDatabaseTablesIdRoute+ '/project/$ref/database/triggers/data': typeof ProjectRefDatabaseTriggersDataRoute+ '/project/$ref/database/triggers/event': typeof ProjectRefDatabaseTriggersEventRoute+ '/project/$ref/storage/files/policies': typeof ProjectRefStorageFilesPoliciesRoute+ '/project/$ref/storage/files/settings': typeof ProjectRefStorageFilesSettingsRoute'/org/$slug/private-apps': typeof AppOrgSlugPrivateAppsIndexRoute'/org/$slug/webhooks': typeof AppOrgSlugWebhooksIndexRoute'/api/platform/projects/$ref': typeof ApiPlatformProjectsRefIndexRoute+ '/project/$ref/database/publications': typeof ProjectRefDatabasePublicationsIndexRoute+ '/project/$ref/database/replication': typeof ProjectRefDatabaseReplicationIndexRoute+ '/project/$ref/database/tables': typeof ProjectRefDatabaseTablesIndexRoute+ '/project/$ref/database/triggers': typeof ProjectRefDatabaseTriggersIndexRoute+ '/project/$ref/storage/analytics': typeof ProjectRefStorageAnalyticsIndexRoute+ '/project/$ref/storage/files': typeof ProjectRefStorageFilesIndexRoute+ '/project/$ref/storage/vectors': typeof ProjectRefStorageVectorsIndexRoute'/api/platform/organizations/$slug/billing/subscription': typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute'/api/platform/projects/$ref/analytics/log-drains': typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren'/api/platform/projects/$ref/api-keys/temporary': typeof ApiPlatformProjectsRefApiKeysTemporaryRoute@@ -1187,6 +1796,10 @@ export interface FileRoutesByTo {'/api/v1/projects/$ref/api-keys/$id': typeof ApiV1ProjectsRefApiKeysIdRoute'/api/v1/projects/$ref/database/migrations': typeof ApiV1ProjectsRefDatabaseMigrationsRoute'/api/v1/projects/$ref/types/typescript': typeof ApiV1ProjectsRefTypesTypescriptRoute+ '/project/$ref/database/replication/replica/$replicaId': typeof ProjectRefDatabaseReplicationReplicaReplicaIdRoute+ '/project/$ref/storage/analytics/buckets/$bucketId': typeof ProjectRefStorageAnalyticsBucketsBucketIdRoute+ '/project/$ref/storage/files/buckets/$bucketId': typeof ProjectRefStorageFilesBucketsBucketIdRoute+ '/project/$ref/storage/vectors/buckets/$bucketId': typeof ProjectRefStorageVectorsBucketsBucketIdRoute'/api/platform/auth/$ref/users': typeof ApiPlatformAuthRefUsersIndexRoute'/api/platform/pg-meta/$ref/query': typeof ApiPlatformPgMetaRefQueryIndexRoute'/api/platform/projects/$ref/config': typeof ApiPlatformProjectsRefConfigIndexRoute@@ -1222,6 +1835,17 @@ export interface FileRoutesByTo {}export interface FileRoutesById {__root__: typeof rootRouteImport+ '/': typeof IndexRoute+ '/_app': typeof AppRouteWithChildren+ '/_auth': typeof AuthRouteWithChildren+ '/authorize': typeof AuthorizeRoute+ '/aws-marketplace-onboarding': typeof AwsMarketplaceOnboardingRoute+ '/claim-project': typeof ClaimProjectRoute+ '/join': typeof JoinRoute+ '/logout': typeof LogoutRoute+ '/maintenance': typeof MaintenanceRoute+ '/redeem': typeof RedeemRoute+ '/verify-email': typeof VerifyEmailRoute'/_app/account': typeof AppAccountRouteWithChildren'/_app/org': typeof AppOrgRouteWithChildren'/_app/organizations': typeof AppOrganizationsRoute@@ -1245,6 +1869,11 @@ export interface FileRoutesById {'/api/incident-status': typeof ApiIncidentStatusRoute'/api/parse-query': typeof ApiParseQueryRoute'/api/status-override': typeof ApiStatusOverrideRoute+ '/integrations/vercel': typeof IntegrationsVercelRouteWithChildren+ '/new/$slug': typeof NewSlugRoute+ '/org/_': typeof OrgChar91_Char93RouteWithChildren+ '/project/$ref': typeof ProjectRefRouteWithChildren+ '/project/_': typeof ProjectChar91_Char93RouteWithChildren'/_app/account/audit': typeof AppAccountAuditRoute'/_app/account/me': typeof AppAccountMeRoute'/_app/account/security': typeof AppAccountSecurityRoute@@ -1256,6 +1885,17 @@ export interface FileRoutesById {'/api/edge-functions/test': typeof ApiEdgeFunctionsTestRoute'/api/integrations/stripe-sync': typeof ApiIntegrationsStripeSyncRoute'/api/platform/deployment-mode': typeof ApiPlatformDeploymentModeRoute+ '/integrations/github/authorize': typeof IntegrationsGithubAuthorizeRoute+ '/integrations/vercel/install': typeof IntegrationsVercelInstallRoute+ '/org/_/$': typeof OrgChar91_Char93SplatRoute+ '/project/$ref/branches': typeof ProjectRefBranchesRouteWithChildren+ '/project/$ref/database': typeof ProjectRefDatabaseRouteWithChildren+ '/project/$ref/editor': typeof ProjectRefEditorRouteWithChildren+ '/project/$ref/merge': typeof ProjectRefMergeRoute+ '/project/$ref/realtime': typeof ProjectRefRealtimeRouteWithChildren+ '/project/$ref/sql': typeof ProjectRefSqlRouteWithChildren+ '/project/$ref/storage': typeof ProjectRefStorageRouteWithChildren+ '/project/_/$': typeof ProjectChar91_Char93SplatRoute'/_app/new/': typeof AppNewIndexRoute'/_app/org/': typeof AppOrgIndexRoute'/api/connect/': typeof ApiConnectIndexRoute@@ -1285,11 +1925,34 @@ export interface FileRoutesById {'/api/ai/sql/title-v2': typeof ApiAiSqlTitleV2Route'/api/platform/integrations/$slug': typeof ApiPlatformIntegrationsSlugRoute'/api/platform/telemetry/event': typeof ApiPlatformTelemetryEventRoute+ '/project/$ref/branches/merge-requests': typeof ProjectRefBranchesMergeRequestsRoute+ '/project/$ref/database/column-privileges': typeof ProjectRefDatabaseColumnPrivilegesRoute+ '/project/$ref/database/extensions': typeof ProjectRefDatabaseExtensionsRoute+ '/project/$ref/database/functions': typeof ProjectRefDatabaseFunctionsRoute+ '/project/$ref/database/indexes': typeof ProjectRefDatabaseIndexesRoute+ '/project/$ref/database/migrations': typeof ProjectRefDatabaseMigrationsRoute+ '/project/$ref/database/roles': typeof ProjectRefDatabaseRolesRoute+ '/project/$ref/database/schemas': typeof ProjectRefDatabaseSchemasRoute+ '/project/$ref/database/settings': typeof ProjectRefDatabaseSettingsRoute+ '/project/$ref/database/triggers': typeof ProjectRefDatabaseTriggersRouteWithChildren+ '/project/$ref/database/types': typeof ProjectRefDatabaseTypesRoute+ '/project/$ref/editor/$id': typeof ProjectRefEditorIdRoute+ '/project/$ref/editor/new': typeof ProjectRefEditorNewRoute+ '/project/$ref/realtime/inspector': typeof ProjectRefRealtimeInspectorRoute+ '/project/$ref/realtime/policies': typeof ProjectRefRealtimePoliciesRoute+ '/project/$ref/realtime/settings': typeof ProjectRefRealtimeSettingsRoute+ '/project/$ref/sql/$id': typeof ProjectRefSqlIdRoute+ '/project/$ref/sql/examples': typeof ProjectRefSqlExamplesRoute+ '/project/$ref/sql/templates': typeof ProjectRefSqlTemplatesRoute+ '/project/$ref/storage/s3': typeof ProjectRefStorageS3Route'/_app/account/tokens/': typeof AppAccountTokensIndexRoute'/_app/org/$slug/': typeof AppOrgSlugIndexRoute'/api/platform/organizations/': typeof ApiPlatformOrganizationsIndexRoute'/api/platform/profile/': typeof ApiPlatformProfileIndexRoute'/api/platform/projects/': typeof ApiPlatformProjectsIndexRoute+ '/project/$ref/branches/': typeof ProjectRefBranchesIndexRoute+ '/project/$ref/editor/': typeof ProjectRefEditorIndexRoute+ '/project/$ref/sql/': typeof ProjectRefSqlIndexRoute'/_app/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute'/_auth/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute'/api/platform/auth/$ref/invite': typeof ApiPlatformAuthRefInviteRoute@@ -1316,9 +1979,28 @@ export interface FileRoutesById {'/api/platform/projects/$ref/settings': typeof ApiPlatformProjectsRefSettingsRoute'/api/platform/props/org/$slug': typeof ApiPlatformPropsOrgSlugRoute'/api/v1/projects/$ref/api-keys': typeof ApiV1ProjectsRefApiKeysRouteWithChildren+ '/integrations/vercel/$slug/deploy-button/new-project': typeof IntegrationsVercelSlugDeployButtonNewProjectRoute+ '/integrations/vercel/$slug/marketplace/choose-project': typeof IntegrationsVercelSlugMarketplaceChooseProjectRoute+ '/project/$ref/database/backups/pitr': typeof ProjectRefDatabaseBackupsPitrRoute+ '/project/$ref/database/backups/restore-to-new-project': typeof ProjectRefDatabaseBackupsRestoreToNewProjectRoute+ '/project/$ref/database/backups/scheduled': typeof ProjectRefDatabaseBackupsScheduledRoute+ '/project/$ref/database/publications/$id': typeof ProjectRefDatabasePublicationsIdRoute+ '/project/$ref/database/replication/$pipelineId': typeof ProjectRefDatabaseReplicationPipelineIdRoute+ '/project/$ref/database/tables/$id': typeof ProjectRefDatabaseTablesIdRoute+ '/project/$ref/database/triggers/data': typeof ProjectRefDatabaseTriggersDataRoute+ '/project/$ref/database/triggers/event': typeof ProjectRefDatabaseTriggersEventRoute+ '/project/$ref/storage/files/policies': typeof ProjectRefStorageFilesPoliciesRoute+ '/project/$ref/storage/files/settings': typeof ProjectRefStorageFilesSettingsRoute'/_app/org/$slug/private-apps/': typeof AppOrgSlugPrivateAppsIndexRoute'/_app/org/$slug/webhooks/': typeof AppOrgSlugWebhooksIndexRoute'/api/platform/projects/$ref/': typeof ApiPlatformProjectsRefIndexRoute+ '/project/$ref/database/publications/': typeof ProjectRefDatabasePublicationsIndexRoute+ '/project/$ref/database/replication/': typeof ProjectRefDatabaseReplicationIndexRoute+ '/project/$ref/database/tables/': typeof ProjectRefDatabaseTablesIndexRoute+ '/project/$ref/database/triggers/': typeof ProjectRefDatabaseTriggersIndexRoute+ '/project/$ref/storage/analytics/': typeof ProjectRefStorageAnalyticsIndexRoute+ '/project/$ref/storage/files/': typeof ProjectRefStorageFilesIndexRoute+ '/project/$ref/storage/vectors/': typeof ProjectRefStorageVectorsIndexRoute'/api/platform/organizations/$slug/billing/subscription': typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute'/api/platform/projects/$ref/analytics/log-drains': typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren'/api/platform/projects/$ref/api-keys/temporary': typeof ApiPlatformProjectsRefApiKeysTemporaryRoute@@ -1331,6 +2013,10 @@ export interface FileRoutesById {'/api/v1/projects/$ref/api-keys/$id': typeof ApiV1ProjectsRefApiKeysIdRoute'/api/v1/projects/$ref/database/migrations': typeof ApiV1ProjectsRefDatabaseMigrationsRoute'/api/v1/projects/$ref/types/typescript': typeof ApiV1ProjectsRefTypesTypescriptRoute+ '/project/$ref/database/replication/replica/$replicaId': typeof ProjectRefDatabaseReplicationReplicaReplicaIdRoute+ '/project/$ref/storage/analytics/buckets/$bucketId': typeof ProjectRefStorageAnalyticsBucketsBucketIdRoute+ '/project/$ref/storage/files/buckets/$bucketId': typeof ProjectRefStorageFilesBucketsBucketIdRoute+ '/project/$ref/storage/vectors/buckets/$bucketId': typeof ProjectRefStorageVectorsBucketsBucketIdRoute'/api/platform/auth/$ref/users/': typeof ApiPlatformAuthRefUsersIndexRoute'/api/platform/pg-meta/$ref/query/': typeof ApiPlatformPgMetaRefQueryIndexRoute'/api/platform/projects/$ref/config/': typeof ApiPlatformProjectsRefConfigIndexRoute@@ -1367,6 +2053,15 @@ export interface FileRoutesById {export interface FileRouteTypes {fileRoutesByFullPath: FileRoutesByFullPathfullPaths:+ | '/'+ | '/authorize'+ | '/aws-marketplace-onboarding'+ | '/claim-project'+ | '/join'+ | '/logout'+ | '/maintenance'+ | '/redeem'+ | '/verify-email'| '/account'| '/org'| '/organizations'@@ -1390,6 +2085,11 @@ export interface FileRouteTypes {| '/api/incident-status'| '/api/parse-query'| '/api/status-override'+ | '/integrations/vercel'+ | '/new/$slug'+ | '/org/_'+ | '/project/$ref'+ | '/project/_'| '/account/audit'| '/account/me'| '/account/security'@@ -1401,6 +2101,17 @@ export interface FileRouteTypes {| '/api/edge-functions/test'| '/api/integrations/stripe-sync'| '/api/platform/deployment-mode'+ | '/integrations/github/authorize'+ | '/integrations/vercel/install'+ | '/org/_/$'+ | '/project/$ref/branches'+ | '/project/$ref/database'+ | '/project/$ref/editor'+ | '/project/$ref/merge'+ | '/project/$ref/realtime'+ | '/project/$ref/sql'+ | '/project/$ref/storage'+ | '/project/_/$'| '/new/'| '/org/'| '/api/connect/'@@ -1430,11 +2141,34 @@ export interface FileRouteTypes {| '/api/ai/sql/title-v2'| '/api/platform/integrations/$slug'| '/api/platform/telemetry/event'+ | '/project/$ref/branches/merge-requests'+ | '/project/$ref/database/column-privileges'+ | '/project/$ref/database/extensions'+ | '/project/$ref/database/functions'+ | '/project/$ref/database/indexes'+ | '/project/$ref/database/migrations'+ | '/project/$ref/database/roles'+ | '/project/$ref/database/schemas'+ | '/project/$ref/database/settings'+ | '/project/$ref/database/triggers'+ | '/project/$ref/database/types'+ | '/project/$ref/editor/$id'+ | '/project/$ref/editor/new'+ | '/project/$ref/realtime/inspector'+ | '/project/$ref/realtime/policies'+ | '/project/$ref/realtime/settings'+ | '/project/$ref/sql/$id'+ | '/project/$ref/sql/examples'+ | '/project/$ref/sql/templates'+ | '/project/$ref/storage/s3'| '/account/tokens/'| '/org/$slug/'| '/api/platform/organizations/'| '/api/platform/profile/'| '/api/platform/projects/'+ | '/project/$ref/branches/'+ | '/project/$ref/editor/'+ | '/project/$ref/sql/'| '/org/$slug/webhooks/$endpointId'| '/partners/stripe/projects/login'| '/api/platform/auth/$ref/invite'@@ -1461,9 +2195,28 @@ export interface FileRouteTypes {| '/api/platform/projects/$ref/settings'| '/api/platform/props/org/$slug'| '/api/v1/projects/$ref/api-keys'+ | '/integrations/vercel/$slug/deploy-button/new-project'+ | '/integrations/vercel/$slug/marketplace/choose-project'+ | '/project/$ref/database/backups/pitr'+ | '/project/$ref/database/backups/restore-to-new-project'+ | '/project/$ref/database/backups/scheduled'+ | '/project/$ref/database/publications/$id'+ | '/project/$ref/database/replication/$pipelineId'+ | '/project/$ref/database/tables/$id'+ | '/project/$ref/database/triggers/data'+ | '/project/$ref/database/triggers/event'+ | '/project/$ref/storage/files/policies'+ | '/project/$ref/storage/files/settings'| '/org/$slug/private-apps/'| '/org/$slug/webhooks/'| '/api/platform/projects/$ref/'+ | '/project/$ref/database/publications/'+ | '/project/$ref/database/replication/'+ | '/project/$ref/database/tables/'+ | '/project/$ref/database/triggers/'+ | '/project/$ref/storage/analytics/'+ | '/project/$ref/storage/files/'+ | '/project/$ref/storage/vectors/'| '/api/platform/organizations/$slug/billing/subscription'| '/api/platform/projects/$ref/analytics/log-drains'| '/api/platform/projects/$ref/api-keys/temporary'@@ -1476,6 +2229,10 @@ export interface FileRouteTypes {| '/api/v1/projects/$ref/api-keys/$id'| '/api/v1/projects/$ref/database/migrations'| '/api/v1/projects/$ref/types/typescript'+ | '/project/$ref/database/replication/replica/$replicaId'+ | '/project/$ref/storage/analytics/buckets/$bucketId'+ | '/project/$ref/storage/files/buckets/$bucketId'+ | '/project/$ref/storage/vectors/buckets/$bucketId'| '/api/platform/auth/$ref/users/'| '/api/platform/pg-meta/$ref/query/'| '/api/platform/projects/$ref/config/'@@ -1510,6 +2267,15 @@ export interface FileRouteTypes {| '/api/v1/projects/$ref/config/auth/signing-keys/'fileRoutesByTo: FileRoutesByToto:+ | '/'+ | '/authorize'+ | '/aws-marketplace-onboarding'+ | '/claim-project'+ | '/join'+ | '/logout'+ | '/maintenance'+ | '/redeem'+ | '/verify-email'| '/account'| '/organizations'| '/forgot-password'@@ -1532,6 +2298,11 @@ export interface FileRouteTypes {| '/api/incident-status'| '/api/parse-query'| '/api/status-override'+ | '/integrations/vercel'+ | '/new/$slug'+ | '/org/_'+ | '/project/$ref'+ | '/project/_'| '/account/audit'| '/account/me'| '/account/security'@@ -1543,6 +2314,14 @@ export interface FileRouteTypes {| '/api/edge-functions/test'| '/api/integrations/stripe-sync'| '/api/platform/deployment-mode'+ | '/integrations/github/authorize'+ | '/integrations/vercel/install'+ | '/org/_/$'+ | '/project/$ref/database'+ | '/project/$ref/merge'+ | '/project/$ref/realtime'+ | '/project/$ref/storage'+ | '/project/_/$'| '/new'| '/org'| '/api/connect'@@ -1572,11 +2351,33 @@ export interface FileRouteTypes {| '/api/ai/sql/title-v2'| '/api/platform/integrations/$slug'| '/api/platform/telemetry/event'+ | '/project/$ref/branches/merge-requests'+ | '/project/$ref/database/column-privileges'+ | '/project/$ref/database/extensions'+ | '/project/$ref/database/functions'+ | '/project/$ref/database/indexes'+ | '/project/$ref/database/migrations'+ | '/project/$ref/database/roles'+ | '/project/$ref/database/schemas'+ | '/project/$ref/database/settings'+ | '/project/$ref/database/types'+ | '/project/$ref/editor/$id'+ | '/project/$ref/editor/new'+ | '/project/$ref/realtime/inspector'+ | '/project/$ref/realtime/policies'+ | '/project/$ref/realtime/settings'+ | '/project/$ref/sql/$id'+ | '/project/$ref/sql/examples'+ | '/project/$ref/sql/templates'+ | '/project/$ref/storage/s3'| '/account/tokens'| '/org/$slug'| '/api/platform/organizations'| '/api/platform/profile'| '/api/platform/projects'+ | '/project/$ref/branches'+ | '/project/$ref/editor'+ | '/project/$ref/sql'| '/org/$slug/webhooks/$endpointId'| '/partners/stripe/projects/login'| '/api/platform/auth/$ref/invite'@@ -1603,9 +2404,28 @@ export interface FileRouteTypes {| '/api/platform/projects/$ref/settings'| '/api/platform/props/org/$slug'| '/api/v1/projects/$ref/api-keys'+ | '/integrations/vercel/$slug/deploy-button/new-project'+ | '/integrations/vercel/$slug/marketplace/choose-project'+ | '/project/$ref/database/backups/pitr'+ | '/project/$ref/database/backups/restore-to-new-project'+ | '/project/$ref/database/backups/scheduled'+ | '/project/$ref/database/publications/$id'+ | '/project/$ref/database/replication/$pipelineId'+ | '/project/$ref/database/tables/$id'+ | '/project/$ref/database/triggers/data'+ | '/project/$ref/database/triggers/event'+ | '/project/$ref/storage/files/policies'+ | '/project/$ref/storage/files/settings'| '/org/$slug/private-apps'| '/org/$slug/webhooks'| '/api/platform/projects/$ref'+ | '/project/$ref/database/publications'+ | '/project/$ref/database/replication'+ | '/project/$ref/database/tables'+ | '/project/$ref/database/triggers'+ | '/project/$ref/storage/analytics'+ | '/project/$ref/storage/files'+ | '/project/$ref/storage/vectors'| '/api/platform/organizations/$slug/billing/subscription'| '/api/platform/projects/$ref/analytics/log-drains'| '/api/platform/projects/$ref/api-keys/temporary'@@ -1618,6 +2438,10 @@ export interface FileRouteTypes {| '/api/v1/projects/$ref/api-keys/$id'| '/api/v1/projects/$ref/database/migrations'| '/api/v1/projects/$ref/types/typescript'+ | '/project/$ref/database/replication/replica/$replicaId'+ | '/project/$ref/storage/analytics/buckets/$bucketId'+ | '/project/$ref/storage/files/buckets/$bucketId'+ | '/project/$ref/storage/vectors/buckets/$bucketId'| '/api/platform/auth/$ref/users'| '/api/platform/pg-meta/$ref/query'| '/api/platform/projects/$ref/config'@@ -1652,6 +2476,17 @@ export interface FileRouteTypes {| '/api/v1/projects/$ref/config/auth/signing-keys'id:| '__root__'+ | '/'+ | '/_app'+ | '/_auth'+ | '/authorize'+ | '/aws-marketplace-onboarding'+ | '/claim-project'+ | '/join'+ | '/logout'+ | '/maintenance'+ | '/redeem'+ | '/verify-email'| '/_app/account'| '/_app/org'| '/_app/organizations'@@ -1675,6 +2510,11 @@ export interface FileRouteTypes {| '/api/incident-status'| '/api/parse-query'| '/api/status-override'+ | '/integrations/vercel'+ | '/new/$slug'+ | '/org/_'+ | '/project/$ref'+ | '/project/_'| '/_app/account/audit'| '/_app/account/me'| '/_app/account/security'@@ -1686,6 +2526,17 @@ export interface FileRouteTypes {| '/api/edge-functions/test'| '/api/integrations/stripe-sync'| '/api/platform/deployment-mode'+ | '/integrations/github/authorize'+ | '/integrations/vercel/install'+ | '/org/_/$'+ | '/project/$ref/branches'+ | '/project/$ref/database'+ | '/project/$ref/editor'+ | '/project/$ref/merge'+ | '/project/$ref/realtime'+ | '/project/$ref/sql'+ | '/project/$ref/storage'+ | '/project/_/$'| '/_app/new/'| '/_app/org/'| '/api/connect/'@@ -1715,11 +2566,34 @@ export interface FileRouteTypes {| '/api/ai/sql/title-v2'| '/api/platform/integrations/$slug'| '/api/platform/telemetry/event'+ | '/project/$ref/branches/merge-requests'+ | '/project/$ref/database/column-privileges'+ | '/project/$ref/database/extensions'+ | '/project/$ref/database/functions'+ | '/project/$ref/database/indexes'+ | '/project/$ref/database/migrations'+ | '/project/$ref/database/roles'+ | '/project/$ref/database/schemas'+ | '/project/$ref/database/settings'+ | '/project/$ref/database/triggers'+ | '/project/$ref/database/types'+ | '/project/$ref/editor/$id'+ | '/project/$ref/editor/new'+ | '/project/$ref/realtime/inspector'+ | '/project/$ref/realtime/policies'+ | '/project/$ref/realtime/settings'+ | '/project/$ref/sql/$id'+ | '/project/$ref/sql/examples'+ | '/project/$ref/sql/templates'+ | '/project/$ref/storage/s3'| '/_app/account/tokens/'| '/_app/org/$slug/'| '/api/platform/organizations/'| '/api/platform/profile/'| '/api/platform/projects/'+ | '/project/$ref/branches/'+ | '/project/$ref/editor/'+ | '/project/$ref/sql/'| '/_app/org/$slug/webhooks/$endpointId'| '/_auth/partners/stripe/projects/login'| '/api/platform/auth/$ref/invite'@@ -1746,9 +2620,28 @@ export interface FileRouteTypes {| '/api/platform/projects/$ref/settings'| '/api/platform/props/org/$slug'| '/api/v1/projects/$ref/api-keys'+ | '/integrations/vercel/$slug/deploy-button/new-project'+ | '/integrations/vercel/$slug/marketplace/choose-project'+ | '/project/$ref/database/backups/pitr'+ | '/project/$ref/database/backups/restore-to-new-project'+ | '/project/$ref/database/backups/scheduled'+ | '/project/$ref/database/publications/$id'+ | '/project/$ref/database/replication/$pipelineId'+ | '/project/$ref/database/tables/$id'+ | '/project/$ref/database/triggers/data'+ | '/project/$ref/database/triggers/event'+ | '/project/$ref/storage/files/policies'+ | '/project/$ref/storage/files/settings'| '/_app/org/$slug/private-apps/'| '/_app/org/$slug/webhooks/'| '/api/platform/projects/$ref/'+ | '/project/$ref/database/publications/'+ | '/project/$ref/database/replication/'+ | '/project/$ref/database/tables/'+ | '/project/$ref/database/triggers/'+ | '/project/$ref/storage/analytics/'+ | '/project/$ref/storage/files/'+ | '/project/$ref/storage/vectors/'| '/api/platform/organizations/$slug/billing/subscription'| '/api/platform/projects/$ref/analytics/log-drains'| '/api/platform/projects/$ref/api-keys/temporary'@@ -1761,6 +2654,10 @@ export interface FileRouteTypes {| '/api/v1/projects/$ref/api-keys/$id'| '/api/v1/projects/$ref/database/migrations'| '/api/v1/projects/$ref/types/typescript'+ | '/project/$ref/database/replication/replica/$replicaId'+ | '/project/$ref/storage/analytics/buckets/$bucketId'+ | '/project/$ref/storage/files/buckets/$bucketId'+ | '/project/$ref/storage/vectors/buckets/$bucketId'| '/api/platform/auth/$ref/users/'| '/api/platform/pg-meta/$ref/query/'| '/api/platform/projects/$ref/config/'@@ -1796,17 +2693,17 @@ export interface FileRouteTypes {fileRoutesById: FileRoutesById}export interface RootRouteChildren {- AppAccountRoute: typeof AppAccountRouteWithChildren- AppOrgRoute: typeof AppOrgRouteWithChildren- AppOrganizationsRoute: typeof AppOrganizationsRoute- AuthForgotPasswordRoute: typeof AuthForgotPasswordRoute- AuthForgotPasswordMfaRoute: typeof AuthForgotPasswordMfaRoute- AuthResetPasswordRoute: typeof AuthResetPasswordRoute- AuthSignInRoute: typeof AuthSignInRoute- AuthSignInMfaRoute: typeof AuthSignInMfaRoute- AuthSignInPartnerRoute: typeof AuthSignInPartnerRoute- AuthSignInSsoRoute: typeof AuthSignInSsoRoute- AuthSignUpRoute: typeof AuthSignUpRoute+ IndexRoute: typeof IndexRoute+ AppRoute: typeof AppRouteWithChildren+ AuthRoute: typeof AuthRouteWithChildren+ AuthorizeRoute: typeof AuthorizeRoute+ AwsMarketplaceOnboardingRoute: typeof AwsMarketplaceOnboardingRoute+ ClaimProjectRoute: typeof ClaimProjectRoute+ JoinRoute: typeof JoinRoute+ LogoutRoute: typeof LogoutRoute+ MaintenanceRoute: typeof MaintenanceRoute+ RedeemRoute: typeof RedeemRoute+ VerifyEmailRoute: typeof VerifyEmailRouteApiCheckCnameRoute: typeof ApiCheckCnameRouteApiCliReleaseVersionRoute: typeof ApiCliReleaseVersionRouteApiEnabledFeaturesOverridesRoute: typeof ApiEnabledFeaturesOverridesRoute@@ -1819,15 +2716,17 @@ export interface RootRouteChildren {ApiIncidentStatusRoute: typeof ApiIncidentStatusRouteApiParseQueryRoute: typeof ApiParseQueryRouteApiStatusOverrideRoute: typeof ApiStatusOverrideRoute- AppSupportLinkRoute: typeof AppSupportLinkRoute- AppSupportNewRoute: typeof AppSupportNewRoute- AuthCliLoginRoute: typeof AuthCliLoginRoute+ IntegrationsVercelRoute: typeof IntegrationsVercelRouteWithChildren+ NewSlugRoute: typeof NewSlugRoute+ OrgChar91_Char93Route: typeof OrgChar91_Char93RouteWithChildren+ ProjectRefRoute: typeof ProjectRefRouteWithChildren+ ProjectChar91_Char93Route: typeof ProjectChar91_Char93RouteWithChildrenApiAiDocsRoute: typeof ApiAiDocsRouteApiContentGraphqlRoute: typeof ApiContentGraphqlRouteApiEdgeFunctionsTestRoute: typeof ApiEdgeFunctionsTestRouteApiIntegrationsStripeSyncRoute: typeof ApiIntegrationsStripeSyncRouteApiPlatformDeploymentModeRoute: typeof ApiPlatformDeploymentModeRoute- AppNewIndexRoute: typeof AppNewIndexRoute+ IntegrationsGithubAuthorizeRoute: typeof IntegrationsGithubAuthorizeRouteApiConnectIndexRoute: typeof ApiConnectIndexRouteApiMcpIndexRoute: typeof ApiMcpIndexRouteApiAiCodeCompleteRoute: typeof ApiAiCodeCompleteRoute@@ -1846,7 +2745,6 @@ export interface RootRouteChildren {ApiPlatformOrganizationsIndexRoute: typeof ApiPlatformOrganizationsIndexRouteApiPlatformProfileIndexRoute: typeof ApiPlatformProfileIndexRouteApiPlatformProjectsIndexRoute: typeof ApiPlatformProjectsIndexRoute- AuthPartnersStripeProjectsLoginRoute: typeof AuthPartnersStripeProjectsLoginRouteApiPlatformAuthRefInviteRoute: typeof ApiPlatformAuthRefInviteRouteApiPlatformAuthRefMagiclinkRoute: typeof ApiPlatformAuthRefMagiclinkRouteApiPlatformAuthRefOtpRoute: typeof ApiPlatformAuthRefOtpRoute@@ -1918,6 +2816,118 @@ export interface RootRouteChildren {declare module '@tanstack/react-router' {interface FileRoutesByPath {+ '/verify-email': {+ id: '/verify-email'+ path: '/verify-email'+ fullPath: '/verify-email'+ preLoaderRoute: typeof VerifyEmailRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/redeem': {+ id: '/redeem'+ path: '/redeem'+ fullPath: '/redeem'+ preLoaderRoute: typeof RedeemRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/maintenance': {+ id: '/maintenance'+ path: '/maintenance'+ fullPath: '/maintenance'+ preLoaderRoute: typeof MaintenanceRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/logout': {+ id: '/logout'+ path: '/logout'+ fullPath: '/logout'+ preLoaderRoute: typeof LogoutRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/join': {+ id: '/join'+ path: '/join'+ fullPath: '/join'+ preLoaderRoute: typeof JoinRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/claim-project': {+ id: '/claim-project'+ path: '/claim-project'+ fullPath: '/claim-project'+ preLoaderRoute: typeof ClaimProjectRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/aws-marketplace-onboarding': {+ id: '/aws-marketplace-onboarding'+ path: '/aws-marketplace-onboarding'+ fullPath: '/aws-marketplace-onboarding'+ preLoaderRoute: typeof AwsMarketplaceOnboardingRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/authorize': {+ id: '/authorize'+ path: '/authorize'+ fullPath: '/authorize'+ preLoaderRoute: typeof AuthorizeRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/_auth': {+ id: '/_auth'+ path: ''+ fullPath: '/'+ preLoaderRoute: typeof AuthRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/_app': {+ id: '/_app'+ path: ''+ fullPath: '/'+ preLoaderRoute: typeof AppRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/': {+ id: '/'+ path: '/'+ fullPath: '/'+ preLoaderRoute: typeof IndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/project/_': {+ id: '/project/_'+ path: '/project/_'+ fullPath: '/project/_'+ preLoaderRoute: typeof ProjectChar91_Char93RouteImport+ parentRoute: typeof rootRouteImport+ }+ '/project/$ref': {+ id: '/project/$ref'+ path: '/project/$ref'+ fullPath: '/project/$ref'+ preLoaderRoute: typeof ProjectRefRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/org/_': {+ id: '/org/_'+ path: '/org/_'+ fullPath: '/org/_'+ preLoaderRoute: typeof OrgChar91_Char93RouteImport+ parentRoute: typeof rootRouteImport+ }+ '/new/$slug': {+ id: '/new/$slug'+ path: '/new/$slug'+ fullPath: '/new/$slug'+ preLoaderRoute: typeof NewSlugRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/integrations/vercel': {+ id: '/integrations/vercel'+ path: '/integrations/vercel'+ fullPath: '/integrations/vercel'+ preLoaderRoute: typeof IntegrationsVercelRouteImport+ parentRoute: typeof rootRouteImport+ }'/api/status-override': {id: '/api/status-override'path: '/api/status-override'@@ -2007,77 +3017,77 @@ declare module '@tanstack/react-router' {path: '/sign-up'fullPath: '/sign-up'preLoaderRoute: typeof AuthSignUpRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/sign-in-sso': {id: '/_auth/sign-in-sso'path: '/sign-in-sso'fullPath: '/sign-in-sso'preLoaderRoute: typeof AuthSignInSsoRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/sign-in-partner': {id: '/_auth/sign-in-partner'path: '/sign-in-partner'fullPath: '/sign-in-partner'preLoaderRoute: typeof AuthSignInPartnerRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/sign-in-mfa': {id: '/_auth/sign-in-mfa'path: '/sign-in-mfa'fullPath: '/sign-in-mfa'preLoaderRoute: typeof AuthSignInMfaRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/sign-in': {id: '/_auth/sign-in'path: '/sign-in'fullPath: '/sign-in'preLoaderRoute: typeof AuthSignInRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/reset-password': {id: '/_auth/reset-password'path: '/reset-password'fullPath: '/reset-password'preLoaderRoute: typeof AuthResetPasswordRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/forgot-password-mfa': {id: '/_auth/forgot-password-mfa'path: '/forgot-password-mfa'fullPath: '/forgot-password-mfa'preLoaderRoute: typeof AuthForgotPasswordMfaRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_auth/forgot-password': {id: '/_auth/forgot-password'path: '/forgot-password'fullPath: '/forgot-password'preLoaderRoute: typeof AuthForgotPasswordRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_app/organizations': {id: '/_app/organizations'path: '/organizations'fullPath: '/organizations'preLoaderRoute: typeof AppOrganizationsRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AppRoute}'/_app/org': {id: '/_app/org'path: '/org'fullPath: '/org'preLoaderRoute: typeof AppOrgRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AppRoute}'/_app/account': {id: '/_app/account'path: '/account'fullPath: '/account'preLoaderRoute: typeof AppAccountRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AppRoute}'/api/mcp/': {id: '/api/mcp/'@@ -2105,6 +3115,83 @@ declare module '@tanstack/react-router' {path: '/new'fullPath: '/new/'preLoaderRoute: typeof AppNewIndexRouteImport+ parentRoute: typeof AppRoute+ }+ '/project/_/$': {+ id: '/project/_/$'+ path: '/$'+ fullPath: '/project/_/$'+ preLoaderRoute: typeof ProjectChar91_Char93SplatRouteImport+ parentRoute: typeof ProjectChar91_Char93Route+ }+ '/project/$ref/storage': {+ id: '/project/$ref/storage'+ path: '/storage'+ fullPath: '/project/$ref/storage'+ preLoaderRoute: typeof ProjectRefStorageRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/project/$ref/sql': {+ id: '/project/$ref/sql'+ path: '/sql'+ fullPath: '/project/$ref/sql'+ preLoaderRoute: typeof ProjectRefSqlRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/project/$ref/realtime': {+ id: '/project/$ref/realtime'+ path: '/realtime'+ fullPath: '/project/$ref/realtime'+ preLoaderRoute: typeof ProjectRefRealtimeRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/project/$ref/merge': {+ id: '/project/$ref/merge'+ path: '/merge'+ fullPath: '/project/$ref/merge'+ preLoaderRoute: typeof ProjectRefMergeRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/project/$ref/editor': {+ id: '/project/$ref/editor'+ path: '/editor'+ fullPath: '/project/$ref/editor'+ preLoaderRoute: typeof ProjectRefEditorRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/project/$ref/database': {+ id: '/project/$ref/database'+ path: '/database'+ fullPath: '/project/$ref/database'+ preLoaderRoute: typeof ProjectRefDatabaseRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/project/$ref/branches': {+ id: '/project/$ref/branches'+ path: '/branches'+ fullPath: '/project/$ref/branches'+ preLoaderRoute: typeof ProjectRefBranchesRouteImport+ parentRoute: typeof ProjectRefRoute+ }+ '/org/_/$': {+ id: '/org/_/$'+ path: '/$'+ fullPath: '/org/_/$'+ preLoaderRoute: typeof OrgChar91_Char93SplatRouteImport+ parentRoute: typeof OrgChar91_Char93Route+ }+ '/integrations/vercel/install': {+ id: '/integrations/vercel/install'+ path: '/install'+ fullPath: '/integrations/vercel/install'+ preLoaderRoute: typeof IntegrationsVercelInstallRouteImport+ parentRoute: typeof IntegrationsVercelRoute+ }+ '/integrations/github/authorize': {+ id: '/integrations/github/authorize'+ path: '/integrations/github/authorize'+ fullPath: '/integrations/github/authorize'+ preLoaderRoute: typeof IntegrationsGithubAuthorizeRouteImportparentRoute: typeof rootRouteImport}'/api/platform/deployment-mode': {@@ -2147,21 +3234,21 @@ declare module '@tanstack/react-router' {path: '/cli/login'fullPath: '/cli/login'preLoaderRoute: typeof AuthCliLoginRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_app/support/new': {id: '/_app/support/new'path: '/support/new'fullPath: '/support/new'preLoaderRoute: typeof AppSupportNewRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AppRoute}'/_app/support/link': {id: '/_app/support/link'path: '/support/link'fullPath: '/support/link'preLoaderRoute: typeof AppSupportLinkRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AppRoute}'/_app/account/security': {id: '/_app/account/security'@@ -2184,6 +3271,27 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountAuditRouteImportparentRoute: typeof AppAccountRoute}+ '/project/$ref/sql/': {+ id: '/project/$ref/sql/'+ path: '/'+ fullPath: '/project/$ref/sql/'+ preLoaderRoute: typeof ProjectRefSqlIndexRouteImport+ parentRoute: typeof ProjectRefSqlRoute+ }+ '/project/$ref/editor/': {+ id: '/project/$ref/editor/'+ path: '/'+ fullPath: '/project/$ref/editor/'+ preLoaderRoute: typeof ProjectRefEditorIndexRouteImport+ parentRoute: typeof ProjectRefEditorRoute+ }+ '/project/$ref/branches/': {+ id: '/project/$ref/branches/'+ path: '/'+ fullPath: '/project/$ref/branches/'+ preLoaderRoute: typeof ProjectRefBranchesIndexRouteImport+ parentRoute: typeof ProjectRefBranchesRoute+ }'/api/platform/projects/': {id: '/api/platform/projects/'path: '/api/platform/projects'@@ -2219,6 +3327,146 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountTokensIndexRouteImportparentRoute: typeof AppAccountRoute}+ '/project/$ref/storage/s3': {+ id: '/project/$ref/storage/s3'+ path: '/s3'+ fullPath: '/project/$ref/storage/s3'+ preLoaderRoute: typeof ProjectRefStorageS3RouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/sql/templates': {+ id: '/project/$ref/sql/templates'+ path: '/templates'+ fullPath: '/project/$ref/sql/templates'+ preLoaderRoute: typeof ProjectRefSqlTemplatesRouteImport+ parentRoute: typeof ProjectRefSqlRoute+ }+ '/project/$ref/sql/examples': {+ id: '/project/$ref/sql/examples'+ path: '/examples'+ fullPath: '/project/$ref/sql/examples'+ preLoaderRoute: typeof ProjectRefSqlExamplesRouteImport+ parentRoute: typeof ProjectRefSqlRoute+ }+ '/project/$ref/sql/$id': {+ id: '/project/$ref/sql/$id'+ path: '/$id'+ fullPath: '/project/$ref/sql/$id'+ preLoaderRoute: typeof ProjectRefSqlIdRouteImport+ parentRoute: typeof ProjectRefSqlRoute+ }+ '/project/$ref/realtime/settings': {+ id: '/project/$ref/realtime/settings'+ path: '/settings'+ fullPath: '/project/$ref/realtime/settings'+ preLoaderRoute: typeof ProjectRefRealtimeSettingsRouteImport+ parentRoute: typeof ProjectRefRealtimeRoute+ }+ '/project/$ref/realtime/policies': {+ id: '/project/$ref/realtime/policies'+ path: '/policies'+ fullPath: '/project/$ref/realtime/policies'+ preLoaderRoute: typeof ProjectRefRealtimePoliciesRouteImport+ parentRoute: typeof ProjectRefRealtimeRoute+ }+ '/project/$ref/realtime/inspector': {+ id: '/project/$ref/realtime/inspector'+ path: '/inspector'+ fullPath: '/project/$ref/realtime/inspector'+ preLoaderRoute: typeof ProjectRefRealtimeInspectorRouteImport+ parentRoute: typeof ProjectRefRealtimeRoute+ }+ '/project/$ref/editor/new': {+ id: '/project/$ref/editor/new'+ path: '/new'+ fullPath: '/project/$ref/editor/new'+ preLoaderRoute: typeof ProjectRefEditorNewRouteImport+ parentRoute: typeof ProjectRefEditorRoute+ }+ '/project/$ref/editor/$id': {+ id: '/project/$ref/editor/$id'+ path: '/$id'+ fullPath: '/project/$ref/editor/$id'+ preLoaderRoute: typeof ProjectRefEditorIdRouteImport+ parentRoute: typeof ProjectRefEditorRoute+ }+ '/project/$ref/database/types': {+ id: '/project/$ref/database/types'+ path: '/types'+ fullPath: '/project/$ref/database/types'+ preLoaderRoute: typeof ProjectRefDatabaseTypesRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/triggers': {+ id: '/project/$ref/database/triggers'+ path: '/triggers'+ fullPath: '/project/$ref/database/triggers'+ preLoaderRoute: typeof ProjectRefDatabaseTriggersRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/settings': {+ id: '/project/$ref/database/settings'+ path: '/settings'+ fullPath: '/project/$ref/database/settings'+ preLoaderRoute: typeof ProjectRefDatabaseSettingsRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/schemas': {+ id: '/project/$ref/database/schemas'+ path: '/schemas'+ fullPath: '/project/$ref/database/schemas'+ preLoaderRoute: typeof ProjectRefDatabaseSchemasRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/roles': {+ id: '/project/$ref/database/roles'+ path: '/roles'+ fullPath: '/project/$ref/database/roles'+ preLoaderRoute: typeof ProjectRefDatabaseRolesRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/migrations': {+ id: '/project/$ref/database/migrations'+ path: '/migrations'+ fullPath: '/project/$ref/database/migrations'+ preLoaderRoute: typeof ProjectRefDatabaseMigrationsRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/indexes': {+ id: '/project/$ref/database/indexes'+ path: '/indexes'+ fullPath: '/project/$ref/database/indexes'+ preLoaderRoute: typeof ProjectRefDatabaseIndexesRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/functions': {+ id: '/project/$ref/database/functions'+ path: '/functions'+ fullPath: '/project/$ref/database/functions'+ preLoaderRoute: typeof ProjectRefDatabaseFunctionsRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/extensions': {+ id: '/project/$ref/database/extensions'+ path: '/extensions'+ fullPath: '/project/$ref/database/extensions'+ preLoaderRoute: typeof ProjectRefDatabaseExtensionsRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/column-privileges': {+ id: '/project/$ref/database/column-privileges'+ path: '/column-privileges'+ fullPath: '/project/$ref/database/column-privileges'+ preLoaderRoute: typeof ProjectRefDatabaseColumnPrivilegesRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/branches/merge-requests': {+ id: '/project/$ref/branches/merge-requests'+ path: '/merge-requests'+ fullPath: '/project/$ref/branches/merge-requests'+ preLoaderRoute: typeof ProjectRefBranchesMergeRequestsRouteImport+ parentRoute: typeof ProjectRefBranchesRoute+ }'/api/platform/telemetry/event': {id: '/api/platform/telemetry/event'path: '/api/platform/telemetry/event'@@ -2394,6 +3642,55 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountTokensScopedRouteImportparentRoute: typeof AppAccountRoute}+ '/project/$ref/storage/vectors/': {+ id: '/project/$ref/storage/vectors/'+ path: '/vectors'+ fullPath: '/project/$ref/storage/vectors/'+ preLoaderRoute: typeof ProjectRefStorageVectorsIndexRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/storage/files/': {+ id: '/project/$ref/storage/files/'+ path: '/files'+ fullPath: '/project/$ref/storage/files/'+ preLoaderRoute: typeof ProjectRefStorageFilesIndexRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/storage/analytics/': {+ id: '/project/$ref/storage/analytics/'+ path: '/analytics'+ fullPath: '/project/$ref/storage/analytics/'+ preLoaderRoute: typeof ProjectRefStorageAnalyticsIndexRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/database/triggers/': {+ id: '/project/$ref/database/triggers/'+ path: '/'+ fullPath: '/project/$ref/database/triggers/'+ preLoaderRoute: typeof ProjectRefDatabaseTriggersIndexRouteImport+ parentRoute: typeof ProjectRefDatabaseTriggersRoute+ }+ '/project/$ref/database/tables/': {+ id: '/project/$ref/database/tables/'+ path: '/tables'+ fullPath: '/project/$ref/database/tables/'+ preLoaderRoute: typeof ProjectRefDatabaseTablesIndexRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/replication/': {+ id: '/project/$ref/database/replication/'+ path: '/replication'+ fullPath: '/project/$ref/database/replication/'+ preLoaderRoute: typeof ProjectRefDatabaseReplicationIndexRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/publications/': {+ id: '/project/$ref/database/publications/'+ path: '/publications'+ fullPath: '/project/$ref/database/publications/'+ preLoaderRoute: typeof ProjectRefDatabasePublicationsIndexRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }'/api/platform/projects/$ref/': {id: '/api/platform/projects/$ref/'path: '/api/platform/projects/$ref'@@ -2415,6 +3712,90 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppOrgSlugPrivateAppsIndexRouteImportparentRoute: typeof AppOrgRoute}+ '/project/$ref/storage/files/settings': {+ id: '/project/$ref/storage/files/settings'+ path: '/files/settings'+ fullPath: '/project/$ref/storage/files/settings'+ preLoaderRoute: typeof ProjectRefStorageFilesSettingsRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/storage/files/policies': {+ id: '/project/$ref/storage/files/policies'+ path: '/files/policies'+ fullPath: '/project/$ref/storage/files/policies'+ preLoaderRoute: typeof ProjectRefStorageFilesPoliciesRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/database/triggers/event': {+ id: '/project/$ref/database/triggers/event'+ path: '/event'+ fullPath: '/project/$ref/database/triggers/event'+ preLoaderRoute: typeof ProjectRefDatabaseTriggersEventRouteImport+ parentRoute: typeof ProjectRefDatabaseTriggersRoute+ }+ '/project/$ref/database/triggers/data': {+ id: '/project/$ref/database/triggers/data'+ path: '/data'+ fullPath: '/project/$ref/database/triggers/data'+ preLoaderRoute: typeof ProjectRefDatabaseTriggersDataRouteImport+ parentRoute: typeof ProjectRefDatabaseTriggersRoute+ }+ '/project/$ref/database/tables/$id': {+ id: '/project/$ref/database/tables/$id'+ path: '/tables/$id'+ fullPath: '/project/$ref/database/tables/$id'+ preLoaderRoute: typeof ProjectRefDatabaseTablesIdRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/replication/$pipelineId': {+ id: '/project/$ref/database/replication/$pipelineId'+ path: '/replication/$pipelineId'+ fullPath: '/project/$ref/database/replication/$pipelineId'+ preLoaderRoute: typeof ProjectRefDatabaseReplicationPipelineIdRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/publications/$id': {+ id: '/project/$ref/database/publications/$id'+ path: '/publications/$id'+ fullPath: '/project/$ref/database/publications/$id'+ preLoaderRoute: typeof ProjectRefDatabasePublicationsIdRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/backups/scheduled': {+ id: '/project/$ref/database/backups/scheduled'+ path: '/backups/scheduled'+ fullPath: '/project/$ref/database/backups/scheduled'+ preLoaderRoute: typeof ProjectRefDatabaseBackupsScheduledRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/backups/restore-to-new-project': {+ id: '/project/$ref/database/backups/restore-to-new-project'+ path: '/backups/restore-to-new-project'+ fullPath: '/project/$ref/database/backups/restore-to-new-project'+ preLoaderRoute: typeof ProjectRefDatabaseBackupsRestoreToNewProjectRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/project/$ref/database/backups/pitr': {+ id: '/project/$ref/database/backups/pitr'+ path: '/backups/pitr'+ fullPath: '/project/$ref/database/backups/pitr'+ preLoaderRoute: typeof ProjectRefDatabaseBackupsPitrRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }+ '/integrations/vercel/$slug/marketplace/choose-project': {+ id: '/integrations/vercel/$slug/marketplace/choose-project'+ path: '/$slug/marketplace/choose-project'+ fullPath: '/integrations/vercel/$slug/marketplace/choose-project'+ preLoaderRoute: typeof IntegrationsVercelSlugMarketplaceChooseProjectRouteImport+ parentRoute: typeof IntegrationsVercelRoute+ }+ '/integrations/vercel/$slug/deploy-button/new-project': {+ id: '/integrations/vercel/$slug/deploy-button/new-project'+ path: '/$slug/deploy-button/new-project'+ fullPath: '/integrations/vercel/$slug/deploy-button/new-project'+ preLoaderRoute: typeof IntegrationsVercelSlugDeployButtonNewProjectRouteImport+ parentRoute: typeof IntegrationsVercelRoute+ }'/api/v1/projects/$ref/api-keys': {id: '/api/v1/projects/$ref/api-keys'path: '/api/v1/projects/$ref/api-keys'@@ -2588,7 +3969,7 @@ declare module '@tanstack/react-router' {path: '/partners/stripe/projects/login'fullPath: '/partners/stripe/projects/login'preLoaderRoute: typeof AuthPartnersStripeProjectsLoginRouteImport- parentRoute: typeof rootRouteImport+ parentRoute: typeof AuthRoute}'/_app/org/$slug/webhooks/$endpointId': {id: '/_app/org/$slug/webhooks/$endpointId'@@ -2653,6 +4034,34 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof ApiPlatformAuthRefUsersIndexRouteImportparentRoute: typeof rootRouteImport}+ '/project/$ref/storage/vectors/buckets/$bucketId': {+ id: '/project/$ref/storage/vectors/buckets/$bucketId'+ path: '/vectors/buckets/$bucketId'+ fullPath: '/project/$ref/storage/vectors/buckets/$bucketId'+ preLoaderRoute: typeof ProjectRefStorageVectorsBucketsBucketIdRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/storage/files/buckets/$bucketId': {+ id: '/project/$ref/storage/files/buckets/$bucketId'+ path: '/files/buckets/$bucketId'+ fullPath: '/project/$ref/storage/files/buckets/$bucketId'+ preLoaderRoute: typeof ProjectRefStorageFilesBucketsBucketIdRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/storage/analytics/buckets/$bucketId': {+ id: '/project/$ref/storage/analytics/buckets/$bucketId'+ path: '/analytics/buckets/$bucketId'+ fullPath: '/project/$ref/storage/analytics/buckets/$bucketId'+ preLoaderRoute: typeof ProjectRefStorageAnalyticsBucketsBucketIdRouteImport+ parentRoute: typeof ProjectRefStorageRoute+ }+ '/project/$ref/database/replication/replica/$replicaId': {+ id: '/project/$ref/database/replication/replica/$replicaId'+ path: '/replication/replica/$replicaId'+ fullPath: '/project/$ref/database/replication/replica/$replicaId'+ preLoaderRoute: typeof ProjectRefDatabaseReplicationReplicaReplicaIdRouteImport+ parentRoute: typeof ProjectRefDatabaseRoute+ }'/api/v1/projects/$ref/types/typescript': {id: '/api/v1/projects/$ref/types/typescript'path: '/api/v1/projects/$ref/types/typescript'@@ -2969,6 +4378,282 @@ const AppOrgRouteChildren: AppOrgRouteChildren = {const AppOrgRouteWithChildren =AppOrgRoute._addFileChildren(AppOrgRouteChildren)+interface AppRouteChildren {+ AppAccountRoute: typeof AppAccountRouteWithChildren+ AppOrgRoute: typeof AppOrgRouteWithChildren+ AppOrganizationsRoute: typeof AppOrganizationsRoute+ AppSupportLinkRoute: typeof AppSupportLinkRoute+ AppSupportNewRoute: typeof AppSupportNewRoute+ AppNewIndexRoute: typeof AppNewIndexRoute+}++const AppRouteChildren: AppRouteChildren = {+ AppAccountRoute: AppAccountRouteWithChildren,+ AppOrgRoute: AppOrgRouteWithChildren,+ AppOrganizationsRoute: AppOrganizationsRoute,+ AppSupportLinkRoute: AppSupportLinkRoute,+ AppSupportNewRoute: AppSupportNewRoute,+ AppNewIndexRoute: AppNewIndexRoute,+}++const AppRouteWithChildren = AppRoute._addFileChildren(AppRouteChildren)++interface AuthRouteChildren {+ AuthForgotPasswordRoute: typeof AuthForgotPasswordRoute+ AuthForgotPasswordMfaRoute: typeof AuthForgotPasswordMfaRoute+ AuthResetPasswordRoute: typeof AuthResetPasswordRoute+ AuthSignInRoute: typeof AuthSignInRoute+ AuthSignInMfaRoute: typeof AuthSignInMfaRoute+ AuthSignInPartnerRoute: typeof AuthSignInPartnerRoute+ AuthSignInSsoRoute: typeof AuthSignInSsoRoute+ AuthSignUpRoute: typeof AuthSignUpRoute+ AuthCliLoginRoute: typeof AuthCliLoginRoute+ AuthPartnersStripeProjectsLoginRoute: typeof AuthPartnersStripeProjectsLoginRoute+}++const AuthRouteChildren: AuthRouteChildren = {+ AuthForgotPasswordRoute: AuthForgotPasswordRoute,+ AuthForgotPasswordMfaRoute: AuthForgotPasswordMfaRoute,+ AuthResetPasswordRoute: AuthResetPasswordRoute,+ AuthSignInRoute: AuthSignInRoute,+ AuthSignInMfaRoute: AuthSignInMfaRoute,+ AuthSignInPartnerRoute: AuthSignInPartnerRoute,+ AuthSignInSsoRoute: AuthSignInSsoRoute,+ AuthSignUpRoute: AuthSignUpRoute,+ AuthCliLoginRoute: AuthCliLoginRoute,+ AuthPartnersStripeProjectsLoginRoute: AuthPartnersStripeProjectsLoginRoute,+}++const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren)++interface IntegrationsVercelRouteChildren {+ IntegrationsVercelInstallRoute: typeof IntegrationsVercelInstallRoute+ IntegrationsVercelSlugDeployButtonNewProjectRoute: typeof IntegrationsVercelSlugDeployButtonNewProjectRoute+ IntegrationsVercelSlugMarketplaceChooseProjectRoute: typeof IntegrationsVercelSlugMarketplaceChooseProjectRoute+}++const IntegrationsVercelRouteChildren: IntegrationsVercelRouteChildren = {+ IntegrationsVercelInstallRoute: IntegrationsVercelInstallRoute,+ IntegrationsVercelSlugDeployButtonNewProjectRoute:+ IntegrationsVercelSlugDeployButtonNewProjectRoute,+ IntegrationsVercelSlugMarketplaceChooseProjectRoute:+ IntegrationsVercelSlugMarketplaceChooseProjectRoute,+}++const IntegrationsVercelRouteWithChildren =+ IntegrationsVercelRoute._addFileChildren(IntegrationsVercelRouteChildren)++interface OrgChar91_Char93RouteChildren {+ OrgChar91_Char93SplatRoute: typeof OrgChar91_Char93SplatRoute+}++const OrgChar91_Char93RouteChildren: OrgChar91_Char93RouteChildren = {+ OrgChar91_Char93SplatRoute: OrgChar91_Char93SplatRoute,+}++const OrgChar91_Char93RouteWithChildren =+ OrgChar91_Char93Route._addFileChildren(OrgChar91_Char93RouteChildren)++interface ProjectRefBranchesRouteChildren {+ ProjectRefBranchesMergeRequestsRoute: typeof ProjectRefBranchesMergeRequestsRoute+ ProjectRefBranchesIndexRoute: typeof ProjectRefBranchesIndexRoute+}++const ProjectRefBranchesRouteChildren: ProjectRefBranchesRouteChildren = {+ ProjectRefBranchesMergeRequestsRoute: ProjectRefBranchesMergeRequestsRoute,+ ProjectRefBranchesIndexRoute: ProjectRefBranchesIndexRoute,+}++const ProjectRefBranchesRouteWithChildren =+ ProjectRefBranchesRoute._addFileChildren(ProjectRefBranchesRouteChildren)++interface ProjectRefDatabaseTriggersRouteChildren {+ ProjectRefDatabaseTriggersDataRoute: typeof ProjectRefDatabaseTriggersDataRoute+ ProjectRefDatabaseTriggersEventRoute: typeof ProjectRefDatabaseTriggersEventRoute+ ProjectRefDatabaseTriggersIndexRoute: typeof ProjectRefDatabaseTriggersIndexRoute+}++const ProjectRefDatabaseTriggersRouteChildren: ProjectRefDatabaseTriggersRouteChildren =+ {+ ProjectRefDatabaseTriggersDataRoute: ProjectRefDatabaseTriggersDataRoute,+ ProjectRefDatabaseTriggersEventRoute: ProjectRefDatabaseTriggersEventRoute,+ ProjectRefDatabaseTriggersIndexRoute: ProjectRefDatabaseTriggersIndexRoute,+ }++const ProjectRefDatabaseTriggersRouteWithChildren =+ ProjectRefDatabaseTriggersRoute._addFileChildren(+ ProjectRefDatabaseTriggersRouteChildren,+ )++interface ProjectRefDatabaseRouteChildren {+ ProjectRefDatabaseColumnPrivilegesRoute: typeof ProjectRefDatabaseColumnPrivilegesRoute+ ProjectRefDatabaseExtensionsRoute: typeof ProjectRefDatabaseExtensionsRoute+ ProjectRefDatabaseFunctionsRoute: typeof ProjectRefDatabaseFunctionsRoute+ ProjectRefDatabaseIndexesRoute: typeof ProjectRefDatabaseIndexesRoute+ ProjectRefDatabaseMigrationsRoute: typeof ProjectRefDatabaseMigrationsRoute+ ProjectRefDatabaseRolesRoute: typeof ProjectRefDatabaseRolesRoute+ ProjectRefDatabaseSchemasRoute: typeof ProjectRefDatabaseSchemasRoute+ ProjectRefDatabaseSettingsRoute: typeof ProjectRefDatabaseSettingsRoute+ ProjectRefDatabaseTriggersRoute: typeof ProjectRefDatabaseTriggersRouteWithChildren+ ProjectRefDatabaseTypesRoute: typeof ProjectRefDatabaseTypesRoute+ ProjectRefDatabaseBackupsPitrRoute: typeof ProjectRefDatabaseBackupsPitrRoute+ ProjectRefDatabaseBackupsRestoreToNewProjectRoute: typeof ProjectRefDatabaseBackupsRestoreToNewProjectRoute+ ProjectRefDatabaseBackupsScheduledRoute: typeof ProjectRefDatabaseBackupsScheduledRoute+ ProjectRefDatabasePublicationsIdRoute: typeof ProjectRefDatabasePublicationsIdRoute+ ProjectRefDatabaseReplicationPipelineIdRoute: typeof ProjectRefDatabaseReplicationPipelineIdRoute+ ProjectRefDatabaseTablesIdRoute: typeof ProjectRefDatabaseTablesIdRoute+ ProjectRefDatabasePublicationsIndexRoute: typeof ProjectRefDatabasePublicationsIndexRoute+ ProjectRefDatabaseReplicationIndexRoute: typeof ProjectRefDatabaseReplicationIndexRoute+ ProjectRefDatabaseTablesIndexRoute: typeof ProjectRefDatabaseTablesIndexRoute+ ProjectRefDatabaseReplicationReplicaReplicaIdRoute: typeof ProjectRefDatabaseReplicationReplicaReplicaIdRoute+}++const ProjectRefDatabaseRouteChildren: ProjectRefDatabaseRouteChildren = {+ ProjectRefDatabaseColumnPrivilegesRoute:+ ProjectRefDatabaseColumnPrivilegesRoute,+ ProjectRefDatabaseExtensionsRoute: ProjectRefDatabaseExtensionsRoute,+ ProjectRefDatabaseFunctionsRoute: ProjectRefDatabaseFunctionsRoute,+ ProjectRefDatabaseIndexesRoute: ProjectRefDatabaseIndexesRoute,+ ProjectRefDatabaseMigrationsRoute: ProjectRefDatabaseMigrationsRoute,+ ProjectRefDatabaseRolesRoute: ProjectRefDatabaseRolesRoute,+ ProjectRefDatabaseSchemasRoute: ProjectRefDatabaseSchemasRoute,+ ProjectRefDatabaseSettingsRoute: ProjectRefDatabaseSettingsRoute,+ ProjectRefDatabaseTriggersRoute: ProjectRefDatabaseTriggersRouteWithChildren,+ ProjectRefDatabaseTypesRoute: ProjectRefDatabaseTypesRoute,+ ProjectRefDatabaseBackupsPitrRoute: ProjectRefDatabaseBackupsPitrRoute,+ ProjectRefDatabaseBackupsRestoreToNewProjectRoute:+ ProjectRefDatabaseBackupsRestoreToNewProjectRoute,+ ProjectRefDatabaseBackupsScheduledRoute:+ ProjectRefDatabaseBackupsScheduledRoute,+ ProjectRefDatabasePublicationsIdRoute: ProjectRefDatabasePublicationsIdRoute,+ ProjectRefDatabaseReplicationPipelineIdRoute:+ ProjectRefDatabaseReplicationPipelineIdRoute,+ ProjectRefDatabaseTablesIdRoute: ProjectRefDatabaseTablesIdRoute,+ ProjectRefDatabasePublicationsIndexRoute:+ ProjectRefDatabasePublicationsIndexRoute,+ ProjectRefDatabaseReplicationIndexRoute:+ ProjectRefDatabaseReplicationIndexRoute,+ ProjectRefDatabaseTablesIndexRoute: ProjectRefDatabaseTablesIndexRoute,+ ProjectRefDatabaseReplicationReplicaReplicaIdRoute:+ ProjectRefDatabaseReplicationReplicaReplicaIdRoute,+}++const ProjectRefDatabaseRouteWithChildren =+ ProjectRefDatabaseRoute._addFileChildren(ProjectRefDatabaseRouteChildren)++interface ProjectRefEditorRouteChildren {+ ProjectRefEditorIdRoute: typeof ProjectRefEditorIdRoute+ ProjectRefEditorNewRoute: typeof ProjectRefEditorNewRoute+ ProjectRefEditorIndexRoute: typeof ProjectRefEditorIndexRoute+}++const ProjectRefEditorRouteChildren: ProjectRefEditorRouteChildren = {+ ProjectRefEditorIdRoute: ProjectRefEditorIdRoute,+ ProjectRefEditorNewRoute: ProjectRefEditorNewRoute,+ ProjectRefEditorIndexRoute: ProjectRefEditorIndexRoute,+}++const ProjectRefEditorRouteWithChildren =+ ProjectRefEditorRoute._addFileChildren(ProjectRefEditorRouteChildren)++interface ProjectRefRealtimeRouteChildren {+ ProjectRefRealtimeInspectorRoute: typeof ProjectRefRealtimeInspectorRoute+ ProjectRefRealtimePoliciesRoute: typeof ProjectRefRealtimePoliciesRoute+ ProjectRefRealtimeSettingsRoute: typeof ProjectRefRealtimeSettingsRoute+}++const ProjectRefRealtimeRouteChildren: ProjectRefRealtimeRouteChildren = {+ ProjectRefRealtimeInspectorRoute: ProjectRefRealtimeInspectorRoute,+ ProjectRefRealtimePoliciesRoute: ProjectRefRealtimePoliciesRoute,+ ProjectRefRealtimeSettingsRoute: ProjectRefRealtimeSettingsRoute,+}++const ProjectRefRealtimeRouteWithChildren =+ ProjectRefRealtimeRoute._addFileChildren(ProjectRefRealtimeRouteChildren)++interface ProjectRefSqlRouteChildren {+ ProjectRefSqlIdRoute: typeof ProjectRefSqlIdRoute+ ProjectRefSqlExamplesRoute: typeof ProjectRefSqlExamplesRoute+ ProjectRefSqlTemplatesRoute: typeof ProjectRefSqlTemplatesRoute+ ProjectRefSqlIndexRoute: typeof ProjectRefSqlIndexRoute+}++const ProjectRefSqlRouteChildren: ProjectRefSqlRouteChildren = {+ ProjectRefSqlIdRoute: ProjectRefSqlIdRoute,+ ProjectRefSqlExamplesRoute: ProjectRefSqlExamplesRoute,+ ProjectRefSqlTemplatesRoute: ProjectRefSqlTemplatesRoute,+ ProjectRefSqlIndexRoute: ProjectRefSqlIndexRoute,+}++const ProjectRefSqlRouteWithChildren = ProjectRefSqlRoute._addFileChildren(+ ProjectRefSqlRouteChildren,+)++interface ProjectRefStorageRouteChildren {+ ProjectRefStorageS3Route: typeof ProjectRefStorageS3Route+ ProjectRefStorageFilesPoliciesRoute: typeof ProjectRefStorageFilesPoliciesRoute+ ProjectRefStorageFilesSettingsRoute: typeof ProjectRefStorageFilesSettingsRoute+ ProjectRefStorageAnalyticsIndexRoute: typeof ProjectRefStorageAnalyticsIndexRoute+ ProjectRefStorageFilesIndexRoute: typeof ProjectRefStorageFilesIndexRoute+ ProjectRefStorageVectorsIndexRoute: typeof ProjectRefStorageVectorsIndexRoute+ ProjectRefStorageAnalyticsBucketsBucketIdRoute: typeof ProjectRefStorageAnalyticsBucketsBucketIdRoute+ ProjectRefStorageFilesBucketsBucketIdRoute: typeof ProjectRefStorageFilesBucketsBucketIdRoute+ ProjectRefStorageVectorsBucketsBucketIdRoute: typeof ProjectRefStorageVectorsBucketsBucketIdRoute+}++const ProjectRefStorageRouteChildren: ProjectRefStorageRouteChildren = {+ ProjectRefStorageS3Route: ProjectRefStorageS3Route,+ ProjectRefStorageFilesPoliciesRoute: ProjectRefStorageFilesPoliciesRoute,+ ProjectRefStorageFilesSettingsRoute: ProjectRefStorageFilesSettingsRoute,+ ProjectRefStorageAnalyticsIndexRoute: ProjectRefStorageAnalyticsIndexRoute,+ ProjectRefStorageFilesIndexRoute: ProjectRefStorageFilesIndexRoute,+ ProjectRefStorageVectorsIndexRoute: ProjectRefStorageVectorsIndexRoute,+ ProjectRefStorageAnalyticsBucketsBucketIdRoute:+ ProjectRefStorageAnalyticsBucketsBucketIdRoute,+ ProjectRefStorageFilesBucketsBucketIdRoute:+ ProjectRefStorageFilesBucketsBucketIdRoute,+ ProjectRefStorageVectorsBucketsBucketIdRoute:+ ProjectRefStorageVectorsBucketsBucketIdRoute,+}++const ProjectRefStorageRouteWithChildren =+ ProjectRefStorageRoute._addFileChildren(ProjectRefStorageRouteChildren)++interface ProjectRefRouteChildren {+ ProjectRefBranchesRoute: typeof ProjectRefBranchesRouteWithChildren+ ProjectRefDatabaseRoute: typeof ProjectRefDatabaseRouteWithChildren+ ProjectRefEditorRoute: typeof ProjectRefEditorRouteWithChildren+ ProjectRefMergeRoute: typeof ProjectRefMergeRoute+ ProjectRefRealtimeRoute: typeof ProjectRefRealtimeRouteWithChildren+ ProjectRefSqlRoute: typeof ProjectRefSqlRouteWithChildren+ ProjectRefStorageRoute: typeof ProjectRefStorageRouteWithChildren+}++const ProjectRefRouteChildren: ProjectRefRouteChildren = {+ ProjectRefBranchesRoute: ProjectRefBranchesRouteWithChildren,+ ProjectRefDatabaseRoute: ProjectRefDatabaseRouteWithChildren,+ ProjectRefEditorRoute: ProjectRefEditorRouteWithChildren,+ ProjectRefMergeRoute: ProjectRefMergeRoute,+ ProjectRefRealtimeRoute: ProjectRefRealtimeRouteWithChildren,+ ProjectRefSqlRoute: ProjectRefSqlRouteWithChildren,+ ProjectRefStorageRoute: ProjectRefStorageRouteWithChildren,+}++const ProjectRefRouteWithChildren = ProjectRefRoute._addFileChildren(+ ProjectRefRouteChildren,+)++interface ProjectChar91_Char93RouteChildren {+ ProjectChar91_Char93SplatRoute: typeof ProjectChar91_Char93SplatRoute+}++const ProjectChar91_Char93RouteChildren: ProjectChar91_Char93RouteChildren = {+ ProjectChar91_Char93SplatRoute: ProjectChar91_Char93SplatRoute,+}++const ProjectChar91_Char93RouteWithChildren =+ ProjectChar91_Char93Route._addFileChildren(ProjectChar91_Char93RouteChildren)+interface ApiV1ProjectsRefApiKeysRouteChildren {ApiV1ProjectsRefApiKeysIdRoute: typeof ApiV1ProjectsRefApiKeysIdRoute}@@ -2999,17 +4684,17 @@ const ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren =)const rootRouteChildren: RootRouteChildren = {- AppAccountRoute: AppAccountRouteWithChildren,- AppOrgRoute: AppOrgRouteWithChildren,- AppOrganizationsRoute: AppOrganizationsRoute,- AuthForgotPasswordRoute: AuthForgotPasswordRoute,- AuthForgotPasswordMfaRoute: AuthForgotPasswordMfaRoute,- AuthResetPasswordRoute: AuthResetPasswordRoute,- AuthSignInRoute: AuthSignInRoute,- AuthSignInMfaRoute: AuthSignInMfaRoute,- AuthSignInPartnerRoute: AuthSignInPartnerRoute,- AuthSignInSsoRoute: AuthSignInSsoRoute,- AuthSignUpRoute: AuthSignUpRoute,+ IndexRoute: IndexRoute,+ AppRoute: AppRouteWithChildren,+ AuthRoute: AuthRouteWithChildren,+ AuthorizeRoute: AuthorizeRoute,+ AwsMarketplaceOnboardingRoute: AwsMarketplaceOnboardingRoute,+ ClaimProjectRoute: ClaimProjectRoute,+ JoinRoute: JoinRoute,+ LogoutRoute: LogoutRoute,+ MaintenanceRoute: MaintenanceRoute,+ RedeemRoute: RedeemRoute,+ VerifyEmailRoute: VerifyEmailRoute,ApiCheckCnameRoute: ApiCheckCnameRoute,ApiCliReleaseVersionRoute: ApiCliReleaseVersionRoute,ApiEnabledFeaturesOverridesRoute: ApiEnabledFeaturesOverridesRoute,@@ -3022,15 +4707,17 @@ const rootRouteChildren: RootRouteChildren = {ApiIncidentStatusRoute: ApiIncidentStatusRoute,ApiParseQueryRoute: ApiParseQueryRoute,ApiStatusOverrideRoute: ApiStatusOverrideRoute,- AppSupportLinkRoute: AppSupportLinkRoute,- AppSupportNewRoute: AppSupportNewRoute,- AuthCliLoginRoute: AuthCliLoginRoute,+ IntegrationsVercelRoute: IntegrationsVercelRouteWithChildren,+ NewSlugRoute: NewSlugRoute,+ OrgChar91_Char93Route: OrgChar91_Char93RouteWithChildren,+ ProjectRefRoute: ProjectRefRouteWithChildren,+ ProjectChar91_Char93Route: ProjectChar91_Char93RouteWithChildren,ApiAiDocsRoute: ApiAiDocsRoute,ApiContentGraphqlRoute: ApiContentGraphqlRoute,ApiEdgeFunctionsTestRoute: ApiEdgeFunctionsTestRoute,ApiIntegrationsStripeSyncRoute: ApiIntegrationsStripeSyncRoute,ApiPlatformDeploymentModeRoute: ApiPlatformDeploymentModeRoute,- AppNewIndexRoute: AppNewIndexRoute,+ IntegrationsGithubAuthorizeRoute: IntegrationsGithubAuthorizeRoute,ApiConnectIndexRoute: ApiConnectIndexRoute,ApiMcpIndexRoute: ApiMcpIndexRoute,ApiAiCodeCompleteRoute: ApiAiCodeCompleteRoute,@@ -3049,7 +4736,6 @@ const rootRouteChildren: RootRouteChildren = {ApiPlatformOrganizationsIndexRoute: ApiPlatformOrganizationsIndexRoute,ApiPlatformProfileIndexRoute: ApiPlatformProfileIndexRoute,ApiPlatformProjectsIndexRoute: ApiPlatformProjectsIndexRoute,- AuthPartnersStripeProjectsLoginRoute: AuthPartnersStripeProjectsLoginRoute,ApiPlatformAuthRefInviteRoute: ApiPlatformAuthRefInviteRoute,ApiPlatformAuthRefMagiclinkRoute: ApiPlatformAuthRefMagiclinkRoute,ApiPlatformAuthRefOtpRoute: ApiPlatformAuthRefOtpRoute,diff --git a/apps/studio/routes/_app.tsx b/apps/studio/routes/_app.tsxnew file mode 100644index 00000000000..bd20622af30--- /dev/null+++ b/apps/studio/routes/_app.tsx@@ -0,0 +1,33 @@+import { createFileRoute, Outlet, useMatches } from '@tanstack/react-router'++import { AppLayout } from '@/components/layouts/AppLayout/AppLayout'+import { DefaultLayout } from '@/components/layouts/DefaultLayout'++export const Route = createFileRoute('/_app')({+ component: AppShell,+})++function AppShell() {+ // useMatches() without `select` returns a fresh array on every router+ // tick — even when the matched leaf hasn't changed — and re-renders the+ // entire shell subtree. Use the `select` form so we only re-render when+ // the values we actually consume change.+ const headerTitle = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as { defaultLayoutHeaderTitle?: string } | undefined)+ ?.defaultLayoutHeaderTitle,+ })+ const hideMobileMenu = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as { hideMobileMenu?: boolean } | undefined)+ ?.hideMobileMenu,+ })++ return (+ <AppLayout>+ <DefaultLayout headerTitle={headerTitle} hideMobileMenu={hideMobileMenu}>+ <Outlet />+ </DefaultLayout>+ </AppLayout>+ )+}diff --git a/apps/studio/routes/_auth.tsx b/apps/studio/routes/_auth.tsxnew file mode 100644index 00000000000..b3fc40e8a49--- /dev/null+++ b/apps/studio/routes/_auth.tsx@@ -0,0 +1,15 @@+import { createFileRoute, Outlet } from '@tanstack/react-router'++import { AuthenticationLayout } from '@/components/layouts/AuthenticationLayout'++export const Route = createFileRoute('/_auth')({+ component: AuthShell,+})++function AuthShell() {+ return (+ <AuthenticationLayout>+ <Outlet />+ </AuthenticationLayout>+ )+}diff --git a/apps/studio/routes/authorize.tsx b/apps/studio/routes/authorize.tsxnew file mode 100644index 00000000000..ad68d5ad43f--- /dev/null+++ b/apps/studio/routes/authorize.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import APIAuthorizationPage from '@/pages/authorize'++export const Route = createFileRoute('/authorize')({+ component: Authorize,+})++function Authorize() {+ return <APIAuthorizationPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/aws-marketplace-onboarding.tsx b/apps/studio/routes/aws-marketplace-onboarding.tsxnew file mode 100644index 00000000000..9fbf1be9149--- /dev/null+++ b/apps/studio/routes/aws-marketplace-onboarding.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import AwsMarketplaceOnboardingPage from '@/pages/aws-marketplace-onboarding'++export const Route = createFileRoute('/aws-marketplace-onboarding')({+ component: AwsMarketplaceOnboardingRoute,+})++function AwsMarketplaceOnboardingRoute() {+ return <AwsMarketplaceOnboardingPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/claim-project.tsx b/apps/studio/routes/claim-project.tsxnew file mode 100644index 00000000000..027e2f5872c--- /dev/null+++ b/apps/studio/routes/claim-project.tsx@@ -0,0 +1,24 @@+import { createFileRoute } from '@tanstack/react-router'+import Head from 'next/head'++import { useCustomContent } from '@/hooks/custom-content/useCustomContent'+import ClaimProjectPage from '@/pages/claim-project'++export const Route = createFileRoute('/claim-project')({+ component: ClaimProject,+})++function ClaimProject() {+ const { appTitle } = useCustomContent(['app:title'])++ return (+ <>+ <Head>+ <title>{`Claim project | ${appTitle ?? 'Supabase'}`}</title>+ </Head>+ <main className="flex flex-col w-full min-h-screen overflow-y-auto">+ <ClaimProjectPage dehydratedState={undefined} />+ </main>+ </>+ )+}diff --git a/apps/studio/routes/index.tsx b/apps/studio/routes/index.tsxnew file mode 100644index 00000000000..9eec8c7acce--- /dev/null+++ b/apps/studio/routes/index.tsx@@ -0,0 +1,24 @@+import { createFileRoute, redirect } from '@tanstack/react-router'++import { IS_PLATFORM } from '@/lib/constants'++// `/` is never rendered — it always redirects. Mirrors the Next.js+// `redirects()` rules in next.config.ts: platform sends users to `/org`+// (or `/new/new-project` when deep-linked with `?next=new-project`),+// self-hosted sends them straight to `/project/default`.+export const Route = createFileRoute('/')({+ validateSearch: (search: Record<string, unknown>) => ({+ next: typeof search.next === 'string' ? search.next : undefined,+ }),+ beforeLoad: ({ search }) => {+ // `href` instead of `to` because these targets aren't in the TanStack+ // routeTree yet — they're still on the Next.js pages side during the+ // migration. Swap to `to` once `/org`, `/new/new-project`, and+ // `/project/default` are migrated.+ if (IS_PLATFORM) {+ if (search.next === 'new-project') throw redirect({ href: '/new/new-project' })+ throw redirect({ href: '/org' })+ }+ throw redirect({ href: '/project/default' })+ },+})diff --git a/apps/studio/routes/integrations/github/authorize.tsx b/apps/studio/routes/integrations/github/authorize.tsxnew file mode 100644index 00000000000..4cdc8cfa6ea--- /dev/null+++ b/apps/studio/routes/integrations/github/authorize.tsx@@ -0,0 +1,13 @@+import { createFileRoute } from '@tanstack/react-router'++import GitHubIntegrationAuthorize from '@/pages/integrations/github/authorize'++export const Route = createFileRoute('/integrations/github/authorize')({+ component: GitHubAuthorizeRoute,+})++// Placed at top-level — the Next page has no getLayout (renders bare),+// so adding AppLayout/DefaultLayout via _app would be a behaviour change.+function GitHubAuthorizeRoute() {+ return <GitHubIntegrationAuthorize />+}diff --git a/apps/studio/routes/integrations/vercel.tsx b/apps/studio/routes/integrations/vercel.tsxnew file mode 100644index 00000000000..dc2607f0f38--- /dev/null+++ b/apps/studio/routes/integrations/vercel.tsx@@ -0,0 +1,19 @@+import { createFileRoute, Outlet } from '@tanstack/react-router'++import VercelIntegrationWindowLayout from '@/components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout'++export const Route = createFileRoute('/integrations/vercel')({+ component: VercelIntegrationShell,+})++// Placed at top-level rather than under _app — Next getLayout for all+// three leaves only wraps in VercelIntegrationWindowLayout (no AppLayout+// or DefaultLayout), so adding _app's chrome here would be a behaviour+// change.+function VercelIntegrationShell() {+ return (+ <VercelIntegrationWindowLayout>+ <Outlet />+ </VercelIntegrationWindowLayout>+ )+}diff --git a/apps/studio/routes/integrations/vercel/$slug/deploy-button/new-project.tsx b/apps/studio/routes/integrations/vercel/$slug/deploy-button/new-project.tsxnew file mode 100644index 00000000000..11f685c8208--- /dev/null+++ b/apps/studio/routes/integrations/vercel/$slug/deploy-button/new-project.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import VercelIntegration from '@/pages/integrations/vercel/[slug]/deploy-button/new-project'++export const Route = createFileRoute('/integrations/vercel/$slug/deploy-button/new-project')({+ component: VercelDeployButtonNewProjectRoute,+})++function VercelDeployButtonNewProjectRoute() {+ return <VercelIntegration dehydratedState={undefined} />+}diff --git a/apps/studio/routes/integrations/vercel/$slug/marketplace/choose-project.tsx b/apps/studio/routes/integrations/vercel/$slug/marketplace/choose-project.tsxnew file mode 100644index 00000000000..7e0e6fa06d3--- /dev/null+++ b/apps/studio/routes/integrations/vercel/$slug/marketplace/choose-project.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import VercelIntegration from '@/pages/integrations/vercel/[slug]/marketplace/choose-project'++export const Route = createFileRoute('/integrations/vercel/$slug/marketplace/choose-project')({+ component: VercelChooseProjectRoute,+})++function VercelChooseProjectRoute() {+ return <VercelIntegration dehydratedState={undefined} />+}diff --git a/apps/studio/routes/integrations/vercel/install.tsx b/apps/studio/routes/integrations/vercel/install.tsxnew file mode 100644index 00000000000..5632d8d0c0f--- /dev/null+++ b/apps/studio/routes/integrations/vercel/install.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import VercelIntegration from '@/pages/integrations/vercel/install'++export const Route = createFileRoute('/integrations/vercel/install')({+ component: VercelInstallRoute,+})++function VercelInstallRoute() {+ return <VercelIntegration dehydratedState={undefined} />+}diff --git a/apps/studio/routes/join.tsx b/apps/studio/routes/join.tsxnew file mode 100644index 00000000000..a7daab6490d--- /dev/null+++ b/apps/studio/routes/join.tsx@@ -0,0 +1,22 @@+import { createFileRoute } from '@tanstack/react-router'+import { cn } from 'ui'++import JoinOrganizationPage from '@/pages/join'++export const Route = createFileRoute('/join')({+ component: Join,+})++function Join() {+ return (+ <div+ className={cn(+ 'flex h-full min-h-screen bg-studio',+ 'w-full flex-col place-items-center',+ 'items-center justify-center gap-8 px-5'+ )}+ >+ <JoinOrganizationPage dehydratedState={undefined} />+ </div>+ )+}diff --git a/apps/studio/routes/logout.tsx b/apps/studio/routes/logout.tsxnew file mode 100644index 00000000000..8d801c8b98d--- /dev/null+++ b/apps/studio/routes/logout.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import LogoutPage from '@/pages/logout'++export const Route = createFileRoute('/logout')({+ component: Logout,+})++function Logout() {+ return <LogoutPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/maintenance.tsx b/apps/studio/routes/maintenance.tsxnew file mode 100644index 00000000000..51f81e79809--- /dev/null+++ b/apps/studio/routes/maintenance.tsx@@ -0,0 +1,22 @@+import { createFileRoute } from '@tanstack/react-router'+import { cn } from 'ui'++import MaintenancePage from '@/pages/maintenance'++export const Route = createFileRoute('/maintenance')({+ component: Maintenance,+})++function Maintenance() {+ return (+ <div+ className={cn(+ 'flex h-full min-h-screen bg-studio',+ 'w-full flex-col place-items-center',+ 'items-center justify-center gap-8 px-5'+ )}+ >+ <MaintenancePage dehydratedState={undefined} />+ </div>+ )+}diff --git a/apps/studio/routes/new/$slug.tsx b/apps/studio/routes/new/$slug.tsxnew file mode 100644index 00000000000..1cf17e3104b--- /dev/null+++ b/apps/studio/routes/new/$slug.tsx@@ -0,0 +1,21 @@+import { createFileRoute } from '@tanstack/react-router'++import { DefaultLayout } from '@/components/layouts/DefaultLayout'+import { PageLayout } from '@/components/layouts/PageLayout/PageLayout'+import Wizard from '@/pages/new/[slug]'++export const Route = createFileRoute('/new/$slug')({+ component: NewProjectRoute,+})++// Placed at top-level rather than under _app — the Next getLayout omits+// AppLayout, and uses PageLayout (not WizardLayout) inside DefaultLayout.+function NewProjectRoute() {+ return (+ <DefaultLayout hideMobileMenu headerTitle="New project">+ <PageLayout>+ <Wizard dehydratedState={undefined} />+ </PageLayout>+ </DefaultLayout>+ )+}diff --git a/apps/studio/routes/org.[_].$.tsx b/apps/studio/routes/org.[_].$.tsxnew file mode 100644index 00000000000..f10708ca16e--- /dev/null+++ b/apps/studio/routes/org.[_].$.tsx@@ -0,0 +1,20 @@+import { createFileRoute } from '@tanstack/react-router'++import GenericOrganizationPage from '@/pages/org/_/[[...routeSlug]]'++export const Route = createFileRoute('/org/_/$')({+ component: OrgWildcardSplatRoute,+})++// Matches `/org/_/...`. TanStack exposes the trailing path as the+// `_splat` param; the underlying Next page normalises it back to the+// `routeSlug: string[]` shape it originally consumed.+//+// Naming delta: `org.[_].$.tsx` (path-as-filename) rather than+// `org/[_]/$.tsx` (nested directory) — see `org.[_].tsx` for the full+// rationale; in short, the directory + index.tsx form trips a+// router-generator bug that strips the escaped `_` segment when the+// last segment isn't escaped.+function OrgWildcardSplatRoute() {+ return <GenericOrganizationPage />+}diff --git a/apps/studio/routes/org.[_].tsx b/apps/studio/routes/org.[_].tsxnew file mode 100644index 00000000000..d0d1ebef12f--- /dev/null+++ b/apps/studio/routes/org.[_].tsx@@ -0,0 +1,23 @@+import { createFileRoute } from '@tanstack/react-router'++import GenericOrganizationPage from '@/pages/org/_/[[...routeSlug]]'++export const Route = createFileRoute('/org/_')({+ component: OrgWildcardIndexRoute,+})++// Matches `/org/_` exactly. The companion splat route at+// `org.[_].$.tsx` handles `/org/_/...`.+//+// `[_]` is TanStack's escape syntax for a literal underscore in the URL+// (otherwise an unescaped `_` segment is treated as a pathless layout).+//+// Naming delta: this is `org.[_].tsx`, not `org/[_]/index.tsx`, to side-+// step a router-generator bug — when an index.tsx's path has a bracket-+// escaped *parent* segment, `originalRoutePath` gets wiped wholesale and+// the escape info is lost (getRouteNodes.js:132 sets originalRoutePath+// to `/`). The path-as-filename form keeps the last segment non-index,+// so the bug branch is skipped.+function OrgWildcardIndexRoute() {+ return <GenericOrganizationPage />+}diff --git a/apps/studio/routes/project.[_].$.tsx b/apps/studio/routes/project.[_].$.tsxnew file mode 100644index 00000000000..4fb7e7c84d8--- /dev/null+++ b/apps/studio/routes/project.[_].$.tsx@@ -0,0 +1,20 @@+import { createFileRoute } from '@tanstack/react-router'++import GenericProjectPage from '@/pages/project/_/[[...routeSlug]]'++export const Route = createFileRoute('/project/_/$')({+ component: ProjectWildcardSplatRoute,+})++// Matches `/project/_/...`. TanStack exposes the trailing path as the+// `_splat` param; the underlying Next page normalises it back to the+// `routeSlug: string[]` shape it originally consumed.+//+// Naming delta: `project.[_].$.tsx` (path-as-filename) rather than+// `project/[_]/$.tsx` (nested directory) — see `org.[_].tsx` for the+// full rationale; in short, the directory + index.tsx form trips a+// router-generator bug that strips the escaped `_` segment when the+// last segment isn't escaped.+function ProjectWildcardSplatRoute() {+ return <GenericProjectPage />+}diff --git a/apps/studio/routes/project.[_].tsx b/apps/studio/routes/project.[_].tsxnew file mode 100644index 00000000000..a1084154ea2--- /dev/null+++ b/apps/studio/routes/project.[_].tsx@@ -0,0 +1,15 @@+import { createFileRoute } from '@tanstack/react-router'++import GenericProjectPage from '@/pages/project/_/[[...routeSlug]]'++export const Route = createFileRoute('/project/_')({+ component: ProjectWildcardIndexRoute,+})++// Matches `/project/_` exactly. The companion splat route at+// `project.[_].$.tsx` handles `/project/_/...`. See `org.[_].tsx` for+// why this is named with the path-as-filename form rather than+// `project/[_]/index.tsx`.+function ProjectWildcardIndexRoute() {+ return <GenericProjectPage />+}diff --git a/apps/studio/routes/project/$ref.tsx b/apps/studio/routes/project/$ref.tsxnew file mode 100644index 00000000000..b68a96dd63d--- /dev/null+++ b/apps/studio/routes/project/$ref.tsx@@ -0,0 +1,15 @@+import { createFileRoute, Outlet } from '@tanstack/react-router'++import { DefaultLayout } from '@/components/layouts/DefaultLayout'++export const Route = createFileRoute('/project/$ref')({+ component: ProjectShell,+})++function ProjectShell() {+ return (+ <DefaultLayout>+ <Outlet />+ </DefaultLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/branches.tsx b/apps/studio/routes/project/$ref/branches.tsxnew file mode 100644index 00000000000..5442d04064b--- /dev/null+++ b/apps/studio/routes/project/$ref/branches.tsx@@ -0,0 +1,20 @@+import { createFileRoute, Outlet } from '@tanstack/react-router'++import BranchLayout from '@/components/layouts/BranchLayout/BranchLayout'++export const Route = createFileRoute('/project/$ref/branches')({+ component: BranchesShell,+})++// BranchLayout sibling-file shell. Each leaf renders its own per-page+// PageLayout (different titles + primary/secondary actions); we keep+// that wrapping in the leaf route files via the page-side+// `*PageWrapper` exports rather than trying to share PageLayout in the+// shell — the shell deliberately stops at BranchLayout.+function BranchesShell() {+ return (+ <BranchLayout>+ <Outlet />+ </BranchLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/branches/index.tsx b/apps/studio/routes/project/$ref/branches/index.tsxnew file mode 100644index 00000000000..810d1eaa299--- /dev/null+++ b/apps/studio/routes/project/$ref/branches/index.tsx@@ -0,0 +1,15 @@+import { createFileRoute } from '@tanstack/react-router'++import BranchesPage, { BranchesPageWrapper } from '@/pages/project/[ref]/branches/index'++export const Route = createFileRoute('/project/$ref/branches/')({+ component: BranchesIndexRoute,+})++function BranchesIndexRoute() {+ return (+ <BranchesPageWrapper>+ <BranchesPage dehydratedState={undefined} />+ </BranchesPageWrapper>+ )+}diff --git a/apps/studio/routes/project/$ref/branches/merge-requests.tsx b/apps/studio/routes/project/$ref/branches/merge-requests.tsxnew file mode 100644index 00000000000..e5367b92a22--- /dev/null+++ b/apps/studio/routes/project/$ref/branches/merge-requests.tsx@@ -0,0 +1,17 @@+import { createFileRoute } from '@tanstack/react-router'++import MergeRequestsPage, {+ MergeRequestsPageWrapper,+} from '@/pages/project/[ref]/branches/merge-requests'++export const Route = createFileRoute('/project/$ref/branches/merge-requests')({+ component: MergeRequestsRoute,+})++function MergeRequestsRoute() {+ return (+ <MergeRequestsPageWrapper>+ <MergeRequestsPage dehydratedState={undefined} />+ </MergeRequestsPageWrapper>+ )+}diff --git a/apps/studio/routes/project/$ref/database.tsx b/apps/studio/routes/project/$ref/database.tsxnew file mode 100644index 00000000000..5609633ad8b--- /dev/null+++ b/apps/studio/routes/project/$ref/database.tsx@@ -0,0 +1,36 @@+import { createFileRoute, Outlet, useMatches } from '@tanstack/react-router'++import DatabaseLayout from '@/components/layouts/DatabaseLayout/DatabaseLayout'++export const Route = createFileRoute('/project/$ref/database')({+ component: DatabaseShell,+})++function DatabaseShell() {+ // useMatches() returns a fresh array reference on every router tick, which+ // re-renders the shell (and its subtree, e.g. DatabaseLayout → ProjectLayout+ // → the route content) even when the leaf staticData hasn't changed. The+ // `select` form lets TanStack compare the selected value (a string) and+ // only re-render when it actually changes — required to keep heavy children+ // like ReactFlow stable, otherwise their internal compose-refs chain runs+ // setRef → setState every render and trips React's max-update-depth.+ const title = useMatches({+ select: (matches) => {+ // Walk up from the leaf to the nearest match that declares a title.+ // Section layouts like `database/triggers.tsx` set `databaseLayoutTitle`+ // while their leaf children (`triggers/data`, `triggers/event`, the+ // index) don't, so a leaf-only read would drop the title to ''.+ for (let i = matches.length - 1; i >= 0; i--) {+ const data = matches[i]?.staticData as { databaseLayoutTitle?: string } | undefined+ if (typeof data?.databaseLayoutTitle === 'string') return data.databaseLayoutTitle+ }+ return ''+ },+ })++ return (+ <DatabaseLayout title={title}>+ <Outlet />+ </DatabaseLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/database/backups/pitr.tsx b/apps/studio/routes/project/$ref/database/backups/pitr.tsxnew file mode 100644index 00000000000..b2510d41758--- /dev/null+++ b/apps/studio/routes/project/$ref/database/backups/pitr.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabasePhysicalBackups from '@/pages/project/[ref]/database/backups/pitr'++export const Route = createFileRoute('/project/$ref/database/backups/pitr')({+ component: DatabaseBackupsPitrRoute,+ staticData: {+ databaseLayoutTitle: 'Backups',+ },+})++function DatabaseBackupsPitrRoute() {+ return <DatabasePhysicalBackups dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/backups/restore-to-new-project.tsx b/apps/studio/routes/project/$ref/database/backups/restore-to-new-project.tsxnew file mode 100644index 00000000000..8af41cc7e7d--- /dev/null+++ b/apps/studio/routes/project/$ref/database/backups/restore-to-new-project.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import RestoreToNewProjectPage from '@/pages/project/[ref]/database/backups/restore-to-new-project'++export const Route = createFileRoute('/project/$ref/database/backups/restore-to-new-project')({+ component: DatabaseBackupsRestoreToNewProjectRoute,+ staticData: {+ databaseLayoutTitle: 'Backups',+ },+})++function DatabaseBackupsRestoreToNewProjectRoute() {+ return <RestoreToNewProjectPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/backups/scheduled.tsx b/apps/studio/routes/project/$ref/database/backups/scheduled.tsxnew file mode 100644index 00000000000..3a93ad45f4c--- /dev/null+++ b/apps/studio/routes/project/$ref/database/backups/scheduled.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseScheduledBackups from '@/pages/project/[ref]/database/backups/scheduled'++export const Route = createFileRoute('/project/$ref/database/backups/scheduled')({+ component: DatabaseBackupsScheduledRoute,+ staticData: {+ databaseLayoutTitle: 'Backups',+ },+})++function DatabaseBackupsScheduledRoute() {+ return <DatabaseScheduledBackups dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/column-privileges.tsx b/apps/studio/routes/project/$ref/database/column-privileges.tsxnew file mode 100644index 00000000000..8176b3d8762--- /dev/null+++ b/apps/studio/routes/project/$ref/database/column-privileges.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import PrivilegesPage from '@/pages/project/[ref]/database/column-privileges'++export const Route = createFileRoute('/project/$ref/database/column-privileges')({+ component: DatabaseColumnPrivilegesRoute,+ staticData: {+ databaseLayoutTitle: 'Column Privileges',+ },+})++function DatabaseColumnPrivilegesRoute() {+ return <PrivilegesPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/extensions.tsx b/apps/studio/routes/project/$ref/database/extensions.tsxnew file mode 100644index 00000000000..77361ba6848--- /dev/null+++ b/apps/studio/routes/project/$ref/database/extensions.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseExtensions from '@/pages/project/[ref]/database/extensions'++export const Route = createFileRoute('/project/$ref/database/extensions')({+ component: DatabaseExtensionsRoute,+ staticData: {+ databaseLayoutTitle: 'Extensions',+ },+})++function DatabaseExtensionsRoute() {+ return <DatabaseExtensions dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/functions.tsx b/apps/studio/routes/project/$ref/database/functions.tsxnew file mode 100644index 00000000000..571d9d2031f--- /dev/null+++ b/apps/studio/routes/project/$ref/database/functions.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseFunctionsPage from '@/pages/project/[ref]/database/functions'++export const Route = createFileRoute('/project/$ref/database/functions')({+ component: DatabaseFunctionsRoute,+ staticData: {+ databaseLayoutTitle: 'Functions',+ },+})++function DatabaseFunctionsRoute() {+ return <DatabaseFunctionsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/indexes.tsx b/apps/studio/routes/project/$ref/database/indexes.tsxnew file mode 100644index 00000000000..49b9e965530--- /dev/null+++ b/apps/studio/routes/project/$ref/database/indexes.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import IndexesPage from '@/pages/project/[ref]/database/indexes'++export const Route = createFileRoute('/project/$ref/database/indexes')({+ component: DatabaseIndexesRoute,+ staticData: {+ databaseLayoutTitle: 'Indexes',+ },+})++function DatabaseIndexesRoute() {+ return <IndexesPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/migrations.tsx b/apps/studio/routes/project/$ref/database/migrations.tsxnew file mode 100644index 00000000000..a9243f66327--- /dev/null+++ b/apps/studio/routes/project/$ref/database/migrations.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import MigrationsPage from '@/pages/project/[ref]/database/migrations'++export const Route = createFileRoute('/project/$ref/database/migrations')({+ component: DatabaseMigrationsRoute,+ staticData: {+ databaseLayoutTitle: 'Migrations',+ },+})++function DatabaseMigrationsRoute() {+ return <MigrationsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/publications/$id.tsx b/apps/studio/routes/project/$ref/database/publications/$id.tsxnew file mode 100644index 00000000000..3cb28492d04--- /dev/null+++ b/apps/studio/routes/project/$ref/database/publications/$id.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabasePublications from '@/pages/project/[ref]/database/publications/[id]'++export const Route = createFileRoute('/project/$ref/database/publications/$id')({+ component: DatabasePublicationDetailRoute,+ staticData: {+ databaseLayoutTitle: 'Publications',+ },+})++function DatabasePublicationDetailRoute() {+ return <DatabasePublications dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/publications/index.tsx b/apps/studio/routes/project/$ref/database/publications/index.tsxnew file mode 100644index 00000000000..ec0fbf89687--- /dev/null+++ b/apps/studio/routes/project/$ref/database/publications/index.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabasePublications from '@/pages/project/[ref]/database/publications/index'++export const Route = createFileRoute('/project/$ref/database/publications/')({+ component: DatabasePublicationsIndexRoute,+ staticData: {+ databaseLayoutTitle: 'Publications',+ },+})++function DatabasePublicationsIndexRoute() {+ return <DatabasePublications dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/replication/$pipelineId.tsx b/apps/studio/routes/project/$ref/database/replication/$pipelineId.tsxnew file mode 100644index 00000000000..df68937f735--- /dev/null+++ b/apps/studio/routes/project/$ref/database/replication/$pipelineId.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseReplicationPage from '@/pages/project/[ref]/database/replication/[pipelineId]'++export const Route = createFileRoute('/project/$ref/database/replication/$pipelineId')({+ component: DatabaseReplicationPipelineRoute,+ staticData: {+ databaseLayoutTitle: 'Replication',+ },+})++function DatabaseReplicationPipelineRoute() {+ return <DatabaseReplicationPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/replication/index.tsx b/apps/studio/routes/project/$ref/database/replication/index.tsxnew file mode 100644index 00000000000..19878d09e38--- /dev/null+++ b/apps/studio/routes/project/$ref/database/replication/index.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseReplicationPage from '@/pages/project/[ref]/database/replication/index'++export const Route = createFileRoute('/project/$ref/database/replication/')({+ component: DatabaseReplicationIndexRoute,+ staticData: {+ databaseLayoutTitle: 'Replication',+ },+})++function DatabaseReplicationIndexRoute() {+ return <DatabaseReplicationPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/replication/replica/$replicaId.tsx b/apps/studio/routes/project/$ref/database/replication/replica/$replicaId.tsxnew file mode 100644index 00000000000..bb4df6c4b8c--- /dev/null+++ b/apps/studio/routes/project/$ref/database/replication/replica/$replicaId.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseReadReplicaPage from '@/pages/project/[ref]/database/replication/replica/[replicaId]'++export const Route = createFileRoute('/project/$ref/database/replication/replica/$replicaId')({+ component: DatabaseReplicationReplicaRoute,+ staticData: {+ databaseLayoutTitle: 'Replication',+ },+})++function DatabaseReplicationReplicaRoute() {+ return <DatabaseReadReplicaPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/roles.tsx b/apps/studio/routes/project/$ref/database/roles.tsxnew file mode 100644index 00000000000..a185c449bae--- /dev/null+++ b/apps/studio/routes/project/$ref/database/roles.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseRoles from '@/pages/project/[ref]/database/roles'++export const Route = createFileRoute('/project/$ref/database/roles')({+ component: DatabaseRolesRoute,+ staticData: {+ databaseLayoutTitle: 'Roles',+ },+})++function DatabaseRolesRoute() {+ return <DatabaseRoles dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/schemas.tsx b/apps/studio/routes/project/$ref/database/schemas.tsxnew file mode 100644index 00000000000..7e9c3532a4c--- /dev/null+++ b/apps/studio/routes/project/$ref/database/schemas.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import SchemasPage from '@/pages/project/[ref]/database/schemas'++export const Route = createFileRoute('/project/$ref/database/schemas')({+ component: SchemasRoute,+ staticData: {+ databaseLayoutTitle: 'Schema Visualizer',+ },+})++function SchemasRoute() {+ return <SchemasPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/settings.tsx b/apps/studio/routes/project/$ref/database/settings.tsxnew file mode 100644index 00000000000..f17c28221ee--- /dev/null+++ b/apps/studio/routes/project/$ref/database/settings.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseSettings from '@/pages/project/[ref]/database/settings'++export const Route = createFileRoute('/project/$ref/database/settings')({+ component: DatabaseSettingsRoute,+ staticData: {+ databaseLayoutTitle: 'Settings',+ },+})++function DatabaseSettingsRoute() {+ return <DatabaseSettings dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/tables/$id.tsx b/apps/studio/routes/project/$ref/database/tables/$id.tsxnew file mode 100644index 00000000000..4c82176eced--- /dev/null+++ b/apps/studio/routes/project/$ref/database/tables/$id.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseTables from '@/pages/project/[ref]/database/tables/[id]'++export const Route = createFileRoute('/project/$ref/database/tables/$id')({+ component: DatabaseTableDetailRoute,+ staticData: {+ databaseLayoutTitle: 'Tables',+ },+})++function DatabaseTableDetailRoute() {+ return <DatabaseTables dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/tables/index.tsx b/apps/studio/routes/project/$ref/database/tables/index.tsxnew file mode 100644index 00000000000..35f552e0b2d--- /dev/null+++ b/apps/studio/routes/project/$ref/database/tables/index.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseTables from '@/pages/project/[ref]/database/tables/index'++export const Route = createFileRoute('/project/$ref/database/tables/')({+ component: DatabaseTablesIndexRoute,+ staticData: {+ databaseLayoutTitle: 'Tables',+ },+})++function DatabaseTablesIndexRoute() {+ return <DatabaseTables dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/triggers.tsx b/apps/studio/routes/project/$ref/database/triggers.tsxnew file mode 100644index 00000000000..6770eaef2f9--- /dev/null+++ b/apps/studio/routes/project/$ref/database/triggers.tsx@@ -0,0 +1,39 @@+import { PermissionAction } from '@supabase/shared-types/out/constants'+import { createFileRoute, Outlet } from '@tanstack/react-router'++import { PageLayout } from '@/components/layouts/PageLayout/PageLayout'+import { NoPermission } from '@/components/ui/NoPermission'+import { useAsyncCheckPermissions } from '@/hooks/misc/useCheckPermissions'++export const Route = createFileRoute('/project/$ref/database/triggers')({+ component: TriggersShell,+ staticData: {+ databaseLayoutTitle: 'Triggers',+ },+})++function TriggersShell() {+ const { ref } = Route.useParams()+ const { can: canReadTriggers, isSuccess: isPermissionsLoaded } = useAsyncCheckPermissions(+ PermissionAction.TENANT_SQL_ADMIN_READ,+ 'triggers'+ )++ if (isPermissionsLoaded && !canReadTriggers) {+ return <NoPermission isFullPage resourceText="view database triggers" />+ }++ return (+ <PageLayout+ title="Database Triggers"+ subtitle="Execute actions automatically when database events occur"+ size="large"+ navigationItems={[+ { label: 'Data', href: `/project/${ref}/database/triggers/data` },+ { label: 'Event', href: `/project/${ref}/database/triggers/event` },+ ]}+ >+ <Outlet />+ </PageLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/database/triggers/data.tsx b/apps/studio/routes/project/$ref/database/triggers/data.tsxnew file mode 100644index 00000000000..82b1b70175f--- /dev/null+++ b/apps/studio/routes/project/$ref/database/triggers/data.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import TriggersDataPage from '@/pages/project/[ref]/database/triggers/data'++export const Route = createFileRoute('/project/$ref/database/triggers/data')({+ component: TriggersDataRoute,+})++function TriggersDataRoute() {+ return <TriggersDataPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/triggers/event.tsx b/apps/studio/routes/project/$ref/database/triggers/event.tsxnew file mode 100644index 00000000000..f8bbeacdbb7--- /dev/null+++ b/apps/studio/routes/project/$ref/database/triggers/event.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import TriggersSchemaPage from '@/pages/project/[ref]/database/triggers/event'++export const Route = createFileRoute('/project/$ref/database/triggers/event')({+ component: TriggersEventRoute,+})++function TriggersEventRoute() {+ return <TriggersSchemaPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/triggers/index.tsx b/apps/studio/routes/project/$ref/database/triggers/index.tsxnew file mode 100644index 00000000000..038e97727ed--- /dev/null+++ b/apps/studio/routes/project/$ref/database/triggers/index.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseTriggersIndexPage from '@/pages/project/[ref]/database/triggers/index'++export const Route = createFileRoute('/project/$ref/database/triggers/')({+ component: DatabaseTriggersIndexRoute,+})++function DatabaseTriggersIndexRoute() {+ return <DatabaseTriggersIndexPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/database/types.tsx b/apps/studio/routes/project/$ref/database/types.tsxnew file mode 100644index 00000000000..15005856c90--- /dev/null+++ b/apps/studio/routes/project/$ref/database/types.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import DatabaseEnumeratedTypes from '@/pages/project/[ref]/database/types'++export const Route = createFileRoute('/project/$ref/database/types')({+ component: DatabaseTypesRoute,+ staticData: {+ databaseLayoutTitle: 'Enumerated Types',+ },+})++function DatabaseTypesRoute() {+ return <DatabaseEnumeratedTypes dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/editor.tsx b/apps/studio/routes/project/$ref/editor.tsxnew file mode 100644index 00000000000..4b0f9ba6938--- /dev/null+++ b/apps/studio/routes/project/$ref/editor.tsx@@ -0,0 +1,34 @@+import { createFileRoute, Outlet } from '@tanstack/react-router'++import { EditorBaseLayout } from '@/components/layouts/editors/EditorBaseLayout'+import { TableEditorLayout } from '@/components/layouts/TableEditorLayout/TableEditorLayout'+import { TableEditorMenu } from '@/components/layouts/TableEditorLayout/TableEditorMenu'++export const Route = createFileRoute('/project/$ref/editor')({+ component: TableEditorShell,+})++// All three editor leaves (index, $id, new) share identical layout+// wrapping in the Next pages router (DefaultLayout > EditorBaseLayout >+// TableEditorLayout). DefaultLayout is provided by the parent+// `routes/project/$ref.tsx` shell, so this file only adds the+// editor-specific layers.+//+// Note on the ProjectLayoutWithAuth chain: EditorBaseLayout always+// wraps in <ProjectLayoutWithAuth>. TableEditorLayout *also* wraps in+// one — but only on its no-permission path; the happy path returns+// `<>{children}<SaveQueueActionBar/></>` so no double-wrap occurs in+// normal use. Mirrors current Next behaviour exactly.+function TableEditorShell() {+ return (+ <EditorBaseLayout+ productMenu={<TableEditorMenu />}+ product="Table Editor"+ productMenuClassName="overflow-y-hidden"+ >+ <TableEditorLayout>+ <Outlet />+ </TableEditorLayout>+ </EditorBaseLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/editor/$id.tsx b/apps/studio/routes/project/$ref/editor/$id.tsxnew file mode 100644index 00000000000..7d982374aa8--- /dev/null+++ b/apps/studio/routes/project/$ref/editor/$id.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import TableEditorPage from '@/pages/project/[ref]/editor/[id]'++export const Route = createFileRoute('/project/$ref/editor/$id')({+ component: TableEditorDetailRoute,+})++function TableEditorDetailRoute() {+ return <TableEditorPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/editor/index.tsx b/apps/studio/routes/project/$ref/editor/index.tsxnew file mode 100644index 00000000000..cf5098cff69--- /dev/null+++ b/apps/studio/routes/project/$ref/editor/index.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import TableEditorPage from '@/pages/project/[ref]/editor/index'++export const Route = createFileRoute('/project/$ref/editor/')({+ component: TableEditorIndexRoute,+})++function TableEditorIndexRoute() {+ return <TableEditorPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/editor/new.tsx b/apps/studio/routes/project/$ref/editor/new.tsxnew file mode 100644index 00000000000..802b08a2177--- /dev/null+++ b/apps/studio/routes/project/$ref/editor/new.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import EditorNewPage from '@/pages/project/[ref]/editor/new'++export const Route = createFileRoute('/project/$ref/editor/new')({+ component: TableEditorNewRoute,+})++function TableEditorNewRoute() {+ return <EditorNewPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/merge.tsx b/apps/studio/routes/project/$ref/merge.tsxnew file mode 100644index 00000000000..5e714f55dd3--- /dev/null+++ b/apps/studio/routes/project/$ref/merge.tsx@@ -0,0 +1,16 @@+import { createFileRoute } from '@tanstack/react-router'++import { ProjectLayoutWithAuth } from '@/components/layouts/ProjectLayout'+import MergePage from '@/pages/project/[ref]/merge'++export const Route = createFileRoute('/project/$ref/merge')({+ component: ProjectMergeRoute,+})++function ProjectMergeRoute() {+ return (+ <ProjectLayoutWithAuth>+ <MergePage dehydratedState={undefined} />+ </ProjectLayoutWithAuth>+ )+}diff --git a/apps/studio/routes/project/$ref/realtime.tsx b/apps/studio/routes/project/$ref/realtime.tsxnew file mode 100644index 00000000000..6f42bd4059d--- /dev/null+++ b/apps/studio/routes/project/$ref/realtime.tsx@@ -0,0 +1,23 @@+import { createFileRoute, Outlet, useMatches } from '@tanstack/react-router'++import RealtimeLayout from '@/components/layouts/RealtimeLayout/RealtimeLayout'++export const Route = createFileRoute('/project/$ref/realtime')({+ component: RealtimeShell,+})++function RealtimeShell() {+ // `select` form: only re-render when the selected title changes. See+ // routes/_app.tsx for the full rationale.+ const title = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as { realtimeLayoutTitle?: string } | undefined)+ ?.realtimeLayoutTitle ?? '',+ })++ return (+ <RealtimeLayout title={title}>+ <Outlet />+ </RealtimeLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/realtime/inspector.tsx b/apps/studio/routes/project/$ref/realtime/inspector.tsxnew file mode 100644index 00000000000..a7b931dd5fc--- /dev/null+++ b/apps/studio/routes/project/$ref/realtime/inspector.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import InspectorPage from '@/pages/project/[ref]/realtime/inspector'++export const Route = createFileRoute('/project/$ref/realtime/inspector')({+ component: RealtimeInspectorRoute,+ staticData: {+ realtimeLayoutTitle: 'Realtime Inspector',+ },+})++function RealtimeInspectorRoute() {+ return <InspectorPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/realtime/policies.tsx b/apps/studio/routes/project/$ref/realtime/policies.tsxnew file mode 100644index 00000000000..f15bf7e4a2a--- /dev/null+++ b/apps/studio/routes/project/$ref/realtime/policies.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import RealtimePoliciesPage from '@/pages/project/[ref]/realtime/policies'++export const Route = createFileRoute('/project/$ref/realtime/policies')({+ component: RealtimePoliciesRoute,+ staticData: {+ realtimeLayoutTitle: 'Policies',+ },+})++function RealtimePoliciesRoute() {+ return <RealtimePoliciesPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/realtime/settings.tsx b/apps/studio/routes/project/$ref/realtime/settings.tsxnew file mode 100644index 00000000000..291e316bf7c--- /dev/null+++ b/apps/studio/routes/project/$ref/realtime/settings.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import RealtimeSettingsPage from '@/pages/project/[ref]/realtime/settings'++export const Route = createFileRoute('/project/$ref/realtime/settings')({+ component: RealtimeSettingsRoute,+ staticData: {+ realtimeLayoutTitle: 'Realtime Settings',+ },+})++function RealtimeSettingsRoute() {+ return <RealtimeSettingsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/sql.tsx b/apps/studio/routes/project/$ref/sql.tsxnew file mode 100644index 00000000000..a91962764db--- /dev/null+++ b/apps/studio/routes/project/$ref/sql.tsx@@ -0,0 +1,29 @@+import { createFileRoute, Outlet } from '@tanstack/react-router'++import { EditorBaseLayout } from '@/components/layouts/editors/EditorBaseLayout'+import SQLEditorLayout from '@/components/layouts/SQLEditorLayout/SQLEditorLayout'+import { SQLEditorMenu } from '@/components/layouts/SQLEditorLayout/SQLEditorMenu'++export const Route = createFileRoute('/project/$ref/sql')({+ component: SQLEditorShell,+})++// Twin of routes/project/$ref/editor.tsx — all four sql/* leaves share+// identical layout wrapping (`<DefaultLayout><EditorBaseLayout productMenu>+// <SQLEditorLayout>{page}</SQLEditorLayout></EditorBaseLayout>`), so the+// shell hardcodes the props with no staticData overrides. DefaultLayout+// is provided by the parent `routes/project/$ref.tsx` shell.+//+// EditorBaseLayout wraps in <ProjectLayoutWithAuth>; SQLEditorLayout adds+// its own `withAuth` HOC but doesn't add another ProjectLayout — so no+// double-render concerns, only doubled auth check (a no-op when already+// authenticated).+function SQLEditorShell() {+ return (+ <EditorBaseLayout productMenu={<SQLEditorMenu />} product="SQL Editor">+ <SQLEditorLayout>+ <Outlet />+ </SQLEditorLayout>+ </EditorBaseLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/sql/$id.tsx b/apps/studio/routes/project/$ref/sql/$id.tsxnew file mode 100644index 00000000000..d875282454a--- /dev/null+++ b/apps/studio/routes/project/$ref/sql/$id.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import SqlEditor from '@/pages/project/[ref]/sql/[id]'++export const Route = createFileRoute('/project/$ref/sql/$id')({+ component: SQLEditorDetailRoute,+})++function SQLEditorDetailRoute() {+ return <SqlEditor dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/sql/examples.tsx b/apps/studio/routes/project/$ref/sql/examples.tsxnew file mode 100644index 00000000000..4e95087e09d--- /dev/null+++ b/apps/studio/routes/project/$ref/sql/examples.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import SqlExamples from '@/pages/project/[ref]/sql/examples'++export const Route = createFileRoute('/project/$ref/sql/examples')({+ component: SqlExamplesRoute,+})++function SqlExamplesRoute() {+ return <SqlExamples dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/sql/index.tsx b/apps/studio/routes/project/$ref/sql/index.tsxnew file mode 100644index 00000000000..bd162a3d6bb--- /dev/null+++ b/apps/studio/routes/project/$ref/sql/index.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import SQLEditorIndexPage from '@/pages/project/[ref]/sql/index'++export const Route = createFileRoute('/project/$ref/sql/')({+ component: SQLEditorIndexRoute,+})++function SQLEditorIndexRoute() {+ return <SQLEditorIndexPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/sql/templates.tsx b/apps/studio/routes/project/$ref/sql/templates.tsxnew file mode 100644index 00000000000..37c4994a860--- /dev/null+++ b/apps/studio/routes/project/$ref/sql/templates.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import SqlTemplates from '@/pages/project/[ref]/sql/templates'++export const Route = createFileRoute('/project/$ref/sql/templates')({+ component: SQLTemplatesRoute,+})++function SQLTemplatesRoute() {+ return <SqlTemplates dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage.tsx b/apps/studio/routes/project/$ref/storage.tsxnew file mode 100644index 00000000000..037b290d478--- /dev/null+++ b/apps/studio/routes/project/$ref/storage.tsx@@ -0,0 +1,61 @@+import { createFileRoute, Outlet, useMatches } from '@tanstack/react-router'++import { StorageBucketsLayout } from '@/components/layouts/StorageLayout/StorageBucketsLayout'+import StorageLayout from '@/components/layouts/StorageLayout/StorageLayout'++export const Route = createFileRoute('/project/$ref/storage')({+ component: StorageShell,+})++type StorageStaticData = {+ storageLayoutTitle?: string+ // Most storage leaves wrap in <StorageBucketsLayout> (the bucket-tab+ // sub-nav). Bucket detail pages (files/analytics/vectors $bucketId) skip+ // it and render a full-bleed bucket UI under StorageLayout only.+ skipStorageBucketsLayout?: boolean+ // Inner-layout overrides — used by /storage/s3 which passes its own+ // title and hides the subtitle. Most leaves leave these undefined.+ storageBucketsLayoutTitle?: string+ storageBucketsLayoutHideSubtitle?: boolean+}++function StorageShell() {+ // `select` form across each field — only re-render when the specific+ // value changes. See routes/_app.tsx for the full rationale.+ const title = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as StorageStaticData | undefined)+ ?.storageLayoutTitle ?? '',+ })+ const skipBuckets = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as StorageStaticData | undefined)+ ?.skipStorageBucketsLayout ?? false,+ })+ const bucketsTitle = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as StorageStaticData | undefined)+ ?.storageBucketsLayoutTitle,+ })+ const bucketsHideSubtitle = useMatches({+ select: (matches) =>+ (matches[matches.length - 1]?.staticData as StorageStaticData | undefined)+ ?.storageBucketsLayoutHideSubtitle ?? false,+ })++ if (skipBuckets) {+ return (+ <StorageLayout title={title}>+ <Outlet />+ </StorageLayout>+ )+ }++ return (+ <StorageLayout title={title}>+ <StorageBucketsLayout title={bucketsTitle} hideSubtitle={bucketsHideSubtitle}>+ <Outlet />+ </StorageBucketsLayout>+ </StorageLayout>+ )+}diff --git a/apps/studio/routes/project/$ref/storage/analytics/buckets/$bucketId.tsx b/apps/studio/routes/project/$ref/storage/analytics/buckets/$bucketId.tsxnew file mode 100644index 00000000000..04ab291480e--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/analytics/buckets/$bucketId.tsx@@ -0,0 +1,15 @@+import { createFileRoute } from '@tanstack/react-router'++import AnalyticsBucketPage from '@/pages/project/[ref]/storage/analytics/buckets/[bucketId]'++export const Route = createFileRoute('/project/$ref/storage/analytics/buckets/$bucketId')({+ component: StorageAnalyticsBucketRoute,+ staticData: {+ storageLayoutTitle: 'Buckets',+ skipStorageBucketsLayout: true,+ },+})++function StorageAnalyticsBucketRoute() {+ return <AnalyticsBucketPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/analytics/index.tsx b/apps/studio/routes/project/$ref/storage/analytics/index.tsxnew file mode 100644index 00000000000..dfc48f395de--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/analytics/index.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import StorageAnalyticsPage from '@/pages/project/[ref]/storage/analytics/index'++export const Route = createFileRoute('/project/$ref/storage/analytics/')({+ component: StorageAnalyticsIndexRoute,+ staticData: {+ storageLayoutTitle: 'Analytics',+ },+})++function StorageAnalyticsIndexRoute() {+ return <StorageAnalyticsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/files/buckets/$bucketId.tsx b/apps/studio/routes/project/$ref/storage/files/buckets/$bucketId.tsxnew file mode 100644index 00000000000..7d293832ca8--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/files/buckets/$bucketId.tsx@@ -0,0 +1,17 @@+import { createFileRoute } from '@tanstack/react-router'++import BucketPage from '@/pages/project/[ref]/storage/files/buckets/[bucketId]'++export const Route = createFileRoute('/project/$ref/storage/files/buckets/$bucketId')({+ component: StorageFilesBucketRoute,+ // Bucket detail pages skip StorageBucketsLayout — they render the+ // bucket UI full-bleed under StorageLayout only.+ staticData: {+ storageLayoutTitle: 'Buckets',+ skipStorageBucketsLayout: true,+ },+})++function StorageFilesBucketRoute() {+ return <BucketPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/files/index.tsx b/apps/studio/routes/project/$ref/storage/files/index.tsxnew file mode 100644index 00000000000..ce3c5ba43af--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/files/index.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import StorageFilesPage from '@/pages/project/[ref]/storage/files/index'++export const Route = createFileRoute('/project/$ref/storage/files/')({+ component: StorageFilesIndexRoute,+ staticData: {+ storageLayoutTitle: 'Files',+ },+})++function StorageFilesIndexRoute() {+ return <StorageFilesPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/files/policies.tsx b/apps/studio/routes/project/$ref/storage/files/policies.tsxnew file mode 100644index 00000000000..12d56649d0a--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/files/policies.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import FilesPoliciesPage from '@/pages/project/[ref]/storage/files/policies'++export const Route = createFileRoute('/project/$ref/storage/files/policies')({+ component: StorageFilesPoliciesRoute,+ staticData: {+ storageLayoutTitle: 'Policies',+ },+})++function StorageFilesPoliciesRoute() {+ return <FilesPoliciesPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/files/settings.tsx b/apps/studio/routes/project/$ref/storage/files/settings.tsxnew file mode 100644index 00000000000..ea61b4f688e--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/files/settings.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import FilesSettingsPage from '@/pages/project/[ref]/storage/files/settings'++export const Route = createFileRoute('/project/$ref/storage/files/settings')({+ component: StorageFilesSettingsRoute,+ staticData: {+ storageLayoutTitle: 'Settings',+ },+})++function StorageFilesSettingsRoute() {+ return <FilesSettingsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/s3.tsx b/apps/studio/routes/project/$ref/storage/s3.tsxnew file mode 100644index 00000000000..f284ebee3da--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/s3.tsx@@ -0,0 +1,16 @@+import { createFileRoute } from '@tanstack/react-router'++import S3SettingsPage from '@/pages/project/[ref]/storage/s3'++export const Route = createFileRoute('/project/$ref/storage/s3')({+ component: StorageS3Route,+ staticData: {+ storageLayoutTitle: 'S3 Configuration',+ storageBucketsLayoutTitle: 'S3 Configuration',+ storageBucketsLayoutHideSubtitle: true,+ },+})++function StorageS3Route() {+ return <S3SettingsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/vectors/buckets/$bucketId.tsx b/apps/studio/routes/project/$ref/storage/vectors/buckets/$bucketId.tsxnew file mode 100644index 00000000000..649abc3a995--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/vectors/buckets/$bucketId.tsx@@ -0,0 +1,15 @@+import { createFileRoute } from '@tanstack/react-router'++import VectorsBucketPage from '@/pages/project/[ref]/storage/vectors/buckets/[bucketId]'++export const Route = createFileRoute('/project/$ref/storage/vectors/buckets/$bucketId')({+ component: StorageVectorsBucketRoute,+ staticData: {+ storageLayoutTitle: 'Buckets',+ skipStorageBucketsLayout: true,+ },+})++function StorageVectorsBucketRoute() {+ return <VectorsBucketPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/project/$ref/storage/vectors/index.tsx b/apps/studio/routes/project/$ref/storage/vectors/index.tsxnew file mode 100644index 00000000000..b2acbe7348a--- /dev/null+++ b/apps/studio/routes/project/$ref/storage/vectors/index.tsx@@ -0,0 +1,14 @@+import { createFileRoute } from '@tanstack/react-router'++import StorageVectorsPage from '@/pages/project/[ref]/storage/vectors/index'++export const Route = createFileRoute('/project/$ref/storage/vectors/')({+ component: StorageVectorsIndexRoute,+ staticData: {+ storageLayoutTitle: 'Vectors',+ },+})++function StorageVectorsIndexRoute() {+ return <StorageVectorsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/redeem.tsx b/apps/studio/routes/redeem.tsxnew file mode 100644index 00000000000..faaf69ef39d--- /dev/null+++ b/apps/studio/routes/redeem.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import RedeemCreditsPage from '@/pages/redeem'++export const Route = createFileRoute('/redeem')({+ component: RedeemRoute,+})++function RedeemRoute() {+ return <RedeemCreditsPage dehydratedState={undefined} />+}diff --git a/apps/studio/routes/verify-email.tsx b/apps/studio/routes/verify-email.tsxnew file mode 100644index 00000000000..5368fd6d587--- /dev/null+++ b/apps/studio/routes/verify-email.tsx@@ -0,0 +1,11 @@+import { createFileRoute } from '@tanstack/react-router'++import VerifyEmailPage from '@/pages/verify-email'++export const Route = createFileRoute('/verify-email')({+ component: VerifyEmailRoute,+})++function VerifyEmailRoute() {+ return <VerifyEmailPage dehydratedState={undefined} />+}