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