199 lines
5.8 KiB
TypeScript
199 lines
5.8 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 ImpressumRouteImport } from './routes/impressum'
|
|
import { Route as StaffIndexRouteImport } from './routes/staff.index'
|
|
import { Route as StaffLoginRouteImport } from './routes/staff.login'
|
|
import { Route as StaffSettingsRouteImport } from './routes/staff.settings'
|
|
import { Route as StaffTeamRouteImport } from './routes/staff.team'
|
|
import { Route as StornierenTokenRouteImport } from './routes/stornieren.$token'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ImpressumRoute = ImpressumRouteImport.update({
|
|
id: '/impressum',
|
|
path: '/impressum',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const StaffIndexRoute = StaffIndexRouteImport.update({
|
|
id: '/staff/',
|
|
path: '/staff/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const StaffLoginRoute = StaffLoginRouteImport.update({
|
|
id: '/staff/login',
|
|
path: '/staff/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const StaffSettingsRoute = StaffSettingsRouteImport.update({
|
|
id: '/staff/settings',
|
|
path: '/staff/settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const StaffTeamRoute = StaffTeamRouteImport.update({
|
|
id: '/staff/team',
|
|
path: '/staff/team',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const StornierenTokenRoute = StornierenTokenRouteImport.update({
|
|
id: '/stornieren/$token',
|
|
path: '/stornieren/$token',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/impressum': typeof ImpressumRoute
|
|
'/staff/login': typeof StaffLoginRoute
|
|
'/staff/settings': typeof StaffSettingsRoute
|
|
'/staff/team': typeof StaffTeamRoute
|
|
'/stornieren/$token': typeof StornierenTokenRoute
|
|
'/staff/': typeof StaffIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/impressum': typeof ImpressumRoute
|
|
'/staff/login': typeof StaffLoginRoute
|
|
'/staff/settings': typeof StaffSettingsRoute
|
|
'/staff/team': typeof StaffTeamRoute
|
|
'/stornieren/$token': typeof StornierenTokenRoute
|
|
'/staff': typeof StaffIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/impressum': typeof ImpressumRoute
|
|
'/staff/login': typeof StaffLoginRoute
|
|
'/staff/settings': typeof StaffSettingsRoute
|
|
'/staff/team': typeof StaffTeamRoute
|
|
'/stornieren/$token': typeof StornierenTokenRoute
|
|
'/staff/': typeof StaffIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/impressum'
|
|
| '/staff/login'
|
|
| '/staff/settings'
|
|
| '/staff/team'
|
|
| '/stornieren/$token'
|
|
| '/staff/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/impressum'
|
|
| '/staff/login'
|
|
| '/staff/settings'
|
|
| '/staff/team'
|
|
| '/stornieren/$token'
|
|
| '/staff'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/impressum'
|
|
| '/staff/login'
|
|
| '/staff/settings'
|
|
| '/staff/team'
|
|
| '/stornieren/$token'
|
|
| '/staff/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
ImpressumRoute: typeof ImpressumRoute
|
|
StaffLoginRoute: typeof StaffLoginRoute
|
|
StaffSettingsRoute: typeof StaffSettingsRoute
|
|
StaffTeamRoute: typeof StaffTeamRoute
|
|
StornierenTokenRoute: typeof StornierenTokenRoute
|
|
StaffIndexRoute: typeof StaffIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/impressum': {
|
|
id: '/impressum'
|
|
path: '/impressum'
|
|
fullPath: '/impressum'
|
|
preLoaderRoute: typeof ImpressumRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/staff/': {
|
|
id: '/staff/'
|
|
path: '/staff'
|
|
fullPath: '/staff/'
|
|
preLoaderRoute: typeof StaffIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/staff/login': {
|
|
id: '/staff/login'
|
|
path: '/staff/login'
|
|
fullPath: '/staff/login'
|
|
preLoaderRoute: typeof StaffLoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/staff/settings': {
|
|
id: '/staff/settings'
|
|
path: '/staff/settings'
|
|
fullPath: '/staff/settings'
|
|
preLoaderRoute: typeof StaffSettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/staff/team': {
|
|
id: '/staff/team'
|
|
path: '/staff/team'
|
|
fullPath: '/staff/team'
|
|
preLoaderRoute: typeof StaffTeamRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/stornieren/$token': {
|
|
id: '/stornieren/$token'
|
|
path: '/stornieren/$token'
|
|
fullPath: '/stornieren/$token'
|
|
preLoaderRoute: typeof StornierenTokenRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
ImpressumRoute: ImpressumRoute,
|
|
StaffLoginRoute: StaffLoginRoute,
|
|
StaffSettingsRoute: StaffSettingsRoute,
|
|
StaffTeamRoute: StaffTeamRoute,
|
|
StornierenTokenRoute: StornierenTokenRoute,
|
|
StaffIndexRoute: StaffIndexRoute,
|
|
}
|
|
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>>
|
|
}
|
|
}
|