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