382 lines
11 KiB
TypeScript
382 lines
11 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 AuthRouteImport } from './routes/_auth'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as RegisterRouteImport } from './routes/register'
|
|
import { Route as AuthIndexRouteImport } from './routes/_auth/index'
|
|
import { Route as AuthActivitiesRouteImport } from './routes/_auth/activities'
|
|
import { Route as AuthAddRouteImport } from './routes/_auth/add'
|
|
import { Route as AuthCalendarRouteImport } from './routes/_auth/calendar'
|
|
import { Route as AuthDiaryRouteImport } from './routes/_auth/diary'
|
|
import { Route as AuthExportRouteImport } from './routes/_auth/export'
|
|
import { Route as AuthImportRouteImport } from './routes/_auth/import'
|
|
import { Route as AuthMetricsRouteImport } from './routes/_auth/metrics'
|
|
import { Route as AuthRemindersRouteImport } from './routes/_auth/reminders'
|
|
import { Route as AuthSettingsRouteImport } from './routes/_auth/settings'
|
|
import { Route as AuthStatsRouteImport } from './routes/_auth/stats'
|
|
import { Route as AuthEditIdRouteImport } from './routes/_auth/edit.$id'
|
|
import { Route as AuthEntryIdRouteImport } from './routes/_auth/entry.$id'
|
|
|
|
const AuthRoute = AuthRouteImport.update({
|
|
id: '/_auth',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const RegisterRoute = RegisterRouteImport.update({
|
|
id: '/register',
|
|
path: '/register',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthIndexRoute = AuthIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthActivitiesRoute = AuthActivitiesRouteImport.update({
|
|
id: '/activities',
|
|
path: '/activities',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthAddRoute = AuthAddRouteImport.update({
|
|
id: '/add',
|
|
path: '/add',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthCalendarRoute = AuthCalendarRouteImport.update({
|
|
id: '/calendar',
|
|
path: '/calendar',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthDiaryRoute = AuthDiaryRouteImport.update({
|
|
id: '/diary',
|
|
path: '/diary',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthExportRoute = AuthExportRouteImport.update({
|
|
id: '/export',
|
|
path: '/export',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthImportRoute = AuthImportRouteImport.update({
|
|
id: '/import',
|
|
path: '/import',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthMetricsRoute = AuthMetricsRouteImport.update({
|
|
id: '/metrics',
|
|
path: '/metrics',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthRemindersRoute = AuthRemindersRouteImport.update({
|
|
id: '/reminders',
|
|
path: '/reminders',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthSettingsRoute = AuthSettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthStatsRoute = AuthStatsRouteImport.update({
|
|
id: '/stats',
|
|
path: '/stats',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any).lazy(() => import('./routes/_auth/stats.lazy').then((d) => d.Route))
|
|
const AuthEditIdRoute = AuthEditIdRouteImport.update({
|
|
id: '/edit/$id',
|
|
path: '/edit/$id',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
const AuthEntryIdRoute = AuthEntryIdRouteImport.update({
|
|
id: '/entry/$id',
|
|
path: '/entry/$id',
|
|
getParentRoute: () => AuthRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof AuthIndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/register': typeof RegisterRoute
|
|
'/activities': typeof AuthActivitiesRoute
|
|
'/add': typeof AuthAddRoute
|
|
'/calendar': typeof AuthCalendarRoute
|
|
'/diary': typeof AuthDiaryRoute
|
|
'/export': typeof AuthExportRoute
|
|
'/import': typeof AuthImportRoute
|
|
'/metrics': typeof AuthMetricsRoute
|
|
'/reminders': typeof AuthRemindersRoute
|
|
'/settings': typeof AuthSettingsRoute
|
|
'/stats': typeof AuthStatsRoute
|
|
'/edit/$id': typeof AuthEditIdRoute
|
|
'/entry/$id': typeof AuthEntryIdRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/login': typeof LoginRoute
|
|
'/register': typeof RegisterRoute
|
|
'/activities': typeof AuthActivitiesRoute
|
|
'/add': typeof AuthAddRoute
|
|
'/calendar': typeof AuthCalendarRoute
|
|
'/diary': typeof AuthDiaryRoute
|
|
'/export': typeof AuthExportRoute
|
|
'/import': typeof AuthImportRoute
|
|
'/metrics': typeof AuthMetricsRoute
|
|
'/reminders': typeof AuthRemindersRoute
|
|
'/settings': typeof AuthSettingsRoute
|
|
'/stats': typeof AuthStatsRoute
|
|
'/': typeof AuthIndexRoute
|
|
'/edit/$id': typeof AuthEditIdRoute
|
|
'/entry/$id': typeof AuthEntryIdRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/_auth': typeof AuthRouteWithChildren
|
|
'/login': typeof LoginRoute
|
|
'/register': typeof RegisterRoute
|
|
'/_auth/activities': typeof AuthActivitiesRoute
|
|
'/_auth/add': typeof AuthAddRoute
|
|
'/_auth/calendar': typeof AuthCalendarRoute
|
|
'/_auth/diary': typeof AuthDiaryRoute
|
|
'/_auth/export': typeof AuthExportRoute
|
|
'/_auth/import': typeof AuthImportRoute
|
|
'/_auth/metrics': typeof AuthMetricsRoute
|
|
'/_auth/reminders': typeof AuthRemindersRoute
|
|
'/_auth/settings': typeof AuthSettingsRoute
|
|
'/_auth/stats': typeof AuthStatsRoute
|
|
'/_auth/': typeof AuthIndexRoute
|
|
'/_auth/edit/$id': typeof AuthEditIdRoute
|
|
'/_auth/entry/$id': typeof AuthEntryIdRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/login'
|
|
| '/register'
|
|
| '/activities'
|
|
| '/add'
|
|
| '/calendar'
|
|
| '/diary'
|
|
| '/export'
|
|
| '/import'
|
|
| '/metrics'
|
|
| '/reminders'
|
|
| '/settings'
|
|
| '/stats'
|
|
| '/edit/$id'
|
|
| '/entry/$id'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/login'
|
|
| '/register'
|
|
| '/activities'
|
|
| '/add'
|
|
| '/calendar'
|
|
| '/diary'
|
|
| '/export'
|
|
| '/import'
|
|
| '/metrics'
|
|
| '/reminders'
|
|
| '/settings'
|
|
| '/stats'
|
|
| '/'
|
|
| '/edit/$id'
|
|
| '/entry/$id'
|
|
id:
|
|
| '__root__'
|
|
| '/_auth'
|
|
| '/login'
|
|
| '/register'
|
|
| '/_auth/activities'
|
|
| '/_auth/add'
|
|
| '/_auth/calendar'
|
|
| '/_auth/diary'
|
|
| '/_auth/export'
|
|
| '/_auth/import'
|
|
| '/_auth/metrics'
|
|
| '/_auth/reminders'
|
|
| '/_auth/settings'
|
|
| '/_auth/stats'
|
|
| '/_auth/'
|
|
| '/_auth/edit/$id'
|
|
| '/_auth/entry/$id'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
AuthRoute: typeof AuthRouteWithChildren
|
|
LoginRoute: typeof LoginRoute
|
|
RegisterRoute: typeof RegisterRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/_auth': {
|
|
id: '/_auth'
|
|
path: ''
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof AuthRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/register': {
|
|
id: '/register'
|
|
path: '/register'
|
|
fullPath: '/register'
|
|
preLoaderRoute: typeof RegisterRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_auth/': {
|
|
id: '/_auth/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof AuthIndexRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/activities': {
|
|
id: '/_auth/activities'
|
|
path: '/activities'
|
|
fullPath: '/activities'
|
|
preLoaderRoute: typeof AuthActivitiesRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/add': {
|
|
id: '/_auth/add'
|
|
path: '/add'
|
|
fullPath: '/add'
|
|
preLoaderRoute: typeof AuthAddRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/calendar': {
|
|
id: '/_auth/calendar'
|
|
path: '/calendar'
|
|
fullPath: '/calendar'
|
|
preLoaderRoute: typeof AuthCalendarRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/diary': {
|
|
id: '/_auth/diary'
|
|
path: '/diary'
|
|
fullPath: '/diary'
|
|
preLoaderRoute: typeof AuthDiaryRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/export': {
|
|
id: '/_auth/export'
|
|
path: '/export'
|
|
fullPath: '/export'
|
|
preLoaderRoute: typeof AuthExportRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/import': {
|
|
id: '/_auth/import'
|
|
path: '/import'
|
|
fullPath: '/import'
|
|
preLoaderRoute: typeof AuthImportRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/metrics': {
|
|
id: '/_auth/metrics'
|
|
path: '/metrics'
|
|
fullPath: '/metrics'
|
|
preLoaderRoute: typeof AuthMetricsRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/reminders': {
|
|
id: '/_auth/reminders'
|
|
path: '/reminders'
|
|
fullPath: '/reminders'
|
|
preLoaderRoute: typeof AuthRemindersRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/settings': {
|
|
id: '/_auth/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof AuthSettingsRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/stats': {
|
|
id: '/_auth/stats'
|
|
path: '/stats'
|
|
fullPath: '/stats'
|
|
preLoaderRoute: typeof AuthStatsRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/edit/$id': {
|
|
id: '/_auth/edit/$id'
|
|
path: '/edit/$id'
|
|
fullPath: '/edit/$id'
|
|
preLoaderRoute: typeof AuthEditIdRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
'/_auth/entry/$id': {
|
|
id: '/_auth/entry/$id'
|
|
path: '/entry/$id'
|
|
fullPath: '/entry/$id'
|
|
preLoaderRoute: typeof AuthEntryIdRouteImport
|
|
parentRoute: typeof AuthRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface AuthRouteChildren {
|
|
AuthActivitiesRoute: typeof AuthActivitiesRoute
|
|
AuthAddRoute: typeof AuthAddRoute
|
|
AuthCalendarRoute: typeof AuthCalendarRoute
|
|
AuthDiaryRoute: typeof AuthDiaryRoute
|
|
AuthExportRoute: typeof AuthExportRoute
|
|
AuthImportRoute: typeof AuthImportRoute
|
|
AuthMetricsRoute: typeof AuthMetricsRoute
|
|
AuthRemindersRoute: typeof AuthRemindersRoute
|
|
AuthSettingsRoute: typeof AuthSettingsRoute
|
|
AuthStatsRoute: typeof AuthStatsRoute
|
|
AuthIndexRoute: typeof AuthIndexRoute
|
|
AuthEditIdRoute: typeof AuthEditIdRoute
|
|
AuthEntryIdRoute: typeof AuthEntryIdRoute
|
|
}
|
|
|
|
const AuthRouteChildren: AuthRouteChildren = {
|
|
AuthActivitiesRoute: AuthActivitiesRoute,
|
|
AuthAddRoute: AuthAddRoute,
|
|
AuthCalendarRoute: AuthCalendarRoute,
|
|
AuthDiaryRoute: AuthDiaryRoute,
|
|
AuthExportRoute: AuthExportRoute,
|
|
AuthImportRoute: AuthImportRoute,
|
|
AuthMetricsRoute: AuthMetricsRoute,
|
|
AuthRemindersRoute: AuthRemindersRoute,
|
|
AuthSettingsRoute: AuthSettingsRoute,
|
|
AuthStatsRoute: AuthStatsRoute,
|
|
AuthIndexRoute: AuthIndexRoute,
|
|
AuthEditIdRoute: AuthEditIdRoute,
|
|
AuthEntryIdRoute: AuthEntryIdRoute,
|
|
}
|
|
|
|
const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
AuthRoute: AuthRouteWithChildren,
|
|
LoginRoute: LoginRoute,
|
|
RegisterRoute: RegisterRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|