mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
**Stack 3/6** of the TanStack Start migration (#46424). Stacked on **#47110** (S2) → review that first; this PR's diff is the app shell. > [!NOTE] > Thin route wrappers that render the existing pages-router page components through the compat shims (S2). Next is untouched — it builds `pages/` and ignores `routes/`. The app doesn't function end-to-end on TanStack until the API + project routes land (S4/S5) and the flag is flipped. ## What's in this PR - `routes/__root.tsx` — root layout + a `beforeLoad` that runs the shared redirect rules; `router.tsx`. - `routes/_auth/*` — sign-in/up, forgot/reset password, SSO/MFA/partner sign-in, CLI login, Stripe-projects login. - `routes/_app/*` — account (me/security/audit/tokens), `org/$slug/*` (general/billing/team/usage/…), support. - `routeTree.gen.ts` — **regenerated** by the tanstackStart vite plugin for exactly the routes in this PR (the migration branch's tree references all ~300 routes, so it can't be copied verbatim here). It's a generated artifact; the meaningful review surface is the route files. ## Verification On top of S1+S2: `studio` typecheck ✓, lint (0 errors) ✓. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Enhanced internal routing infrastructure to improve application performance and code organization. These behind-the-scenes updates ensure a more stable and maintainable foundation for the platform without affecting existing functionality or user experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
851 lines
32 KiB
TypeScript
851 lines
32 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// 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 AuthSignUpRouteImport } from './routes/_auth/sign-up'
|
|
import { Route as AuthSignInSsoRouteImport } from './routes/_auth/sign-in-sso'
|
|
import { Route as AuthSignInPartnerRouteImport } from './routes/_auth/sign-in-partner'
|
|
import { Route as AuthSignInMfaRouteImport } from './routes/_auth/sign-in-mfa'
|
|
import { Route as AuthSignInRouteImport } from './routes/_auth/sign-in'
|
|
import { Route as AuthResetPasswordRouteImport } from './routes/_auth/reset-password'
|
|
import { Route as AuthForgotPasswordMfaRouteImport } from './routes/_auth/forgot-password-mfa'
|
|
import { Route as AuthForgotPasswordRouteImport } from './routes/_auth/forgot-password'
|
|
import { Route as AppOrganizationsRouteImport } from './routes/_app/organizations'
|
|
import { Route as AppOrgRouteImport } from './routes/_app/org'
|
|
import { Route as AppAccountRouteImport } from './routes/_app/account'
|
|
import { Route as AppOrgIndexRouteImport } from './routes/_app/org/index'
|
|
import { Route as AppNewIndexRouteImport } from './routes/_app/new/index'
|
|
import { Route as AuthCliLoginRouteImport } from './routes/_auth/cli/login'
|
|
import { Route as AppSupportNewRouteImport } from './routes/_app/support/new'
|
|
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 AppOrgSlugIndexRouteImport } from './routes/_app/org/$slug/index'
|
|
import { Route as AppAccountTokensIndexRouteImport } from './routes/_app/account/tokens/index'
|
|
import { Route as AppOrgSlugUsageRouteImport } from './routes/_app/org/$slug/usage'
|
|
import { Route as AppOrgSlugTeamRouteImport } from './routes/_app/org/$slug/team'
|
|
import { Route as AppOrgSlugSsoRouteImport } from './routes/_app/org/$slug/sso'
|
|
import { Route as AppOrgSlugSecurityRouteImport } from './routes/_app/org/$slug/security'
|
|
import { Route as AppOrgSlugIntegrationsRouteImport } from './routes/_app/org/$slug/integrations'
|
|
import { Route as AppOrgSlugGeneralRouteImport } from './routes/_app/org/$slug/general'
|
|
import { Route as AppOrgSlugDocumentsRouteImport } from './routes/_app/org/$slug/documents'
|
|
import { Route as AppOrgSlugBillingRouteImport } from './routes/_app/org/$slug/billing'
|
|
import { Route as AppOrgSlugAuditLogDrainsRouteImport } from './routes/_app/org/$slug/audit-log-drains'
|
|
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 AppOrgSlugWebhooksIndexRouteImport } from './routes/_app/org/$slug/webhooks/index'
|
|
import { Route as AppOrgSlugPrivateAppsIndexRouteImport } from './routes/_app/org/$slug/private-apps/index'
|
|
import { Route as AuthPartnersStripeProjectsLoginRouteImport } from './routes/_auth/partners/stripe/projects/login'
|
|
import { Route as AppOrgSlugWebhooksEndpointIdRouteImport } from './routes/_app/org/$slug/webhooks/$endpointId'
|
|
|
|
const AuthSignUpRoute = AuthSignUpRouteImport.update({
|
|
id: '/_auth/sign-up',
|
|
path: '/sign-up',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthSignInSsoRoute = AuthSignInSsoRouteImport.update({
|
|
id: '/_auth/sign-in-sso',
|
|
path: '/sign-in-sso',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthSignInPartnerRoute = AuthSignInPartnerRouteImport.update({
|
|
id: '/_auth/sign-in-partner',
|
|
path: '/sign-in-partner',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthSignInMfaRoute = AuthSignInMfaRouteImport.update({
|
|
id: '/_auth/sign-in-mfa',
|
|
path: '/sign-in-mfa',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthSignInRoute = AuthSignInRouteImport.update({
|
|
id: '/_auth/sign-in',
|
|
path: '/sign-in',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthResetPasswordRoute = AuthResetPasswordRouteImport.update({
|
|
id: '/_auth/reset-password',
|
|
path: '/reset-password',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthForgotPasswordMfaRoute = AuthForgotPasswordMfaRouteImport.update({
|
|
id: '/_auth/forgot-password-mfa',
|
|
path: '/forgot-password-mfa',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthForgotPasswordRoute = AuthForgotPasswordRouteImport.update({
|
|
id: '/_auth/forgot-password',
|
|
path: '/forgot-password',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppOrganizationsRoute = AppOrganizationsRouteImport.update({
|
|
id: '/_app/organizations',
|
|
path: '/organizations',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppOrgRoute = AppOrgRouteImport.update({
|
|
id: '/_app/org',
|
|
path: '/org',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppAccountRoute = AppAccountRouteImport.update({
|
|
id: '/_app/account',
|
|
path: '/account',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppOrgIndexRoute = AppOrgIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppNewIndexRoute = AppNewIndexRouteImport.update({
|
|
id: '/_app/new/',
|
|
path: '/new/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthCliLoginRoute = AuthCliLoginRouteImport.update({
|
|
id: '/_auth/cli/login',
|
|
path: '/cli/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppSupportNewRoute = AppSupportNewRouteImport.update({
|
|
id: '/_app/support/new',
|
|
path: '/support/new',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppSupportLinkRoute = AppSupportLinkRouteImport.update({
|
|
id: '/_app/support/link',
|
|
path: '/support/link',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppAccountSecurityRoute = AppAccountSecurityRouteImport.update({
|
|
id: '/security',
|
|
path: '/security',
|
|
getParentRoute: () => AppAccountRoute,
|
|
} as any)
|
|
const AppAccountMeRoute = AppAccountMeRouteImport.update({
|
|
id: '/me',
|
|
path: '/me',
|
|
getParentRoute: () => AppAccountRoute,
|
|
} as any)
|
|
const AppAccountAuditRoute = AppAccountAuditRouteImport.update({
|
|
id: '/audit',
|
|
path: '/audit',
|
|
getParentRoute: () => AppAccountRoute,
|
|
} as any)
|
|
const AppOrgSlugIndexRoute = AppOrgSlugIndexRouteImport.update({
|
|
id: '/$slug/',
|
|
path: '/$slug/',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppAccountTokensIndexRoute = AppAccountTokensIndexRouteImport.update({
|
|
id: '/tokens/',
|
|
path: '/tokens/',
|
|
getParentRoute: () => AppAccountRoute,
|
|
} as any)
|
|
const AppOrgSlugUsageRoute = AppOrgSlugUsageRouteImport.update({
|
|
id: '/$slug/usage',
|
|
path: '/$slug/usage',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugTeamRoute = AppOrgSlugTeamRouteImport.update({
|
|
id: '/$slug/team',
|
|
path: '/$slug/team',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugSsoRoute = AppOrgSlugSsoRouteImport.update({
|
|
id: '/$slug/sso',
|
|
path: '/$slug/sso',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugSecurityRoute = AppOrgSlugSecurityRouteImport.update({
|
|
id: '/$slug/security',
|
|
path: '/$slug/security',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugIntegrationsRoute = AppOrgSlugIntegrationsRouteImport.update({
|
|
id: '/$slug/integrations',
|
|
path: '/$slug/integrations',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugGeneralRoute = AppOrgSlugGeneralRouteImport.update({
|
|
id: '/$slug/general',
|
|
path: '/$slug/general',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugDocumentsRoute = AppOrgSlugDocumentsRouteImport.update({
|
|
id: '/$slug/documents',
|
|
path: '/$slug/documents',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugBillingRoute = AppOrgSlugBillingRouteImport.update({
|
|
id: '/$slug/billing',
|
|
path: '/$slug/billing',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugAuditLogDrainsRoute =
|
|
AppOrgSlugAuditLogDrainsRouteImport.update({
|
|
id: '/$slug/audit-log-drains',
|
|
path: '/$slug/audit-log-drains',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugAuditRoute = AppOrgSlugAuditRouteImport.update({
|
|
id: '/$slug/audit',
|
|
path: '/$slug/audit',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugAppsRoute = AppOrgSlugAppsRouteImport.update({
|
|
id: '/$slug/apps',
|
|
path: '/$slug/apps',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppAccountTokensScopedRoute = AppAccountTokensScopedRouteImport.update({
|
|
id: '/tokens/scoped',
|
|
path: '/tokens/scoped',
|
|
getParentRoute: () => AppAccountRoute,
|
|
} as any)
|
|
const AppOrgSlugWebhooksIndexRoute = AppOrgSlugWebhooksIndexRouteImport.update({
|
|
id: '/$slug/webhooks/',
|
|
path: '/$slug/webhooks/',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AppOrgSlugPrivateAppsIndexRoute =
|
|
AppOrgSlugPrivateAppsIndexRouteImport.update({
|
|
id: '/$slug/private-apps/',
|
|
path: '/$slug/private-apps/',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
const AuthPartnersStripeProjectsLoginRoute =
|
|
AuthPartnersStripeProjectsLoginRouteImport.update({
|
|
id: '/_auth/partners/stripe/projects/login',
|
|
path: '/partners/stripe/projects/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AppOrgSlugWebhooksEndpointIdRoute =
|
|
AppOrgSlugWebhooksEndpointIdRouteImport.update({
|
|
id: '/$slug/webhooks/$endpointId',
|
|
path: '/$slug/webhooks/$endpointId',
|
|
getParentRoute: () => AppOrgRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/account': typeof AppAccountRouteWithChildren
|
|
'/org': typeof AppOrgRouteWithChildren
|
|
'/organizations': typeof AppOrganizationsRoute
|
|
'/forgot-password': typeof AuthForgotPasswordRoute
|
|
'/forgot-password-mfa': typeof AuthForgotPasswordMfaRoute
|
|
'/reset-password': typeof AuthResetPasswordRoute
|
|
'/sign-in': typeof AuthSignInRoute
|
|
'/sign-in-mfa': typeof AuthSignInMfaRoute
|
|
'/sign-in-partner': typeof AuthSignInPartnerRoute
|
|
'/sign-in-sso': typeof AuthSignInSsoRoute
|
|
'/sign-up': typeof AuthSignUpRoute
|
|
'/account/audit': typeof AppAccountAuditRoute
|
|
'/account/me': typeof AppAccountMeRoute
|
|
'/account/security': typeof AppAccountSecurityRoute
|
|
'/support/link': typeof AppSupportLinkRoute
|
|
'/support/new': typeof AppSupportNewRoute
|
|
'/cli/login': typeof AuthCliLoginRoute
|
|
'/new/': typeof AppNewIndexRoute
|
|
'/org/': typeof AppOrgIndexRoute
|
|
'/account/tokens/scoped': typeof AppAccountTokensScopedRoute
|
|
'/org/$slug/apps': typeof AppOrgSlugAppsRoute
|
|
'/org/$slug/audit': typeof AppOrgSlugAuditRoute
|
|
'/org/$slug/audit-log-drains': typeof AppOrgSlugAuditLogDrainsRoute
|
|
'/org/$slug/billing': typeof AppOrgSlugBillingRoute
|
|
'/org/$slug/documents': typeof AppOrgSlugDocumentsRoute
|
|
'/org/$slug/general': typeof AppOrgSlugGeneralRoute
|
|
'/org/$slug/integrations': typeof AppOrgSlugIntegrationsRoute
|
|
'/org/$slug/security': typeof AppOrgSlugSecurityRoute
|
|
'/org/$slug/sso': typeof AppOrgSlugSsoRoute
|
|
'/org/$slug/team': typeof AppOrgSlugTeamRoute
|
|
'/org/$slug/usage': typeof AppOrgSlugUsageRoute
|
|
'/account/tokens/': typeof AppAccountTokensIndexRoute
|
|
'/org/$slug/': typeof AppOrgSlugIndexRoute
|
|
'/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute
|
|
'/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute
|
|
'/org/$slug/private-apps/': typeof AppOrgSlugPrivateAppsIndexRoute
|
|
'/org/$slug/webhooks/': typeof AppOrgSlugWebhooksIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/account': typeof AppAccountRouteWithChildren
|
|
'/organizations': typeof AppOrganizationsRoute
|
|
'/forgot-password': typeof AuthForgotPasswordRoute
|
|
'/forgot-password-mfa': typeof AuthForgotPasswordMfaRoute
|
|
'/reset-password': typeof AuthResetPasswordRoute
|
|
'/sign-in': typeof AuthSignInRoute
|
|
'/sign-in-mfa': typeof AuthSignInMfaRoute
|
|
'/sign-in-partner': typeof AuthSignInPartnerRoute
|
|
'/sign-in-sso': typeof AuthSignInSsoRoute
|
|
'/sign-up': typeof AuthSignUpRoute
|
|
'/account/audit': typeof AppAccountAuditRoute
|
|
'/account/me': typeof AppAccountMeRoute
|
|
'/account/security': typeof AppAccountSecurityRoute
|
|
'/support/link': typeof AppSupportLinkRoute
|
|
'/support/new': typeof AppSupportNewRoute
|
|
'/cli/login': typeof AuthCliLoginRoute
|
|
'/new': typeof AppNewIndexRoute
|
|
'/org': typeof AppOrgIndexRoute
|
|
'/account/tokens/scoped': typeof AppAccountTokensScopedRoute
|
|
'/org/$slug/apps': typeof AppOrgSlugAppsRoute
|
|
'/org/$slug/audit': typeof AppOrgSlugAuditRoute
|
|
'/org/$slug/audit-log-drains': typeof AppOrgSlugAuditLogDrainsRoute
|
|
'/org/$slug/billing': typeof AppOrgSlugBillingRoute
|
|
'/org/$slug/documents': typeof AppOrgSlugDocumentsRoute
|
|
'/org/$slug/general': typeof AppOrgSlugGeneralRoute
|
|
'/org/$slug/integrations': typeof AppOrgSlugIntegrationsRoute
|
|
'/org/$slug/security': typeof AppOrgSlugSecurityRoute
|
|
'/org/$slug/sso': typeof AppOrgSlugSsoRoute
|
|
'/org/$slug/team': typeof AppOrgSlugTeamRoute
|
|
'/org/$slug/usage': typeof AppOrgSlugUsageRoute
|
|
'/account/tokens': typeof AppAccountTokensIndexRoute
|
|
'/org/$slug': typeof AppOrgSlugIndexRoute
|
|
'/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute
|
|
'/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute
|
|
'/org/$slug/private-apps': typeof AppOrgSlugPrivateAppsIndexRoute
|
|
'/org/$slug/webhooks': typeof AppOrgSlugWebhooksIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/_app/account': typeof AppAccountRouteWithChildren
|
|
'/_app/org': typeof AppOrgRouteWithChildren
|
|
'/_app/organizations': typeof AppOrganizationsRoute
|
|
'/_auth/forgot-password': typeof AuthForgotPasswordRoute
|
|
'/_auth/forgot-password-mfa': typeof AuthForgotPasswordMfaRoute
|
|
'/_auth/reset-password': typeof AuthResetPasswordRoute
|
|
'/_auth/sign-in': typeof AuthSignInRoute
|
|
'/_auth/sign-in-mfa': typeof AuthSignInMfaRoute
|
|
'/_auth/sign-in-partner': typeof AuthSignInPartnerRoute
|
|
'/_auth/sign-in-sso': typeof AuthSignInSsoRoute
|
|
'/_auth/sign-up': typeof AuthSignUpRoute
|
|
'/_app/account/audit': typeof AppAccountAuditRoute
|
|
'/_app/account/me': typeof AppAccountMeRoute
|
|
'/_app/account/security': typeof AppAccountSecurityRoute
|
|
'/_app/support/link': typeof AppSupportLinkRoute
|
|
'/_app/support/new': typeof AppSupportNewRoute
|
|
'/_auth/cli/login': typeof AuthCliLoginRoute
|
|
'/_app/new/': typeof AppNewIndexRoute
|
|
'/_app/org/': typeof AppOrgIndexRoute
|
|
'/_app/account/tokens/scoped': typeof AppAccountTokensScopedRoute
|
|
'/_app/org/$slug/apps': typeof AppOrgSlugAppsRoute
|
|
'/_app/org/$slug/audit': typeof AppOrgSlugAuditRoute
|
|
'/_app/org/$slug/audit-log-drains': typeof AppOrgSlugAuditLogDrainsRoute
|
|
'/_app/org/$slug/billing': typeof AppOrgSlugBillingRoute
|
|
'/_app/org/$slug/documents': typeof AppOrgSlugDocumentsRoute
|
|
'/_app/org/$slug/general': typeof AppOrgSlugGeneralRoute
|
|
'/_app/org/$slug/integrations': typeof AppOrgSlugIntegrationsRoute
|
|
'/_app/org/$slug/security': typeof AppOrgSlugSecurityRoute
|
|
'/_app/org/$slug/sso': typeof AppOrgSlugSsoRoute
|
|
'/_app/org/$slug/team': typeof AppOrgSlugTeamRoute
|
|
'/_app/org/$slug/usage': typeof AppOrgSlugUsageRoute
|
|
'/_app/account/tokens/': typeof AppAccountTokensIndexRoute
|
|
'/_app/org/$slug/': typeof AppOrgSlugIndexRoute
|
|
'/_app/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute
|
|
'/_auth/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute
|
|
'/_app/org/$slug/private-apps/': typeof AppOrgSlugPrivateAppsIndexRoute
|
|
'/_app/org/$slug/webhooks/': typeof AppOrgSlugWebhooksIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/account'
|
|
| '/org'
|
|
| '/organizations'
|
|
| '/forgot-password'
|
|
| '/forgot-password-mfa'
|
|
| '/reset-password'
|
|
| '/sign-in'
|
|
| '/sign-in-mfa'
|
|
| '/sign-in-partner'
|
|
| '/sign-in-sso'
|
|
| '/sign-up'
|
|
| '/account/audit'
|
|
| '/account/me'
|
|
| '/account/security'
|
|
| '/support/link'
|
|
| '/support/new'
|
|
| '/cli/login'
|
|
| '/new/'
|
|
| '/org/'
|
|
| '/account/tokens/scoped'
|
|
| '/org/$slug/apps'
|
|
| '/org/$slug/audit'
|
|
| '/org/$slug/audit-log-drains'
|
|
| '/org/$slug/billing'
|
|
| '/org/$slug/documents'
|
|
| '/org/$slug/general'
|
|
| '/org/$slug/integrations'
|
|
| '/org/$slug/security'
|
|
| '/org/$slug/sso'
|
|
| '/org/$slug/team'
|
|
| '/org/$slug/usage'
|
|
| '/account/tokens/'
|
|
| '/org/$slug/'
|
|
| '/org/$slug/webhooks/$endpointId'
|
|
| '/partners/stripe/projects/login'
|
|
| '/org/$slug/private-apps/'
|
|
| '/org/$slug/webhooks/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/account'
|
|
| '/organizations'
|
|
| '/forgot-password'
|
|
| '/forgot-password-mfa'
|
|
| '/reset-password'
|
|
| '/sign-in'
|
|
| '/sign-in-mfa'
|
|
| '/sign-in-partner'
|
|
| '/sign-in-sso'
|
|
| '/sign-up'
|
|
| '/account/audit'
|
|
| '/account/me'
|
|
| '/account/security'
|
|
| '/support/link'
|
|
| '/support/new'
|
|
| '/cli/login'
|
|
| '/new'
|
|
| '/org'
|
|
| '/account/tokens/scoped'
|
|
| '/org/$slug/apps'
|
|
| '/org/$slug/audit'
|
|
| '/org/$slug/audit-log-drains'
|
|
| '/org/$slug/billing'
|
|
| '/org/$slug/documents'
|
|
| '/org/$slug/general'
|
|
| '/org/$slug/integrations'
|
|
| '/org/$slug/security'
|
|
| '/org/$slug/sso'
|
|
| '/org/$slug/team'
|
|
| '/org/$slug/usage'
|
|
| '/account/tokens'
|
|
| '/org/$slug'
|
|
| '/org/$slug/webhooks/$endpointId'
|
|
| '/partners/stripe/projects/login'
|
|
| '/org/$slug/private-apps'
|
|
| '/org/$slug/webhooks'
|
|
id:
|
|
| '__root__'
|
|
| '/_app/account'
|
|
| '/_app/org'
|
|
| '/_app/organizations'
|
|
| '/_auth/forgot-password'
|
|
| '/_auth/forgot-password-mfa'
|
|
| '/_auth/reset-password'
|
|
| '/_auth/sign-in'
|
|
| '/_auth/sign-in-mfa'
|
|
| '/_auth/sign-in-partner'
|
|
| '/_auth/sign-in-sso'
|
|
| '/_auth/sign-up'
|
|
| '/_app/account/audit'
|
|
| '/_app/account/me'
|
|
| '/_app/account/security'
|
|
| '/_app/support/link'
|
|
| '/_app/support/new'
|
|
| '/_auth/cli/login'
|
|
| '/_app/new/'
|
|
| '/_app/org/'
|
|
| '/_app/account/tokens/scoped'
|
|
| '/_app/org/$slug/apps'
|
|
| '/_app/org/$slug/audit'
|
|
| '/_app/org/$slug/audit-log-drains'
|
|
| '/_app/org/$slug/billing'
|
|
| '/_app/org/$slug/documents'
|
|
| '/_app/org/$slug/general'
|
|
| '/_app/org/$slug/integrations'
|
|
| '/_app/org/$slug/security'
|
|
| '/_app/org/$slug/sso'
|
|
| '/_app/org/$slug/team'
|
|
| '/_app/org/$slug/usage'
|
|
| '/_app/account/tokens/'
|
|
| '/_app/org/$slug/'
|
|
| '/_app/org/$slug/webhooks/$endpointId'
|
|
| '/_auth/partners/stripe/projects/login'
|
|
| '/_app/org/$slug/private-apps/'
|
|
| '/_app/org/$slug/webhooks/'
|
|
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
|
|
AppSupportLinkRoute: typeof AppSupportLinkRoute
|
|
AppSupportNewRoute: typeof AppSupportNewRoute
|
|
AuthCliLoginRoute: typeof AuthCliLoginRoute
|
|
AppNewIndexRoute: typeof AppNewIndexRoute
|
|
AuthPartnersStripeProjectsLoginRoute: typeof AuthPartnersStripeProjectsLoginRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/_auth/sign-up': {
|
|
id: '/_auth/sign-up'
|
|
path: '/sign-up'
|
|
fullPath: '/sign-up'
|
|
preLoaderRoute: typeof AuthSignUpRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/sign-in-sso': {
|
|
id: '/_auth/sign-in-sso'
|
|
path: '/sign-in-sso'
|
|
fullPath: '/sign-in-sso'
|
|
preLoaderRoute: typeof AuthSignInSsoRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/sign-in-partner': {
|
|
id: '/_auth/sign-in-partner'
|
|
path: '/sign-in-partner'
|
|
fullPath: '/sign-in-partner'
|
|
preLoaderRoute: typeof AuthSignInPartnerRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/sign-in-mfa': {
|
|
id: '/_auth/sign-in-mfa'
|
|
path: '/sign-in-mfa'
|
|
fullPath: '/sign-in-mfa'
|
|
preLoaderRoute: typeof AuthSignInMfaRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/sign-in': {
|
|
id: '/_auth/sign-in'
|
|
path: '/sign-in'
|
|
fullPath: '/sign-in'
|
|
preLoaderRoute: typeof AuthSignInRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/reset-password': {
|
|
id: '/_auth/reset-password'
|
|
path: '/reset-password'
|
|
fullPath: '/reset-password'
|
|
preLoaderRoute: typeof AuthResetPasswordRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/forgot-password-mfa': {
|
|
id: '/_auth/forgot-password-mfa'
|
|
path: '/forgot-password-mfa'
|
|
fullPath: '/forgot-password-mfa'
|
|
preLoaderRoute: typeof AuthForgotPasswordMfaRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/forgot-password': {
|
|
id: '/_auth/forgot-password'
|
|
path: '/forgot-password'
|
|
fullPath: '/forgot-password'
|
|
preLoaderRoute: typeof AuthForgotPasswordRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/organizations': {
|
|
id: '/_app/organizations'
|
|
path: '/organizations'
|
|
fullPath: '/organizations'
|
|
preLoaderRoute: typeof AppOrganizationsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/org': {
|
|
id: '/_app/org'
|
|
path: '/org'
|
|
fullPath: '/org'
|
|
preLoaderRoute: typeof AppOrgRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/account': {
|
|
id: '/_app/account'
|
|
path: '/account'
|
|
fullPath: '/account'
|
|
preLoaderRoute: typeof AppAccountRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/org/': {
|
|
id: '/_app/org/'
|
|
path: '/'
|
|
fullPath: '/org/'
|
|
preLoaderRoute: typeof AppOrgIndexRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/new/': {
|
|
id: '/_app/new/'
|
|
path: '/new'
|
|
fullPath: '/new/'
|
|
preLoaderRoute: typeof AppNewIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/cli/login': {
|
|
id: '/_auth/cli/login'
|
|
path: '/cli/login'
|
|
fullPath: '/cli/login'
|
|
preLoaderRoute: typeof AuthCliLoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/support/new': {
|
|
id: '/_app/support/new'
|
|
path: '/support/new'
|
|
fullPath: '/support/new'
|
|
preLoaderRoute: typeof AppSupportNewRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/support/link': {
|
|
id: '/_app/support/link'
|
|
path: '/support/link'
|
|
fullPath: '/support/link'
|
|
preLoaderRoute: typeof AppSupportLinkRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/account/security': {
|
|
id: '/_app/account/security'
|
|
path: '/security'
|
|
fullPath: '/account/security'
|
|
preLoaderRoute: typeof AppAccountSecurityRouteImport
|
|
parentRoute: typeof AppAccountRoute
|
|
}
|
|
'/_app/account/me': {
|
|
id: '/_app/account/me'
|
|
path: '/me'
|
|
fullPath: '/account/me'
|
|
preLoaderRoute: typeof AppAccountMeRouteImport
|
|
parentRoute: typeof AppAccountRoute
|
|
}
|
|
'/_app/account/audit': {
|
|
id: '/_app/account/audit'
|
|
path: '/audit'
|
|
fullPath: '/account/audit'
|
|
preLoaderRoute: typeof AppAccountAuditRouteImport
|
|
parentRoute: typeof AppAccountRoute
|
|
}
|
|
'/_app/org/$slug/': {
|
|
id: '/_app/org/$slug/'
|
|
path: '/$slug'
|
|
fullPath: '/org/$slug/'
|
|
preLoaderRoute: typeof AppOrgSlugIndexRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/account/tokens/': {
|
|
id: '/_app/account/tokens/'
|
|
path: '/tokens'
|
|
fullPath: '/account/tokens/'
|
|
preLoaderRoute: typeof AppAccountTokensIndexRouteImport
|
|
parentRoute: typeof AppAccountRoute
|
|
}
|
|
'/_app/org/$slug/usage': {
|
|
id: '/_app/org/$slug/usage'
|
|
path: '/$slug/usage'
|
|
fullPath: '/org/$slug/usage'
|
|
preLoaderRoute: typeof AppOrgSlugUsageRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/team': {
|
|
id: '/_app/org/$slug/team'
|
|
path: '/$slug/team'
|
|
fullPath: '/org/$slug/team'
|
|
preLoaderRoute: typeof AppOrgSlugTeamRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/sso': {
|
|
id: '/_app/org/$slug/sso'
|
|
path: '/$slug/sso'
|
|
fullPath: '/org/$slug/sso'
|
|
preLoaderRoute: typeof AppOrgSlugSsoRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/security': {
|
|
id: '/_app/org/$slug/security'
|
|
path: '/$slug/security'
|
|
fullPath: '/org/$slug/security'
|
|
preLoaderRoute: typeof AppOrgSlugSecurityRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/integrations': {
|
|
id: '/_app/org/$slug/integrations'
|
|
path: '/$slug/integrations'
|
|
fullPath: '/org/$slug/integrations'
|
|
preLoaderRoute: typeof AppOrgSlugIntegrationsRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/general': {
|
|
id: '/_app/org/$slug/general'
|
|
path: '/$slug/general'
|
|
fullPath: '/org/$slug/general'
|
|
preLoaderRoute: typeof AppOrgSlugGeneralRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/documents': {
|
|
id: '/_app/org/$slug/documents'
|
|
path: '/$slug/documents'
|
|
fullPath: '/org/$slug/documents'
|
|
preLoaderRoute: typeof AppOrgSlugDocumentsRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/billing': {
|
|
id: '/_app/org/$slug/billing'
|
|
path: '/$slug/billing'
|
|
fullPath: '/org/$slug/billing'
|
|
preLoaderRoute: typeof AppOrgSlugBillingRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/audit-log-drains': {
|
|
id: '/_app/org/$slug/audit-log-drains'
|
|
path: '/$slug/audit-log-drains'
|
|
fullPath: '/org/$slug/audit-log-drains'
|
|
preLoaderRoute: typeof AppOrgSlugAuditLogDrainsRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/audit': {
|
|
id: '/_app/org/$slug/audit'
|
|
path: '/$slug/audit'
|
|
fullPath: '/org/$slug/audit'
|
|
preLoaderRoute: typeof AppOrgSlugAuditRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/apps': {
|
|
id: '/_app/org/$slug/apps'
|
|
path: '/$slug/apps'
|
|
fullPath: '/org/$slug/apps'
|
|
preLoaderRoute: typeof AppOrgSlugAppsRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/account/tokens/scoped': {
|
|
id: '/_app/account/tokens/scoped'
|
|
path: '/tokens/scoped'
|
|
fullPath: '/account/tokens/scoped'
|
|
preLoaderRoute: typeof AppAccountTokensScopedRouteImport
|
|
parentRoute: typeof AppAccountRoute
|
|
}
|
|
'/_app/org/$slug/webhooks/': {
|
|
id: '/_app/org/$slug/webhooks/'
|
|
path: '/$slug/webhooks'
|
|
fullPath: '/org/$slug/webhooks/'
|
|
preLoaderRoute: typeof AppOrgSlugWebhooksIndexRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_app/org/$slug/private-apps/': {
|
|
id: '/_app/org/$slug/private-apps/'
|
|
path: '/$slug/private-apps'
|
|
fullPath: '/org/$slug/private-apps/'
|
|
preLoaderRoute: typeof AppOrgSlugPrivateAppsIndexRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
'/_auth/partners/stripe/projects/login': {
|
|
id: '/_auth/partners/stripe/projects/login'
|
|
path: '/partners/stripe/projects/login'
|
|
fullPath: '/partners/stripe/projects/login'
|
|
preLoaderRoute: typeof AuthPartnersStripeProjectsLoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_app/org/$slug/webhooks/$endpointId': {
|
|
id: '/_app/org/$slug/webhooks/$endpointId'
|
|
path: '/$slug/webhooks/$endpointId'
|
|
fullPath: '/org/$slug/webhooks/$endpointId'
|
|
preLoaderRoute: typeof AppOrgSlugWebhooksEndpointIdRouteImport
|
|
parentRoute: typeof AppOrgRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface AppAccountRouteChildren {
|
|
AppAccountAuditRoute: typeof AppAccountAuditRoute
|
|
AppAccountMeRoute: typeof AppAccountMeRoute
|
|
AppAccountSecurityRoute: typeof AppAccountSecurityRoute
|
|
AppAccountTokensScopedRoute: typeof AppAccountTokensScopedRoute
|
|
AppAccountTokensIndexRoute: typeof AppAccountTokensIndexRoute
|
|
}
|
|
|
|
const AppAccountRouteChildren: AppAccountRouteChildren = {
|
|
AppAccountAuditRoute: AppAccountAuditRoute,
|
|
AppAccountMeRoute: AppAccountMeRoute,
|
|
AppAccountSecurityRoute: AppAccountSecurityRoute,
|
|
AppAccountTokensScopedRoute: AppAccountTokensScopedRoute,
|
|
AppAccountTokensIndexRoute: AppAccountTokensIndexRoute,
|
|
}
|
|
|
|
const AppAccountRouteWithChildren = AppAccountRoute._addFileChildren(
|
|
AppAccountRouteChildren,
|
|
)
|
|
|
|
interface AppOrgRouteChildren {
|
|
AppOrgIndexRoute: typeof AppOrgIndexRoute
|
|
AppOrgSlugAppsRoute: typeof AppOrgSlugAppsRoute
|
|
AppOrgSlugAuditRoute: typeof AppOrgSlugAuditRoute
|
|
AppOrgSlugAuditLogDrainsRoute: typeof AppOrgSlugAuditLogDrainsRoute
|
|
AppOrgSlugBillingRoute: typeof AppOrgSlugBillingRoute
|
|
AppOrgSlugDocumentsRoute: typeof AppOrgSlugDocumentsRoute
|
|
AppOrgSlugGeneralRoute: typeof AppOrgSlugGeneralRoute
|
|
AppOrgSlugIntegrationsRoute: typeof AppOrgSlugIntegrationsRoute
|
|
AppOrgSlugSecurityRoute: typeof AppOrgSlugSecurityRoute
|
|
AppOrgSlugSsoRoute: typeof AppOrgSlugSsoRoute
|
|
AppOrgSlugTeamRoute: typeof AppOrgSlugTeamRoute
|
|
AppOrgSlugUsageRoute: typeof AppOrgSlugUsageRoute
|
|
AppOrgSlugIndexRoute: typeof AppOrgSlugIndexRoute
|
|
AppOrgSlugWebhooksEndpointIdRoute: typeof AppOrgSlugWebhooksEndpointIdRoute
|
|
AppOrgSlugPrivateAppsIndexRoute: typeof AppOrgSlugPrivateAppsIndexRoute
|
|
AppOrgSlugWebhooksIndexRoute: typeof AppOrgSlugWebhooksIndexRoute
|
|
}
|
|
|
|
const AppOrgRouteChildren: AppOrgRouteChildren = {
|
|
AppOrgIndexRoute: AppOrgIndexRoute,
|
|
AppOrgSlugAppsRoute: AppOrgSlugAppsRoute,
|
|
AppOrgSlugAuditRoute: AppOrgSlugAuditRoute,
|
|
AppOrgSlugAuditLogDrainsRoute: AppOrgSlugAuditLogDrainsRoute,
|
|
AppOrgSlugBillingRoute: AppOrgSlugBillingRoute,
|
|
AppOrgSlugDocumentsRoute: AppOrgSlugDocumentsRoute,
|
|
AppOrgSlugGeneralRoute: AppOrgSlugGeneralRoute,
|
|
AppOrgSlugIntegrationsRoute: AppOrgSlugIntegrationsRoute,
|
|
AppOrgSlugSecurityRoute: AppOrgSlugSecurityRoute,
|
|
AppOrgSlugSsoRoute: AppOrgSlugSsoRoute,
|
|
AppOrgSlugTeamRoute: AppOrgSlugTeamRoute,
|
|
AppOrgSlugUsageRoute: AppOrgSlugUsageRoute,
|
|
AppOrgSlugIndexRoute: AppOrgSlugIndexRoute,
|
|
AppOrgSlugWebhooksEndpointIdRoute: AppOrgSlugWebhooksEndpointIdRoute,
|
|
AppOrgSlugPrivateAppsIndexRoute: AppOrgSlugPrivateAppsIndexRoute,
|
|
AppOrgSlugWebhooksIndexRoute: AppOrgSlugWebhooksIndexRoute,
|
|
}
|
|
|
|
const AppOrgRouteWithChildren =
|
|
AppOrgRoute._addFileChildren(AppOrgRouteChildren)
|
|
|
|
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,
|
|
AppSupportLinkRoute: AppSupportLinkRoute,
|
|
AppSupportNewRoute: AppSupportNewRoute,
|
|
AuthCliLoginRoute: AuthCliLoginRoute,
|
|
AppNewIndexRoute: AppNewIndexRoute,
|
|
AuthPartnersStripeProjectsLoginRoute: AuthPartnersStripeProjectsLoginRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { startInstance } from './start.ts'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
config: Awaited<ReturnType<typeof startInstance.getOptions>>
|
|
}
|
|
}
|