@@ -13,7 +13,9 @@ import { Route as AppIndexRouteImport } from './routes/app.index'
13
13
import { Route as AppSettingsRouteImport } from './routes/app.settings'
14
14
import { Route as AppNoteRouteImport } from './routes/app.note'
15
15
import { Route as AppNewRouteImport } from './routes/app.new'
16
+ import { Route as AppOrganizationIdRouteImport } from './routes/app.organization.$id'
16
17
import { Route as AppNoteIdRouteImport } from './routes/app.note.$id'
18
+ import { Route as AppHumanIdRouteImport } from './routes/app.human.$id'
17
19
18
20
const AppIndexRoute = AppIndexRouteImport . update ( {
19
21
id : '/app/' ,
@@ -35,33 +37,49 @@ const AppNewRoute = AppNewRouteImport.update({
35
37
path : '/app/new' ,
36
38
getParentRoute : ( ) => rootRouteImport ,
37
39
} as any )
40
+ const AppOrganizationIdRoute = AppOrganizationIdRouteImport . update ( {
41
+ id : '/app/organization/$id' ,
42
+ path : '/app/organization/$id' ,
43
+ getParentRoute : ( ) => rootRouteImport ,
44
+ } as any )
38
45
const AppNoteIdRoute = AppNoteIdRouteImport . update ( {
39
46
id : '/$id' ,
40
47
path : '/$id' ,
41
48
getParentRoute : ( ) => AppNoteRoute ,
42
49
} as any )
50
+ const AppHumanIdRoute = AppHumanIdRouteImport . update ( {
51
+ id : '/app/human/$id' ,
52
+ path : '/app/human/$id' ,
53
+ getParentRoute : ( ) => rootRouteImport ,
54
+ } as any )
43
55
44
56
export interface FileRoutesByFullPath {
45
57
'/app/new' : typeof AppNewRoute
46
58
'/app/note' : typeof AppNoteRouteWithChildren
47
59
'/app/settings' : typeof AppSettingsRoute
48
60
'/app' : typeof AppIndexRoute
61
+ '/app/human/$id' : typeof AppHumanIdRoute
49
62
'/app/note/$id' : typeof AppNoteIdRoute
63
+ '/app/organization/$id' : typeof AppOrganizationIdRoute
50
64
}
51
65
export interface FileRoutesByTo {
52
66
'/app/new' : typeof AppNewRoute
53
67
'/app/note' : typeof AppNoteRouteWithChildren
54
68
'/app/settings' : typeof AppSettingsRoute
55
69
'/app' : typeof AppIndexRoute
70
+ '/app/human/$id' : typeof AppHumanIdRoute
56
71
'/app/note/$id' : typeof AppNoteIdRoute
72
+ '/app/organization/$id' : typeof AppOrganizationIdRoute
57
73
}
58
74
export interface FileRoutesById {
59
75
__root__ : typeof rootRouteImport
60
76
'/app/new' : typeof AppNewRoute
61
77
'/app/note' : typeof AppNoteRouteWithChildren
62
78
'/app/settings' : typeof AppSettingsRoute
63
79
'/app/' : typeof AppIndexRoute
80
+ '/app/human/$id' : typeof AppHumanIdRoute
64
81
'/app/note/$id' : typeof AppNoteIdRoute
82
+ '/app/organization/$id' : typeof AppOrganizationIdRoute
65
83
}
66
84
export interface FileRouteTypes {
67
85
fileRoutesByFullPath : FileRoutesByFullPath
@@ -70,23 +88,36 @@ export interface FileRouteTypes {
70
88
| '/app/note'
71
89
| '/app/settings'
72
90
| '/app'
91
+ | '/app/human/$id'
73
92
| '/app/note/$id'
93
+ | '/app/organization/$id'
74
94
fileRoutesByTo : FileRoutesByTo
75
- to : '/app/new' | '/app/note' | '/app/settings' | '/app' | '/app/note/$id'
95
+ to :
96
+ | '/app/new'
97
+ | '/app/note'
98
+ | '/app/settings'
99
+ | '/app'
100
+ | '/app/human/$id'
101
+ | '/app/note/$id'
102
+ | '/app/organization/$id'
76
103
id :
77
104
| '__root__'
78
105
| '/app/new'
79
106
| '/app/note'
80
107
| '/app/settings'
81
108
| '/app/'
109
+ | '/app/human/$id'
82
110
| '/app/note/$id'
111
+ | '/app/organization/$id'
83
112
fileRoutesById : FileRoutesById
84
113
}
85
114
export interface RootRouteChildren {
86
115
AppNewRoute : typeof AppNewRoute
87
116
AppNoteRoute : typeof AppNoteRouteWithChildren
88
117
AppSettingsRoute : typeof AppSettingsRoute
89
118
AppIndexRoute : typeof AppIndexRoute
119
+ AppHumanIdRoute : typeof AppHumanIdRoute
120
+ AppOrganizationIdRoute : typeof AppOrganizationIdRoute
90
121
}
91
122
92
123
declare module '@tanstack/react-router' {
@@ -119,13 +150,27 @@ declare module '@tanstack/react-router' {
119
150
preLoaderRoute : typeof AppNewRouteImport
120
151
parentRoute : typeof rootRouteImport
121
152
}
153
+ '/app/organization/$id' : {
154
+ id : '/app/organization/$id'
155
+ path : '/app/organization/$id'
156
+ fullPath : '/app/organization/$id'
157
+ preLoaderRoute : typeof AppOrganizationIdRouteImport
158
+ parentRoute : typeof rootRouteImport
159
+ }
122
160
'/app/note/$id' : {
123
161
id : '/app/note/$id'
124
162
path : '/$id'
125
163
fullPath : '/app/note/$id'
126
164
preLoaderRoute : typeof AppNoteIdRouteImport
127
165
parentRoute : typeof AppNoteRoute
128
166
}
167
+ '/app/human/$id' : {
168
+ id : '/app/human/$id'
169
+ path : '/app/human/$id'
170
+ fullPath : '/app/human/$id'
171
+ preLoaderRoute : typeof AppHumanIdRouteImport
172
+ parentRoute : typeof rootRouteImport
173
+ }
129
174
}
130
175
}
131
176
@@ -145,6 +190,8 @@ const rootRouteChildren: RootRouteChildren = {
145
190
AppNoteRoute : AppNoteRouteWithChildren ,
146
191
AppSettingsRoute : AppSettingsRoute ,
147
192
AppIndexRoute : AppIndexRoute ,
193
+ AppHumanIdRoute : AppHumanIdRoute ,
194
+ AppOrganizationIdRoute : AppOrganizationIdRoute ,
148
195
}
149
196
export const routeTree = rootRouteImport
150
197
. _addFileChildren ( rootRouteChildren )
0 commit comments