219 lines
6.1 KiB
TypeScript
219 lines
6.1 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 { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as TodosRouteImport } from './routes/todos'
|
|
import { Route as ProjectsRouteImport } from './routes/projects'
|
|
import { Route as JobsRouteImport } from './routes/jobs'
|
|
import { Route as AgendaRouteImport } from './routes/agenda'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as ProjectsIndexRouteImport } from './routes/projects.index'
|
|
import { Route as SettingsJobsRouteImport } from './routes/settings.jobs'
|
|
import { Route as ProjectsProjectIdRouteImport } from './routes/projects.$projectId'
|
|
|
|
const TodosRoute = TodosRouteImport.update({
|
|
id: '/todos',
|
|
path: '/todos',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ProjectsRoute = ProjectsRouteImport.update({
|
|
id: '/projects',
|
|
path: '/projects',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const JobsRoute = JobsRouteImport.update({
|
|
id: '/jobs',
|
|
path: '/jobs',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgendaRoute = AgendaRouteImport.update({
|
|
id: '/agenda',
|
|
path: '/agenda',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ProjectsIndexRoute = ProjectsIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => ProjectsRoute,
|
|
} as any)
|
|
const SettingsJobsRoute = SettingsJobsRouteImport.update({
|
|
id: '/settings/jobs',
|
|
path: '/settings/jobs',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ProjectsProjectIdRoute = ProjectsProjectIdRouteImport.update({
|
|
id: '/$projectId',
|
|
path: '/$projectId',
|
|
getParentRoute: () => ProjectsRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/agenda': typeof AgendaRoute
|
|
'/jobs': typeof JobsRoute
|
|
'/projects': typeof ProjectsRouteWithChildren
|
|
'/todos': typeof TodosRoute
|
|
'/projects/$projectId': typeof ProjectsProjectIdRoute
|
|
'/settings/jobs': typeof SettingsJobsRoute
|
|
'/projects/': typeof ProjectsIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/agenda': typeof AgendaRoute
|
|
'/jobs': typeof JobsRoute
|
|
'/todos': typeof TodosRoute
|
|
'/projects/$projectId': typeof ProjectsProjectIdRoute
|
|
'/settings/jobs': typeof SettingsJobsRoute
|
|
'/projects': typeof ProjectsIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/agenda': typeof AgendaRoute
|
|
'/jobs': typeof JobsRoute
|
|
'/projects': typeof ProjectsRouteWithChildren
|
|
'/todos': typeof TodosRoute
|
|
'/projects/$projectId': typeof ProjectsProjectIdRoute
|
|
'/settings/jobs': typeof SettingsJobsRoute
|
|
'/projects/': typeof ProjectsIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/agenda'
|
|
| '/jobs'
|
|
| '/projects'
|
|
| '/todos'
|
|
| '/projects/$projectId'
|
|
| '/settings/jobs'
|
|
| '/projects/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/agenda'
|
|
| '/jobs'
|
|
| '/todos'
|
|
| '/projects/$projectId'
|
|
| '/settings/jobs'
|
|
| '/projects'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/agenda'
|
|
| '/jobs'
|
|
| '/projects'
|
|
| '/todos'
|
|
| '/projects/$projectId'
|
|
| '/settings/jobs'
|
|
| '/projects/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
AgendaRoute: typeof AgendaRoute
|
|
JobsRoute: typeof JobsRoute
|
|
ProjectsRoute: typeof ProjectsRouteWithChildren
|
|
TodosRoute: typeof TodosRoute
|
|
SettingsJobsRoute: typeof SettingsJobsRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/todos': {
|
|
id: '/todos'
|
|
path: '/todos'
|
|
fullPath: '/todos'
|
|
preLoaderRoute: typeof TodosRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/projects': {
|
|
id: '/projects'
|
|
path: '/projects'
|
|
fullPath: '/projects'
|
|
preLoaderRoute: typeof ProjectsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/jobs': {
|
|
id: '/jobs'
|
|
path: '/jobs'
|
|
fullPath: '/jobs'
|
|
preLoaderRoute: typeof JobsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agenda': {
|
|
id: '/agenda'
|
|
path: '/agenda'
|
|
fullPath: '/agenda'
|
|
preLoaderRoute: typeof AgendaRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/projects/': {
|
|
id: '/projects/'
|
|
path: '/'
|
|
fullPath: '/projects/'
|
|
preLoaderRoute: typeof ProjectsIndexRouteImport
|
|
parentRoute: typeof ProjectsRoute
|
|
}
|
|
'/settings/jobs': {
|
|
id: '/settings/jobs'
|
|
path: '/settings/jobs'
|
|
fullPath: '/settings/jobs'
|
|
preLoaderRoute: typeof SettingsJobsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/projects/$projectId': {
|
|
id: '/projects/$projectId'
|
|
path: '/$projectId'
|
|
fullPath: '/projects/$projectId'
|
|
preLoaderRoute: typeof ProjectsProjectIdRouteImport
|
|
parentRoute: typeof ProjectsRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface ProjectsRouteChildren {
|
|
ProjectsProjectIdRoute: typeof ProjectsProjectIdRoute
|
|
ProjectsIndexRoute: typeof ProjectsIndexRoute
|
|
}
|
|
|
|
const ProjectsRouteChildren: ProjectsRouteChildren = {
|
|
ProjectsProjectIdRoute: ProjectsProjectIdRoute,
|
|
ProjectsIndexRoute: ProjectsIndexRoute,
|
|
}
|
|
|
|
const ProjectsRouteWithChildren = ProjectsRoute._addFileChildren(
|
|
ProjectsRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
AgendaRoute: AgendaRoute,
|
|
JobsRoute: JobsRoute,
|
|
ProjectsRoute: ProjectsRouteWithChildren,
|
|
TodosRoute: TodosRoute,
|
|
SettingsJobsRoute: SettingsJobsRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|