backend_and_cms/frontend/src/routeTree.gen.ts

207 lines
5.9 KiB
TypeScript

/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file is auto-generated by TanStack Router
// Import Routes
import { Route as rootRoute } from './routes/__root'
import { Route as SignupImport } from './routes/signup'
import { Route as ResetPasswordImport } from './routes/reset-password'
import { Route as RecoverPasswordImport } from './routes/recover-password'
import { Route as LoginImport } from './routes/login'
import { Route as LayoutImport } from './routes/_layout'
import { Route as LayoutIndexImport } from './routes/_layout/index'
import { Route as LayoutWebSettingImport } from './routes/_layout/webSetting'
import { Route as LayoutSettingsImport } from './routes/_layout/settings'
import { Route as LayoutOrganImport } from './routes/_layout/organ'
import { Route as LayoutItemsImport } from './routes/_layout/items'
import { Route as LayoutClientMessagesImport } from './routes/_layout/clientMessages'
import { Route as LayoutAdminImport } from './routes/_layout/admin'
import { Route as LayoutAboutUsImport } from './routes/_layout/aboutUs'
import { Route as LayoutCoursesCoursesImport } from './routes/_layout/Courses/Courses'
import { Route as LayoutCoursesAddCourseImport } from './routes/_layout/Courses/AddCourse'
import { Route as LayoutCoursesIdEditCourseImport } from './routes/_layout/Courses/$id.EditCourse'
// Create/Update Routes
const SignupRoute = SignupImport.update({
path: '/signup',
getParentRoute: () => rootRoute,
} as any)
const ResetPasswordRoute = ResetPasswordImport.update({
path: '/reset-password',
getParentRoute: () => rootRoute,
} as any)
const RecoverPasswordRoute = RecoverPasswordImport.update({
path: '/recover-password',
getParentRoute: () => rootRoute,
} as any)
const LoginRoute = LoginImport.update({
path: '/login',
getParentRoute: () => rootRoute,
} as any)
const LayoutRoute = LayoutImport.update({
id: '/_layout',
getParentRoute: () => rootRoute,
} as any)
const LayoutIndexRoute = LayoutIndexImport.update({
path: '/',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutWebSettingRoute = LayoutWebSettingImport.update({
path: '/webSetting',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutSettingsRoute = LayoutSettingsImport.update({
path: '/settings',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutOrganRoute = LayoutOrganImport.update({
path: '/organ',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutItemsRoute = LayoutItemsImport.update({
path: '/items',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutClientMessagesRoute = LayoutClientMessagesImport.update({
path: '/clientMessages',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutAdminRoute = LayoutAdminImport.update({
path: '/admin',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutAboutUsRoute = LayoutAboutUsImport.update({
path: '/aboutUs',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutCoursesCoursesRoute = LayoutCoursesCoursesImport.update({
path: '/Courses/Courses',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutCoursesAddCourseRoute = LayoutCoursesAddCourseImport.update({
path: '/Courses/AddCourse',
getParentRoute: () => LayoutRoute,
} as any)
const LayoutCoursesIdEditCourseRoute = LayoutCoursesIdEditCourseImport.update({
path: '/Courses/$id/EditCourse',
getParentRoute: () => LayoutRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/_layout': {
preLoaderRoute: typeof LayoutImport
parentRoute: typeof rootRoute
}
'/login': {
preLoaderRoute: typeof LoginImport
parentRoute: typeof rootRoute
}
'/recover-password': {
preLoaderRoute: typeof RecoverPasswordImport
parentRoute: typeof rootRoute
}
'/reset-password': {
preLoaderRoute: typeof ResetPasswordImport
parentRoute: typeof rootRoute
}
'/signup': {
preLoaderRoute: typeof SignupImport
parentRoute: typeof rootRoute
}
'/_layout/aboutUs': {
preLoaderRoute: typeof LayoutAboutUsImport
parentRoute: typeof LayoutImport
}
'/_layout/admin': {
preLoaderRoute: typeof LayoutAdminImport
parentRoute: typeof LayoutImport
}
'/_layout/clientMessages': {
preLoaderRoute: typeof LayoutClientMessagesImport
parentRoute: typeof LayoutImport
}
'/_layout/items': {
preLoaderRoute: typeof LayoutItemsImport
parentRoute: typeof LayoutImport
}
'/_layout/organ': {
preLoaderRoute: typeof LayoutOrganImport
parentRoute: typeof LayoutImport
}
'/_layout/settings': {
preLoaderRoute: typeof LayoutSettingsImport
parentRoute: typeof LayoutImport
}
'/_layout/webSetting': {
preLoaderRoute: typeof LayoutWebSettingImport
parentRoute: typeof LayoutImport
}
'/_layout/': {
preLoaderRoute: typeof LayoutIndexImport
parentRoute: typeof LayoutImport
}
'/_layout/Courses/AddCourse': {
preLoaderRoute: typeof LayoutCoursesAddCourseImport
parentRoute: typeof LayoutImport
}
'/_layout/Courses/Courses': {
preLoaderRoute: typeof LayoutCoursesCoursesImport
parentRoute: typeof LayoutImport
}
'/_layout/Courses/$id/EditCourse': {
preLoaderRoute: typeof LayoutCoursesIdEditCourseImport
parentRoute: typeof LayoutImport
}
}
}
// Create and export the route tree
export const routeTree = rootRoute.addChildren([
LayoutRoute.addChildren([
LayoutAboutUsRoute,
LayoutAdminRoute,
LayoutClientMessagesRoute,
LayoutItemsRoute,
LayoutOrganRoute,
LayoutSettingsRoute,
LayoutWebSettingRoute,
LayoutIndexRoute,
LayoutCoursesAddCourseRoute,
LayoutCoursesCoursesRoute,
LayoutCoursesIdEditCourseRoute,
]),
LoginRoute,
RecoverPasswordRoute,
ResetPasswordRoute,
SignupRoute,
])
/* prettier-ignore-end */