2024-03-20 18:00:23 +00:00
|
|
|
/* 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 WebsiteImport } from './routes/website'
|
|
|
|
import { Route as RegisterImport } from './routes/register'
|
2024-03-23 20:18:45 +00:00
|
|
|
import { Route as MonitorImport } from './routes/monitor'
|
2024-03-20 18:00:23 +00:00
|
|
|
import { Route as LoginImport } from './routes/login'
|
|
|
|
import { Route as IndexImport } from './routes/index'
|
2024-03-23 11:38:39 +00:00
|
|
|
import { Route as WebsiteAddImport } from './routes/website/add'
|
2024-03-20 18:00:23 +00:00
|
|
|
import { Route as WebsiteWebsiteIdImport } from './routes/website/$websiteId'
|
2024-03-23 20:18:45 +00:00
|
|
|
import { Route as MonitorAddImport } from './routes/monitor/add'
|
|
|
|
import { Route as MonitorMonitorIdImport } from './routes/monitor/$monitorId'
|
2024-03-20 18:00:23 +00:00
|
|
|
|
|
|
|
// Create/Update Routes
|
|
|
|
|
|
|
|
const WebsiteRoute = WebsiteImport.update({
|
|
|
|
path: '/website',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const RegisterRoute = RegisterImport.update({
|
|
|
|
path: '/register',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-23 20:18:45 +00:00
|
|
|
const MonitorRoute = MonitorImport.update({
|
|
|
|
path: '/monitor',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-20 18:00:23 +00:00
|
|
|
const LoginRoute = LoginImport.update({
|
|
|
|
path: '/login',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const IndexRoute = IndexImport.update({
|
|
|
|
path: '/',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-23 11:38:39 +00:00
|
|
|
const WebsiteAddRoute = WebsiteAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => WebsiteRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-20 18:00:23 +00:00
|
|
|
const WebsiteWebsiteIdRoute = WebsiteWebsiteIdImport.update({
|
|
|
|
path: '/$websiteId',
|
|
|
|
getParentRoute: () => WebsiteRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-23 20:18:45 +00:00
|
|
|
const MonitorAddRoute = MonitorAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => MonitorRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const MonitorMonitorIdRoute = MonitorMonitorIdImport.update({
|
|
|
|
path: '/$monitorId',
|
|
|
|
getParentRoute: () => MonitorRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-20 18:00:23 +00:00
|
|
|
// Populate the FileRoutesByPath interface
|
|
|
|
|
|
|
|
declare module '@tanstack/react-router' {
|
|
|
|
interface FileRoutesByPath {
|
|
|
|
'/': {
|
|
|
|
preLoaderRoute: typeof IndexImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
|
|
|
'/login': {
|
|
|
|
preLoaderRoute: typeof LoginImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-23 20:18:45 +00:00
|
|
|
'/monitor': {
|
|
|
|
preLoaderRoute: typeof MonitorImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
'/register': {
|
|
|
|
preLoaderRoute: typeof RegisterImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
|
|
|
'/website': {
|
|
|
|
preLoaderRoute: typeof WebsiteImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-23 20:18:45 +00:00
|
|
|
'/monitor/$monitorId': {
|
|
|
|
preLoaderRoute: typeof MonitorMonitorIdImport
|
|
|
|
parentRoute: typeof MonitorImport
|
|
|
|
}
|
|
|
|
'/monitor/add': {
|
|
|
|
preLoaderRoute: typeof MonitorAddImport
|
|
|
|
parentRoute: typeof MonitorImport
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
'/website/$websiteId': {
|
|
|
|
preLoaderRoute: typeof WebsiteWebsiteIdImport
|
|
|
|
parentRoute: typeof WebsiteImport
|
|
|
|
}
|
2024-03-23 11:38:39 +00:00
|
|
|
'/website/add': {
|
|
|
|
preLoaderRoute: typeof WebsiteAddImport
|
|
|
|
parentRoute: typeof WebsiteImport
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Create and export the route tree
|
|
|
|
|
|
|
|
export const routeTree = rootRoute.addChildren([
|
|
|
|
IndexRoute,
|
|
|
|
LoginRoute,
|
2024-03-23 20:18:45 +00:00
|
|
|
MonitorRoute.addChildren([MonitorMonitorIdRoute, MonitorAddRoute]),
|
2024-03-20 18:00:23 +00:00
|
|
|
RegisterRoute,
|
2024-03-23 11:38:39 +00:00
|
|
|
WebsiteRoute.addChildren([WebsiteWebsiteIdRoute, WebsiteAddRoute]),
|
2024-03-20 18:00:23 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
/* prettier-ignore-end */
|