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 AboutRouteImport } from './routes/about'
14import { Route as RssDotxmlRouteImport } from './routes/rss[.]xml'
15import { Route as BlogIndexRouteImport } from './routes/blog.index'
16import { Route as BlogSlugRouteImport } from './routes/blog.$slug'
17
18const IndexRoute = IndexRouteImport.update({
19 id: '/',
20 path: '/',
21 getParentRoute: () => rootRouteImport,
22} as any)
23const AboutRoute = AboutRouteImport.update({
24 id: '/about',
25 path: '/about',
26 getParentRoute: () => rootRouteImport,
27} as any)
28const RssDotxmlRoute = RssDotxmlRouteImport.update({
29 id: '/rss.xml',
30 path: '/rss.xml',
31 getParentRoute: () => rootRouteImport,
32} as any)
33const BlogIndexRoute = BlogIndexRouteImport.update({
34 id: '/blog/',
35 path: '/blog/',
36 getParentRoute: () => rootRouteImport,
37} as any)
38const BlogSlugRoute = BlogSlugRouteImport.update({
39 id: '/blog/$slug',
40 path: '/blog/$slug',
41 getParentRoute: () => rootRouteImport,
42} as any)
43
44export interface FileRoutesByFullPath {
45 '/': typeof IndexRoute
46 '/about': typeof AboutRoute
47 '/rss.xml': typeof RssDotxmlRoute
48 '/blog/$slug': typeof BlogSlugRoute
49 '/blog/': typeof BlogIndexRoute
50}
51export interface FileRoutesByTo {
52 '/': typeof IndexRoute
53 '/about': typeof AboutRoute
54 '/rss.xml': typeof RssDotxmlRoute
55 '/blog/$slug': typeof BlogSlugRoute
56 '/blog': typeof BlogIndexRoute
57}
58export interface FileRoutesById {
59 __root__: typeof rootRouteImport
60 '/': typeof IndexRoute
61 '/about': typeof AboutRoute
62 '/rss.xml': typeof RssDotxmlRoute
63 '/blog/$slug': typeof BlogSlugRoute
64 '/blog/': typeof BlogIndexRoute
65}
66export interface FileRouteTypes {
67 fileRoutesByFullPath: FileRoutesByFullPath
68 fullPaths: '/' | '/about' | '/rss.xml' | '/blog/$slug' | '/blog/'
69 fileRoutesByTo: FileRoutesByTo
70 to: '/' | '/about' | '/rss.xml' | '/blog/$slug' | '/blog'
71 id: '__root__' | '/' | '/about' | '/rss.xml' | '/blog/$slug' | '/blog/'
72 fileRoutesById: FileRoutesById
73}
74export interface RootRouteChildren {
75 IndexRoute: typeof IndexRoute
76 AboutRoute: typeof AboutRoute
77 RssDotxmlRoute: typeof RssDotxmlRoute
78 BlogSlugRoute: typeof BlogSlugRoute
79 BlogIndexRoute: typeof BlogIndexRoute
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 '/about': {
92 id: '/about'
93 path: '/about'
94 fullPath: '/about'
95 preLoaderRoute: typeof AboutRouteImport
96 parentRoute: typeof rootRouteImport
97 }
98 '/rss.xml': {
99 id: '/rss.xml'
100 path: '/rss.xml'
101 fullPath: '/rss.xml'
102 preLoaderRoute: typeof RssDotxmlRouteImport
103 parentRoute: typeof rootRouteImport
104 }
105 '/blog/': {
106 id: '/blog/'
107 path: '/blog'
108 fullPath: '/blog/'
109 preLoaderRoute: typeof BlogIndexRouteImport
110 parentRoute: typeof rootRouteImport
111 }
112 '/blog/$slug': {
113 id: '/blog/$slug'
114 path: '/blog/$slug'
115 fullPath: '/blog/$slug'
116 preLoaderRoute: typeof BlogSlugRouteImport
117 parentRoute: typeof rootRouteImport
118 }
119 }
120}
121
122const rootRouteChildren: RootRouteChildren = {
123 IndexRoute: IndexRoute,
124 AboutRoute: AboutRoute,
125 RssDotxmlRoute: RssDotxmlRoute,
126 BlogSlugRoute: BlogSlugRoute,
127 BlogIndexRoute: BlogIndexRoute,
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}