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