178 lines
5.4 KiB
TypeScript
178 lines
5.4 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 LoginRouteRouteImport } from './routes/login/route'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as DemoTanstackQueryRouteImport } from './routes/demo/tanstack-query'
|
|
import { Route as DemoI18nRouteImport } from './routes/demo.i18n'
|
|
import { Route as AuthDashboardRouteImport } from './routes/auth/dashboard'
|
|
import { Route as DemoSentryTestingRouteImport } from './routes/demo/sentry.testing'
|
|
|
|
const LoginRouteRoute = LoginRouteRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DemoTanstackQueryRoute = DemoTanstackQueryRouteImport.update({
|
|
id: '/demo/tanstack-query',
|
|
path: '/demo/tanstack-query',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DemoI18nRoute = DemoI18nRouteImport.update({
|
|
id: '/demo/i18n',
|
|
path: '/demo/i18n',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthDashboardRoute = AuthDashboardRouteImport.update({
|
|
id: '/auth/dashboard',
|
|
path: '/auth/dashboard',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DemoSentryTestingRoute = DemoSentryTestingRouteImport.update({
|
|
id: '/demo/sentry/testing',
|
|
path: '/demo/sentry/testing',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRouteRoute
|
|
'/auth/dashboard': typeof AuthDashboardRoute
|
|
'/demo/i18n': typeof DemoI18nRoute
|
|
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
|
|
'/demo/sentry/testing': typeof DemoSentryTestingRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRouteRoute
|
|
'/auth/dashboard': typeof AuthDashboardRoute
|
|
'/demo/i18n': typeof DemoI18nRoute
|
|
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
|
|
'/demo/sentry/testing': typeof DemoSentryTestingRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRouteRoute
|
|
'/auth/dashboard': typeof AuthDashboardRoute
|
|
'/demo/i18n': typeof DemoI18nRoute
|
|
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
|
|
'/demo/sentry/testing': typeof DemoSentryTestingRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/login'
|
|
| '/auth/dashboard'
|
|
| '/demo/i18n'
|
|
| '/demo/tanstack-query'
|
|
| '/demo/sentry/testing'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/login'
|
|
| '/auth/dashboard'
|
|
| '/demo/i18n'
|
|
| '/demo/tanstack-query'
|
|
| '/demo/sentry/testing'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/login'
|
|
| '/auth/dashboard'
|
|
| '/demo/i18n'
|
|
| '/demo/tanstack-query'
|
|
| '/demo/sentry/testing'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
LoginRouteRoute: typeof LoginRouteRoute
|
|
AuthDashboardRoute: typeof AuthDashboardRoute
|
|
DemoI18nRoute: typeof DemoI18nRoute
|
|
DemoTanstackQueryRoute: typeof DemoTanstackQueryRoute
|
|
DemoSentryTestingRoute: typeof DemoSentryTestingRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/demo/tanstack-query': {
|
|
id: '/demo/tanstack-query'
|
|
path: '/demo/tanstack-query'
|
|
fullPath: '/demo/tanstack-query'
|
|
preLoaderRoute: typeof DemoTanstackQueryRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/demo/i18n': {
|
|
id: '/demo/i18n'
|
|
path: '/demo/i18n'
|
|
fullPath: '/demo/i18n'
|
|
preLoaderRoute: typeof DemoI18nRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/auth/dashboard': {
|
|
id: '/auth/dashboard'
|
|
path: '/auth/dashboard'
|
|
fullPath: '/auth/dashboard'
|
|
preLoaderRoute: typeof AuthDashboardRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/demo/sentry/testing': {
|
|
id: '/demo/sentry/testing'
|
|
path: '/demo/sentry/testing'
|
|
fullPath: '/demo/sentry/testing'
|
|
preLoaderRoute: typeof DemoSentryTestingRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
LoginRouteRoute: LoginRouteRoute,
|
|
AuthDashboardRoute: AuthDashboardRoute,
|
|
DemoI18nRoute: DemoI18nRoute,
|
|
DemoTanstackQueryRoute: DemoTanstackQueryRoute,
|
|
DemoSentryTestingRoute: DemoSentryTestingRoute,
|
|
}
|
|
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>>
|
|
}
|
|
}
|