ln/app/client/routeTree.gen.ts

356 lines
11 KiB
TypeScript

/* 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 './pages/__root'
import { Route as RegisterImport } from './pages/register'
import { Route as LoginImport } from './pages/login'
import { Route as EditorImport } from './pages/editor'
import { Route as AboutImport } from './pages/about'
import { Route as IndexImport } from './pages/index'
import { Route as ProfileUsernameImport } from './pages/profile/$username'
import { Route as NewBookImport } from './pages/new/book'
import { Route as WorkBookBookIdOverviewImport } from './pages/work/book/$bookId/overview'
import { Route as WorkBookBookIdChapterNewImport } from './pages/work/book/$bookId/chapter/new'
import { Route as WorkBookBookIdChapterChapterIdViewImport } from './pages/work/book/$bookId/chapter/$chapterId/view'
import { Route as WorkBookBookIdChapterChapterIdEditImport } from './pages/work/book/$bookId/chapter/$chapterId/edit'
// Create/Update Routes
const RegisterRoute = RegisterImport.update({
id: '/register',
path: '/register',
getParentRoute: () => rootRoute,
} as any)
const LoginRoute = LoginImport.update({
id: '/login',
path: '/login',
getParentRoute: () => rootRoute,
} as any)
const EditorRoute = EditorImport.update({
id: '/editor',
path: '/editor',
getParentRoute: () => rootRoute,
} as any)
const AboutRoute = AboutImport.update({
id: '/about',
path: '/about',
getParentRoute: () => rootRoute,
} as any)
const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)
const ProfileUsernameRoute = ProfileUsernameImport.update({
id: '/profile/$username',
path: '/profile/$username',
getParentRoute: () => rootRoute,
} as any)
const NewBookRoute = NewBookImport.update({
id: '/new/book',
path: '/new/book',
getParentRoute: () => rootRoute,
} as any)
const WorkBookBookIdOverviewRoute = WorkBookBookIdOverviewImport.update({
id: '/work/book/$bookId/overview',
path: '/work/book/$bookId/overview',
getParentRoute: () => rootRoute,
} as any)
const WorkBookBookIdChapterNewRoute = WorkBookBookIdChapterNewImport.update({
id: '/work/book/$bookId/chapter/new',
path: '/work/book/$bookId/chapter/new',
getParentRoute: () => rootRoute,
} as any)
const WorkBookBookIdChapterChapterIdViewRoute =
WorkBookBookIdChapterChapterIdViewImport.update({
id: '/work/book/$bookId/chapter/$chapterId/view',
path: '/work/book/$bookId/chapter/$chapterId/view',
getParentRoute: () => rootRoute,
} as any)
const WorkBookBookIdChapterChapterIdEditRoute =
WorkBookBookIdChapterChapterIdEditImport.update({
id: '/work/book/$bookId/chapter/$chapterId/edit',
path: '/work/book/$bookId/chapter/$chapterId/edit',
getParentRoute: () => rootRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/about': {
id: '/about'
path: '/about'
fullPath: '/about'
preLoaderRoute: typeof AboutImport
parentRoute: typeof rootRoute
}
'/editor': {
id: '/editor'
path: '/editor'
fullPath: '/editor'
preLoaderRoute: typeof EditorImport
parentRoute: typeof rootRoute
}
'/login': {
id: '/login'
path: '/login'
fullPath: '/login'
preLoaderRoute: typeof LoginImport
parentRoute: typeof rootRoute
}
'/register': {
id: '/register'
path: '/register'
fullPath: '/register'
preLoaderRoute: typeof RegisterImport
parentRoute: typeof rootRoute
}
'/new/book': {
id: '/new/book'
path: '/new/book'
fullPath: '/new/book'
preLoaderRoute: typeof NewBookImport
parentRoute: typeof rootRoute
}
'/profile/$username': {
id: '/profile/$username'
path: '/profile/$username'
fullPath: '/profile/$username'
preLoaderRoute: typeof ProfileUsernameImport
parentRoute: typeof rootRoute
}
'/work/book/$bookId/overview': {
id: '/work/book/$bookId/overview'
path: '/work/book/$bookId/overview'
fullPath: '/work/book/$bookId/overview'
preLoaderRoute: typeof WorkBookBookIdOverviewImport
parentRoute: typeof rootRoute
}
'/work/book/$bookId/chapter/new': {
id: '/work/book/$bookId/chapter/new'
path: '/work/book/$bookId/chapter/new'
fullPath: '/work/book/$bookId/chapter/new'
preLoaderRoute: typeof WorkBookBookIdChapterNewImport
parentRoute: typeof rootRoute
}
'/work/book/$bookId/chapter/$chapterId/edit': {
id: '/work/book/$bookId/chapter/$chapterId/edit'
path: '/work/book/$bookId/chapter/$chapterId/edit'
fullPath: '/work/book/$bookId/chapter/$chapterId/edit'
preLoaderRoute: typeof WorkBookBookIdChapterChapterIdEditImport
parentRoute: typeof rootRoute
}
'/work/book/$bookId/chapter/$chapterId/view': {
id: '/work/book/$bookId/chapter/$chapterId/view'
path: '/work/book/$bookId/chapter/$chapterId/view'
fullPath: '/work/book/$bookId/chapter/$chapterId/view'
preLoaderRoute: typeof WorkBookBookIdChapterChapterIdViewImport
parentRoute: typeof rootRoute
}
}
}
// Create and export the route tree
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/about': typeof AboutRoute
'/editor': typeof EditorRoute
'/login': typeof LoginRoute
'/register': typeof RegisterRoute
'/new/book': typeof NewBookRoute
'/profile/$username': typeof ProfileUsernameRoute
'/work/book/$bookId/overview': typeof WorkBookBookIdOverviewRoute
'/work/book/$bookId/chapter/new': typeof WorkBookBookIdChapterNewRoute
'/work/book/$bookId/chapter/$chapterId/edit': typeof WorkBookBookIdChapterChapterIdEditRoute
'/work/book/$bookId/chapter/$chapterId/view': typeof WorkBookBookIdChapterChapterIdViewRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/about': typeof AboutRoute
'/editor': typeof EditorRoute
'/login': typeof LoginRoute
'/register': typeof RegisterRoute
'/new/book': typeof NewBookRoute
'/profile/$username': typeof ProfileUsernameRoute
'/work/book/$bookId/overview': typeof WorkBookBookIdOverviewRoute
'/work/book/$bookId/chapter/new': typeof WorkBookBookIdChapterNewRoute
'/work/book/$bookId/chapter/$chapterId/edit': typeof WorkBookBookIdChapterChapterIdEditRoute
'/work/book/$bookId/chapter/$chapterId/view': typeof WorkBookBookIdChapterChapterIdViewRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/about': typeof AboutRoute
'/editor': typeof EditorRoute
'/login': typeof LoginRoute
'/register': typeof RegisterRoute
'/new/book': typeof NewBookRoute
'/profile/$username': typeof ProfileUsernameRoute
'/work/book/$bookId/overview': typeof WorkBookBookIdOverviewRoute
'/work/book/$bookId/chapter/new': typeof WorkBookBookIdChapterNewRoute
'/work/book/$bookId/chapter/$chapterId/edit': typeof WorkBookBookIdChapterChapterIdEditRoute
'/work/book/$bookId/chapter/$chapterId/view': typeof WorkBookBookIdChapterChapterIdViewRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| '/about'
| '/editor'
| '/login'
| '/register'
| '/new/book'
| '/profile/$username'
| '/work/book/$bookId/overview'
| '/work/book/$bookId/chapter/new'
| '/work/book/$bookId/chapter/$chapterId/edit'
| '/work/book/$bookId/chapter/$chapterId/view'
fileRoutesByTo: FileRoutesByTo
to:
| '/'
| '/about'
| '/editor'
| '/login'
| '/register'
| '/new/book'
| '/profile/$username'
| '/work/book/$bookId/overview'
| '/work/book/$bookId/chapter/new'
| '/work/book/$bookId/chapter/$chapterId/edit'
| '/work/book/$bookId/chapter/$chapterId/view'
id:
| '__root__'
| '/'
| '/about'
| '/editor'
| '/login'
| '/register'
| '/new/book'
| '/profile/$username'
| '/work/book/$bookId/overview'
| '/work/book/$bookId/chapter/new'
| '/work/book/$bookId/chapter/$chapterId/edit'
| '/work/book/$bookId/chapter/$chapterId/view'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AboutRoute: typeof AboutRoute
EditorRoute: typeof EditorRoute
LoginRoute: typeof LoginRoute
RegisterRoute: typeof RegisterRoute
NewBookRoute: typeof NewBookRoute
ProfileUsernameRoute: typeof ProfileUsernameRoute
WorkBookBookIdOverviewRoute: typeof WorkBookBookIdOverviewRoute
WorkBookBookIdChapterNewRoute: typeof WorkBookBookIdChapterNewRoute
WorkBookBookIdChapterChapterIdEditRoute: typeof WorkBookBookIdChapterChapterIdEditRoute
WorkBookBookIdChapterChapterIdViewRoute: typeof WorkBookBookIdChapterChapterIdViewRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AboutRoute: AboutRoute,
EditorRoute: EditorRoute,
LoginRoute: LoginRoute,
RegisterRoute: RegisterRoute,
NewBookRoute: NewBookRoute,
ProfileUsernameRoute: ProfileUsernameRoute,
WorkBookBookIdOverviewRoute: WorkBookBookIdOverviewRoute,
WorkBookBookIdChapterNewRoute: WorkBookBookIdChapterNewRoute,
WorkBookBookIdChapterChapterIdEditRoute:
WorkBookBookIdChapterChapterIdEditRoute,
WorkBookBookIdChapterChapterIdViewRoute:
WorkBookBookIdChapterChapterIdViewRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
"/about",
"/editor",
"/login",
"/register",
"/new/book",
"/profile/$username",
"/work/book/$bookId/overview",
"/work/book/$bookId/chapter/new",
"/work/book/$bookId/chapter/$chapterId/edit",
"/work/book/$bookId/chapter/$chapterId/view"
]
},
"/": {
"filePath": "index.tsx"
},
"/about": {
"filePath": "about.tsx"
},
"/editor": {
"filePath": "editor.tsx"
},
"/login": {
"filePath": "login.tsx"
},
"/register": {
"filePath": "register.tsx"
},
"/new/book": {
"filePath": "new/book.tsx"
},
"/profile/$username": {
"filePath": "profile/$username.tsx"
},
"/work/book/$bookId/overview": {
"filePath": "work/book/$bookId/overview.tsx"
},
"/work/book/$bookId/chapter/new": {
"filePath": "work/book/$bookId/chapter/new.tsx"
},
"/work/book/$bookId/chapter/$chapterId/edit": {
"filePath": "work/book/$bookId/chapter/$chapterId/edit.tsx"
},
"/work/book/$bookId/chapter/$chapterId/view": {
"filePath": "work/book/$bookId/chapter/$chapterId/view.tsx"
}
}
}
ROUTE_MANIFEST_END */