← full-stack-fastapi-template  /  frontend/src/routeTree.gen.ts

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
11
import { Route as rootRouteImport } from './routes/__root'
12
import { Route as SignupRouteImport } from './routes/signup'
13
import { Route as ResetPasswordRouteImport } from './routes/reset-password'
14
import { Route as RecoverPasswordRouteImport } from './routes/recover-password'
15
import { Route as LoginRouteImport } from './routes/login'
16
import { Route as LayoutRouteImport } from './routes/_layout'
17
import { Route as LayoutIndexRouteImport } from './routes/_layout/index'
18
import { Route as LayoutSettingsRouteImport } from './routes/_layout/settings'
19
import { Route as LayoutItemsRouteImport } from './routes/_layout/items'
20
import { Route as LayoutAdminRouteImport } from './routes/_layout/admin'
21
22
const SignupRoute = SignupRouteImport.update({
23
  id: '/signup',
24
  path: '/signup',
25
  getParentRoute: () => rootRouteImport,
26
} as any)
27
const ResetPasswordRoute = ResetPasswordRouteImport.update({
28
  id: '/reset-password',
29
  path: '/reset-password',
30
  getParentRoute: () => rootRouteImport,
31
} as any)
32
const RecoverPasswordRoute = RecoverPasswordRouteImport.update({
33
  id: '/recover-password',
34
  path: '/recover-password',
35
  getParentRoute: () => rootRouteImport,
36
} as any)
37
const LoginRoute = LoginRouteImport.update({
38
  id: '/login',
39
  path: '/login',
40
  getParentRoute: () => rootRouteImport,
41
} as any)
42
const LayoutRoute = LayoutRouteImport.update({
43
  id: '/_layout',
44
  getParentRoute: () => rootRouteImport,
45
} as any)
46
const LayoutIndexRoute = LayoutIndexRouteImport.update({
47
  id: '/',
48
  path: '/',
49
  getParentRoute: () => LayoutRoute,
50
} as any)
51
const LayoutSettingsRoute = LayoutSettingsRouteImport.update({
52
  id: '/settings',
53
  path: '/settings',
54
  getParentRoute: () => LayoutRoute,
55
} as any)
56
const LayoutItemsRoute = LayoutItemsRouteImport.update({
57
  id: '/items',
58
  path: '/items',
59
  getParentRoute: () => LayoutRoute,
60
} as any)
61
const LayoutAdminRoute = LayoutAdminRouteImport.update({
62
  id: '/admin',
63
  path: '/admin',
64
  getParentRoute: () => LayoutRoute,
65
} as any)
66
67
export interface FileRoutesByFullPath {
68
  '/login': typeof LoginRoute
69
  '/recover-password': typeof RecoverPasswordRoute
70
  '/reset-password': typeof ResetPasswordRoute
71
  '/signup': typeof SignupRoute
72
  '/admin': typeof LayoutAdminRoute
73
  '/items': typeof LayoutItemsRoute
74
  '/settings': typeof LayoutSettingsRoute
75
  '/': typeof LayoutIndexRoute
76
}
77
export interface FileRoutesByTo {
78
  '/login': typeof LoginRoute
79
  '/recover-password': typeof RecoverPasswordRoute
80
  '/reset-password': typeof ResetPasswordRoute
81
  '/signup': typeof SignupRoute
82
  '/admin': typeof LayoutAdminRoute
83
  '/items': typeof LayoutItemsRoute
84
  '/settings': typeof LayoutSettingsRoute
85
  '/': typeof LayoutIndexRoute
86
}
87
export interface FileRoutesById {
88
  __root__: typeof rootRouteImport
89
  '/_layout': typeof LayoutRouteWithChildren
90
  '/login': typeof LoginRoute
91
  '/recover-password': typeof RecoverPasswordRoute
92
  '/reset-password': typeof ResetPasswordRoute
93
  '/signup': typeof SignupRoute
94
  '/_layout/admin': typeof LayoutAdminRoute
95
  '/_layout/items': typeof LayoutItemsRoute
96
  '/_layout/settings': typeof LayoutSettingsRoute
97
  '/_layout/': typeof LayoutIndexRoute
98
}
99
export interface FileRouteTypes {
100
  fileRoutesByFullPath: FileRoutesByFullPath
101
  fullPaths:
102
    | '/login'
103
    | '/recover-password'
104
    | '/reset-password'
105
    | '/signup'
106
    | '/admin'
107
    | '/items'
108
    | '/settings'
109
    | '/'
110
  fileRoutesByTo: FileRoutesByTo
111
  to:
112
    | '/login'
113
    | '/recover-password'
114
    | '/reset-password'
115
    | '/signup'
116
    | '/admin'
117
    | '/items'
118
    | '/settings'
119
    | '/'
120
  id:
121
    | '__root__'
122
    | '/_layout'
123
    | '/login'
124
    | '/recover-password'
125
    | '/reset-password'
126
    | '/signup'
127
    | '/_layout/admin'
128
    | '/_layout/items'
129
    | '/_layout/settings'
130
    | '/_layout/'
131
  fileRoutesById: FileRoutesById
132
}
133
export interface RootRouteChildren {
134
  LayoutRoute: typeof LayoutRouteWithChildren
135
  LoginRoute: typeof LoginRoute
136
  RecoverPasswordRoute: typeof RecoverPasswordRoute
137
  ResetPasswordRoute: typeof ResetPasswordRoute
138
  SignupRoute: typeof SignupRoute
139
}
140
141
declare module '@tanstack/react-router' {
142
  interface FileRoutesByPath {
143
    '/signup': {
144
      id: '/signup'
145
      path: '/signup'
146
      fullPath: '/signup'
147
      preLoaderRoute: typeof SignupRouteImport
148
      parentRoute: typeof rootRouteImport
149
    }
150
    '/reset-password': {
151
      id: '/reset-password'
152
      path: '/reset-password'
153
      fullPath: '/reset-password'
154
      preLoaderRoute: typeof ResetPasswordRouteImport
155
      parentRoute: typeof rootRouteImport
156
    }
157
    '/recover-password': {
158
      id: '/recover-password'
159
      path: '/recover-password'
160
      fullPath: '/recover-password'
161
      preLoaderRoute: typeof RecoverPasswordRouteImport
162
      parentRoute: typeof rootRouteImport
163
    }
164
    '/login': {
165
      id: '/login'
166
      path: '/login'
167
      fullPath: '/login'
168
      preLoaderRoute: typeof LoginRouteImport
169
      parentRoute: typeof rootRouteImport
170
    }
171
    '/_layout': {
172
      id: '/_layout'
173
      path: ''
174
      fullPath: ''
175
      preLoaderRoute: typeof LayoutRouteImport
176
      parentRoute: typeof rootRouteImport
177
    }
178
    '/_layout/': {
179
      id: '/_layout/'
180
      path: '/'
181
      fullPath: '/'
182
      preLoaderRoute: typeof LayoutIndexRouteImport
183
      parentRoute: typeof LayoutRoute
184
    }
185
    '/_layout/settings': {
186
      id: '/_layout/settings'
187
      path: '/settings'
188
      fullPath: '/settings'
189
      preLoaderRoute: typeof LayoutSettingsRouteImport
190
      parentRoute: typeof LayoutRoute
191
    }
192
    '/_layout/items': {
193
      id: '/_layout/items'
194
      path: '/items'
195
      fullPath: '/items'
196
      preLoaderRoute: typeof LayoutItemsRouteImport
197
      parentRoute: typeof LayoutRoute
198
    }
199
    '/_layout/admin': {
200
      id: '/_layout/admin'
201
      path: '/admin'
202
      fullPath: '/admin'
203
      preLoaderRoute: typeof LayoutAdminRouteImport
204
      parentRoute: typeof LayoutRoute
205
    }
206
  }
207
}
208
209
interface LayoutRouteChildren {
210
  LayoutAdminRoute: typeof LayoutAdminRoute
211
  LayoutItemsRoute: typeof LayoutItemsRoute
212
  LayoutSettingsRoute: typeof LayoutSettingsRoute
213
  LayoutIndexRoute: typeof LayoutIndexRoute
214
}
215
216
const LayoutRouteChildren: LayoutRouteChildren = {
217
  LayoutAdminRoute: LayoutAdminRoute,
218
  LayoutItemsRoute: LayoutItemsRoute,
219
  LayoutSettingsRoute: LayoutSettingsRoute,
220
  LayoutIndexRoute: LayoutIndexRoute,
221
}
222
223
const LayoutRouteWithChildren =
224
  LayoutRoute._addFileChildren(LayoutRouteChildren)
225
226
const rootRouteChildren: RootRouteChildren = {
227
  LayoutRoute: LayoutRouteWithChildren,
228
  LoginRoute: LoginRoute,
229
  RecoverPasswordRoute: RecoverPasswordRoute,
230
  ResetPasswordRoute: ResetPasswordRoute,
231
  SignupRoute: SignupRoute,
232
}
233
export const routeTree = rootRouteImport
234
  ._addFileChildren(rootRouteChildren)
235
  ._addFileTypes<FileRouteTypes>()
236