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