1
- /* prettier-ignore-start */
2
-
3
1
/* eslint-disable */
4
2
5
3
// @ts -nocheck
6
4
7
5
// noinspection JSUnusedGlobalSymbols
8
6
9
- // This file is auto-generated by TanStack Router
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
10
11
11
// Import Routes
12
12
13
13
import { Route as rootRoute } from './routes/__root'
14
+ import { Route as SignInImport } from './routes/sign-in'
14
15
import { Route as LayoutImport } from './routes/_layout'
15
16
import { Route as IndexImport } from './routes/index'
16
- import { Route as LayoutLayout2Import } from './routes/_layout/_layout-2'
17
- import { Route as LayoutLayout2LayoutBImport } from './routes/_layout/_layout-2/layout-b'
18
- import { Route as LayoutLayout2LayoutAImport } from './routes/_layout/_layout-2/layout-a'
19
17
20
18
// Create/Update Routes
21
19
20
+ const SignInRoute = SignInImport . update ( {
21
+ id : '/sign-in' ,
22
+ path : '/sign-in' ,
23
+ getParentRoute : ( ) => rootRoute ,
24
+ } as any )
25
+
22
26
const LayoutRoute = LayoutImport . update ( {
23
27
id : '/_layout' ,
24
28
getParentRoute : ( ) => rootRoute ,
25
29
} as any )
26
30
27
31
const IndexRoute = IndexImport . update ( {
32
+ id : '/' ,
28
33
path : '/' ,
29
34
getParentRoute : ( ) => rootRoute ,
30
35
} as any )
31
36
32
- const LayoutLayout2Route = LayoutLayout2Import . update ( {
33
- id : '/_layout-2' ,
34
- getParentRoute : ( ) => LayoutRoute ,
35
- } as any )
36
-
37
- const LayoutLayout2LayoutBRoute = LayoutLayout2LayoutBImport . update ( {
38
- path : '/layout-b' ,
39
- getParentRoute : ( ) => LayoutLayout2Route ,
40
- } as any )
41
-
42
- const LayoutLayout2LayoutARoute = LayoutLayout2LayoutAImport . update ( {
43
- path : '/layout-a' ,
44
- getParentRoute : ( ) => LayoutLayout2Route ,
45
- } as any )
46
-
47
37
// Populate the FileRoutesByPath interface
48
38
49
39
declare module '@tanstack/react-router' {
@@ -62,43 +52,61 @@ declare module '@tanstack/react-router' {
62
52
preLoaderRoute : typeof LayoutImport
63
53
parentRoute : typeof rootRoute
64
54
}
65
- '/_layout/_layout-2' : {
66
- id : '/_layout/_layout-2'
67
- path : ''
68
- fullPath : ''
69
- preLoaderRoute : typeof LayoutLayout2Import
70
- parentRoute : typeof LayoutImport
71
- }
72
- '/_layout/_layout-2/layout-a' : {
73
- id : '/_layout/_layout-2/layout-a'
74
- path : '/layout-a'
75
- fullPath : '/layout-a'
76
- preLoaderRoute : typeof LayoutLayout2LayoutAImport
77
- parentRoute : typeof LayoutLayout2Import
78
- }
79
- '/_layout/_layout-2/layout-b' : {
80
- id : '/_layout/_layout-2/layout-b'
81
- path : '/layout-b'
82
- fullPath : '/layout-b'
83
- preLoaderRoute : typeof LayoutLayout2LayoutBImport
84
- parentRoute : typeof LayoutLayout2Import
55
+ '/sign-in' : {
56
+ id : '/sign-in'
57
+ path : '/sign-in'
58
+ fullPath : '/sign-in'
59
+ preLoaderRoute : typeof SignInImport
60
+ parentRoute : typeof rootRoute
85
61
}
86
62
}
87
63
}
88
64
89
65
// Create and export the route tree
90
66
91
- export const routeTree = rootRoute . addChildren ( {
92
- IndexRoute,
93
- LayoutRoute : LayoutRoute . addChildren ( {
94
- LayoutLayout2Route : LayoutLayout2Route . addChildren ( {
95
- LayoutLayout2LayoutARoute,
96
- LayoutLayout2LayoutBRoute,
97
- } ) ,
98
- } ) ,
99
- } )
67
+ export interface FileRoutesByFullPath {
68
+ '/' : typeof IndexRoute
69
+ '' : typeof LayoutRoute
70
+ '/sign-in' : typeof SignInRoute
71
+ }
72
+
73
+ export interface FileRoutesByTo {
74
+ '/' : typeof IndexRoute
75
+ '' : typeof LayoutRoute
76
+ '/sign-in' : typeof SignInRoute
77
+ }
78
+
79
+ export interface FileRoutesById {
80
+ __root__ : typeof rootRoute
81
+ '/' : typeof IndexRoute
82
+ '/_layout' : typeof LayoutRoute
83
+ '/sign-in' : typeof SignInRoute
84
+ }
85
+
86
+ export interface FileRouteTypes {
87
+ fileRoutesByFullPath : FileRoutesByFullPath
88
+ fullPaths : '/' | '' | '/sign-in'
89
+ fileRoutesByTo : FileRoutesByTo
90
+ to : '/' | '' | '/sign-in'
91
+ id : '__root__' | '/' | '/_layout' | '/sign-in'
92
+ fileRoutesById : FileRoutesById
93
+ }
94
+
95
+ export interface RootRouteChildren {
96
+ IndexRoute : typeof IndexRoute
97
+ LayoutRoute : typeof LayoutRoute
98
+ SignInRoute : typeof SignInRoute
99
+ }
100
+
101
+ const rootRouteChildren : RootRouteChildren = {
102
+ IndexRoute : IndexRoute ,
103
+ LayoutRoute : LayoutRoute ,
104
+ SignInRoute : SignInRoute ,
105
+ }
100
106
101
- /* prettier-ignore-end */
107
+ export const routeTree = rootRoute
108
+ . _addFileChildren ( rootRouteChildren )
109
+ . _addFileTypes < FileRouteTypes > ( )
102
110
103
111
/* ROUTE_MANIFEST_START
104
112
{
@@ -107,33 +115,18 @@ export const routeTree = rootRoute.addChildren({
107
115
"filePath": "__root.tsx",
108
116
"children": [
109
117
"/",
110
- "/_layout"
118
+ "/_layout",
119
+ "/sign-in"
111
120
]
112
121
},
113
122
"/": {
114
123
"filePath": "index.tsx"
115
124
},
116
125
"/_layout": {
117
- "filePath": "_layout.tsx",
118
- "children": [
119
- "/_layout/_layout-2"
120
- ]
121
- },
122
- "/_layout/_layout-2": {
123
- "filePath": "_layout/_layout-2.tsx",
124
- "parent": "/_layout",
125
- "children": [
126
- "/_layout/_layout-2/layout-a",
127
- "/_layout/_layout-2/layout-b"
128
- ]
129
- },
130
- "/_layout/_layout-2/layout-a": {
131
- "filePath": "_layout/_layout-2/layout-a.tsx",
132
- "parent": "/_layout/_layout-2"
126
+ "filePath": "_layout.tsx"
133
127
},
134
- "/_layout/_layout-2/layout-b": {
135
- "filePath": "_layout/_layout-2/layout-b.tsx",
136
- "parent": "/_layout/_layout-2"
128
+ "/sign-in": {
129
+ "filePath": "sign-in.tsx"
137
130
}
138
131
}
139
132
}
0 commit comments