282 lines
8.4 KiB
TypeScript
282 lines
8.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 SignupRouteImport } from './routes/signup'
|
|
import { Route as SigninRouteImport } from './routes/signin'
|
|
import { Route as ProfileRouteImport } from './routes/profile'
|
|
import { Route as DashboardRouteRouteImport } from './routes/dashboard/route'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as UsersIndexRouteImport } from './routes/users/index'
|
|
import { Route as DashboardIndexRouteImport } from './routes/dashboard/index'
|
|
import { Route as UsersIdRouteImport } from './routes/users/$id'
|
|
import { Route as DashboardUsersRouteImport } from './routes/dashboard/users'
|
|
import { Route as DashboardSettingsRouteImport } from './routes/dashboard/settings'
|
|
import { Route as DashboardApikeyRouteImport } from './routes/dashboard/apikey'
|
|
|
|
const SignupRoute = SignupRouteImport.update({
|
|
id: '/signup',
|
|
path: '/signup',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SigninRoute = SigninRouteImport.update({
|
|
id: '/signin',
|
|
path: '/signin',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ProfileRoute = ProfileRouteImport.update({
|
|
id: '/profile',
|
|
path: '/profile',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DashboardRouteRoute = DashboardRouteRouteImport.update({
|
|
id: '/dashboard',
|
|
path: '/dashboard',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const UsersIndexRoute = UsersIndexRouteImport.update({
|
|
id: '/users/',
|
|
path: '/users/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DashboardIndexRoute = DashboardIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => DashboardRouteRoute,
|
|
} as any)
|
|
const UsersIdRoute = UsersIdRouteImport.update({
|
|
id: '/users/$id',
|
|
path: '/users/$id',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DashboardUsersRoute = DashboardUsersRouteImport.update({
|
|
id: '/users',
|
|
path: '/users',
|
|
getParentRoute: () => DashboardRouteRoute,
|
|
} as any)
|
|
const DashboardSettingsRoute = DashboardSettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => DashboardRouteRoute,
|
|
} as any)
|
|
const DashboardApikeyRoute = DashboardApikeyRouteImport.update({
|
|
id: '/apikey',
|
|
path: '/apikey',
|
|
getParentRoute: () => DashboardRouteRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/dashboard': typeof DashboardRouteRouteWithChildren
|
|
'/profile': typeof ProfileRoute
|
|
'/signin': typeof SigninRoute
|
|
'/signup': typeof SignupRoute
|
|
'/dashboard/apikey': typeof DashboardApikeyRoute
|
|
'/dashboard/settings': typeof DashboardSettingsRoute
|
|
'/dashboard/users': typeof DashboardUsersRoute
|
|
'/users/$id': typeof UsersIdRoute
|
|
'/dashboard/': typeof DashboardIndexRoute
|
|
'/users/': typeof UsersIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/profile': typeof ProfileRoute
|
|
'/signin': typeof SigninRoute
|
|
'/signup': typeof SignupRoute
|
|
'/dashboard/apikey': typeof DashboardApikeyRoute
|
|
'/dashboard/settings': typeof DashboardSettingsRoute
|
|
'/dashboard/users': typeof DashboardUsersRoute
|
|
'/users/$id': typeof UsersIdRoute
|
|
'/dashboard': typeof DashboardIndexRoute
|
|
'/users': typeof UsersIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/dashboard': typeof DashboardRouteRouteWithChildren
|
|
'/profile': typeof ProfileRoute
|
|
'/signin': typeof SigninRoute
|
|
'/signup': typeof SignupRoute
|
|
'/dashboard/apikey': typeof DashboardApikeyRoute
|
|
'/dashboard/settings': typeof DashboardSettingsRoute
|
|
'/dashboard/users': typeof DashboardUsersRoute
|
|
'/users/$id': typeof UsersIdRoute
|
|
'/dashboard/': typeof DashboardIndexRoute
|
|
'/users/': typeof UsersIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/dashboard'
|
|
| '/profile'
|
|
| '/signin'
|
|
| '/signup'
|
|
| '/dashboard/apikey'
|
|
| '/dashboard/settings'
|
|
| '/dashboard/users'
|
|
| '/users/$id'
|
|
| '/dashboard/'
|
|
| '/users/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/profile'
|
|
| '/signin'
|
|
| '/signup'
|
|
| '/dashboard/apikey'
|
|
| '/dashboard/settings'
|
|
| '/dashboard/users'
|
|
| '/users/$id'
|
|
| '/dashboard'
|
|
| '/users'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/dashboard'
|
|
| '/profile'
|
|
| '/signin'
|
|
| '/signup'
|
|
| '/dashboard/apikey'
|
|
| '/dashboard/settings'
|
|
| '/dashboard/users'
|
|
| '/users/$id'
|
|
| '/dashboard/'
|
|
| '/users/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
DashboardRouteRoute: typeof DashboardRouteRouteWithChildren
|
|
ProfileRoute: typeof ProfileRoute
|
|
SigninRoute: typeof SigninRoute
|
|
SignupRoute: typeof SignupRoute
|
|
UsersIdRoute: typeof UsersIdRoute
|
|
UsersIndexRoute: typeof UsersIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/signup': {
|
|
id: '/signup'
|
|
path: '/signup'
|
|
fullPath: '/signup'
|
|
preLoaderRoute: typeof SignupRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/signin': {
|
|
id: '/signin'
|
|
path: '/signin'
|
|
fullPath: '/signin'
|
|
preLoaderRoute: typeof SigninRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/profile': {
|
|
id: '/profile'
|
|
path: '/profile'
|
|
fullPath: '/profile'
|
|
preLoaderRoute: typeof ProfileRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/dashboard': {
|
|
id: '/dashboard'
|
|
path: '/dashboard'
|
|
fullPath: '/dashboard'
|
|
preLoaderRoute: typeof DashboardRouteRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/users/': {
|
|
id: '/users/'
|
|
path: '/users'
|
|
fullPath: '/users/'
|
|
preLoaderRoute: typeof UsersIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/dashboard/': {
|
|
id: '/dashboard/'
|
|
path: '/'
|
|
fullPath: '/dashboard/'
|
|
preLoaderRoute: typeof DashboardIndexRouteImport
|
|
parentRoute: typeof DashboardRouteRoute
|
|
}
|
|
'/users/$id': {
|
|
id: '/users/$id'
|
|
path: '/users/$id'
|
|
fullPath: '/users/$id'
|
|
preLoaderRoute: typeof UsersIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/dashboard/users': {
|
|
id: '/dashboard/users'
|
|
path: '/users'
|
|
fullPath: '/dashboard/users'
|
|
preLoaderRoute: typeof DashboardUsersRouteImport
|
|
parentRoute: typeof DashboardRouteRoute
|
|
}
|
|
'/dashboard/settings': {
|
|
id: '/dashboard/settings'
|
|
path: '/settings'
|
|
fullPath: '/dashboard/settings'
|
|
preLoaderRoute: typeof DashboardSettingsRouteImport
|
|
parentRoute: typeof DashboardRouteRoute
|
|
}
|
|
'/dashboard/apikey': {
|
|
id: '/dashboard/apikey'
|
|
path: '/apikey'
|
|
fullPath: '/dashboard/apikey'
|
|
preLoaderRoute: typeof DashboardApikeyRouteImport
|
|
parentRoute: typeof DashboardRouteRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface DashboardRouteRouteChildren {
|
|
DashboardApikeyRoute: typeof DashboardApikeyRoute
|
|
DashboardSettingsRoute: typeof DashboardSettingsRoute
|
|
DashboardUsersRoute: typeof DashboardUsersRoute
|
|
DashboardIndexRoute: typeof DashboardIndexRoute
|
|
}
|
|
|
|
const DashboardRouteRouteChildren: DashboardRouteRouteChildren = {
|
|
DashboardApikeyRoute: DashboardApikeyRoute,
|
|
DashboardSettingsRoute: DashboardSettingsRoute,
|
|
DashboardUsersRoute: DashboardUsersRoute,
|
|
DashboardIndexRoute: DashboardIndexRoute,
|
|
}
|
|
|
|
const DashboardRouteRouteWithChildren = DashboardRouteRoute._addFileChildren(
|
|
DashboardRouteRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
DashboardRouteRoute: DashboardRouteRouteWithChildren,
|
|
ProfileRoute: ProfileRoute,
|
|
SigninRoute: SigninRoute,
|
|
SignupRoute: SignupRoute,
|
|
UsersIdRoute: UsersIdRoute,
|
|
UsersIndexRoute: UsersIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|