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β
11// Import Routes
12β
13import { Route as rootRoute } from './routes/__root'
14import { Route as SignupImport } from './routes/signup'
15import { Route as LogoutImport } from './routes/logout'
16import { Route as LoginImport } from './routes/login'
17import { Route as AuthedImport } from './routes/_authed'
18import { Route as IndexImport } from './routes/index'
19import { Route as AuthedPostsImport } from './routes/_authed/posts'
20import { Route as AuthedPostsIndexImport } from './routes/_authed/posts.index'
21import { Route as AuthedPostsPostIdImport } from './routes/_authed/posts.$postId'
22β
23// Create/Update Routes
24β
25const SignupRoute = SignupImport.update({
26 id: '/signup',
27 path: '/signup',
28 getParentRoute: () => rootRoute,
29} as any)
30β
31const LogoutRoute = LogoutImport.update({
32 id: '/logout',
33 path: '/logout',
34 getParentRoute: () => rootRoute,
35} as any)
36β
37const LoginRoute = LoginImport.update({
38 id: '/login',
39 path: '/login',
40 getParentRoute: () => rootRoute,
41} as any)
42β
43const AuthedRoute = AuthedImport.update({
44 id: '/_authed',
45 getParentRoute: () => rootRoute,
46} as any)
47β
48const IndexRoute = IndexImport.update({
49 id: '/',
50 path: '/',
51 getParentRoute: () => rootRoute,
52} as any)
53β
54const AuthedPostsRoute = AuthedPostsImport.update({
55 id: '/posts',
56 path: '/posts',
57 getParentRoute: () => AuthedRoute,
58} as any)
59β
60const AuthedPostsIndexRoute = AuthedPostsIndexImport.update({
61 id: '/',
62 path: '/',
63 getParentRoute: () => AuthedPostsRoute,
64} as any)
65β
66const AuthedPostsPostIdRoute = AuthedPostsPostIdImport.update({
67 id: '/$postId',
68 path: '/$postId',
69 getParentRoute: () => AuthedPostsRoute,
70} as any)
71β
72// Populate the FileRoutesByPath interface
73β
74declare module '@tanstack/react-router' {
75 interface FileRoutesByPath {
76 '/': {
77 id: '/'
78 path: '/'
79 fullPath: '/'
80 preLoaderRoute: typeof IndexImport
81 parentRoute: typeof rootRoute
82 }
83 '/_authed': {
84 id: '/_authed'
85 path: ''
86 fullPath: ''
87 preLoaderRoute: typeof AuthedImport
88 parentRoute: typeof rootRoute
89 }
90 '/login': {
91 id: '/login'
92 path: '/login'
93 fullPath: '/login'
94 preLoaderRoute: typeof LoginImport
95 parentRoute: typeof rootRoute
96 }
97 '/logout': {
98 id: '/logout'
99 path: '/logout'
100 fullPath: '/logout'
101 preLoaderRoute: typeof LogoutImport
102 parentRoute: typeof rootRoute
103 }
104 '/signup': {
105 id: '/signup'
106 path: '/signup'
107 fullPath: '/signup'
108 preLoaderRoute: typeof SignupImport
109 parentRoute: typeof rootRoute
110 }
111 '/_authed/posts': {
112 id: '/_authed/posts'
113 path: '/posts'
114 fullPath: '/posts'
115 preLoaderRoute: typeof AuthedPostsImport
116 parentRoute: typeof AuthedImport
117 }
118 '/_authed/posts/$postId': {
119 id: '/_authed/posts/$postId'
120 path: '/$postId'
121 fullPath: '/posts/$postId'
122 preLoaderRoute: typeof AuthedPostsPostIdImport
123 parentRoute: typeof AuthedPostsImport
124 }
125 '/_authed/posts/': {
126 id: '/_authed/posts/'
127 path: '/'
128 fullPath: '/posts/'
129 preLoaderRoute: typeof AuthedPostsIndexImport
130 parentRoute: typeof AuthedPostsImport
131 }
132 }
133}
134β
135// Create and export the route tree
136β
137interface AuthedPostsRouteChildren {
138 AuthedPostsPostIdRoute: typeof AuthedPostsPostIdRoute
139 AuthedPostsIndexRoute: typeof AuthedPostsIndexRoute
140}
141β
142const AuthedPostsRouteChildren: AuthedPostsRouteChildren = {
143 AuthedPostsPostIdRoute: AuthedPostsPostIdRoute,
144 AuthedPostsIndexRoute: AuthedPostsIndexRoute,
145}
146β
147const AuthedPostsRouteWithChildren = AuthedPostsRoute._addFileChildren(
148 AuthedPostsRouteChildren,
149)
150β
151interface AuthedRouteChildren {
152 AuthedPostsRoute: typeof AuthedPostsRouteWithChildren
153}
154β
155const AuthedRouteChildren: AuthedRouteChildren = {
156 AuthedPostsRoute: AuthedPostsRouteWithChildren,
157}
158β
159const AuthedRouteWithChildren =
160 AuthedRoute._addFileChildren(AuthedRouteChildren)
161β
162export interface FileRoutesByFullPath {
163 '/': typeof IndexRoute
164 '': typeof AuthedRouteWithChildren
165 '/login': typeof LoginRoute
166 '/logout': typeof LogoutRoute
167 '/signup': typeof SignupRoute
168 '/posts': typeof AuthedPostsRouteWithChildren
169 '/posts/$postId': typeof AuthedPostsPostIdRoute
170 '/posts/': typeof AuthedPostsIndexRoute
171}
172β
173export interface FileRoutesByTo {
174 '/': typeof IndexRoute
175 '': typeof AuthedRouteWithChildren
176 '/login': typeof LoginRoute
177 '/logout': typeof LogoutRoute
178 '/signup': typeof SignupRoute
179 '/posts/$postId': typeof AuthedPostsPostIdRoute
180 '/posts': typeof AuthedPostsIndexRoute
181}
182β
183export interface FileRoutesById {
184 __root__: typeof rootRoute
185 '/': typeof IndexRoute
186 '/_authed': typeof AuthedRouteWithChildren
187 '/login': typeof LoginRoute
188 '/logout': typeof LogoutRoute
189 '/signup': typeof SignupRoute
190 '/_authed/posts': typeof AuthedPostsRouteWithChildren
191 '/_authed/posts/$postId': typeof AuthedPostsPostIdRoute
192 '/_authed/posts/': typeof AuthedPostsIndexRoute
193}
194β
195export interface FileRouteTypes {
196 fileRoutesByFullPath: FileRoutesByFullPath
197 fullPaths:
198 | '/'
199 | ''
200 | '/login'
201 | '/logout'
202 | '/signup'
203 | '/posts'
204 | '/posts/$postId'
205 | '/posts/'
206 fileRoutesByTo: FileRoutesByTo
207 to: '/' | '' | '/login' | '/logout' | '/signup' | '/posts/$postId' | '/posts'
208 id:
209 | '__root__'
210 | '/'
211 | '/_authed'
212 | '/login'
213 | '/logout'
214 | '/signup'
215 | '/_authed/posts'
216 | '/_authed/posts/$postId'
217 | '/_authed/posts/'
218 fileRoutesById: FileRoutesById
219}
220β
221export interface RootRouteChildren {
222 IndexRoute: typeof IndexRoute
223 AuthedRoute: typeof AuthedRouteWithChildren
224 LoginRoute: typeof LoginRoute
225 LogoutRoute: typeof LogoutRoute
226 SignupRoute: typeof SignupRoute
227}
228β
229const rootRouteChildren: RootRouteChildren = {
230 IndexRoute: IndexRoute,
231 AuthedRoute: AuthedRouteWithChildren,
232 LoginRoute: LoginRoute,
233 LogoutRoute: LogoutRoute,
234 SignupRoute: SignupRoute,
235}
236β
237export const routeTree = rootRoute
238 ._addFileChildren(rootRouteChildren)
239 ._addFileTypes<FileRouteTypes>()
240β
241/* ROUTE_MANIFEST_START
242{
243 "routes": {
244 "__root__": {
245 "filePath": "__root.tsx",
246 "children": [
247 "/",
248 "/_authed",
249 "/login",
250 "/logout",
251 "/signup"
252 ]
253 },
254 "/": {
255 "filePath": "index.tsx"
256 },
257 "/_authed": {
258 "filePath": "_authed.tsx",
259 "children": [
260 "/_authed/posts"
261 ]
262 },
263 "/login": {
264 "filePath": "login.tsx"
265 },
266 "/logout": {
267 "filePath": "logout.tsx"
268 },
269 "/signup": {
270 "filePath": "signup.tsx"
271 },
272 "/_authed/posts": {
273 "filePath": "_authed/posts.tsx",
274 "parent": "/_authed",
275 "children": [
276 "/_authed/posts/$postId",
277 "/_authed/posts/"
278 ]
279 },
280 "/_authed/posts/$postId": {
281 "filePath": "_authed/posts.$postId.tsx",
282 "parent": "/_authed/posts"
283 },
284 "/_authed/posts/": {
285 "filePath": "_authed/posts.index.tsx",
286 "parent": "/_authed/posts"
287 }
288 }
289}
290ROUTE_MANIFEST_END */