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
11// Import Routes
12
13import { Route as rootRoute } from './routes/__root'
14import { Route as IndexImport } from './routes/index'
15import { Route as PostsSlugImport } from './routes/posts.$slug'
16import { Route as CategoryCategoryImport } from './routes/category.$category'
17
18// Create/Update Routes
19
20const IndexRoute = IndexImport.update({
21 id: '/',
22 path: '/',
23 getParentRoute: () => rootRoute,
24} as any)
25
26const PostsSlugRoute = PostsSlugImport.update({
27 id: '/posts/$slug',
28 path: '/posts/$slug',
29 getParentRoute: () => rootRoute,
30} as any)
31
32const CategoryCategoryRoute = CategoryCategoryImport.update({
33 id: '/category/$category',
34 path: '/category/$category',
35 getParentRoute: () => rootRoute,
36} as any)
37
38// Populate the FileRoutesByPath interface
39
40declare module '@tanstack/react-router' {
41 interface FileRoutesByPath {
42 '/': {
43 id: '/'
44 path: '/'
45 fullPath: '/'
46 preLoaderRoute: typeof IndexImport
47 parentRoute: typeof rootRoute
48 }
49 '/category/$category': {
50 id: '/category/$category'
51 path: '/category/$category'
52 fullPath: '/category/$category'
53 preLoaderRoute: typeof CategoryCategoryImport
54 parentRoute: typeof rootRoute
55 }
56 '/posts/$slug': {
57 id: '/posts/$slug'
58 path: '/posts/$slug'
59 fullPath: '/posts/$slug'
60 preLoaderRoute: typeof PostsSlugImport
61 parentRoute: typeof rootRoute
62 }
63 }
64}
65
66// Create and export the route tree
67
68export interface FileRoutesByFullPath {
69 '/': typeof IndexRoute
70 '/category/$category': typeof CategoryCategoryRoute
71 '/posts/$slug': typeof PostsSlugRoute
72}
73
74export interface FileRoutesByTo {
75 '/': typeof IndexRoute
76 '/category/$category': typeof CategoryCategoryRoute
77 '/posts/$slug': typeof PostsSlugRoute
78}
79
80export interface FileRoutesById {
81 __root__: typeof rootRoute
82 '/': typeof IndexRoute
83 '/category/$category': typeof CategoryCategoryRoute
84 '/posts/$slug': typeof PostsSlugRoute
85}
86
87export interface FileRouteTypes {
88 fileRoutesByFullPath: FileRoutesByFullPath
89 fullPaths: '/' | '/category/$category' | '/posts/$slug'
90 fileRoutesByTo: FileRoutesByTo
91 to: '/' | '/category/$category' | '/posts/$slug'
92 id: '__root__' | '/' | '/category/$category' | '/posts/$slug'
93 fileRoutesById: FileRoutesById
94}
95
96export interface RootRouteChildren {
97 IndexRoute: typeof IndexRoute
98 CategoryCategoryRoute: typeof CategoryCategoryRoute
99 PostsSlugRoute: typeof PostsSlugRoute
100}
101
102const rootRouteChildren: RootRouteChildren = {
103 IndexRoute: IndexRoute,
104 CategoryCategoryRoute: CategoryCategoryRoute,
105 PostsSlugRoute: PostsSlugRoute,
106}
107
108export const routeTree = rootRoute
109 ._addFileChildren(rootRouteChildren)
110 ._addFileTypes<FileRouteTypes>()
111
112/* ROUTE_MANIFEST_START
113{
114 "routes": {
115 "__root__": {
116 "filePath": "__root.tsx",
117 "children": [
118 "/",
119 "/category/$category",
120 "/posts/$slug"
121 ]
122 },
123 "/": {
124 "filePath": "index.tsx"
125 },
126 "/category/$category": {
127 "filePath": "category.$category.tsx"
128 },
129 "/posts/$slug": {
130 "filePath": "posts.$slug.tsx"
131 }
132 }
133}
134ROUTE_MANIFEST_END */