ATProto forum built with ESAV
at main 5.8 kB view raw
1/* eslint-disable */ 2 3// @ts-nocheck 4 5// noinspection JSUnusedGlobalSymbols 6 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 11import { Route as rootRouteImport } from './routes/__root' 12import { Route as SearchRouteImport } from './routes/search' 13import { Route as IndexRouteImport } from './routes/index' 14import { Route as CallbackIndexRouteImport } from './routes/callback/index' 15import { Route as FForumHandleRouteImport } from './routes/f/$forumHandle' 16import { Route as FForumHandleIndexRouteImport } from './routes/f/$forumHandle/index' 17import { Route as FForumHandleTUserHandleTopicRKeyRouteImport } from './routes/f/$forumHandle/t/$userHandle/$topicRKey' 18 19const SearchRoute = SearchRouteImport.update({ 20 id: '/search', 21 path: '/search', 22 getParentRoute: () => rootRouteImport, 23} as any) 24const IndexRoute = IndexRouteImport.update({ 25 id: '/', 26 path: '/', 27 getParentRoute: () => rootRouteImport, 28} as any) 29const CallbackIndexRoute = CallbackIndexRouteImport.update({ 30 id: '/callback/', 31 path: '/callback/', 32 getParentRoute: () => rootRouteImport, 33} as any) 34const FForumHandleRoute = FForumHandleRouteImport.update({ 35 id: '/f/$forumHandle', 36 path: '/f/$forumHandle', 37 getParentRoute: () => rootRouteImport, 38} as any) 39const FForumHandleIndexRoute = FForumHandleIndexRouteImport.update({ 40 id: '/', 41 path: '/', 42 getParentRoute: () => FForumHandleRoute, 43} as any) 44const FForumHandleTUserHandleTopicRKeyRoute = 45 FForumHandleTUserHandleTopicRKeyRouteImport.update({ 46 id: '/t/$userHandle/$topicRKey', 47 path: '/t/$userHandle/$topicRKey', 48 getParentRoute: () => FForumHandleRoute, 49 } as any) 50 51export interface FileRoutesByFullPath { 52 '/': typeof IndexRoute 53 '/search': typeof SearchRoute 54 '/f/$forumHandle': typeof FForumHandleRouteWithChildren 55 '/callback': typeof CallbackIndexRoute 56 '/f/$forumHandle/': typeof FForumHandleIndexRoute 57 '/f/$forumHandle/t/$userHandle/$topicRKey': typeof FForumHandleTUserHandleTopicRKeyRoute 58} 59export interface FileRoutesByTo { 60 '/': typeof IndexRoute 61 '/search': typeof SearchRoute 62 '/callback': typeof CallbackIndexRoute 63 '/f/$forumHandle': typeof FForumHandleIndexRoute 64 '/f/$forumHandle/t/$userHandle/$topicRKey': typeof FForumHandleTUserHandleTopicRKeyRoute 65} 66export interface FileRoutesById { 67 __root__: typeof rootRouteImport 68 '/': typeof IndexRoute 69 '/search': typeof SearchRoute 70 '/f/$forumHandle': typeof FForumHandleRouteWithChildren 71 '/callback/': typeof CallbackIndexRoute 72 '/f/$forumHandle/': typeof FForumHandleIndexRoute 73 '/f/$forumHandle/t/$userHandle/$topicRKey': typeof FForumHandleTUserHandleTopicRKeyRoute 74} 75export interface FileRouteTypes { 76 fileRoutesByFullPath: FileRoutesByFullPath 77 fullPaths: 78 | '/' 79 | '/search' 80 | '/f/$forumHandle' 81 | '/callback' 82 | '/f/$forumHandle/' 83 | '/f/$forumHandle/t/$userHandle/$topicRKey' 84 fileRoutesByTo: FileRoutesByTo 85 to: 86 | '/' 87 | '/search' 88 | '/callback' 89 | '/f/$forumHandle' 90 | '/f/$forumHandle/t/$userHandle/$topicRKey' 91 id: 92 | '__root__' 93 | '/' 94 | '/search' 95 | '/f/$forumHandle' 96 | '/callback/' 97 | '/f/$forumHandle/' 98 | '/f/$forumHandle/t/$userHandle/$topicRKey' 99 fileRoutesById: FileRoutesById 100} 101export interface RootRouteChildren { 102 IndexRoute: typeof IndexRoute 103 SearchRoute: typeof SearchRoute 104 FForumHandleRoute: typeof FForumHandleRouteWithChildren 105 CallbackIndexRoute: typeof CallbackIndexRoute 106} 107 108declare module '@tanstack/react-router' { 109 interface FileRoutesByPath { 110 '/search': { 111 id: '/search' 112 path: '/search' 113 fullPath: '/search' 114 preLoaderRoute: typeof SearchRouteImport 115 parentRoute: typeof rootRouteImport 116 } 117 '/': { 118 id: '/' 119 path: '/' 120 fullPath: '/' 121 preLoaderRoute: typeof IndexRouteImport 122 parentRoute: typeof rootRouteImport 123 } 124 '/callback/': { 125 id: '/callback/' 126 path: '/callback' 127 fullPath: '/callback' 128 preLoaderRoute: typeof CallbackIndexRouteImport 129 parentRoute: typeof rootRouteImport 130 } 131 '/f/$forumHandle': { 132 id: '/f/$forumHandle' 133 path: '/f/$forumHandle' 134 fullPath: '/f/$forumHandle' 135 preLoaderRoute: typeof FForumHandleRouteImport 136 parentRoute: typeof rootRouteImport 137 } 138 '/f/$forumHandle/': { 139 id: '/f/$forumHandle/' 140 path: '/' 141 fullPath: '/f/$forumHandle/' 142 preLoaderRoute: typeof FForumHandleIndexRouteImport 143 parentRoute: typeof FForumHandleRoute 144 } 145 '/f/$forumHandle/t/$userHandle/$topicRKey': { 146 id: '/f/$forumHandle/t/$userHandle/$topicRKey' 147 path: '/t/$userHandle/$topicRKey' 148 fullPath: '/f/$forumHandle/t/$userHandle/$topicRKey' 149 preLoaderRoute: typeof FForumHandleTUserHandleTopicRKeyRouteImport 150 parentRoute: typeof FForumHandleRoute 151 } 152 } 153} 154 155interface FForumHandleRouteChildren { 156 FForumHandleIndexRoute: typeof FForumHandleIndexRoute 157 FForumHandleTUserHandleTopicRKeyRoute: typeof FForumHandleTUserHandleTopicRKeyRoute 158} 159 160const FForumHandleRouteChildren: FForumHandleRouteChildren = { 161 FForumHandleIndexRoute: FForumHandleIndexRoute, 162 FForumHandleTUserHandleTopicRKeyRoute: FForumHandleTUserHandleTopicRKeyRoute, 163} 164 165const FForumHandleRouteWithChildren = FForumHandleRoute._addFileChildren( 166 FForumHandleRouteChildren, 167) 168 169const rootRouteChildren: RootRouteChildren = { 170 IndexRoute: IndexRoute, 171 SearchRoute: SearchRoute, 172 FForumHandleRoute: FForumHandleRouteWithChildren, 173 CallbackIndexRoute: CallbackIndexRoute, 174} 175export const routeTree = rootRouteImport 176 ._addFileChildren(rootRouteChildren) 177 ._addFileTypes<FileRouteTypes>()