routeTree.gen.ts•7.1 kB
/* 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 ConvexpostsImport } from './routes/convexposts'
import { Route as AuthedImport } from './routes/_authed'
import { Route as IndexImport } from './routes/index'
import { Route as AuthedPostsImport } from './routes/_authed/posts'
import { Route as AuthedPostsIndexImport } from './routes/_authed/posts.index'
import { Route as AuthedProfileSplatImport } from './routes/_authed/profile.$'
import { Route as AuthedPostsPostIdImport } from './routes/_authed/posts.$postId'
// Create/Update Routes
const ConvexpostsRoute = ConvexpostsImport.update({
id: '/convexposts',
path: '/convexposts',
getParentRoute: () => rootRoute,
} as any)
const AuthedRoute = AuthedImport.update({
id: '/_authed',
getParentRoute: () => rootRoute,
} as any)
const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)
const AuthedPostsRoute = AuthedPostsImport.update({
id: '/posts',
path: '/posts',
getParentRoute: () => AuthedRoute,
} as any)
const AuthedPostsIndexRoute = AuthedPostsIndexImport.update({
id: '/',
path: '/',
getParentRoute: () => AuthedPostsRoute,
} as any)
const AuthedProfileSplatRoute = AuthedProfileSplatImport.update({
id: '/profile/$',
path: '/profile/$',
getParentRoute: () => AuthedRoute,
} as any)
const AuthedPostsPostIdRoute = AuthedPostsPostIdImport.update({
id: '/$postId',
path: '/$postId',
getParentRoute: () => AuthedPostsRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/_authed': {
id: '/_authed'
path: ''
fullPath: ''
preLoaderRoute: typeof AuthedImport
parentRoute: typeof rootRoute
}
'/convexposts': {
id: '/convexposts'
path: '/convexposts'
fullPath: '/convexposts'
preLoaderRoute: typeof ConvexpostsImport
parentRoute: typeof rootRoute
}
'/_authed/posts': {
id: '/_authed/posts'
path: '/posts'
fullPath: '/posts'
preLoaderRoute: typeof AuthedPostsImport
parentRoute: typeof AuthedImport
}
'/_authed/posts/$postId': {
id: '/_authed/posts/$postId'
path: '/$postId'
fullPath: '/posts/$postId'
preLoaderRoute: typeof AuthedPostsPostIdImport
parentRoute: typeof AuthedPostsImport
}
'/_authed/profile/$': {
id: '/_authed/profile/$'
path: '/profile/$'
fullPath: '/profile/$'
preLoaderRoute: typeof AuthedProfileSplatImport
parentRoute: typeof AuthedImport
}
'/_authed/posts/': {
id: '/_authed/posts/'
path: '/'
fullPath: '/posts/'
preLoaderRoute: typeof AuthedPostsIndexImport
parentRoute: typeof AuthedPostsImport
}
}
}
// Create and export the route tree
interface AuthedPostsRouteChildren {
AuthedPostsPostIdRoute: typeof AuthedPostsPostIdRoute
AuthedPostsIndexRoute: typeof AuthedPostsIndexRoute
}
const AuthedPostsRouteChildren: AuthedPostsRouteChildren = {
AuthedPostsPostIdRoute: AuthedPostsPostIdRoute,
AuthedPostsIndexRoute: AuthedPostsIndexRoute,
}
const AuthedPostsRouteWithChildren = AuthedPostsRoute._addFileChildren(
AuthedPostsRouteChildren,
)
interface AuthedRouteChildren {
AuthedPostsRoute: typeof AuthedPostsRouteWithChildren
AuthedProfileSplatRoute: typeof AuthedProfileSplatRoute
}
const AuthedRouteChildren: AuthedRouteChildren = {
AuthedPostsRoute: AuthedPostsRouteWithChildren,
AuthedProfileSplatRoute: AuthedProfileSplatRoute,
}
const AuthedRouteWithChildren =
AuthedRoute._addFileChildren(AuthedRouteChildren)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'': typeof AuthedRouteWithChildren
'/convexposts': typeof ConvexpostsRoute
'/posts': typeof AuthedPostsRouteWithChildren
'/posts/$postId': typeof AuthedPostsPostIdRoute
'/profile/$': typeof AuthedProfileSplatRoute
'/posts/': typeof AuthedPostsIndexRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'': typeof AuthedRouteWithChildren
'/convexposts': typeof ConvexpostsRoute
'/posts/$postId': typeof AuthedPostsPostIdRoute
'/profile/$': typeof AuthedProfileSplatRoute
'/posts': typeof AuthedPostsIndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/_authed': typeof AuthedRouteWithChildren
'/convexposts': typeof ConvexpostsRoute
'/_authed/posts': typeof AuthedPostsRouteWithChildren
'/_authed/posts/$postId': typeof AuthedPostsPostIdRoute
'/_authed/profile/$': typeof AuthedProfileSplatRoute
'/_authed/posts/': typeof AuthedPostsIndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| ''
| '/convexposts'
| '/posts'
| '/posts/$postId'
| '/profile/$'
| '/posts/'
fileRoutesByTo: FileRoutesByTo
to: '/' | '' | '/convexposts' | '/posts/$postId' | '/profile/$' | '/posts'
id:
| '__root__'
| '/'
| '/_authed'
| '/convexposts'
| '/_authed/posts'
| '/_authed/posts/$postId'
| '/_authed/profile/$'
| '/_authed/posts/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AuthedRoute: typeof AuthedRouteWithChildren
ConvexpostsRoute: typeof ConvexpostsRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AuthedRoute: AuthedRouteWithChildren,
ConvexpostsRoute: ConvexpostsRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
"/_authed",
"/convexposts"
]
},
"/": {
"filePath": "index.tsx"
},
"/_authed": {
"filePath": "_authed.tsx",
"children": [
"/_authed/posts",
"/_authed/profile/$"
]
},
"/convexposts": {
"filePath": "convexposts.tsx"
},
"/_authed/posts": {
"filePath": "_authed/posts.tsx",
"parent": "/_authed",
"children": [
"/_authed/posts/$postId",
"/_authed/posts/"
]
},
"/_authed/posts/$postId": {
"filePath": "_authed/posts.$postId.tsx",
"parent": "/_authed/posts"
},
"/_authed/profile/$": {
"filePath": "_authed/profile.$.tsx",
"parent": "/_authed"
},
"/_authed/posts/": {
"filePath": "_authed/posts.index.tsx",
"parent": "/_authed/posts"
}
}
}
ROUTE_MANIFEST_END */