diff --git a/apps/frontend/src/routeTree.gen.ts b/apps/frontend/src/routeTree.gen.ts index 56439a8..300baa7 100644 --- a/apps/frontend/src/routeTree.gen.ts +++ b/apps/frontend/src/routeTree.gen.ts @@ -9,6 +9,7 @@ // 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 ResetPasswordRouteImport } from './routes/reset-password' import { Route as OnboardRouteImport } from './routes/onboard' import { Route as LoginRouteImport } from './routes/login' import { Route as AppRouteRouteImport } from './routes/_app/route' @@ -21,6 +22,11 @@ import { Route as ComplexSlugBookingIndexRouteImport } from './routes/$complexSl import { Route as ComplexSlugBookingConfirmedBookingCodeRouteImport } from './routes/$complexSlug/booking/confirmed/$bookingCode' import { Route as AppAuthenticatedComplexSlugEditRouteImport } from './routes/_app/_authenticated/complex/$slug/edit' +const ResetPasswordRoute = ResetPasswordRouteImport.update({ + id: '/reset-password', + path: '/reset-password', + getParentRoute: () => rootRouteImport, +} as any) const OnboardRoute = OnboardRouteImport.update({ id: '/onboard', path: '/onboard', @@ -81,6 +87,7 @@ export interface FileRoutesByFullPath { '/': typeof AppAuthenticatedIndexRoute '/login': typeof LoginRoute '/onboard': typeof OnboardRoute + '/reset-password': typeof ResetPasswordRoute '/$complexSlug/booking': typeof ComplexSlugBookingRouteWithChildren '/about': typeof AppAboutRoute '/profile': typeof AppProfileRoute @@ -92,6 +99,7 @@ export interface FileRoutesByTo { '/': typeof AppAuthenticatedIndexRoute '/login': typeof LoginRoute '/onboard': typeof OnboardRoute + '/reset-password': typeof ResetPasswordRoute '/about': typeof AppAboutRoute '/profile': typeof AppProfileRoute '/$complexSlug/booking': typeof ComplexSlugBookingIndexRoute @@ -103,6 +111,7 @@ export interface FileRoutesById { '/_app': typeof AppRouteRouteWithChildren '/login': typeof LoginRoute '/onboard': typeof OnboardRoute + '/reset-password': typeof ResetPasswordRoute '/_app/_authenticated': typeof AppAuthenticatedRouteRouteWithChildren '/$complexSlug/booking': typeof ComplexSlugBookingRouteWithChildren '/_app/about': typeof AppAboutRoute @@ -118,6 +127,7 @@ export interface FileRouteTypes { | '/' | '/login' | '/onboard' + | '/reset-password' | '/$complexSlug/booking' | '/about' | '/profile' @@ -129,6 +139,7 @@ export interface FileRouteTypes { | '/' | '/login' | '/onboard' + | '/reset-password' | '/about' | '/profile' | '/$complexSlug/booking' @@ -139,6 +150,7 @@ export interface FileRouteTypes { | '/_app' | '/login' | '/onboard' + | '/reset-password' | '/_app/_authenticated' | '/$complexSlug/booking' | '/_app/about' @@ -153,11 +165,19 @@ export interface RootRouteChildren { AppRouteRoute: typeof AppRouteRouteWithChildren LoginRoute: typeof LoginRoute OnboardRoute: typeof OnboardRoute + ResetPasswordRoute: typeof ResetPasswordRoute ComplexSlugBookingRoute: typeof ComplexSlugBookingRouteWithChildren } declare module '@tanstack/react-router' { interface FileRoutesByPath { + '/reset-password': { + id: '/reset-password' + path: '/reset-password' + fullPath: '/reset-password' + preLoaderRoute: typeof ResetPasswordRouteImport + parentRoute: typeof rootRouteImport + } '/onboard': { id: '/onboard' path: '/onboard' @@ -287,6 +307,7 @@ const rootRouteChildren: RootRouteChildren = { AppRouteRoute: AppRouteRouteWithChildren, LoginRoute: LoginRoute, OnboardRoute: OnboardRoute, + ResetPasswordRoute: ResetPasswordRoute, ComplexSlugBookingRoute: ComplexSlugBookingRouteWithChildren, } export const routeTree = rootRouteImport