|
8 | 8 | // You should NOT make any changes in this file as it will be overwritten. |
9 | 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 | | -import { Route as rootRouteImport } from './routes/__root' |
12 | | -import { Route as IndexRouteImport } from './routes/index' |
13 | | -import { Route as AppsCreateRouteImport } from './routes/apps/create' |
14 | | -import { Route as AppsAppIdDetailsRouteImport } from './routes/apps/$appId/details' |
| 11 | +import { Route as rootRouteImport } from './routes/__root'; |
| 12 | +import { Route as IndexRouteImport } from './routes/index'; |
| 13 | +import { Route as AppsCreateRouteImport } from './routes/apps/create'; |
| 14 | +import { Route as AppsAppIdDetailsRouteImport } from './routes/apps/$appId/details'; |
15 | 15 |
|
16 | 16 | const IndexRoute = IndexRouteImport.update({ |
17 | 17 | id: '/', |
18 | 18 | path: '/', |
19 | 19 | getParentRoute: () => rootRouteImport, |
20 | | -} as any) |
| 20 | +} as any); |
21 | 21 | const AppsCreateRoute = AppsCreateRouteImport.update({ |
22 | 22 | id: '/apps/create', |
23 | 23 | path: '/apps/create', |
24 | 24 | getParentRoute: () => rootRouteImport, |
25 | | -} as any) |
| 25 | +} as any); |
26 | 26 | const AppsAppIdDetailsRoute = AppsAppIdDetailsRouteImport.update({ |
27 | 27 | id: '/apps/$appId/details', |
28 | 28 | path: '/apps/$appId/details', |
29 | 29 | getParentRoute: () => rootRouteImport, |
30 | | -} as any) |
| 30 | +} as any); |
31 | 31 |
|
32 | 32 | export interface FileRoutesByFullPath { |
33 | | - '/': typeof IndexRoute |
34 | | - '/apps/create': typeof AppsCreateRoute |
35 | | - '/apps/$appId/details': typeof AppsAppIdDetailsRoute |
| 33 | + '/': typeof IndexRoute; |
| 34 | + '/apps/create': typeof AppsCreateRoute; |
| 35 | + '/apps/$appId/details': typeof AppsAppIdDetailsRoute; |
36 | 36 | } |
37 | 37 | export interface FileRoutesByTo { |
38 | | - '/': typeof IndexRoute |
39 | | - '/apps/create': typeof AppsCreateRoute |
40 | | - '/apps/$appId/details': typeof AppsAppIdDetailsRoute |
| 38 | + '/': typeof IndexRoute; |
| 39 | + '/apps/create': typeof AppsCreateRoute; |
| 40 | + '/apps/$appId/details': typeof AppsAppIdDetailsRoute; |
41 | 41 | } |
42 | 42 | export interface FileRoutesById { |
43 | | - __root__: typeof rootRouteImport |
44 | | - '/': typeof IndexRoute |
45 | | - '/apps/create': typeof AppsCreateRoute |
46 | | - '/apps/$appId/details': typeof AppsAppIdDetailsRoute |
| 43 | + __root__: typeof rootRouteImport; |
| 44 | + '/': typeof IndexRoute; |
| 45 | + '/apps/create': typeof AppsCreateRoute; |
| 46 | + '/apps/$appId/details': typeof AppsAppIdDetailsRoute; |
47 | 47 | } |
48 | 48 | export interface FileRouteTypes { |
49 | | - fileRoutesByFullPath: FileRoutesByFullPath |
50 | | - fullPaths: '/' | '/apps/create' | '/apps/$appId/details' |
51 | | - fileRoutesByTo: FileRoutesByTo |
52 | | - to: '/' | '/apps/create' | '/apps/$appId/details' |
53 | | - id: '__root__' | '/' | '/apps/create' | '/apps/$appId/details' |
54 | | - fileRoutesById: FileRoutesById |
| 49 | + fileRoutesByFullPath: FileRoutesByFullPath; |
| 50 | + fullPaths: '/' | '/apps/create' | '/apps/$appId/details'; |
| 51 | + fileRoutesByTo: FileRoutesByTo; |
| 52 | + to: '/' | '/apps/create' | '/apps/$appId/details'; |
| 53 | + id: '__root__' | '/' | '/apps/create' | '/apps/$appId/details'; |
| 54 | + fileRoutesById: FileRoutesById; |
55 | 55 | } |
56 | 56 | export interface RootRouteChildren { |
57 | | - IndexRoute: typeof IndexRoute |
58 | | - AppsCreateRoute: typeof AppsCreateRoute |
59 | | - AppsAppIdDetailsRoute: typeof AppsAppIdDetailsRoute |
| 57 | + IndexRoute: typeof IndexRoute; |
| 58 | + AppsCreateRoute: typeof AppsCreateRoute; |
| 59 | + AppsAppIdDetailsRoute: typeof AppsAppIdDetailsRoute; |
60 | 60 | } |
61 | 61 |
|
62 | 62 | declare module '@tanstack/react-router' { |
63 | 63 | interface FileRoutesByPath { |
64 | 64 | '/': { |
65 | | - id: '/' |
66 | | - path: '/' |
67 | | - fullPath: '/' |
68 | | - preLoaderRoute: typeof IndexRouteImport |
69 | | - parentRoute: typeof rootRouteImport |
70 | | - } |
| 65 | + id: '/'; |
| 66 | + path: '/'; |
| 67 | + fullPath: '/'; |
| 68 | + preLoaderRoute: typeof IndexRouteImport; |
| 69 | + parentRoute: typeof rootRouteImport; |
| 70 | + }; |
71 | 71 | '/apps/create': { |
72 | | - id: '/apps/create' |
73 | | - path: '/apps/create' |
74 | | - fullPath: '/apps/create' |
75 | | - preLoaderRoute: typeof AppsCreateRouteImport |
76 | | - parentRoute: typeof rootRouteImport |
77 | | - } |
| 72 | + id: '/apps/create'; |
| 73 | + path: '/apps/create'; |
| 74 | + fullPath: '/apps/create'; |
| 75 | + preLoaderRoute: typeof AppsCreateRouteImport; |
| 76 | + parentRoute: typeof rootRouteImport; |
| 77 | + }; |
78 | 78 | '/apps/$appId/details': { |
79 | | - id: '/apps/$appId/details' |
80 | | - path: '/apps/$appId/details' |
81 | | - fullPath: '/apps/$appId/details' |
82 | | - preLoaderRoute: typeof AppsAppIdDetailsRouteImport |
83 | | - parentRoute: typeof rootRouteImport |
84 | | - } |
| 79 | + id: '/apps/$appId/details'; |
| 80 | + path: '/apps/$appId/details'; |
| 81 | + fullPath: '/apps/$appId/details'; |
| 82 | + preLoaderRoute: typeof AppsAppIdDetailsRouteImport; |
| 83 | + parentRoute: typeof rootRouteImport; |
| 84 | + }; |
85 | 85 | } |
86 | 86 | } |
87 | 87 |
|
88 | 88 | const rootRouteChildren: RootRouteChildren = { |
89 | 89 | IndexRoute: IndexRoute, |
90 | 90 | AppsCreateRoute: AppsCreateRoute, |
91 | 91 | AppsAppIdDetailsRoute: AppsAppIdDetailsRoute, |
92 | | -} |
| 92 | +}; |
93 | 93 | export const routeTree = rootRouteImport |
94 | 94 | ._addFileChildren(rootRouteChildren) |
95 | | - ._addFileTypes<FileRouteTypes>() |
| 95 | + ._addFileTypes<FileRouteTypes>(); |
0 commit comments