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 AuthenticatedRouteImport } from './routes/_authenticated'
13import { Route as LoginRouteImport } from './routes/login'
14import { Route as AuthenticatedIndexRouteImport } from './routes/_authenticated/index'
15import { Route as AuthenticatedProjectProjectIdRouteImport } from './routes/_authenticated/project/$projectId'
16import { Route as ApiAuthSplatRouteImport } from './routes/api/auth/$'
17import { Route as ApiTrpcSplatRouteImport } from './routes/api/trpc/$'
18
19const AuthenticatedRoute = AuthenticatedRouteImport.update({
20 id: '/_authenticated',
21 getParentRoute: () => rootRouteImport,
22} as any)
23const LoginRoute = LoginRouteImport.update({
24 id: '/login',
25 path: '/login',
26 getParentRoute: () => rootRouteImport,
27} as any)
28const AuthenticatedIndexRoute = AuthenticatedIndexRouteImport.update({
29 id: '/',
30 path: '/',
31 getParentRoute: () => AuthenticatedRoute,
32} as any)
33const AuthenticatedProjectProjectIdRoute =
34 AuthenticatedProjectProjectIdRouteImport.update({
35 id: '/project/$projectId',
36 path: '/project/$projectId',
37 getParentRoute: () => AuthenticatedRoute,
38 } as any)
39const ApiAuthSplatRoute = ApiAuthSplatRouteImport.update({
40 id: '/api/auth/$',
41 path: '/api/auth/$',
42 getParentRoute: () => rootRouteImport,
43} as any)
44const ApiTrpcSplatRoute = ApiTrpcSplatRouteImport.update({
45 id: '/api/trpc/$',
46 path: '/api/trpc/$',
47 getParentRoute: () => rootRouteImport,
48} as any)
49
50export interface FileRoutesByFullPath {
51 '/': typeof AuthenticatedIndexRoute
52 '/login': typeof LoginRoute
53 '/project/$projectId': typeof AuthenticatedProjectProjectIdRoute
54 '/api/auth/$': typeof ApiAuthSplatRoute
55 '/api/trpc/$': typeof ApiTrpcSplatRoute
56}
57export interface FileRoutesByTo {
58 '/login': typeof LoginRoute
59 '/': typeof AuthenticatedIndexRoute
60 '/project/$projectId': typeof AuthenticatedProjectProjectIdRoute
61 '/api/auth/$': typeof ApiAuthSplatRoute
62 '/api/trpc/$': typeof ApiTrpcSplatRoute
63}
64export interface FileRoutesById {
65 __root__: typeof rootRouteImport
66 '/_authenticated': typeof AuthenticatedRouteWithChildren
67 '/login': typeof LoginRoute
68 '/_authenticated/': typeof AuthenticatedIndexRoute
69 '/_authenticated/project/$projectId': typeof AuthenticatedProjectProjectIdRoute
70 '/api/auth/$': typeof ApiAuthSplatRoute
71 '/api/trpc/$': typeof ApiTrpcSplatRoute
72}
73export interface FileRouteTypes {
74 fileRoutesByFullPath: FileRoutesByFullPath
75 fullPaths:
76 '/' | '/login' | '/project/$projectId' | '/api/auth/$' | '/api/trpc/$'
77 fileRoutesByTo: FileRoutesByTo
78 to: '/login' | '/' | '/project/$projectId' | '/api/auth/$' | '/api/trpc/$'
79 id:
80 | '__root__'
81 | '/_authenticated'
82 | '/login'
83 | '/_authenticated/'
84 | '/_authenticated/project/$projectId'
85 | '/api/auth/$'
86 | '/api/trpc/$'
87 fileRoutesById: FileRoutesById
88}
89export interface RootRouteChildren {
90 AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
91 LoginRoute: typeof LoginRoute
92 ApiAuthSplatRoute: typeof ApiAuthSplatRoute
93 ApiTrpcSplatRoute: typeof ApiTrpcSplatRoute
94}
95
96declare module '@tanstack/react-router' {
97 interface FileRoutesByPath {
98 '/_authenticated': {
99 id: '/_authenticated'
100 path: ''
101 fullPath: '/'
102 preLoaderRoute: typeof AuthenticatedRouteImport
103 parentRoute: typeof rootRouteImport
104 }
105 '/login': {
106 id: '/login'
107 path: '/login'
108 fullPath: '/login'
109 preLoaderRoute: typeof LoginRouteImport
110 parentRoute: typeof rootRouteImport
111 }
112 '/_authenticated/': {
113 id: '/_authenticated/'
114 path: '/'
115 fullPath: '/'
116 preLoaderRoute: typeof AuthenticatedIndexRouteImport
117 parentRoute: typeof AuthenticatedRoute
118 }
119 '/_authenticated/project/$projectId': {
120 id: '/_authenticated/project/$projectId'
121 path: '/project/$projectId'
122 fullPath: '/project/$projectId'
123 preLoaderRoute: typeof AuthenticatedProjectProjectIdRouteImport
124 parentRoute: typeof AuthenticatedRoute
125 }
126 '/api/auth/$': {
127 id: '/api/auth/$'
128 path: '/api/auth/$'
129 fullPath: '/api/auth/$'
130 preLoaderRoute: typeof ApiAuthSplatRouteImport
131 parentRoute: typeof rootRouteImport
132 }
133 '/api/trpc/$': {
134 id: '/api/trpc/$'
135 path: '/api/trpc/$'
136 fullPath: '/api/trpc/$'
137 preLoaderRoute: typeof ApiTrpcSplatRouteImport
138 parentRoute: typeof rootRouteImport
139 }
140 }
141}
142
143interface AuthenticatedRouteChildren {
144 AuthenticatedIndexRoute: typeof AuthenticatedIndexRoute
145 AuthenticatedProjectProjectIdRoute: typeof AuthenticatedProjectProjectIdRoute
146}
147
148const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
149 AuthenticatedIndexRoute: AuthenticatedIndexRoute,
150 AuthenticatedProjectProjectIdRoute: AuthenticatedProjectProjectIdRoute,
151}
152
153const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
154 AuthenticatedRouteChildren,
155)
156
157const rootRouteChildren: RootRouteChildren = {
158 AuthenticatedRoute: AuthenticatedRouteWithChildren,
159 LoginRoute: LoginRoute,
160 ApiAuthSplatRoute: ApiAuthSplatRoute,
161 ApiTrpcSplatRoute: ApiTrpcSplatRoute,
162}
163export const routeTree = rootRouteImport
164 ._addFileChildren(rootRouteChildren)
165 ._addFileTypes<FileRouteTypes>()
166
167import type { getRouter } from './router.tsx'
168import type { startInstance } from './start.tsx'
169declare module '@tanstack/react-start' {
170 interface Register {
171 ssr: true
172 router: Awaited<ReturnType<typeof getRouter>>
173 config: Awaited<ReturnType<typeof startInstance.getOptions>>
174 }
175}