mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
123 lines
3.3 KiB
TypeScript
123 lines
3.3 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 ProfileRouteImport } from './routes/profile'
|
||
|
|
import { Route as LoginRouteImport } from './routes/login'
|
||
|
|
import { Route as AdminRouteImport } from './routes/admin'
|
||
|
|
import { Route as IndexRouteImport } from './routes/index'
|
||
|
|
|
||
|
|
const ProfileRoute = ProfileRouteImport.update({
|
||
|
|
id: '/profile',
|
||
|
|
path: '/profile',
|
||
|
|
getParentRoute: () => rootRouteImport,
|
||
|
|
} as any)
|
||
|
|
const LoginRoute = LoginRouteImport.update({
|
||
|
|
id: '/login',
|
||
|
|
path: '/login',
|
||
|
|
getParentRoute: () => rootRouteImport,
|
||
|
|
} as any)
|
||
|
|
const AdminRoute = AdminRouteImport.update({
|
||
|
|
id: '/admin',
|
||
|
|
path: '/admin',
|
||
|
|
getParentRoute: () => rootRouteImport,
|
||
|
|
} as any)
|
||
|
|
const IndexRoute = IndexRouteImport.update({
|
||
|
|
id: '/',
|
||
|
|
path: '/',
|
||
|
|
getParentRoute: () => rootRouteImport,
|
||
|
|
} as any)
|
||
|
|
|
||
|
|
export interface FileRoutesByFullPath {
|
||
|
|
'/': typeof IndexRoute
|
||
|
|
'/admin': typeof AdminRoute
|
||
|
|
'/login': typeof LoginRoute
|
||
|
|
'/profile': typeof ProfileRoute
|
||
|
|
}
|
||
|
|
export interface FileRoutesByTo {
|
||
|
|
'/': typeof IndexRoute
|
||
|
|
'/admin': typeof AdminRoute
|
||
|
|
'/login': typeof LoginRoute
|
||
|
|
'/profile': typeof ProfileRoute
|
||
|
|
}
|
||
|
|
export interface FileRoutesById {
|
||
|
|
__root__: typeof rootRouteImport
|
||
|
|
'/': typeof IndexRoute
|
||
|
|
'/admin': typeof AdminRoute
|
||
|
|
'/login': typeof LoginRoute
|
||
|
|
'/profile': typeof ProfileRoute
|
||
|
|
}
|
||
|
|
export interface FileRouteTypes {
|
||
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||
|
|
fullPaths: '/' | '/admin' | '/login' | '/profile'
|
||
|
|
fileRoutesByTo: FileRoutesByTo
|
||
|
|
to: '/' | '/admin' | '/login' | '/profile'
|
||
|
|
id: '__root__' | '/' | '/admin' | '/login' | '/profile'
|
||
|
|
fileRoutesById: FileRoutesById
|
||
|
|
}
|
||
|
|
export interface RootRouteChildren {
|
||
|
|
IndexRoute: typeof IndexRoute
|
||
|
|
AdminRoute: typeof AdminRoute
|
||
|
|
LoginRoute: typeof LoginRoute
|
||
|
|
ProfileRoute: typeof ProfileRoute
|
||
|
|
}
|
||
|
|
|
||
|
|
declare module '@tanstack/react-router' {
|
||
|
|
interface FileRoutesByPath {
|
||
|
|
'/profile': {
|
||
|
|
id: '/profile'
|
||
|
|
path: '/profile'
|
||
|
|
fullPath: '/profile'
|
||
|
|
preLoaderRoute: typeof ProfileRouteImport
|
||
|
|
parentRoute: typeof rootRouteImport
|
||
|
|
}
|
||
|
|
'/login': {
|
||
|
|
id: '/login'
|
||
|
|
path: '/login'
|
||
|
|
fullPath: '/login'
|
||
|
|
preLoaderRoute: typeof LoginRouteImport
|
||
|
|
parentRoute: typeof rootRouteImport
|
||
|
|
}
|
||
|
|
'/admin': {
|
||
|
|
id: '/admin'
|
||
|
|
path: '/admin'
|
||
|
|
fullPath: '/admin'
|
||
|
|
preLoaderRoute: typeof AdminRouteImport
|
||
|
|
parentRoute: typeof rootRouteImport
|
||
|
|
}
|
||
|
|
'/': {
|
||
|
|
id: '/'
|
||
|
|
path: '/'
|
||
|
|
fullPath: '/'
|
||
|
|
preLoaderRoute: typeof IndexRouteImport
|
||
|
|
parentRoute: typeof rootRouteImport
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
const rootRouteChildren: RootRouteChildren = {
|
||
|
|
IndexRoute: IndexRoute,
|
||
|
|
AdminRoute: AdminRoute,
|
||
|
|
LoginRoute: LoginRoute,
|
||
|
|
ProfileRoute: ProfileRoute,
|
||
|
|
}
|
||
|
|
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>>
|
||
|
|
}
|
||
|
|
}
|