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