🎉 initial commit

This commit is contained in:
2026-08-17 00:22:30 +02:00
parent cd04ebe254
commit 55a51a521d
19 changed files with 1645 additions and 35 deletions
+58 -3
View File
@@ -11,6 +11,9 @@
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 StaffTeamRouteImport } from './routes/staff.team'
const IndexRoute = IndexRouteImport.update({
id: '/',
@@ -22,31 +25,59 @@ const ImpressumRoute = ImpressumRouteImport.update({
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 StaffTeamRoute = StaffTeamRouteImport.update({
id: '/staff/team',
path: '/staff/team',
getParentRoute: () => rootRouteImport,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/impressum': typeof ImpressumRoute
'/staff/login': typeof StaffLoginRoute
'/staff/team': typeof StaffTeamRoute
'/staff/': typeof StaffIndexRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/impressum': typeof ImpressumRoute
'/staff/login': typeof StaffLoginRoute
'/staff/team': typeof StaffTeamRoute
'/staff': typeof StaffIndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/impressum': typeof ImpressumRoute
'/staff/login': typeof StaffLoginRoute
'/staff/team': typeof StaffTeamRoute
'/staff/': typeof StaffIndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/impressum'
fullPaths: '/' | '/impressum' | '/staff/login' | '/staff/team' | '/staff/'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/impressum'
id: '__root__' | '/' | '/impressum'
to: '/' | '/impressum' | '/staff/login' | '/staff/team' | '/staff'
id:
'__root__' | '/' | '/impressum' | '/staff/login' | '/staff/team' | '/staff/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
ImpressumRoute: typeof ImpressumRoute
StaffLoginRoute: typeof StaffLoginRoute
StaffTeamRoute: typeof StaffTeamRoute
StaffIndexRoute: typeof StaffIndexRoute
}
declare module '@tanstack/react-router' {
@@ -65,12 +96,36 @@ declare module '@tanstack/react-router' {
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/team': {
id: '/staff/team'
path: '/staff/team'
fullPath: '/staff/team'
preLoaderRoute: typeof StaffTeamRouteImport
parentRoute: typeof rootRouteImport
}
}
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
ImpressumRoute: ImpressumRoute,
StaffLoginRoute: StaffLoginRoute,
StaffTeamRoute: StaffTeamRoute,
StaffIndexRoute: StaffIndexRoute,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)