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