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 LoginRouteImport } from './routes/login'
14import { Route as ProtectedRouteImport } from './routes/protected'
15import { Route as ApiAuthSplatRouteImport } from './routes/api/auth/$'
16β
17const IndexRoute = IndexRouteImport.update({
18 id: '/',
19 path: '/',
20 getParentRoute: () => rootRouteImport,
21} as any)
22const LoginRoute = LoginRouteImport.update({
23 id: '/login',
24 path: '/login',
25 getParentRoute: () => rootRouteImport,
26} as any)
27const ProtectedRoute = ProtectedRouteImport.update({
28 id: '/protected',
29 path: '/protected',
30 getParentRoute: () => rootRouteImport,
31} as any)
32const ApiAuthSplatRoute = ApiAuthSplatRouteImport.update({
33 id: '/api/auth/$',
34 path: '/api/auth/$',
35 getParentRoute: () => rootRouteImport,
36} as any)
37β
38export interface FileRoutesByFullPath {
39 '/': typeof IndexRoute
40 '/login': typeof LoginRoute
41 '/protected': typeof ProtectedRoute
42 '/api/auth/$': typeof ApiAuthSplatRoute
43}
44export interface FileRoutesByTo {
45 '/': typeof IndexRoute
46 '/login': typeof LoginRoute
47 '/protected': typeof ProtectedRoute
48 '/api/auth/$': typeof ApiAuthSplatRoute
49}
50export interface FileRoutesById {
51 __root__: typeof rootRouteImport
52 '/': typeof IndexRoute
53 '/login': typeof LoginRoute
54 '/protected': typeof ProtectedRoute
55 '/api/auth/$': typeof ApiAuthSplatRoute
56}
57export interface FileRouteTypes {
58 fileRoutesByFullPath: FileRoutesByFullPath
59 fullPaths: '/' | '/login' | '/protected' | '/api/auth/$'
60 fileRoutesByTo: FileRoutesByTo
61 to: '/' | '/login' | '/protected' | '/api/auth/$'
62 id: '__root__' | '/' | '/login' | '/protected' | '/api/auth/$'
63 fileRoutesById: FileRoutesById
64}
65export interface RootRouteChildren {
66 IndexRoute: typeof IndexRoute
67 LoginRoute: typeof LoginRoute
68 ProtectedRoute: typeof ProtectedRoute
69 ApiAuthSplatRoute: typeof ApiAuthSplatRoute
70}
71β
72declare module '@tanstack/solid-router' {
73 interface FileRoutesByPath {
74 '/': {
75 id: '/'
76 path: '/'
77 fullPath: '/'
78 preLoaderRoute: typeof IndexRouteImport
79 parentRoute: typeof rootRouteImport
80 }
81 '/login': {
82 id: '/login'
83 path: '/login'
84 fullPath: '/login'
85 preLoaderRoute: typeof LoginRouteImport
86 parentRoute: typeof rootRouteImport
87 }
88 '/protected': {
89 id: '/protected'
90 path: '/protected'
91 fullPath: '/protected'
92 preLoaderRoute: typeof ProtectedRouteImport
93 parentRoute: typeof rootRouteImport
94 }
95 '/api/auth/$': {
96 id: '/api/auth/$'
97 path: '/api/auth/$'
98 fullPath: '/api/auth/$'
99 preLoaderRoute: typeof ApiAuthSplatRouteImport
100 parentRoute: typeof rootRouteImport
101 }
102 }
103}
104β
105const rootRouteChildren: RootRouteChildren = {
106 IndexRoute: IndexRoute,
107 LoginRoute: LoginRoute,
108 ProtectedRoute: ProtectedRoute,
109 ApiAuthSplatRoute: ApiAuthSplatRoute,
110}
111export const routeTree = rootRouteImport
112 ._addFileChildren(rootRouteChildren)
113 ._addFileTypes<FileRouteTypes>()
114β
115import type { getRouter } from './router.tsx'
116import type { createStart } from '@tanstack/solid-start'
117declare module '@tanstack/solid-start' {
118 interface Register {
119 ssr: true
120 router: Awaited<ReturnType<typeof getRouter>>
121 }
122}