-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrouteTree.gen.ts
479 lines (444 loc) · 15.2 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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
/* 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 DashboardLayoutImport } from './routes/dashboard/layout'
import { Route as IndexImport } from './routes/index'
import { Route as ProfileIndexImport } from './routes/profile/index'
import { Route as DashboardIndexImport } from './routes/dashboard/index'
import { Route as AuthIndexImport } from './routes/auth/index'
import { Route as AuthSignupImport } from './routes/auth/signup'
import { Route as DashboardTeamsIndexImport } from './routes/dashboard/teams/index'
import { Route as DashboardProjectsIndexImport } from './routes/dashboard/projects/index'
import { Route as DashboardOsProjectsIndexImport } from './routes/dashboard/os-projects/index'
import { Route as DashboardMembersIndexImport } from './routes/dashboard/members/index'
import { Route as DashboardLeaderboardsIndexImport } from './routes/dashboard/leaderboards/index'
import { Route as DashboardInboxIndexImport } from './routes/dashboard/inbox/index'
import { Route as DashboardHackathonsIndexImport } from './routes/dashboard/hackathons/index'
import { Route as DashboardChallengesIndexImport } from './routes/dashboard/challenges/index'
import { Route as DashboardChallengesExampleDataImport } from './routes/dashboard/challenges/ExampleData'
// Create/Update Routes
const DashboardLayoutRoute = DashboardLayoutImport.update({
id: '/dashboard',
path: '/dashboard',
getParentRoute: () => rootRoute,
} as any)
const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)
const ProfileIndexRoute = ProfileIndexImport.update({
id: '/profile/',
path: '/profile/',
getParentRoute: () => rootRoute,
} as any)
const DashboardIndexRoute = DashboardIndexImport.update({
id: '/',
path: '/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const AuthIndexRoute = AuthIndexImport.update({
id: '/auth/',
path: '/auth/',
getParentRoute: () => rootRoute,
} as any)
const AuthSignupRoute = AuthSignupImport.update({
id: '/auth/signup',
path: '/auth/signup',
getParentRoute: () => rootRoute,
} as any)
const DashboardTeamsIndexRoute = DashboardTeamsIndexImport.update({
id: '/teams/',
path: '/teams/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardProjectsIndexRoute = DashboardProjectsIndexImport.update({
id: '/projects/',
path: '/projects/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardOsProjectsIndexRoute = DashboardOsProjectsIndexImport.update({
id: '/os-projects/',
path: '/os-projects/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardMembersIndexRoute = DashboardMembersIndexImport.update({
id: '/members/',
path: '/members/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardLeaderboardsIndexRoute = DashboardLeaderboardsIndexImport.update(
{
id: '/leaderboards/',
path: '/leaderboards/',
getParentRoute: () => DashboardLayoutRoute,
} as any,
)
const DashboardInboxIndexRoute = DashboardInboxIndexImport.update({
id: '/inbox/',
path: '/inbox/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardHackathonsIndexRoute = DashboardHackathonsIndexImport.update({
id: '/hackathons/',
path: '/hackathons/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardChallengesIndexRoute = DashboardChallengesIndexImport.update({
id: '/challenges/',
path: '/challenges/',
getParentRoute: () => DashboardLayoutRoute,
} as any)
const DashboardChallengesExampleDataRoute =
DashboardChallengesExampleDataImport.update({
id: '/challenges/ExampleData',
path: '/challenges/ExampleData',
getParentRoute: () => DashboardLayoutRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/dashboard': {
id: '/dashboard'
path: '/dashboard'
fullPath: '/dashboard'
preLoaderRoute: typeof DashboardLayoutImport
parentRoute: typeof rootRoute
}
'/auth/signup': {
id: '/auth/signup'
path: '/auth/signup'
fullPath: '/auth/signup'
preLoaderRoute: typeof AuthSignupImport
parentRoute: typeof rootRoute
}
'/auth/': {
id: '/auth/'
path: '/auth'
fullPath: '/auth'
preLoaderRoute: typeof AuthIndexImport
parentRoute: typeof rootRoute
}
'/dashboard/': {
id: '/dashboard/'
path: '/'
fullPath: '/dashboard/'
preLoaderRoute: typeof DashboardIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/profile/': {
id: '/profile/'
path: '/profile'
fullPath: '/profile'
preLoaderRoute: typeof ProfileIndexImport
parentRoute: typeof rootRoute
}
'/dashboard/challenges/ExampleData': {
id: '/dashboard/challenges/ExampleData'
path: '/challenges/ExampleData'
fullPath: '/dashboard/challenges/ExampleData'
preLoaderRoute: typeof DashboardChallengesExampleDataImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/challenges/': {
id: '/dashboard/challenges/'
path: '/challenges'
fullPath: '/dashboard/challenges'
preLoaderRoute: typeof DashboardChallengesIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/hackathons/': {
id: '/dashboard/hackathons/'
path: '/hackathons'
fullPath: '/dashboard/hackathons'
preLoaderRoute: typeof DashboardHackathonsIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/inbox/': {
id: '/dashboard/inbox/'
path: '/inbox'
fullPath: '/dashboard/inbox'
preLoaderRoute: typeof DashboardInboxIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/leaderboards/': {
id: '/dashboard/leaderboards/'
path: '/leaderboards'
fullPath: '/dashboard/leaderboards'
preLoaderRoute: typeof DashboardLeaderboardsIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/members/': {
id: '/dashboard/members/'
path: '/members'
fullPath: '/dashboard/members'
preLoaderRoute: typeof DashboardMembersIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/os-projects/': {
id: '/dashboard/os-projects/'
path: '/os-projects'
fullPath: '/dashboard/os-projects'
preLoaderRoute: typeof DashboardOsProjectsIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/projects/': {
id: '/dashboard/projects/'
path: '/projects'
fullPath: '/dashboard/projects'
preLoaderRoute: typeof DashboardProjectsIndexImport
parentRoute: typeof DashboardLayoutImport
}
'/dashboard/teams/': {
id: '/dashboard/teams/'
path: '/teams'
fullPath: '/dashboard/teams'
preLoaderRoute: typeof DashboardTeamsIndexImport
parentRoute: typeof DashboardLayoutImport
}
}
}
// Create and export the route tree
interface DashboardLayoutRouteChildren {
DashboardIndexRoute: typeof DashboardIndexRoute
DashboardChallengesExampleDataRoute: typeof DashboardChallengesExampleDataRoute
DashboardChallengesIndexRoute: typeof DashboardChallengesIndexRoute
DashboardHackathonsIndexRoute: typeof DashboardHackathonsIndexRoute
DashboardInboxIndexRoute: typeof DashboardInboxIndexRoute
DashboardLeaderboardsIndexRoute: typeof DashboardLeaderboardsIndexRoute
DashboardMembersIndexRoute: typeof DashboardMembersIndexRoute
DashboardOsProjectsIndexRoute: typeof DashboardOsProjectsIndexRoute
DashboardProjectsIndexRoute: typeof DashboardProjectsIndexRoute
DashboardTeamsIndexRoute: typeof DashboardTeamsIndexRoute
}
const DashboardLayoutRouteChildren: DashboardLayoutRouteChildren = {
DashboardIndexRoute: DashboardIndexRoute,
DashboardChallengesExampleDataRoute: DashboardChallengesExampleDataRoute,
DashboardChallengesIndexRoute: DashboardChallengesIndexRoute,
DashboardHackathonsIndexRoute: DashboardHackathonsIndexRoute,
DashboardInboxIndexRoute: DashboardInboxIndexRoute,
DashboardLeaderboardsIndexRoute: DashboardLeaderboardsIndexRoute,
DashboardMembersIndexRoute: DashboardMembersIndexRoute,
DashboardOsProjectsIndexRoute: DashboardOsProjectsIndexRoute,
DashboardProjectsIndexRoute: DashboardProjectsIndexRoute,
DashboardTeamsIndexRoute: DashboardTeamsIndexRoute,
}
const DashboardLayoutRouteWithChildren = DashboardLayoutRoute._addFileChildren(
DashboardLayoutRouteChildren,
)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/dashboard': typeof DashboardLayoutRouteWithChildren
'/auth/signup': typeof AuthSignupRoute
'/auth': typeof AuthIndexRoute
'/dashboard/': typeof DashboardIndexRoute
'/profile': typeof ProfileIndexRoute
'/dashboard/challenges/ExampleData': typeof DashboardChallengesExampleDataRoute
'/dashboard/challenges': typeof DashboardChallengesIndexRoute
'/dashboard/hackathons': typeof DashboardHackathonsIndexRoute
'/dashboard/inbox': typeof DashboardInboxIndexRoute
'/dashboard/leaderboards': typeof DashboardLeaderboardsIndexRoute
'/dashboard/members': typeof DashboardMembersIndexRoute
'/dashboard/os-projects': typeof DashboardOsProjectsIndexRoute
'/dashboard/projects': typeof DashboardProjectsIndexRoute
'/dashboard/teams': typeof DashboardTeamsIndexRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/auth/signup': typeof AuthSignupRoute
'/auth': typeof AuthIndexRoute
'/dashboard': typeof DashboardIndexRoute
'/profile': typeof ProfileIndexRoute
'/dashboard/challenges/ExampleData': typeof DashboardChallengesExampleDataRoute
'/dashboard/challenges': typeof DashboardChallengesIndexRoute
'/dashboard/hackathons': typeof DashboardHackathonsIndexRoute
'/dashboard/inbox': typeof DashboardInboxIndexRoute
'/dashboard/leaderboards': typeof DashboardLeaderboardsIndexRoute
'/dashboard/members': typeof DashboardMembersIndexRoute
'/dashboard/os-projects': typeof DashboardOsProjectsIndexRoute
'/dashboard/projects': typeof DashboardProjectsIndexRoute
'/dashboard/teams': typeof DashboardTeamsIndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/dashboard': typeof DashboardLayoutRouteWithChildren
'/auth/signup': typeof AuthSignupRoute
'/auth/': typeof AuthIndexRoute
'/dashboard/': typeof DashboardIndexRoute
'/profile/': typeof ProfileIndexRoute
'/dashboard/challenges/ExampleData': typeof DashboardChallengesExampleDataRoute
'/dashboard/challenges/': typeof DashboardChallengesIndexRoute
'/dashboard/hackathons/': typeof DashboardHackathonsIndexRoute
'/dashboard/inbox/': typeof DashboardInboxIndexRoute
'/dashboard/leaderboards/': typeof DashboardLeaderboardsIndexRoute
'/dashboard/members/': typeof DashboardMembersIndexRoute
'/dashboard/os-projects/': typeof DashboardOsProjectsIndexRoute
'/dashboard/projects/': typeof DashboardProjectsIndexRoute
'/dashboard/teams/': typeof DashboardTeamsIndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| '/dashboard'
| '/auth/signup'
| '/auth'
| '/dashboard/'
| '/profile'
| '/dashboard/challenges/ExampleData'
| '/dashboard/challenges'
| '/dashboard/hackathons'
| '/dashboard/inbox'
| '/dashboard/leaderboards'
| '/dashboard/members'
| '/dashboard/os-projects'
| '/dashboard/projects'
| '/dashboard/teams'
fileRoutesByTo: FileRoutesByTo
to:
| '/'
| '/auth/signup'
| '/auth'
| '/dashboard'
| '/profile'
| '/dashboard/challenges/ExampleData'
| '/dashboard/challenges'
| '/dashboard/hackathons'
| '/dashboard/inbox'
| '/dashboard/leaderboards'
| '/dashboard/members'
| '/dashboard/os-projects'
| '/dashboard/projects'
| '/dashboard/teams'
id:
| '__root__'
| '/'
| '/dashboard'
| '/auth/signup'
| '/auth/'
| '/dashboard/'
| '/profile/'
| '/dashboard/challenges/ExampleData'
| '/dashboard/challenges/'
| '/dashboard/hackathons/'
| '/dashboard/inbox/'
| '/dashboard/leaderboards/'
| '/dashboard/members/'
| '/dashboard/os-projects/'
| '/dashboard/projects/'
| '/dashboard/teams/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
DashboardLayoutRoute: typeof DashboardLayoutRouteWithChildren
AuthSignupRoute: typeof AuthSignupRoute
AuthIndexRoute: typeof AuthIndexRoute
ProfileIndexRoute: typeof ProfileIndexRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
DashboardLayoutRoute: DashboardLayoutRouteWithChildren,
AuthSignupRoute: AuthSignupRoute,
AuthIndexRoute: AuthIndexRoute,
ProfileIndexRoute: ProfileIndexRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
"/dashboard",
"/auth/signup",
"/auth/",
"/profile/"
]
},
"/": {
"filePath": "index.tsx"
},
"/dashboard": {
"filePath": "dashboard/layout.tsx",
"children": [
"/dashboard/",
"/dashboard/challenges/ExampleData",
"/dashboard/challenges/",
"/dashboard/hackathons/",
"/dashboard/inbox/",
"/dashboard/leaderboards/",
"/dashboard/members/",
"/dashboard/os-projects/",
"/dashboard/projects/",
"/dashboard/teams/"
]
},
"/auth/signup": {
"filePath": "auth/signup.tsx"
},
"/auth/": {
"filePath": "auth/index.tsx"
},
"/dashboard/": {
"filePath": "dashboard/index.tsx",
"parent": "/dashboard"
},
"/profile/": {
"filePath": "profile/index.tsx"
},
"/dashboard/challenges/ExampleData": {
"filePath": "dashboard/challenges/ExampleData.tsx",
"parent": "/dashboard"
},
"/dashboard/challenges/": {
"filePath": "dashboard/challenges/index.tsx",
"parent": "/dashboard"
},
"/dashboard/hackathons/": {
"filePath": "dashboard/hackathons/index.tsx",
"parent": "/dashboard"
},
"/dashboard/inbox/": {
"filePath": "dashboard/inbox/index.tsx",
"parent": "/dashboard"
},
"/dashboard/leaderboards/": {
"filePath": "dashboard/leaderboards/index.tsx",
"parent": "/dashboard"
},
"/dashboard/members/": {
"filePath": "dashboard/members/index.tsx",
"parent": "/dashboard"
},
"/dashboard/os-projects/": {
"filePath": "dashboard/os-projects/index.tsx",
"parent": "/dashboard"
},
"/dashboard/projects/": {
"filePath": "dashboard/projects/index.tsx",
"parent": "/dashboard"
},
"/dashboard/teams/": {
"filePath": "dashboard/teams/index.tsx",
"parent": "/dashboard"
}
}
}
ROUTE_MANIFEST_END */