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