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 ServerFunctionCustomErrorRouteImport } from './routes/server-function/custom-error'
14import { Route as ServerFunctionNestedRouteImport } from './routes/server-function/nested'
15import { Route as SsrDataOnlyRouteImport } from './routes/ssr/data-only'
16import { Route as SsrNestedRouteImport } from './routes/ssr/nested'
17import { Route as SsrStreamRouteImport } from './routes/ssr/stream'
18β
19const IndexRoute = IndexRouteImport.update({
20 id: '/',
21 path: '/',
22 getParentRoute: () => rootRouteImport,
23} as any)
24const ServerFunctionCustomErrorRoute =
25 ServerFunctionCustomErrorRouteImport.update({
26 id: '/server-function/custom-error',
27 path: '/server-function/custom-error',
28 getParentRoute: () => rootRouteImport,
29 } as any)
30const ServerFunctionNestedRoute = ServerFunctionNestedRouteImport.update({
31 id: '/server-function/nested',
32 path: '/server-function/nested',
33 getParentRoute: () => rootRouteImport,
34} as any)
35const SsrDataOnlyRoute = SsrDataOnlyRouteImport.update({
36 id: '/ssr/data-only',
37 path: '/ssr/data-only',
38 getParentRoute: () => rootRouteImport,
39} as any)
40const SsrNestedRoute = SsrNestedRouteImport.update({
41 id: '/ssr/nested',
42 path: '/ssr/nested',
43 getParentRoute: () => rootRouteImport,
44} as any)
45const SsrStreamRoute = SsrStreamRouteImport.update({
46 id: '/ssr/stream',
47 path: '/ssr/stream',
48 getParentRoute: () => rootRouteImport,
49} as any)
50β
51export interface FileRoutesByFullPath {
52 '/': typeof IndexRoute
53 '/server-function/custom-error': typeof ServerFunctionCustomErrorRoute
54 '/server-function/nested': typeof ServerFunctionNestedRoute
55 '/ssr/data-only': typeof SsrDataOnlyRoute
56 '/ssr/nested': typeof SsrNestedRoute
57 '/ssr/stream': typeof SsrStreamRoute
58}
59export interface FileRoutesByTo {
60 '/': typeof IndexRoute
61 '/server-function/custom-error': typeof ServerFunctionCustomErrorRoute
62 '/server-function/nested': typeof ServerFunctionNestedRoute
63 '/ssr/data-only': typeof SsrDataOnlyRoute
64 '/ssr/nested': typeof SsrNestedRoute
65 '/ssr/stream': typeof SsrStreamRoute
66}
67export interface FileRoutesById {
68 __root__: typeof rootRouteImport
69 '/': typeof IndexRoute
70 '/server-function/custom-error': typeof ServerFunctionCustomErrorRoute
71 '/server-function/nested': typeof ServerFunctionNestedRoute
72 '/ssr/data-only': typeof SsrDataOnlyRoute
73 '/ssr/nested': typeof SsrNestedRoute
74 '/ssr/stream': typeof SsrStreamRoute
75}
76export interface FileRouteTypes {
77 fileRoutesByFullPath: FileRoutesByFullPath
78 fullPaths:
79 | '/'
80 | '/server-function/custom-error'
81 | '/server-function/nested'
82 | '/ssr/data-only'
83 | '/ssr/nested'
84 | '/ssr/stream'
85 fileRoutesByTo: FileRoutesByTo
86 to:
87 | '/'
88 | '/server-function/custom-error'
89 | '/server-function/nested'
90 | '/ssr/data-only'
91 | '/ssr/nested'
92 | '/ssr/stream'
93 id:
94 | '__root__'
95 | '/'
96 | '/server-function/custom-error'
97 | '/server-function/nested'
98 | '/ssr/data-only'
99 | '/ssr/nested'
100 | '/ssr/stream'
101 fileRoutesById: FileRoutesById
102}
103export interface RootRouteChildren {
104 IndexRoute: typeof IndexRoute
105 ServerFunctionCustomErrorRoute: typeof ServerFunctionCustomErrorRoute
106 ServerFunctionNestedRoute: typeof ServerFunctionNestedRoute
107 SsrDataOnlyRoute: typeof SsrDataOnlyRoute
108 SsrNestedRoute: typeof SsrNestedRoute
109 SsrStreamRoute: typeof SsrStreamRoute
110}
111β
112declare module '@tanstack/solid-router' {
113 interface FileRoutesByPath {
114 '/': {
115 id: '/'
116 path: '/'
117 fullPath: '/'
118 preLoaderRoute: typeof IndexRouteImport
119 parentRoute: typeof rootRouteImport
120 }
121 '/server-function/custom-error': {
122 id: '/server-function/custom-error'
123 path: '/server-function/custom-error'
124 fullPath: '/server-function/custom-error'
125 preLoaderRoute: typeof ServerFunctionCustomErrorRouteImport
126 parentRoute: typeof rootRouteImport
127 }
128 '/server-function/nested': {
129 id: '/server-function/nested'
130 path: '/server-function/nested'
131 fullPath: '/server-function/nested'
132 preLoaderRoute: typeof ServerFunctionNestedRouteImport
133 parentRoute: typeof rootRouteImport
134 }
135 '/ssr/data-only': {
136 id: '/ssr/data-only'
137 path: '/ssr/data-only'
138 fullPath: '/ssr/data-only'
139 preLoaderRoute: typeof SsrDataOnlyRouteImport
140 parentRoute: typeof rootRouteImport
141 }
142 '/ssr/nested': {
143 id: '/ssr/nested'
144 path: '/ssr/nested'
145 fullPath: '/ssr/nested'
146 preLoaderRoute: typeof SsrNestedRouteImport
147 parentRoute: typeof rootRouteImport
148 }
149 '/ssr/stream': {
150 id: '/ssr/stream'
151 path: '/ssr/stream'
152 fullPath: '/ssr/stream'
153 preLoaderRoute: typeof SsrStreamRouteImport
154 parentRoute: typeof rootRouteImport
155 }
156 }
157}
158β
159const rootRouteChildren: RootRouteChildren = {
160 IndexRoute: IndexRoute,
161 ServerFunctionCustomErrorRoute: ServerFunctionCustomErrorRoute,
162 ServerFunctionNestedRoute: ServerFunctionNestedRoute,
163 SsrDataOnlyRoute: SsrDataOnlyRoute,
164 SsrNestedRoute: SsrNestedRoute,
165 SsrStreamRoute: SsrStreamRoute,
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/solid-start' {
174 interface Register {
175 ssr: true
176 router: Awaited<ReturnType<typeof getRouter>>
177 config: Awaited<ReturnType<typeof startInstance.getOptions>>
178 }
179}