/* 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 _adminRouteImport } from './routes/__admin'
import { Route as AdminLayoutRouteRouteImport } from './routes/_adminLayout/route'
import { Route as IndexRouteImport } from './routes/index'
import { Route as AdminSettingsRouteImport } from './routes/admin_/settings'
import { Route as AdminLayoutAdminIndexRouteImport } from './routes/_adminLayout/admin/index'
import { Route as AdminLayoutAdminUsersRouteImport } from './routes/_adminLayout/admin/users'
import { Route as AdminLayoutAdminServersRouteImport } from './routes/_adminLayout/admin/servers'
import { Route as AdminLayoutAdminUserUserIdRouteImport } from './routes/_adminLayout/admin/user/$userId'
import { Route as AdminLayoutAdminServersServerIdRouteImport } from './routes/_adminLayout/admin/servers/$serverId'
import { Route as AdminLayoutAdminServersServerIdEditRouteImport } from './routes/_adminLayout/admin/servers/$serverId_/edit'

const _adminRoute = _adminRouteImport.update({
  id: '/__admin',
  getParentRoute: () => rootRouteImport,
} as any)
const AdminLayoutRouteRoute = AdminLayoutRouteRouteImport.update({
  id: '/_adminLayout',
  getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
  id: '/',
  path: '/',
  getParentRoute: () => rootRouteImport,
} as any)
const AdminSettingsRoute = AdminSettingsRouteImport.update({
  id: '/admin_/settings',
  path: '/admin/settings',
  getParentRoute: () => rootRouteImport,
} as any)
const AdminLayoutAdminIndexRoute = AdminLayoutAdminIndexRouteImport.update({
  id: '/admin/',
  path: '/admin/',
  getParentRoute: () => AdminLayoutRouteRoute,
} as any)
const AdminLayoutAdminUsersRoute = AdminLayoutAdminUsersRouteImport.update({
  id: '/admin/users',
  path: '/admin/users',
  getParentRoute: () => AdminLayoutRouteRoute,
} as any)
const AdminLayoutAdminServersRoute = AdminLayoutAdminServersRouteImport.update({
  id: '/admin/servers',
  path: '/admin/servers',
  getParentRoute: () => AdminLayoutRouteRoute,
} as any)
const AdminLayoutAdminUserUserIdRoute =
  AdminLayoutAdminUserUserIdRouteImport.update({
    id: '/admin/user/$userId',
    path: '/admin/user/$userId',
    getParentRoute: () => AdminLayoutRouteRoute,
  } as any)
const AdminLayoutAdminServersServerIdRoute =
  AdminLayoutAdminServersServerIdRouteImport.update({
    id: '/$serverId',
    path: '/$serverId',
    getParentRoute: () => AdminLayoutAdminServersRoute,
  } as any)
const AdminLayoutAdminServersServerIdEditRoute =
  AdminLayoutAdminServersServerIdEditRouteImport.update({
    id: '/$serverId_/edit',
    path: '/$serverId/edit',
    getParentRoute: () => AdminLayoutAdminServersRoute,
  } as any)

export interface FileRoutesByFullPath {
  '/': typeof IndexRoute
  '/admin/settings': typeof AdminSettingsRoute
  '/admin/servers': typeof AdminLayoutAdminServersRouteWithChildren
  '/admin/users': typeof AdminLayoutAdminUsersRoute
  '/admin': typeof AdminLayoutAdminIndexRoute
  '/admin/servers/$serverId': typeof AdminLayoutAdminServersServerIdRoute
  '/admin/user/$userId': typeof AdminLayoutAdminUserUserIdRoute
  '/admin/servers/$serverId/edit': typeof AdminLayoutAdminServersServerIdEditRoute
}
export interface FileRoutesByTo {
  '/': typeof IndexRoute
  '/admin/settings': typeof AdminSettingsRoute
  '/admin/servers': typeof AdminLayoutAdminServersRouteWithChildren
  '/admin/users': typeof AdminLayoutAdminUsersRoute
  '/admin': typeof AdminLayoutAdminIndexRoute
  '/admin/servers/$serverId': typeof AdminLayoutAdminServersServerIdRoute
  '/admin/user/$userId': typeof AdminLayoutAdminUserUserIdRoute
  '/admin/servers/$serverId/edit': typeof AdminLayoutAdminServersServerIdEditRoute
}
export interface FileRoutesById {
  __root__: typeof rootRouteImport
  '/': typeof IndexRoute
  '/_adminLayout': typeof AdminLayoutRouteRouteWithChildren
  '/__admin': typeof _adminRoute
  '/admin_/settings': typeof AdminSettingsRoute
  '/_adminLayout/admin/servers': typeof AdminLayoutAdminServersRouteWithChildren
  '/_adminLayout/admin/users': typeof AdminLayoutAdminUsersRoute
  '/_adminLayout/admin/': typeof AdminLayoutAdminIndexRoute
  '/_adminLayout/admin/servers/$serverId': typeof AdminLayoutAdminServersServerIdRoute
  '/_adminLayout/admin/user/$userId': typeof AdminLayoutAdminUserUserIdRoute
  '/_adminLayout/admin/servers/$serverId_/edit': typeof AdminLayoutAdminServersServerIdEditRoute
}
export interface FileRouteTypes {
  fileRoutesByFullPath: FileRoutesByFullPath
  fullPaths:
    | '/'
    | '/admin/settings'
    | '/admin/servers'
    | '/admin/users'
    | '/admin'
    | '/admin/servers/$serverId'
    | '/admin/user/$userId'
    | '/admin/servers/$serverId/edit'
  fileRoutesByTo: FileRoutesByTo
  to:
    | '/'
    | '/admin/settings'
    | '/admin/servers'
    | '/admin/users'
    | '/admin'
    | '/admin/servers/$serverId'
    | '/admin/user/$userId'
    | '/admin/servers/$serverId/edit'
  id:
    | '__root__'
    | '/'
    | '/_adminLayout'
    | '/__admin'
    | '/admin_/settings'
    | '/_adminLayout/admin/servers'
    | '/_adminLayout/admin/users'
    | '/_adminLayout/admin/'
    | '/_adminLayout/admin/servers/$serverId'
    | '/_adminLayout/admin/user/$userId'
    | '/_adminLayout/admin/servers/$serverId_/edit'
  fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
  IndexRoute: typeof IndexRoute
  AdminLayoutRouteRoute: typeof AdminLayoutRouteRouteWithChildren
  _adminRoute: typeof _adminRoute
  AdminSettingsRoute: typeof AdminSettingsRoute
}

declare module '@tanstack/react-router' {
  interface FileRoutesByPath {
    '/__admin': {
      id: '/__admin'
      path: ''
      fullPath: ''
      preLoaderRoute: typeof _adminRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_adminLayout': {
      id: '/_adminLayout'
      path: ''
      fullPath: ''
      preLoaderRoute: typeof AdminLayoutRouteRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/': {
      id: '/'
      path: '/'
      fullPath: '/'
      preLoaderRoute: typeof IndexRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/admin_/settings': {
      id: '/admin_/settings'
      path: '/admin/settings'
      fullPath: '/admin/settings'
      preLoaderRoute: typeof AdminSettingsRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_adminLayout/admin/': {
      id: '/_adminLayout/admin/'
      path: '/admin'
      fullPath: '/admin'
      preLoaderRoute: typeof AdminLayoutAdminIndexRouteImport
      parentRoute: typeof AdminLayoutRouteRoute
    }
    '/_adminLayout/admin/users': {
      id: '/_adminLayout/admin/users'
      path: '/admin/users'
      fullPath: '/admin/users'
      preLoaderRoute: typeof AdminLayoutAdminUsersRouteImport
      parentRoute: typeof AdminLayoutRouteRoute
    }
    '/_adminLayout/admin/servers': {
      id: '/_adminLayout/admin/servers'
      path: '/admin/servers'
      fullPath: '/admin/servers'
      preLoaderRoute: typeof AdminLayoutAdminServersRouteImport
      parentRoute: typeof AdminLayoutRouteRoute
    }
    '/_adminLayout/admin/user/$userId': {
      id: '/_adminLayout/admin/user/$userId'
      path: '/admin/user/$userId'
      fullPath: '/admin/user/$userId'
      preLoaderRoute: typeof AdminLayoutAdminUserUserIdRouteImport
      parentRoute: typeof AdminLayoutRouteRoute
    }
    '/_adminLayout/admin/servers/$serverId': {
      id: '/_adminLayout/admin/servers/$serverId'
      path: '/$serverId'
      fullPath: '/admin/servers/$serverId'
      preLoaderRoute: typeof AdminLayoutAdminServersServerIdRouteImport
      parentRoute: typeof AdminLayoutAdminServersRoute
    }
    '/_adminLayout/admin/servers/$serverId_/edit': {
      id: '/_adminLayout/admin/servers/$serverId_/edit'
      path: '/$serverId/edit'
      fullPath: '/admin/servers/$serverId/edit'
      preLoaderRoute: typeof AdminLayoutAdminServersServerIdEditRouteImport
      parentRoute: typeof AdminLayoutAdminServersRoute
    }
  }
}

interface AdminLayoutAdminServersRouteChildren {
  AdminLayoutAdminServersServerIdRoute: typeof AdminLayoutAdminServersServerIdRoute
  AdminLayoutAdminServersServerIdEditRoute: typeof AdminLayoutAdminServersServerIdEditRoute
}

const AdminLayoutAdminServersRouteChildren: AdminLayoutAdminServersRouteChildren =
  {
    AdminLayoutAdminServersServerIdRoute: AdminLayoutAdminServersServerIdRoute,
    AdminLayoutAdminServersServerIdEditRoute:
      AdminLayoutAdminServersServerIdEditRoute,
  }

const AdminLayoutAdminServersRouteWithChildren =
  AdminLayoutAdminServersRoute._addFileChildren(
    AdminLayoutAdminServersRouteChildren,
  )

interface AdminLayoutRouteRouteChildren {
  AdminLayoutAdminServersRoute: typeof AdminLayoutAdminServersRouteWithChildren
  AdminLayoutAdminUsersRoute: typeof AdminLayoutAdminUsersRoute
  AdminLayoutAdminIndexRoute: typeof AdminLayoutAdminIndexRoute
  AdminLayoutAdminUserUserIdRoute: typeof AdminLayoutAdminUserUserIdRoute
}

const AdminLayoutRouteRouteChildren: AdminLayoutRouteRouteChildren = {
  AdminLayoutAdminServersRoute: AdminLayoutAdminServersRouteWithChildren,
  AdminLayoutAdminUsersRoute: AdminLayoutAdminUsersRoute,
  AdminLayoutAdminIndexRoute: AdminLayoutAdminIndexRoute,
  AdminLayoutAdminUserUserIdRoute: AdminLayoutAdminUserUserIdRoute,
}

const AdminLayoutRouteRouteWithChildren =
  AdminLayoutRouteRoute._addFileChildren(AdminLayoutRouteRouteChildren)

const rootRouteChildren: RootRouteChildren = {
  IndexRoute: IndexRoute,
  AdminLayoutRouteRoute: AdminLayoutRouteRouteWithChildren,
  _adminRoute: _adminRoute,
  AdminSettingsRoute: AdminSettingsRoute,
}
export const routeTree = rootRouteImport
  ._addFileChildren(rootRouteChildren)
  ._addFileTypes<FileRouteTypes>()
