✨ first version
This commit is contained in:
+81
-3
@@ -13,7 +13,10 @@ 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 StaffTablesRouteImport } from './routes/staff.tables'
|
||||
import { Route as StaffTeamRouteImport } from './routes/staff.team'
|
||||
import { Route as StornierenTokenRouteImport } from './routes/stornieren.$token'
|
||||
|
||||
const IndexRoute = IndexRouteImport.update({
|
||||
id: '/',
|
||||
@@ -35,24 +38,45 @@ const StaffLoginRoute = StaffLoginRouteImport.update({
|
||||
path: '/staff/login',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const StaffSettingsRoute = StaffSettingsRouteImport.update({
|
||||
id: '/staff/settings',
|
||||
path: '/staff/settings',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const StaffTablesRoute = StaffTablesRouteImport.update({
|
||||
id: '/staff/tables',
|
||||
path: '/staff/tables',
|
||||
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/tables': typeof StaffTablesRoute
|
||||
'/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/tables': typeof StaffTablesRoute
|
||||
'/staff/team': typeof StaffTeamRoute
|
||||
'/stornieren/$token': typeof StornierenTokenRoute
|
||||
'/staff': typeof StaffIndexRoute
|
||||
}
|
||||
export interface FileRoutesById {
|
||||
@@ -60,23 +84,53 @@ export interface FileRoutesById {
|
||||
'/': typeof IndexRoute
|
||||
'/impressum': typeof ImpressumRoute
|
||||
'/staff/login': typeof StaffLoginRoute
|
||||
'/staff/settings': typeof StaffSettingsRoute
|
||||
'/staff/tables': typeof StaffTablesRoute
|
||||
'/staff/team': typeof StaffTeamRoute
|
||||
'/stornieren/$token': typeof StornierenTokenRoute
|
||||
'/staff/': typeof StaffIndexRoute
|
||||
}
|
||||
export interface FileRouteTypes {
|
||||
fileRoutesByFullPath: FileRoutesByFullPath
|
||||
fullPaths: '/' | '/impressum' | '/staff/login' | '/staff/team' | '/staff/'
|
||||
fullPaths:
|
||||
| '/'
|
||||
| '/impressum'
|
||||
| '/staff/login'
|
||||
| '/staff/settings'
|
||||
| '/staff/tables'
|
||||
| '/staff/team'
|
||||
| '/stornieren/$token'
|
||||
| '/staff/'
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to: '/' | '/impressum' | '/staff/login' | '/staff/team' | '/staff'
|
||||
to:
|
||||
| '/'
|
||||
| '/impressum'
|
||||
| '/staff/login'
|
||||
| '/staff/settings'
|
||||
| '/staff/tables'
|
||||
| '/staff/team'
|
||||
| '/stornieren/$token'
|
||||
| '/staff'
|
||||
id:
|
||||
'__root__' | '/' | '/impressum' | '/staff/login' | '/staff/team' | '/staff/'
|
||||
| '__root__'
|
||||
| '/'
|
||||
| '/impressum'
|
||||
| '/staff/login'
|
||||
| '/staff/settings'
|
||||
| '/staff/tables'
|
||||
| '/staff/team'
|
||||
| '/stornieren/$token'
|
||||
| '/staff/'
|
||||
fileRoutesById: FileRoutesById
|
||||
}
|
||||
export interface RootRouteChildren {
|
||||
IndexRoute: typeof IndexRoute
|
||||
ImpressumRoute: typeof ImpressumRoute
|
||||
StaffLoginRoute: typeof StaffLoginRoute
|
||||
StaffSettingsRoute: typeof StaffSettingsRoute
|
||||
StaffTablesRoute: typeof StaffTablesRoute
|
||||
StaffTeamRoute: typeof StaffTeamRoute
|
||||
StornierenTokenRoute: typeof StornierenTokenRoute
|
||||
StaffIndexRoute: typeof StaffIndexRoute
|
||||
}
|
||||
|
||||
@@ -110,6 +164,20 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof StaffLoginRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/staff/settings': {
|
||||
id: '/staff/settings'
|
||||
path: '/staff/settings'
|
||||
fullPath: '/staff/settings'
|
||||
preLoaderRoute: typeof StaffSettingsRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/staff/tables': {
|
||||
id: '/staff/tables'
|
||||
path: '/staff/tables'
|
||||
fullPath: '/staff/tables'
|
||||
preLoaderRoute: typeof StaffTablesRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/staff/team': {
|
||||
id: '/staff/team'
|
||||
path: '/staff/team'
|
||||
@@ -117,6 +185,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof StaffTeamRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/stornieren/$token': {
|
||||
id: '/stornieren/$token'
|
||||
path: '/stornieren/$token'
|
||||
fullPath: '/stornieren/$token'
|
||||
preLoaderRoute: typeof StornierenTokenRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +199,10 @@ const rootRouteChildren: RootRouteChildren = {
|
||||
IndexRoute: IndexRoute,
|
||||
ImpressumRoute: ImpressumRoute,
|
||||
StaffLoginRoute: StaffLoginRoute,
|
||||
StaffSettingsRoute: StaffSettingsRoute,
|
||||
StaffTablesRoute: StaffTablesRoute,
|
||||
StaffTeamRoute: StaffTeamRoute,
|
||||
StornierenTokenRoute: StornierenTokenRoute,
|
||||
StaffIndexRoute: StaffIndexRoute,
|
||||
}
|
||||
export const routeTree = rootRouteImport
|
||||
|
||||
Reference in New Issue
Block a user