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