generated from StanfordBDHG/NextJSTemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
routeTree.gen.ts
354 lines (322 loc) · 10.8 KB
/
routeTree.gen.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
//
// This source file is part of the Stanford Biodesign Digital Health ENGAGE-HF open-source project
//
// SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//
/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file was automatically generated by TanStack Router.
// You should NOT make any changes in this file as it will be overwritten.
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
// Import Routes
import { Route as rootRoute } from './routes/~__root'
import { Route as DashboardImport } from './routes/~_dashboard'
import { Route as SignInIndexImport } from './routes/~sign-in/~index'
import { Route as DashboardIndexImport } from './routes/~_dashboard/~index'
import { Route as DashboardUsersInviteImport } from './routes/~_dashboard/~users/~invite'
import { Route as DashboardUsersIdImport } from './routes/~_dashboard/~users/~$id'
import { Route as DashboardPatientsInviteImport } from './routes/~_dashboard/~patients/~invite'
import { Route as DashboardUsersIndexImport } from './routes/~_dashboard/~users/~index'
import { Route as DashboardPatientsIndexImport } from './routes/~_dashboard/~patients/~index'
import { Route as DashboardNotificationsIndexImport } from './routes/~_dashboard/~notifications/~index'
import { Route as DashboardPatientsIdIndexImport } from './routes/~_dashboard/~patients/~$id/~index'
// Create/Update Routes
const DashboardRoute = DashboardImport.update({
id: '/_dashboard',
getParentRoute: () => rootRoute,
} as any)
const SignInIndexRoute = SignInIndexImport.update({
id: '/sign-in/',
path: '/sign-in/',
getParentRoute: () => rootRoute,
} as any)
const DashboardIndexRoute = DashboardIndexImport.update({
id: '/',
path: '/',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardUsersInviteRoute = DashboardUsersInviteImport.update({
id: '/users/invite',
path: '/users/invite',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardUsersIdRoute = DashboardUsersIdImport.update({
id: '/users/$id',
path: '/users/$id',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardPatientsInviteRoute = DashboardPatientsInviteImport.update({
id: '/patients/invite',
path: '/patients/invite',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardUsersIndexRoute = DashboardUsersIndexImport.update({
id: '/users/',
path: '/users/',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardPatientsIndexRoute = DashboardPatientsIndexImport.update({
id: '/patients/',
path: '/patients/',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardNotificationsIndexRoute =
DashboardNotificationsIndexImport.update({
id: '/notifications/',
path: '/notifications/',
getParentRoute: () => DashboardRoute,
} as any)
const DashboardPatientsIdIndexRoute = DashboardPatientsIdIndexImport.update({
id: '/patients/$id/',
path: '/patients/$id/',
getParentRoute: () => DashboardRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/_dashboard': {
id: '/_dashboard'
path: ''
fullPath: ''
preLoaderRoute: typeof DashboardImport
parentRoute: typeof rootRoute
}
'/_dashboard/': {
id: '/_dashboard/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof DashboardIndexImport
parentRoute: typeof DashboardImport
}
'/sign-in/': {
id: '/sign-in/'
path: '/sign-in'
fullPath: '/sign-in'
preLoaderRoute: typeof SignInIndexImport
parentRoute: typeof rootRoute
}
'/_dashboard/notifications/': {
id: '/_dashboard/notifications/'
path: '/notifications'
fullPath: '/notifications'
preLoaderRoute: typeof DashboardNotificationsIndexImport
parentRoute: typeof DashboardImport
}
'/_dashboard/patients/': {
id: '/_dashboard/patients/'
path: '/patients'
fullPath: '/patients'
preLoaderRoute: typeof DashboardPatientsIndexImport
parentRoute: typeof DashboardImport
}
'/_dashboard/users/': {
id: '/_dashboard/users/'
path: '/users'
fullPath: '/users'
preLoaderRoute: typeof DashboardUsersIndexImport
parentRoute: typeof DashboardImport
}
'/_dashboard/patients/invite': {
id: '/_dashboard/patients/invite'
path: '/patients/invite'
fullPath: '/patients/invite'
preLoaderRoute: typeof DashboardPatientsInviteImport
parentRoute: typeof DashboardImport
}
'/_dashboard/users/$id': {
id: '/_dashboard/users/$id'
path: '/users/$id'
fullPath: '/users/$id'
preLoaderRoute: typeof DashboardUsersIdImport
parentRoute: typeof DashboardImport
}
'/_dashboard/users/invite': {
id: '/_dashboard/users/invite'
path: '/users/invite'
fullPath: '/users/invite'
preLoaderRoute: typeof DashboardUsersInviteImport
parentRoute: typeof DashboardImport
}
'/_dashboard/patients/$id/': {
id: '/_dashboard/patients/$id/'
path: '/patients/$id'
fullPath: '/patients/$id'
preLoaderRoute: typeof DashboardPatientsIdIndexImport
parentRoute: typeof DashboardImport
}
}
}
// Create and export the route tree
interface DashboardRouteChildren {
DashboardIndexRoute: typeof DashboardIndexRoute
DashboardNotificationsIndexRoute: typeof DashboardNotificationsIndexRoute
DashboardPatientsIndexRoute: typeof DashboardPatientsIndexRoute
DashboardUsersIndexRoute: typeof DashboardUsersIndexRoute
DashboardPatientsInviteRoute: typeof DashboardPatientsInviteRoute
DashboardUsersIdRoute: typeof DashboardUsersIdRoute
DashboardUsersInviteRoute: typeof DashboardUsersInviteRoute
DashboardPatientsIdIndexRoute: typeof DashboardPatientsIdIndexRoute
}
const DashboardRouteChildren: DashboardRouteChildren = {
DashboardIndexRoute: DashboardIndexRoute,
DashboardNotificationsIndexRoute: DashboardNotificationsIndexRoute,
DashboardPatientsIndexRoute: DashboardPatientsIndexRoute,
DashboardUsersIndexRoute: DashboardUsersIndexRoute,
DashboardPatientsInviteRoute: DashboardPatientsInviteRoute,
DashboardUsersIdRoute: DashboardUsersIdRoute,
DashboardUsersInviteRoute: DashboardUsersInviteRoute,
DashboardPatientsIdIndexRoute: DashboardPatientsIdIndexRoute,
}
const DashboardRouteWithChildren = DashboardRoute._addFileChildren(
DashboardRouteChildren,
)
export interface FileRoutesByFullPath {
'': typeof DashboardRouteWithChildren
'/': typeof DashboardIndexRoute
'/sign-in': typeof SignInIndexRoute
'/notifications': typeof DashboardNotificationsIndexRoute
'/patients': typeof DashboardPatientsIndexRoute
'/users': typeof DashboardUsersIndexRoute
'/patients/invite': typeof DashboardPatientsInviteRoute
'/users/$id': typeof DashboardUsersIdRoute
'/users/invite': typeof DashboardUsersInviteRoute
'/patients/$id': typeof DashboardPatientsIdIndexRoute
}
export interface FileRoutesByTo {
'/': typeof DashboardIndexRoute
'/sign-in': typeof SignInIndexRoute
'/notifications': typeof DashboardNotificationsIndexRoute
'/patients': typeof DashboardPatientsIndexRoute
'/users': typeof DashboardUsersIndexRoute
'/patients/invite': typeof DashboardPatientsInviteRoute
'/users/$id': typeof DashboardUsersIdRoute
'/users/invite': typeof DashboardUsersInviteRoute
'/patients/$id': typeof DashboardPatientsIdIndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/_dashboard': typeof DashboardRouteWithChildren
'/_dashboard/': typeof DashboardIndexRoute
'/sign-in/': typeof SignInIndexRoute
'/_dashboard/notifications/': typeof DashboardNotificationsIndexRoute
'/_dashboard/patients/': typeof DashboardPatientsIndexRoute
'/_dashboard/users/': typeof DashboardUsersIndexRoute
'/_dashboard/patients/invite': typeof DashboardPatientsInviteRoute
'/_dashboard/users/$id': typeof DashboardUsersIdRoute
'/_dashboard/users/invite': typeof DashboardUsersInviteRoute
'/_dashboard/patients/$id/': typeof DashboardPatientsIdIndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| ''
| '/'
| '/sign-in'
| '/notifications'
| '/patients'
| '/users'
| '/patients/invite'
| '/users/$id'
| '/users/invite'
| '/patients/$id'
fileRoutesByTo: FileRoutesByTo
to:
| '/'
| '/sign-in'
| '/notifications'
| '/patients'
| '/users'
| '/patients/invite'
| '/users/$id'
| '/users/invite'
| '/patients/$id'
id:
| '__root__'
| '/_dashboard'
| '/_dashboard/'
| '/sign-in/'
| '/_dashboard/notifications/'
| '/_dashboard/patients/'
| '/_dashboard/users/'
| '/_dashboard/patients/invite'
| '/_dashboard/users/$id'
| '/_dashboard/users/invite'
| '/_dashboard/patients/$id/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
DashboardRoute: typeof DashboardRouteWithChildren
SignInIndexRoute: typeof SignInIndexRoute
}
const rootRouteChildren: RootRouteChildren = {
DashboardRoute: DashboardRouteWithChildren,
SignInIndexRoute: SignInIndexRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "~__root.tsx",
"children": [
"/_dashboard",
"/sign-in/"
]
},
"/_dashboard": {
"filePath": "~_dashboard.tsx",
"children": [
"/_dashboard/",
"/_dashboard/notifications/",
"/_dashboard/patients/",
"/_dashboard/users/",
"/_dashboard/patients/invite",
"/_dashboard/users/$id",
"/_dashboard/users/invite",
"/_dashboard/patients/$id/"
]
},
"/_dashboard/": {
"filePath": "~_dashboard/~index.tsx",
"parent": "/_dashboard"
},
"/sign-in/": {
"filePath": "~sign-in/~index.tsx"
},
"/_dashboard/notifications/": {
"filePath": "~_dashboard/~notifications/~index.tsx",
"parent": "/_dashboard"
},
"/_dashboard/patients/": {
"filePath": "~_dashboard/~patients/~index.tsx",
"parent": "/_dashboard"
},
"/_dashboard/users/": {
"filePath": "~_dashboard/~users/~index.tsx",
"parent": "/_dashboard"
},
"/_dashboard/patients/invite": {
"filePath": "~_dashboard/~patients/~invite.tsx",
"parent": "/_dashboard"
},
"/_dashboard/users/$id": {
"filePath": "~_dashboard/~users/~$id.tsx",
"parent": "/_dashboard"
},
"/_dashboard/users/invite": {
"filePath": "~_dashboard/~users/~invite.tsx",
"parent": "/_dashboard"
},
"/_dashboard/patients/$id/": {
"filePath": "~_dashboard/~patients/~$id/~index.tsx",
"parent": "/_dashboard"
}
}
}
ROUTE_MANIFEST_END */