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