Open History to see the last commit
1/* eslint-disable */
2β
3// @ts-nocheck
4β
5// noinspection JSUnusedGlobalSymbols
6β
7// This file was automatically generated by TanStack Router.
8// You should NOT make any changes in this file as it will be overwritten.
9// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
10β
11import { Route as rootRouteImport } from './routes/__root'
12import { Route as IndexRouteImport } from './routes/index'
13import { Route as AuthenticatedRouteImport } from './routes/_authenticated'
14import { Route as ClientRouteImport } from './routes/client'
15import { Route as LogoutRouteImport } from './routes/logout'
16import { Route as AuthenticatedAccountRouteImport } from './routes/_authenticated/account'
17import { Route as ApiAuthCallbackRouteImport } from './routes/api/auth/callback'
18β
19const IndexRoute = IndexRouteImport.update({
20 id: '/',
21 path: '/',
22 getParentRoute: () => rootRouteImport,
23} as any)
24const AuthenticatedRoute = AuthenticatedRouteImport.update({
25 id: '/_authenticated',
26 getParentRoute: () => rootRouteImport,
27} as any)
28const ClientRoute = ClientRouteImport.update({
29 id: '/client',
30 path: '/client',
31 getParentRoute: () => rootRouteImport,
32} as any)
33const LogoutRoute = LogoutRouteImport.update({
34 id: '/logout',
35 path: '/logout',
36 getParentRoute: () => rootRouteImport,
37} as any)
38const AuthenticatedAccountRoute = AuthenticatedAccountRouteImport.update({
39 id: '/account',
40 path: '/account',
41 getParentRoute: () => AuthenticatedRoute,
42} as any)
43const ApiAuthCallbackRoute = ApiAuthCallbackRouteImport.update({
44 id: '/api/auth/callback',
45 path: '/api/auth/callback',
46 getParentRoute: () => rootRouteImport,
47} as any)
48β
49export interface FileRoutesByFullPath {
50 '/': typeof IndexRoute
51 '/client': typeof ClientRoute
52 '/logout': typeof LogoutRoute
53 '/account': typeof AuthenticatedAccountRoute
54 '/api/auth/callback': typeof ApiAuthCallbackRoute
55}
56export interface FileRoutesByTo {
57 '/': typeof IndexRoute
58 '/client': typeof ClientRoute
59 '/logout': typeof LogoutRoute
60 '/account': typeof AuthenticatedAccountRoute
61 '/api/auth/callback': typeof ApiAuthCallbackRoute
62}
63export interface FileRoutesById {
64 __root__: typeof rootRouteImport
65 '/': typeof IndexRoute
66 '/_authenticated': typeof AuthenticatedRouteWithChildren
67 '/client': typeof ClientRoute
68 '/logout': typeof LogoutRoute
69 '/_authenticated/account': typeof AuthenticatedAccountRoute
70 '/api/auth/callback': typeof ApiAuthCallbackRoute
71}
72export interface FileRouteTypes {
73 fileRoutesByFullPath: FileRoutesByFullPath
74 fullPaths: '/' | '/client' | '/logout' | '/account' | '/api/auth/callback'
75 fileRoutesByTo: FileRoutesByTo
76 to: '/' | '/client' | '/logout' | '/account' | '/api/auth/callback'
77 id:
78 | '__root__'
79 | '/'
80 | '/_authenticated'
81 | '/client'
82 | '/logout'
83 | '/_authenticated/account'
84 | '/api/auth/callback'
85 fileRoutesById: FileRoutesById
86}
87export interface RootRouteChildren {
88 IndexRoute: typeof IndexRoute
89 AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
90 ClientRoute: typeof ClientRoute
91 LogoutRoute: typeof LogoutRoute
92 ApiAuthCallbackRoute: typeof ApiAuthCallbackRoute
93}
94β
95declare module '@tanstack/react-router' {
96 interface FileRoutesByPath {
97 '/': {
98 id: '/'
99 path: '/'
100 fullPath: '/'
101 preLoaderRoute: typeof IndexRouteImport
102 parentRoute: typeof rootRouteImport
103 }
104 '/_authenticated': {
105 id: '/_authenticated'
106 path: ''
107 fullPath: '/'
108 preLoaderRoute: typeof AuthenticatedRouteImport
109 parentRoute: typeof rootRouteImport
110 }
111 '/client': {
112 id: '/client'
113 path: '/client'
114 fullPath: '/client'
115 preLoaderRoute: typeof ClientRouteImport
116 parentRoute: typeof rootRouteImport
117 }
118 '/logout': {
119 id: '/logout'
120 path: '/logout'
121 fullPath: '/logout'
122 preLoaderRoute: typeof LogoutRouteImport
123 parentRoute: typeof rootRouteImport
124 }
125 '/_authenticated/account': {
126 id: '/_authenticated/account'
127 path: '/account'
128 fullPath: '/account'
129 preLoaderRoute: typeof AuthenticatedAccountRouteImport
130 parentRoute: typeof AuthenticatedRoute
131 }
132 '/api/auth/callback': {
133 id: '/api/auth/callback'
134 path: '/api/auth/callback'
135 fullPath: '/api/auth/callback'
136 preLoaderRoute: typeof ApiAuthCallbackRouteImport
137 parentRoute: typeof rootRouteImport
138 }
139 }
140}
141β
142interface AuthenticatedRouteChildren {
143 AuthenticatedAccountRoute: typeof AuthenticatedAccountRoute
144}
145β
146const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
147 AuthenticatedAccountRoute: AuthenticatedAccountRoute,
148}
149β
150const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
151 AuthenticatedRouteChildren,
152)
153β
154const rootRouteChildren: RootRouteChildren = {
155 IndexRoute: IndexRoute,
156 AuthenticatedRoute: AuthenticatedRouteWithChildren,
157 ClientRoute: ClientRoute,
158 LogoutRoute: LogoutRoute,
159 ApiAuthCallbackRoute: ApiAuthCallbackRoute,
160}
161export const routeTree = rootRouteImport
162 ._addFileChildren(rootRouteChildren)
163 ._addFileTypes<FileRouteTypes>()
164β
165import type { getRouter } from './router.tsx'
166import type { startInstance } from './start.ts'
167declare module '@tanstack/react-start' {
168 interface Register {
169 ssr: true
170 router: Awaited<ReturnType<typeof getRouter>>
171 config: Awaited<ReturnType<typeof startInstance.getOptions>>
172 }
173}