174 lines
4.5 KiB
TypeScript
174 lines
4.5 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 './routes/__root'
|
|
import { Route as AboutImport } from './routes/about'
|
|
import { Route as SidebarImport } from './routes/_sidebar'
|
|
import { Route as SidebarIndexImport } from './routes/_sidebar/index'
|
|
import { Route as SidebarContactsContractIdImport } from './routes/_sidebar/contacts.$contractId'
|
|
|
|
// Create/Update Routes
|
|
|
|
const AboutRoute = AboutImport.update({
|
|
id: '/about',
|
|
path: '/about',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const SidebarRoute = SidebarImport.update({
|
|
id: '/_sidebar',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const SidebarIndexRoute = SidebarIndexImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => SidebarRoute,
|
|
} as any)
|
|
|
|
const SidebarContactsContractIdRoute = SidebarContactsContractIdImport.update({
|
|
id: '/contacts/$contractId',
|
|
path: '/contacts/$contractId',
|
|
getParentRoute: () => SidebarRoute,
|
|
} as any)
|
|
|
|
// Populate the FileRoutesByPath interface
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/_sidebar': {
|
|
id: '/_sidebar'
|
|
path: ''
|
|
fullPath: ''
|
|
preLoaderRoute: typeof SidebarImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/about': {
|
|
id: '/about'
|
|
path: '/about'
|
|
fullPath: '/about'
|
|
preLoaderRoute: typeof AboutImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/_sidebar/': {
|
|
id: '/_sidebar/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof SidebarIndexImport
|
|
parentRoute: typeof SidebarImport
|
|
}
|
|
'/_sidebar/contacts/$contractId': {
|
|
id: '/_sidebar/contacts/$contractId'
|
|
path: '/contacts/$contractId'
|
|
fullPath: '/contacts/$contractId'
|
|
preLoaderRoute: typeof SidebarContactsContractIdImport
|
|
parentRoute: typeof SidebarImport
|
|
}
|
|
}
|
|
}
|
|
|
|
// Create and export the route tree
|
|
|
|
interface SidebarRouteChildren {
|
|
SidebarIndexRoute: typeof SidebarIndexRoute
|
|
SidebarContactsContractIdRoute: typeof SidebarContactsContractIdRoute
|
|
}
|
|
|
|
const SidebarRouteChildren: SidebarRouteChildren = {
|
|
SidebarIndexRoute: SidebarIndexRoute,
|
|
SidebarContactsContractIdRoute: SidebarContactsContractIdRoute,
|
|
}
|
|
|
|
const SidebarRouteWithChildren =
|
|
SidebarRoute._addFileChildren(SidebarRouteChildren)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'': typeof SidebarRouteWithChildren
|
|
'/about': typeof AboutRoute
|
|
'/': typeof SidebarIndexRoute
|
|
'/contacts/$contractId': typeof SidebarContactsContractIdRoute
|
|
}
|
|
|
|
export interface FileRoutesByTo {
|
|
'/about': typeof AboutRoute
|
|
'/': typeof SidebarIndexRoute
|
|
'/contacts/$contractId': typeof SidebarContactsContractIdRoute
|
|
}
|
|
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRoute
|
|
'/_sidebar': typeof SidebarRouteWithChildren
|
|
'/about': typeof AboutRoute
|
|
'/_sidebar/': typeof SidebarIndexRoute
|
|
'/_sidebar/contacts/$contractId': typeof SidebarContactsContractIdRoute
|
|
}
|
|
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths: '' | '/about' | '/' | '/contacts/$contractId'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: '/about' | '/' | '/contacts/$contractId'
|
|
id:
|
|
| '__root__'
|
|
| '/_sidebar'
|
|
| '/about'
|
|
| '/_sidebar/'
|
|
| '/_sidebar/contacts/$contractId'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
|
|
export interface RootRouteChildren {
|
|
SidebarRoute: typeof SidebarRouteWithChildren
|
|
AboutRoute: typeof AboutRoute
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
SidebarRoute: SidebarRouteWithChildren,
|
|
AboutRoute: AboutRoute,
|
|
}
|
|
|
|
export const routeTree = rootRoute
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
/* ROUTE_MANIFEST_START
|
|
{
|
|
"routes": {
|
|
"__root__": {
|
|
"filePath": "__root.tsx",
|
|
"children": [
|
|
"/_sidebar",
|
|
"/about"
|
|
]
|
|
},
|
|
"/_sidebar": {
|
|
"filePath": "_sidebar.tsx",
|
|
"children": [
|
|
"/_sidebar/",
|
|
"/_sidebar/contacts/$contractId"
|
|
]
|
|
},
|
|
"/about": {
|
|
"filePath": "about.tsx"
|
|
},
|
|
"/_sidebar/": {
|
|
"filePath": "_sidebar/index.tsx",
|
|
"parent": "/_sidebar"
|
|
},
|
|
"/_sidebar/contacts/$contractId": {
|
|
"filePath": "_sidebar/contacts.$contractId.tsx",
|
|
"parent": "/_sidebar"
|
|
}
|
|
}
|
|
}
|
|
ROUTE_MANIFEST_END */
|