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'
|
2024-03-25 13:53:43 +00:00
|
|
|
import { Route as TelemetryImport } from './routes/telemetry'
|
2024-04-28 13:13:53 +00:00
|
|
|
import { Route as SurveyImport } from './routes/survey'
|
2024-04-01 16:07:38 +00:00
|
|
|
import { Route as SettingsImport } from './routes/settings'
|
2024-03-31 17:00:34 +00:00
|
|
|
import { Route as ServerImport } from './routes/server'
|
2024-03-20 18:00:23 +00:00
|
|
|
import { Route as RegisterImport } from './routes/register'
|
2024-03-29 16:08:02 +00:00
|
|
|
import { Route as PageImport } from './routes/page'
|
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'
|
2024-03-25 12:10:01 +00:00
|
|
|
import { Route as DashboardImport } from './routes/dashboard'
|
2024-03-20 18:00:23 +00:00
|
|
|
import { Route as IndexImport } from './routes/index'
|
2024-03-31 16:04:30 +00:00
|
|
|
import { Route as WebsiteOverviewImport } from './routes/website/overview'
|
2024-03-23 11:38:39 +00:00
|
|
|
import { Route as WebsiteAddImport } from './routes/website/add'
|
2024-03-25 13:53:43 +00:00
|
|
|
import { Route as TelemetryAddImport } from './routes/telemetry/add'
|
|
|
|
import { Route as TelemetryTelemetryIdImport } from './routes/telemetry/$telemetryId'
|
2024-04-28 13:13:53 +00:00
|
|
|
import { Route as SurveyAddImport } from './routes/survey/add'
|
2024-04-01 17:12:44 +00:00
|
|
|
import { Route as StatusSlugImport } from './routes/status/$slug'
|
2024-04-01 16:07:38 +00:00
|
|
|
import { Route as SettingsUsageImport } from './routes/settings/usage'
|
|
|
|
import { Route as SettingsProfileImport } from './routes/settings/profile'
|
|
|
|
import { Route as SettingsNotificationsImport } from './routes/settings/notifications'
|
|
|
|
import { Route as SettingsAuditLogImport } from './routes/settings/auditLog'
|
2024-03-29 16:08:02 +00:00
|
|
|
import { Route as PageAddImport } from './routes/page/add'
|
|
|
|
import { Route as PageSlugImport } from './routes/page/$slug'
|
2024-03-23 20:18:45 +00:00
|
|
|
import { Route as MonitorAddImport } from './routes/monitor/add'
|
2024-04-01 16:07:38 +00:00
|
|
|
import { Route as WebsiteWebsiteIdIndexImport } from './routes/website/$websiteId/index'
|
2024-05-01 17:02:13 +00:00
|
|
|
import { Route as SurveySurveyIdIndexImport } from './routes/survey/$surveyId/index'
|
2024-04-01 17:12:44 +00:00
|
|
|
import { Route as MonitorMonitorIdIndexImport } from './routes/monitor/$monitorId/index'
|
2024-04-01 16:07:38 +00:00
|
|
|
import { Route as WebsiteWebsiteIdConfigImport } from './routes/website/$websiteId/config'
|
2024-05-01 17:02:13 +00:00
|
|
|
import { Route as SurveySurveyIdEditImport } from './routes/survey/$surveyId/edit'
|
2024-04-01 17:12:44 +00:00
|
|
|
import { Route as MonitorMonitorIdEditImport } from './routes/monitor/$monitorId/edit'
|
2024-03-20 18:00:23 +00:00
|
|
|
|
|
|
|
// Create/Update Routes
|
|
|
|
|
|
|
|
const WebsiteRoute = WebsiteImport.update({
|
|
|
|
path: '/website',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-25 13:53:43 +00:00
|
|
|
const TelemetryRoute = TelemetryImport.update({
|
|
|
|
path: '/telemetry',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-28 13:13:53 +00:00
|
|
|
const SurveyRoute = SurveyImport.update({
|
|
|
|
path: '/survey',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 16:07:38 +00:00
|
|
|
const SettingsRoute = SettingsImport.update({
|
|
|
|
path: '/settings',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-31 17:00:34 +00:00
|
|
|
const ServerRoute = ServerImport.update({
|
|
|
|
path: '/server',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-20 18:00:23 +00:00
|
|
|
const RegisterRoute = RegisterImport.update({
|
|
|
|
path: '/register',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-29 16:08:02 +00:00
|
|
|
const PageRoute = PageImport.update({
|
|
|
|
path: '/page',
|
|
|
|
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)
|
|
|
|
|
2024-03-25 12:10:01 +00:00
|
|
|
const DashboardRoute = DashboardImport.update({
|
|
|
|
path: '/dashboard',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-20 18:00:23 +00:00
|
|
|
const IndexRoute = IndexImport.update({
|
|
|
|
path: '/',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-31 16:04:30 +00:00
|
|
|
const WebsiteOverviewRoute = WebsiteOverviewImport.update({
|
|
|
|
path: '/overview',
|
|
|
|
getParentRoute: () => WebsiteRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-23 11:38:39 +00:00
|
|
|
const WebsiteAddRoute = WebsiteAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => WebsiteRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-25 13:53:43 +00:00
|
|
|
const TelemetryAddRoute = TelemetryAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => TelemetryRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const TelemetryTelemetryIdRoute = TelemetryTelemetryIdImport.update({
|
|
|
|
path: '/$telemetryId',
|
|
|
|
getParentRoute: () => TelemetryRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-28 13:13:53 +00:00
|
|
|
const SurveyAddRoute = SurveyAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => SurveyRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 17:12:44 +00:00
|
|
|
const StatusSlugRoute = StatusSlugImport.update({
|
|
|
|
path: '/status/$slug',
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 16:07:38 +00:00
|
|
|
const SettingsUsageRoute = SettingsUsageImport.update({
|
|
|
|
path: '/usage',
|
|
|
|
getParentRoute: () => SettingsRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const SettingsProfileRoute = SettingsProfileImport.update({
|
|
|
|
path: '/profile',
|
|
|
|
getParentRoute: () => SettingsRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const SettingsNotificationsRoute = SettingsNotificationsImport.update({
|
|
|
|
path: '/notifications',
|
|
|
|
getParentRoute: () => SettingsRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const SettingsAuditLogRoute = SettingsAuditLogImport.update({
|
|
|
|
path: '/auditLog',
|
|
|
|
getParentRoute: () => SettingsRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-29 16:08:02 +00:00
|
|
|
const PageAddRoute = PageAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => PageRoute,
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
const PageSlugRoute = PageSlugImport.update({
|
|
|
|
path: '/$slug',
|
|
|
|
getParentRoute: () => PageRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-03-23 20:18:45 +00:00
|
|
|
const MonitorAddRoute = MonitorAddImport.update({
|
|
|
|
path: '/add',
|
|
|
|
getParentRoute: () => MonitorRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 16:07:38 +00:00
|
|
|
const WebsiteWebsiteIdIndexRoute = WebsiteWebsiteIdIndexImport.update({
|
|
|
|
path: '/$websiteId/',
|
|
|
|
getParentRoute: () => WebsiteRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-05-01 17:02:13 +00:00
|
|
|
const SurveySurveyIdIndexRoute = SurveySurveyIdIndexImport.update({
|
|
|
|
path: '/$surveyId/',
|
|
|
|
getParentRoute: () => SurveyRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 17:12:44 +00:00
|
|
|
const MonitorMonitorIdIndexRoute = MonitorMonitorIdIndexImport.update({
|
|
|
|
path: '/$monitorId/',
|
|
|
|
getParentRoute: () => MonitorRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 16:07:38 +00:00
|
|
|
const WebsiteWebsiteIdConfigRoute = WebsiteWebsiteIdConfigImport.update({
|
|
|
|
path: '/$websiteId/config',
|
|
|
|
getParentRoute: () => WebsiteRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-05-01 17:02:13 +00:00
|
|
|
const SurveySurveyIdEditRoute = SurveySurveyIdEditImport.update({
|
|
|
|
path: '/$surveyId/edit',
|
|
|
|
getParentRoute: () => SurveyRoute,
|
|
|
|
} as any)
|
|
|
|
|
2024-04-01 17:12:44 +00:00
|
|
|
const MonitorMonitorIdEditRoute = MonitorMonitorIdEditImport.update({
|
|
|
|
path: '/$monitorId/edit',
|
|
|
|
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
|
|
|
|
}
|
2024-03-25 12:10:01 +00:00
|
|
|
'/dashboard': {
|
|
|
|
preLoaderRoute: typeof DashboardImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
'/login': {
|
|
|
|
preLoaderRoute: typeof LoginImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-23 20:18:45 +00:00
|
|
|
'/monitor': {
|
|
|
|
preLoaderRoute: typeof MonitorImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-29 16:08:02 +00:00
|
|
|
'/page': {
|
|
|
|
preLoaderRoute: typeof PageImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
'/register': {
|
|
|
|
preLoaderRoute: typeof RegisterImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-31 17:00:34 +00:00
|
|
|
'/server': {
|
|
|
|
preLoaderRoute: typeof ServerImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-04-01 16:07:38 +00:00
|
|
|
'/settings': {
|
|
|
|
preLoaderRoute: typeof SettingsImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-04-28 13:13:53 +00:00
|
|
|
'/survey': {
|
|
|
|
preLoaderRoute: typeof SurveyImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-25 13:53:43 +00:00
|
|
|
'/telemetry': {
|
|
|
|
preLoaderRoute: typeof TelemetryImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
'/website': {
|
|
|
|
preLoaderRoute: typeof WebsiteImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-03-23 20:18:45 +00:00
|
|
|
'/monitor/add': {
|
|
|
|
preLoaderRoute: typeof MonitorAddImport
|
|
|
|
parentRoute: typeof MonitorImport
|
|
|
|
}
|
2024-03-29 16:08:02 +00:00
|
|
|
'/page/$slug': {
|
|
|
|
preLoaderRoute: typeof PageSlugImport
|
|
|
|
parentRoute: typeof PageImport
|
|
|
|
}
|
|
|
|
'/page/add': {
|
|
|
|
preLoaderRoute: typeof PageAddImport
|
|
|
|
parentRoute: typeof PageImport
|
|
|
|
}
|
2024-04-01 16:07:38 +00:00
|
|
|
'/settings/auditLog': {
|
|
|
|
preLoaderRoute: typeof SettingsAuditLogImport
|
|
|
|
parentRoute: typeof SettingsImport
|
|
|
|
}
|
|
|
|
'/settings/notifications': {
|
|
|
|
preLoaderRoute: typeof SettingsNotificationsImport
|
|
|
|
parentRoute: typeof SettingsImport
|
|
|
|
}
|
|
|
|
'/settings/profile': {
|
|
|
|
preLoaderRoute: typeof SettingsProfileImport
|
|
|
|
parentRoute: typeof SettingsImport
|
|
|
|
}
|
|
|
|
'/settings/usage': {
|
|
|
|
preLoaderRoute: typeof SettingsUsageImport
|
|
|
|
parentRoute: typeof SettingsImport
|
|
|
|
}
|
2024-04-01 17:12:44 +00:00
|
|
|
'/status/$slug': {
|
|
|
|
preLoaderRoute: typeof StatusSlugImport
|
|
|
|
parentRoute: typeof rootRoute
|
|
|
|
}
|
2024-04-28 13:13:53 +00:00
|
|
|
'/survey/add': {
|
|
|
|
preLoaderRoute: typeof SurveyAddImport
|
|
|
|
parentRoute: typeof SurveyImport
|
|
|
|
}
|
2024-03-25 13:53:43 +00:00
|
|
|
'/telemetry/$telemetryId': {
|
|
|
|
preLoaderRoute: typeof TelemetryTelemetryIdImport
|
|
|
|
parentRoute: typeof TelemetryImport
|
|
|
|
}
|
|
|
|
'/telemetry/add': {
|
|
|
|
preLoaderRoute: typeof TelemetryAddImport
|
|
|
|
parentRoute: typeof TelemetryImport
|
|
|
|
}
|
2024-03-23 11:38:39 +00:00
|
|
|
'/website/add': {
|
|
|
|
preLoaderRoute: typeof WebsiteAddImport
|
|
|
|
parentRoute: typeof WebsiteImport
|
|
|
|
}
|
2024-03-31 16:04:30 +00:00
|
|
|
'/website/overview': {
|
|
|
|
preLoaderRoute: typeof WebsiteOverviewImport
|
|
|
|
parentRoute: typeof WebsiteImport
|
|
|
|
}
|
2024-04-01 17:12:44 +00:00
|
|
|
'/monitor/$monitorId/edit': {
|
|
|
|
preLoaderRoute: typeof MonitorMonitorIdEditImport
|
|
|
|
parentRoute: typeof MonitorImport
|
|
|
|
}
|
2024-05-01 17:02:13 +00:00
|
|
|
'/survey/$surveyId/edit': {
|
|
|
|
preLoaderRoute: typeof SurveySurveyIdEditImport
|
|
|
|
parentRoute: typeof SurveyImport
|
|
|
|
}
|
2024-04-01 16:07:38 +00:00
|
|
|
'/website/$websiteId/config': {
|
|
|
|
preLoaderRoute: typeof WebsiteWebsiteIdConfigImport
|
|
|
|
parentRoute: typeof WebsiteImport
|
|
|
|
}
|
2024-04-01 17:12:44 +00:00
|
|
|
'/monitor/$monitorId/': {
|
|
|
|
preLoaderRoute: typeof MonitorMonitorIdIndexImport
|
|
|
|
parentRoute: typeof MonitorImport
|
|
|
|
}
|
2024-05-01 17:02:13 +00:00
|
|
|
'/survey/$surveyId/': {
|
|
|
|
preLoaderRoute: typeof SurveySurveyIdIndexImport
|
|
|
|
parentRoute: typeof SurveyImport
|
|
|
|
}
|
2024-04-01 16:07:38 +00:00
|
|
|
'/website/$websiteId/': {
|
|
|
|
preLoaderRoute: typeof WebsiteWebsiteIdIndexImport
|
|
|
|
parentRoute: typeof WebsiteImport
|
|
|
|
}
|
2024-03-20 18:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Create and export the route tree
|
|
|
|
|
|
|
|
export const routeTree = rootRoute.addChildren([
|
|
|
|
IndexRoute,
|
2024-03-25 12:10:01 +00:00
|
|
|
DashboardRoute,
|
2024-03-20 18:00:23 +00:00
|
|
|
LoginRoute,
|
2024-04-01 17:12:44 +00:00
|
|
|
MonitorRoute.addChildren([
|
|
|
|
MonitorAddRoute,
|
|
|
|
MonitorMonitorIdEditRoute,
|
|
|
|
MonitorMonitorIdIndexRoute,
|
|
|
|
]),
|
2024-03-29 16:08:02 +00:00
|
|
|
PageRoute.addChildren([PageSlugRoute, PageAddRoute]),
|
2024-03-20 18:00:23 +00:00
|
|
|
RegisterRoute,
|
2024-03-31 17:00:34 +00:00
|
|
|
ServerRoute,
|
2024-04-01 16:07:38 +00:00
|
|
|
SettingsRoute.addChildren([
|
|
|
|
SettingsAuditLogRoute,
|
|
|
|
SettingsNotificationsRoute,
|
|
|
|
SettingsProfileRoute,
|
|
|
|
SettingsUsageRoute,
|
|
|
|
]),
|
2024-05-01 17:02:13 +00:00
|
|
|
SurveyRoute.addChildren([
|
|
|
|
SurveyAddRoute,
|
|
|
|
SurveySurveyIdEditRoute,
|
|
|
|
SurveySurveyIdIndexRoute,
|
|
|
|
]),
|
2024-03-25 13:53:43 +00:00
|
|
|
TelemetryRoute.addChildren([TelemetryTelemetryIdRoute, TelemetryAddRoute]),
|
2024-03-31 16:04:30 +00:00
|
|
|
WebsiteRoute.addChildren([
|
|
|
|
WebsiteAddRoute,
|
|
|
|
WebsiteOverviewRoute,
|
2024-04-01 16:07:38 +00:00
|
|
|
WebsiteWebsiteIdConfigRoute,
|
|
|
|
WebsiteWebsiteIdIndexRoute,
|
2024-03-31 16:04:30 +00:00
|
|
|
]),
|
2024-04-01 17:12:44 +00:00
|
|
|
StatusSlugRoute,
|
2024-03-20 18:00:23 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
/* prettier-ignore-end */
|