183 lines
5.0 KiB
TypeScript
183 lines
5.0 KiB
TypeScript
/* prettier-ignore-start */
|
|
|
|
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file is auto-generated by TanStack Router
|
|
|
|
import { createFileRoute } from '@tanstack/react-router'
|
|
|
|
// Import Routes
|
|
|
|
import { Route as rootRoute } from './routes/__root'
|
|
import { Route as DashboardLayoutImport } from './routes/_dashboardLayout'
|
|
import { Route as DashboardLayoutUsersIndexImport } from './routes/_dashboardLayout/users/index'
|
|
import { Route as DashboardLayoutTimetableIndexImport } from './routes/_dashboardLayout/timetable/index'
|
|
import { Route as DashboardLayoutDashboardIndexImport } from './routes/_dashboardLayout/dashboard/index'
|
|
|
|
// Create Virtual Routes
|
|
|
|
const IndexLazyImport = createFileRoute('/')()
|
|
const LogoutIndexLazyImport = createFileRoute('/logout/')()
|
|
const LoginIndexLazyImport = createFileRoute('/login/')()
|
|
|
|
// Create/Update Routes
|
|
|
|
const DashboardLayoutRoute = DashboardLayoutImport.update({
|
|
id: '/_dashboardLayout',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const IndexLazyRoute = IndexLazyImport.update({
|
|
path: '/',
|
|
getParentRoute: () => rootRoute,
|
|
} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route))
|
|
|
|
const LogoutIndexLazyRoute = LogoutIndexLazyImport.update({
|
|
path: '/logout/',
|
|
getParentRoute: () => rootRoute,
|
|
} as any).lazy(() => import('./routes/logout/index.lazy').then((d) => d.Route))
|
|
|
|
const LoginIndexLazyRoute = LoginIndexLazyImport.update({
|
|
path: '/login/',
|
|
getParentRoute: () => rootRoute,
|
|
} as any).lazy(() => import('./routes/login/index.lazy').then((d) => d.Route))
|
|
|
|
const DashboardLayoutUsersIndexRoute = DashboardLayoutUsersIndexImport.update({
|
|
path: '/users/',
|
|
getParentRoute: () => DashboardLayoutRoute,
|
|
} as any).lazy(() =>
|
|
import('./routes/_dashboardLayout/users/index.lazy').then((d) => d.Route),
|
|
)
|
|
|
|
const DashboardLayoutTimetableIndexRoute =
|
|
DashboardLayoutTimetableIndexImport.update({
|
|
path: '/timetable/',
|
|
getParentRoute: () => DashboardLayoutRoute,
|
|
} as any)
|
|
|
|
const DashboardLayoutDashboardIndexRoute =
|
|
DashboardLayoutDashboardIndexImport.update({
|
|
path: '/dashboard/',
|
|
getParentRoute: () => DashboardLayoutRoute,
|
|
} as any)
|
|
|
|
// Populate the FileRoutesByPath interface
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexLazyImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/_dashboardLayout': {
|
|
id: '/_dashboardLayout'
|
|
path: ''
|
|
fullPath: ''
|
|
preLoaderRoute: typeof DashboardLayoutImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/login/': {
|
|
id: '/login/'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginIndexLazyImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/logout/': {
|
|
id: '/logout/'
|
|
path: '/logout'
|
|
fullPath: '/logout'
|
|
preLoaderRoute: typeof LogoutIndexLazyImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/_dashboardLayout/dashboard/': {
|
|
id: '/_dashboardLayout/dashboard/'
|
|
path: '/dashboard'
|
|
fullPath: '/dashboard'
|
|
preLoaderRoute: typeof DashboardLayoutDashboardIndexImport
|
|
parentRoute: typeof DashboardLayoutImport
|
|
}
|
|
'/_dashboardLayout/timetable/': {
|
|
id: '/_dashboardLayout/timetable/'
|
|
path: '/timetable'
|
|
fullPath: '/timetable'
|
|
preLoaderRoute: typeof DashboardLayoutTimetableIndexImport
|
|
parentRoute: typeof DashboardLayoutImport
|
|
}
|
|
'/_dashboardLayout/users/': {
|
|
id: '/_dashboardLayout/users/'
|
|
path: '/users'
|
|
fullPath: '/users'
|
|
preLoaderRoute: typeof DashboardLayoutUsersIndexImport
|
|
parentRoute: typeof DashboardLayoutImport
|
|
}
|
|
}
|
|
}
|
|
|
|
// Create and export the route tree
|
|
|
|
export const routeTree = rootRoute.addChildren({
|
|
IndexLazyRoute,
|
|
DashboardLayoutRoute: DashboardLayoutRoute.addChildren({
|
|
DashboardLayoutDashboardIndexRoute,
|
|
DashboardLayoutTimetableIndexRoute,
|
|
DashboardLayoutUsersIndexRoute,
|
|
}),
|
|
LoginIndexLazyRoute,
|
|
LogoutIndexLazyRoute,
|
|
})
|
|
|
|
/* prettier-ignore-end */
|
|
|
|
/* ROUTE_MANIFEST_START
|
|
{
|
|
"routes": {
|
|
"__root__": {
|
|
"filePath": "__root.tsx",
|
|
"children": [
|
|
"/",
|
|
"/_dashboardLayout",
|
|
"/login/",
|
|
"/logout/"
|
|
]
|
|
},
|
|
"/": {
|
|
"filePath": "index.lazy.tsx"
|
|
},
|
|
"/_dashboardLayout": {
|
|
"filePath": "_dashboardLayout.tsx",
|
|
"children": [
|
|
"/_dashboardLayout/dashboard/",
|
|
"/_dashboardLayout/timetable/",
|
|
"/_dashboardLayout/users/"
|
|
]
|
|
},
|
|
"/login/": {
|
|
"filePath": "login/index.lazy.tsx"
|
|
},
|
|
"/logout/": {
|
|
"filePath": "logout/index.lazy.tsx"
|
|
},
|
|
"/_dashboardLayout/dashboard/": {
|
|
"filePath": "_dashboardLayout/dashboard/index.tsx",
|
|
"parent": "/_dashboardLayout"
|
|
},
|
|
"/_dashboardLayout/timetable/": {
|
|
"filePath": "_dashboardLayout/timetable/index.tsx",
|
|
"parent": "/_dashboardLayout"
|
|
},
|
|
"/_dashboardLayout/users/": {
|
|
"filePath": "_dashboardLayout/users/index.tsx",
|
|
"parent": "/_dashboardLayout"
|
|
}
|
|
}
|
|
}
|
|
ROUTE_MANIFEST_END */
|