/* 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 { createFileRoute } from '@tanstack/react-router'

import { Route as rootRouteImport } from './routes/__root'
import { Route as SignUpRouteImport } from './routes/sign-up'
import { Route as LoginRouteImport } from './routes/login'
import { Route as AuthenticatedRouteImport } from './routes/_authenticated'
import { Route as AuthenticatedIndexRouteImport } from './routes/_authenticated/index'
import { Route as LoginCallbackRouteImport } from './routes/login_.callback'
import { Route as AuthenticatedOrgSlugSidebarLayoutRouteImport } from './routes/_authenticated/$orgSlug/_sidebar-layout'
import { Route as AuthenticatedOrgSlugSidebarLayoutIndexRouteImport } from './routes/_authenticated/$orgSlug/_sidebar-layout/index'
import { Route as SharesShareIdDirectoriesDirectoryIdRouteImport } from './routes/shares/$shareId.directories.$directoryId'
import { Route as AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRouteImport } from './routes/_authenticated/$orgSlug/_sidebar-layout/drives.$driveId'
import { Route as AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRouteImport } from './routes/_authenticated/$orgSlug/_sidebar-layout/directories.$directoryId'

const AuthenticatedOrgSlugRouteImport = createFileRoute(
  '/_authenticated/$orgSlug',
)()

const SignUpRoute = SignUpRouteImport.update({
  id: '/sign-up',
  path: '/sign-up',
  getParentRoute: () => rootRouteImport,
} as any)
const LoginRoute = LoginRouteImport.update({
  id: '/login',
  path: '/login',
  getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedRoute = AuthenticatedRouteImport.update({
  id: '/_authenticated',
  getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedOrgSlugRoute = AuthenticatedOrgSlugRouteImport.update({
  id: '/$orgSlug',
  path: '/$orgSlug',
  getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedIndexRoute = AuthenticatedIndexRouteImport.update({
  id: '/',
  path: '/',
  getParentRoute: () => AuthenticatedRoute,
} as any)
const LoginCallbackRoute = LoginCallbackRouteImport.update({
  id: '/login_/callback',
  path: '/login/callback',
  getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedOrgSlugSidebarLayoutRoute =
  AuthenticatedOrgSlugSidebarLayoutRouteImport.update({
    id: '/_sidebar-layout',
    getParentRoute: () => AuthenticatedOrgSlugRoute,
  } as any)
const AuthenticatedOrgSlugSidebarLayoutIndexRoute =
  AuthenticatedOrgSlugSidebarLayoutIndexRouteImport.update({
    id: '/',
    path: '/',
    getParentRoute: () => AuthenticatedOrgSlugSidebarLayoutRoute,
  } as any)
const SharesShareIdDirectoriesDirectoryIdRoute =
  SharesShareIdDirectoriesDirectoryIdRouteImport.update({
    id: '/shares/$shareId/directories/$directoryId',
    path: '/shares/$shareId/directories/$directoryId',
    getParentRoute: () => rootRouteImport,
  } as any)
const AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute =
  AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRouteImport.update({
    id: '/drives/$driveId',
    path: '/drives/$driveId',
    getParentRoute: () => AuthenticatedOrgSlugSidebarLayoutRoute,
  } as any)
const AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute =
  AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRouteImport.update({
    id: '/directories/$directoryId',
    path: '/directories/$directoryId',
    getParentRoute: () => AuthenticatedOrgSlugSidebarLayoutRoute,
  } as any)

export interface FileRoutesByFullPath {
  '/login': typeof LoginRoute
  '/sign-up': typeof SignUpRoute
  '/login/callback': typeof LoginCallbackRoute
  '/': typeof AuthenticatedIndexRoute
  '/$orgSlug': typeof AuthenticatedOrgSlugSidebarLayoutRouteWithChildren
  '/shares/$shareId/directories/$directoryId': typeof SharesShareIdDirectoriesDirectoryIdRoute
  '/$orgSlug/': typeof AuthenticatedOrgSlugSidebarLayoutIndexRoute
  '/$orgSlug/directories/$directoryId': typeof AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute
  '/$orgSlug/drives/$driveId': typeof AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute
}
export interface FileRoutesByTo {
  '/login': typeof LoginRoute
  '/sign-up': typeof SignUpRoute
  '/login/callback': typeof LoginCallbackRoute
  '/': typeof AuthenticatedIndexRoute
  '/$orgSlug': typeof AuthenticatedOrgSlugSidebarLayoutIndexRoute
  '/shares/$shareId/directories/$directoryId': typeof SharesShareIdDirectoriesDirectoryIdRoute
  '/$orgSlug/directories/$directoryId': typeof AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute
  '/$orgSlug/drives/$driveId': typeof AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute
}
export interface FileRoutesById {
  __root__: typeof rootRouteImport
  '/_authenticated': typeof AuthenticatedRouteWithChildren
  '/login': typeof LoginRoute
  '/sign-up': typeof SignUpRoute
  '/login_/callback': typeof LoginCallbackRoute
  '/_authenticated/': typeof AuthenticatedIndexRoute
  '/_authenticated/$orgSlug': typeof AuthenticatedOrgSlugRouteWithChildren
  '/_authenticated/$orgSlug/_sidebar-layout': typeof AuthenticatedOrgSlugSidebarLayoutRouteWithChildren
  '/shares/$shareId/directories/$directoryId': typeof SharesShareIdDirectoriesDirectoryIdRoute
  '/_authenticated/$orgSlug/_sidebar-layout/': typeof AuthenticatedOrgSlugSidebarLayoutIndexRoute
  '/_authenticated/$orgSlug/_sidebar-layout/directories/$directoryId': typeof AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute
  '/_authenticated/$orgSlug/_sidebar-layout/drives/$driveId': typeof AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute
}
export interface FileRouteTypes {
  fileRoutesByFullPath: FileRoutesByFullPath
  fullPaths:
    | '/login'
    | '/sign-up'
    | '/login/callback'
    | '/'
    | '/$orgSlug'
    | '/shares/$shareId/directories/$directoryId'
    | '/$orgSlug/'
    | '/$orgSlug/directories/$directoryId'
    | '/$orgSlug/drives/$driveId'
  fileRoutesByTo: FileRoutesByTo
  to:
    | '/login'
    | '/sign-up'
    | '/login/callback'
    | '/'
    | '/$orgSlug'
    | '/shares/$shareId/directories/$directoryId'
    | '/$orgSlug/directories/$directoryId'
    | '/$orgSlug/drives/$driveId'
  id:
    | '__root__'
    | '/_authenticated'
    | '/login'
    | '/sign-up'
    | '/login_/callback'
    | '/_authenticated/'
    | '/_authenticated/$orgSlug'
    | '/_authenticated/$orgSlug/_sidebar-layout'
    | '/shares/$shareId/directories/$directoryId'
    | '/_authenticated/$orgSlug/_sidebar-layout/'
    | '/_authenticated/$orgSlug/_sidebar-layout/directories/$directoryId'
    | '/_authenticated/$orgSlug/_sidebar-layout/drives/$driveId'
  fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
  AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
  LoginRoute: typeof LoginRoute
  SignUpRoute: typeof SignUpRoute
  LoginCallbackRoute: typeof LoginCallbackRoute
  SharesShareIdDirectoriesDirectoryIdRoute: typeof SharesShareIdDirectoriesDirectoryIdRoute
}

declare module '@tanstack/react-router' {
  interface FileRoutesByPath {
    '/sign-up': {
      id: '/sign-up'
      path: '/sign-up'
      fullPath: '/sign-up'
      preLoaderRoute: typeof SignUpRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/login': {
      id: '/login'
      path: '/login'
      fullPath: '/login'
      preLoaderRoute: typeof LoginRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_authenticated': {
      id: '/_authenticated'
      path: ''
      fullPath: ''
      preLoaderRoute: typeof AuthenticatedRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_authenticated/$orgSlug': {
      id: '/_authenticated/$orgSlug'
      path: '/$orgSlug'
      fullPath: '/$orgSlug'
      preLoaderRoute: typeof AuthenticatedOrgSlugRouteImport
      parentRoute: typeof AuthenticatedRoute
    }
    '/_authenticated/': {
      id: '/_authenticated/'
      path: '/'
      fullPath: '/'
      preLoaderRoute: typeof AuthenticatedIndexRouteImport
      parentRoute: typeof AuthenticatedRoute
    }
    '/login_/callback': {
      id: '/login_/callback'
      path: '/login/callback'
      fullPath: '/login/callback'
      preLoaderRoute: typeof LoginCallbackRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_authenticated/$orgSlug/_sidebar-layout': {
      id: '/_authenticated/$orgSlug/_sidebar-layout'
      path: '/$orgSlug'
      fullPath: '/$orgSlug'
      preLoaderRoute: typeof AuthenticatedOrgSlugSidebarLayoutRouteImport
      parentRoute: typeof AuthenticatedOrgSlugRoute
    }
    '/_authenticated/$orgSlug/_sidebar-layout/': {
      id: '/_authenticated/$orgSlug/_sidebar-layout/'
      path: '/'
      fullPath: '/$orgSlug/'
      preLoaderRoute: typeof AuthenticatedOrgSlugSidebarLayoutIndexRouteImport
      parentRoute: typeof AuthenticatedOrgSlugSidebarLayoutRoute
    }
    '/shares/$shareId/directories/$directoryId': {
      id: '/shares/$shareId/directories/$directoryId'
      path: '/shares/$shareId/directories/$directoryId'
      fullPath: '/shares/$shareId/directories/$directoryId'
      preLoaderRoute: typeof SharesShareIdDirectoriesDirectoryIdRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_authenticated/$orgSlug/_sidebar-layout/drives/$driveId': {
      id: '/_authenticated/$orgSlug/_sidebar-layout/drives/$driveId'
      path: '/drives/$driveId'
      fullPath: '/$orgSlug/drives/$driveId'
      preLoaderRoute: typeof AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRouteImport
      parentRoute: typeof AuthenticatedOrgSlugSidebarLayoutRoute
    }
    '/_authenticated/$orgSlug/_sidebar-layout/directories/$directoryId': {
      id: '/_authenticated/$orgSlug/_sidebar-layout/directories/$directoryId'
      path: '/directories/$directoryId'
      fullPath: '/$orgSlug/directories/$directoryId'
      preLoaderRoute: typeof AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRouteImport
      parentRoute: typeof AuthenticatedOrgSlugSidebarLayoutRoute
    }
  }
}

interface AuthenticatedOrgSlugSidebarLayoutRouteChildren {
  AuthenticatedOrgSlugSidebarLayoutIndexRoute: typeof AuthenticatedOrgSlugSidebarLayoutIndexRoute
  AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute: typeof AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute
  AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute: typeof AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute
}

const AuthenticatedOrgSlugSidebarLayoutRouteChildren: AuthenticatedOrgSlugSidebarLayoutRouteChildren =
  {
    AuthenticatedOrgSlugSidebarLayoutIndexRoute:
      AuthenticatedOrgSlugSidebarLayoutIndexRoute,
    AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute:
      AuthenticatedOrgSlugSidebarLayoutDirectoriesDirectoryIdRoute,
    AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute:
      AuthenticatedOrgSlugSidebarLayoutDrivesDriveIdRoute,
  }

const AuthenticatedOrgSlugSidebarLayoutRouteWithChildren =
  AuthenticatedOrgSlugSidebarLayoutRoute._addFileChildren(
    AuthenticatedOrgSlugSidebarLayoutRouteChildren,
  )

interface AuthenticatedOrgSlugRouteChildren {
  AuthenticatedOrgSlugSidebarLayoutRoute: typeof AuthenticatedOrgSlugSidebarLayoutRouteWithChildren
}

const AuthenticatedOrgSlugRouteChildren: AuthenticatedOrgSlugRouteChildren = {
  AuthenticatedOrgSlugSidebarLayoutRoute:
    AuthenticatedOrgSlugSidebarLayoutRouteWithChildren,
}

const AuthenticatedOrgSlugRouteWithChildren =
  AuthenticatedOrgSlugRoute._addFileChildren(AuthenticatedOrgSlugRouteChildren)

interface AuthenticatedRouteChildren {
  AuthenticatedIndexRoute: typeof AuthenticatedIndexRoute
  AuthenticatedOrgSlugRoute: typeof AuthenticatedOrgSlugRouteWithChildren
}

const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
  AuthenticatedIndexRoute: AuthenticatedIndexRoute,
  AuthenticatedOrgSlugRoute: AuthenticatedOrgSlugRouteWithChildren,
}

const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
  AuthenticatedRouteChildren,
)

const rootRouteChildren: RootRouteChildren = {
  AuthenticatedRoute: AuthenticatedRouteWithChildren,
  LoginRoute: LoginRoute,
  SignUpRoute: SignUpRoute,
  LoginCallbackRoute: LoginCallbackRoute,
  SharesShareIdDirectoriesDirectoryIdRoute:
    SharesShareIdDirectoriesDirectoryIdRoute,
}
export const routeTree = rootRouteImport
  ._addFileChildren(rootRouteChildren)
  ._addFileTypes<FileRouteTypes>()
