249 lines
7.2 KiB
TypeScript
249 lines
7.2 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 IndexRouteImport } from './routes/index'
|
|
import { Route as AdminsRouteImport } from './routes/admins'
|
|
import { Route as ConstantsRouteImport } from './routes/constants'
|
|
import { Route as DashboardRouteImport } from './routes/dashboard'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as RegionsRouteImport } from './routes/regions'
|
|
import { Route as SendNotificationsRouteImport } from './routes/send-notifications'
|
|
import { Route as RegionsNewRouteImport } from './routes/regions.new'
|
|
import { Route as RegionsIdEditRouteImport } from './routes/regions.$id.edit'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AdminsRoute = AdminsRouteImport.update({
|
|
id: '/admins',
|
|
path: '/admins',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ConstantsRoute = ConstantsRouteImport.update({
|
|
id: '/constants',
|
|
path: '/constants',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DashboardRoute = DashboardRouteImport.update({
|
|
id: '/dashboard',
|
|
path: '/dashboard',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const RegionsRoute = RegionsRouteImport.update({
|
|
id: '/regions',
|
|
path: '/regions',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SendNotificationsRoute = SendNotificationsRouteImport.update({
|
|
id: '/send-notifications',
|
|
path: '/send-notifications',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const RegionsNewRoute = RegionsNewRouteImport.update({
|
|
id: '/new',
|
|
path: '/new',
|
|
getParentRoute: () => RegionsRoute,
|
|
} as any)
|
|
const RegionsIdEditRoute = RegionsIdEditRouteImport.update({
|
|
id: '/$id/edit',
|
|
path: '/$id/edit',
|
|
getParentRoute: () => RegionsRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/admins': typeof AdminsRoute
|
|
'/constants': typeof ConstantsRoute
|
|
'/dashboard': typeof DashboardRoute
|
|
'/login': typeof LoginRoute
|
|
'/regions': typeof RegionsRouteWithChildren
|
|
'/send-notifications': typeof SendNotificationsRoute
|
|
'/regions/new': typeof RegionsNewRoute
|
|
'/regions/$id/edit': typeof RegionsIdEditRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/admins': typeof AdminsRoute
|
|
'/constants': typeof ConstantsRoute
|
|
'/dashboard': typeof DashboardRoute
|
|
'/login': typeof LoginRoute
|
|
'/regions': typeof RegionsRouteWithChildren
|
|
'/send-notifications': typeof SendNotificationsRoute
|
|
'/regions/new': typeof RegionsNewRoute
|
|
'/regions/$id/edit': typeof RegionsIdEditRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/admins': typeof AdminsRoute
|
|
'/constants': typeof ConstantsRoute
|
|
'/dashboard': typeof DashboardRoute
|
|
'/login': typeof LoginRoute
|
|
'/regions': typeof RegionsRouteWithChildren
|
|
'/send-notifications': typeof SendNotificationsRoute
|
|
'/regions/new': typeof RegionsNewRoute
|
|
'/regions/$id/edit': typeof RegionsIdEditRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/admins'
|
|
| '/constants'
|
|
| '/dashboard'
|
|
| '/login'
|
|
| '/regions'
|
|
| '/send-notifications'
|
|
| '/regions/new'
|
|
| '/regions/$id/edit'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/admins'
|
|
| '/constants'
|
|
| '/dashboard'
|
|
| '/login'
|
|
| '/regions'
|
|
| '/send-notifications'
|
|
| '/regions/new'
|
|
| '/regions/$id/edit'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/admins'
|
|
| '/constants'
|
|
| '/dashboard'
|
|
| '/login'
|
|
| '/regions'
|
|
| '/send-notifications'
|
|
| '/regions/new'
|
|
| '/regions/$id/edit'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
AdminsRoute: typeof AdminsRoute
|
|
ConstantsRoute: typeof ConstantsRoute
|
|
DashboardRoute: typeof DashboardRoute
|
|
LoginRoute: typeof LoginRoute
|
|
RegionsRoute: typeof RegionsRouteWithChildren
|
|
SendNotificationsRoute: typeof SendNotificationsRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/admins': {
|
|
id: '/admins'
|
|
path: '/admins'
|
|
fullPath: '/admins'
|
|
preLoaderRoute: typeof AdminsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/constants': {
|
|
id: '/constants'
|
|
path: '/constants'
|
|
fullPath: '/constants'
|
|
preLoaderRoute: typeof ConstantsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/dashboard': {
|
|
id: '/dashboard'
|
|
path: '/dashboard'
|
|
fullPath: '/dashboard'
|
|
preLoaderRoute: typeof DashboardRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/regions': {
|
|
id: '/regions'
|
|
path: '/regions'
|
|
fullPath: '/regions'
|
|
preLoaderRoute: typeof RegionsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/send-notifications': {
|
|
id: '/send-notifications'
|
|
path: '/send-notifications'
|
|
fullPath: '/send-notifications'
|
|
preLoaderRoute: typeof SendNotificationsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/regions/new': {
|
|
id: '/regions/new'
|
|
path: '/new'
|
|
fullPath: '/regions/new'
|
|
preLoaderRoute: typeof RegionsNewRouteImport
|
|
parentRoute: typeof RegionsRoute
|
|
}
|
|
'/regions/$id/edit': {
|
|
id: '/regions/$id/edit'
|
|
path: '/$id/edit'
|
|
fullPath: '/regions/$id/edit'
|
|
preLoaderRoute: typeof RegionsIdEditRouteImport
|
|
parentRoute: typeof RegionsRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface RegionsRouteChildren {
|
|
RegionsNewRoute: typeof RegionsNewRoute
|
|
RegionsIdEditRoute: typeof RegionsIdEditRoute
|
|
}
|
|
|
|
const RegionsRouteChildren: RegionsRouteChildren = {
|
|
RegionsNewRoute: RegionsNewRoute,
|
|
RegionsIdEditRoute: RegionsIdEditRoute,
|
|
}
|
|
|
|
const RegionsRouteWithChildren =
|
|
RegionsRoute._addFileChildren(RegionsRouteChildren)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
AdminsRoute: AdminsRoute,
|
|
ConstantsRoute: ConstantsRoute,
|
|
DashboardRoute: DashboardRoute,
|
|
LoginRoute: LoginRoute,
|
|
RegionsRoute: RegionsRouteWithChildren,
|
|
SendNotificationsRoute: SendNotificationsRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { createStart } from '@tanstack/react-start'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
}
|
|
}
|