init
This commit is contained in:
370
src/routeTree.gen.ts
Normal file
370
src/routeTree.gen.ts
Normal file
@@ -0,0 +1,370 @@
|
||||
/* 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 LoginRouteImport } from './routes/login'
|
||||
import { Route as AdminRouteRouteImport } from './routes/admin/route'
|
||||
import { Route as userRouteRouteImport } from './routes/(user)/route'
|
||||
import { Route as ExtractIndexRouteImport } from './routes/extract/index'
|
||||
import { Route as AdminIndexRouteImport } from './routes/admin/index'
|
||||
import { Route as userIndexRouteImport } from './routes/(user)/index'
|
||||
import { Route as ExtractListRouteImport } from './routes/extract/list'
|
||||
import { Route as AdminUserIndexRouteImport } from './routes/admin/user/index'
|
||||
import { Route as AdminTenantIndexRouteImport } from './routes/admin/tenant/index'
|
||||
import { Route as AdminConsoleIndexRouteImport } from './routes/admin/console/index'
|
||||
import { Route as userShareIndexRouteImport } from './routes/(user)/share/index'
|
||||
import { Route as userRecycleIndexRouteImport } from './routes/(user)/recycle/index'
|
||||
import { Route as userOutsideIndexRouteImport } from './routes/(user)/outside/index'
|
||||
import { Route as userMyIndexRouteImport } from './routes/(user)/my/index'
|
||||
import { Route as userInsideIndexRouteImport } from './routes/(user)/inside/index'
|
||||
|
||||
const LoginRoute = LoginRouteImport.update({
|
||||
id: '/login',
|
||||
path: '/login',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AdminRouteRoute = AdminRouteRouteImport.update({
|
||||
id: '/admin',
|
||||
path: '/admin',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const userRouteRoute = userRouteRouteImport.update({
|
||||
id: '/(user)',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const ExtractIndexRoute = ExtractIndexRouteImport.update({
|
||||
id: '/extract/',
|
||||
path: '/extract/',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AdminIndexRoute = AdminIndexRouteImport.update({
|
||||
id: '/',
|
||||
path: '/',
|
||||
getParentRoute: () => AdminRouteRoute,
|
||||
} as any)
|
||||
const userIndexRoute = userIndexRouteImport.update({
|
||||
id: '/',
|
||||
path: '/',
|
||||
getParentRoute: () => userRouteRoute,
|
||||
} as any)
|
||||
const ExtractListRoute = ExtractListRouteImport.update({
|
||||
id: '/extract/list',
|
||||
path: '/extract/list',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AdminUserIndexRoute = AdminUserIndexRouteImport.update({
|
||||
id: '/user/',
|
||||
path: '/user/',
|
||||
getParentRoute: () => AdminRouteRoute,
|
||||
} as any)
|
||||
const AdminTenantIndexRoute = AdminTenantIndexRouteImport.update({
|
||||
id: '/tenant/',
|
||||
path: '/tenant/',
|
||||
getParentRoute: () => AdminRouteRoute,
|
||||
} as any)
|
||||
const AdminConsoleIndexRoute = AdminConsoleIndexRouteImport.update({
|
||||
id: '/console/',
|
||||
path: '/console/',
|
||||
getParentRoute: () => AdminRouteRoute,
|
||||
} as any)
|
||||
const userShareIndexRoute = userShareIndexRouteImport.update({
|
||||
id: '/share/',
|
||||
path: '/share/',
|
||||
getParentRoute: () => userRouteRoute,
|
||||
} as any)
|
||||
const userRecycleIndexRoute = userRecycleIndexRouteImport.update({
|
||||
id: '/recycle/',
|
||||
path: '/recycle/',
|
||||
getParentRoute: () => userRouteRoute,
|
||||
} as any)
|
||||
const userOutsideIndexRoute = userOutsideIndexRouteImport.update({
|
||||
id: '/outside/',
|
||||
path: '/outside/',
|
||||
getParentRoute: () => userRouteRoute,
|
||||
} as any)
|
||||
const userMyIndexRoute = userMyIndexRouteImport.update({
|
||||
id: '/my/',
|
||||
path: '/my/',
|
||||
getParentRoute: () => userRouteRoute,
|
||||
} as any)
|
||||
const userInsideIndexRoute = userInsideIndexRouteImport.update({
|
||||
id: '/inside/',
|
||||
path: '/inside/',
|
||||
getParentRoute: () => userRouteRoute,
|
||||
} as any)
|
||||
|
||||
export interface FileRoutesByFullPath {
|
||||
'/admin': typeof AdminRouteRouteWithChildren
|
||||
'/login': typeof LoginRoute
|
||||
'/extract/list': typeof ExtractListRoute
|
||||
'/': typeof userIndexRoute
|
||||
'/admin/': typeof AdminIndexRoute
|
||||
'/extract/': typeof ExtractIndexRoute
|
||||
'/inside/': typeof userInsideIndexRoute
|
||||
'/my/': typeof userMyIndexRoute
|
||||
'/outside/': typeof userOutsideIndexRoute
|
||||
'/recycle/': typeof userRecycleIndexRoute
|
||||
'/share/': typeof userShareIndexRoute
|
||||
'/admin/console/': typeof AdminConsoleIndexRoute
|
||||
'/admin/tenant/': typeof AdminTenantIndexRoute
|
||||
'/admin/user/': typeof AdminUserIndexRoute
|
||||
}
|
||||
export interface FileRoutesByTo {
|
||||
'/login': typeof LoginRoute
|
||||
'/extract/list': typeof ExtractListRoute
|
||||
'/': typeof userIndexRoute
|
||||
'/admin': typeof AdminIndexRoute
|
||||
'/extract': typeof ExtractIndexRoute
|
||||
'/inside': typeof userInsideIndexRoute
|
||||
'/my': typeof userMyIndexRoute
|
||||
'/outside': typeof userOutsideIndexRoute
|
||||
'/recycle': typeof userRecycleIndexRoute
|
||||
'/share': typeof userShareIndexRoute
|
||||
'/admin/console': typeof AdminConsoleIndexRoute
|
||||
'/admin/tenant': typeof AdminTenantIndexRoute
|
||||
'/admin/user': typeof AdminUserIndexRoute
|
||||
}
|
||||
export interface FileRoutesById {
|
||||
__root__: typeof rootRouteImport
|
||||
'/(user)': typeof userRouteRouteWithChildren
|
||||
'/admin': typeof AdminRouteRouteWithChildren
|
||||
'/login': typeof LoginRoute
|
||||
'/extract/list': typeof ExtractListRoute
|
||||
'/(user)/': typeof userIndexRoute
|
||||
'/admin/': typeof AdminIndexRoute
|
||||
'/extract/': typeof ExtractIndexRoute
|
||||
'/(user)/inside/': typeof userInsideIndexRoute
|
||||
'/(user)/my/': typeof userMyIndexRoute
|
||||
'/(user)/outside/': typeof userOutsideIndexRoute
|
||||
'/(user)/recycle/': typeof userRecycleIndexRoute
|
||||
'/(user)/share/': typeof userShareIndexRoute
|
||||
'/admin/console/': typeof AdminConsoleIndexRoute
|
||||
'/admin/tenant/': typeof AdminTenantIndexRoute
|
||||
'/admin/user/': typeof AdminUserIndexRoute
|
||||
}
|
||||
export interface FileRouteTypes {
|
||||
fileRoutesByFullPath: FileRoutesByFullPath
|
||||
fullPaths:
|
||||
| '/admin'
|
||||
| '/login'
|
||||
| '/extract/list'
|
||||
| '/'
|
||||
| '/admin/'
|
||||
| '/extract/'
|
||||
| '/inside/'
|
||||
| '/my/'
|
||||
| '/outside/'
|
||||
| '/recycle/'
|
||||
| '/share/'
|
||||
| '/admin/console/'
|
||||
| '/admin/tenant/'
|
||||
| '/admin/user/'
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to:
|
||||
| '/login'
|
||||
| '/extract/list'
|
||||
| '/'
|
||||
| '/admin'
|
||||
| '/extract'
|
||||
| '/inside'
|
||||
| '/my'
|
||||
| '/outside'
|
||||
| '/recycle'
|
||||
| '/share'
|
||||
| '/admin/console'
|
||||
| '/admin/tenant'
|
||||
| '/admin/user'
|
||||
id:
|
||||
| '__root__'
|
||||
| '/(user)'
|
||||
| '/admin'
|
||||
| '/login'
|
||||
| '/extract/list'
|
||||
| '/(user)/'
|
||||
| '/admin/'
|
||||
| '/extract/'
|
||||
| '/(user)/inside/'
|
||||
| '/(user)/my/'
|
||||
| '/(user)/outside/'
|
||||
| '/(user)/recycle/'
|
||||
| '/(user)/share/'
|
||||
| '/admin/console/'
|
||||
| '/admin/tenant/'
|
||||
| '/admin/user/'
|
||||
fileRoutesById: FileRoutesById
|
||||
}
|
||||
export interface RootRouteChildren {
|
||||
userRouteRoute: typeof userRouteRouteWithChildren
|
||||
AdminRouteRoute: typeof AdminRouteRouteWithChildren
|
||||
LoginRoute: typeof LoginRoute
|
||||
ExtractListRoute: typeof ExtractListRoute
|
||||
ExtractIndexRoute: typeof ExtractIndexRoute
|
||||
}
|
||||
|
||||
declare module '@tanstack/react-router' {
|
||||
interface FileRoutesByPath {
|
||||
'/login': {
|
||||
id: '/login'
|
||||
path: '/login'
|
||||
fullPath: '/login'
|
||||
preLoaderRoute: typeof LoginRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/admin': {
|
||||
id: '/admin'
|
||||
path: '/admin'
|
||||
fullPath: '/admin'
|
||||
preLoaderRoute: typeof AdminRouteRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/(user)': {
|
||||
id: '/(user)'
|
||||
path: ''
|
||||
fullPath: ''
|
||||
preLoaderRoute: typeof userRouteRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/extract/': {
|
||||
id: '/extract/'
|
||||
path: '/extract'
|
||||
fullPath: '/extract/'
|
||||
preLoaderRoute: typeof ExtractIndexRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/admin/': {
|
||||
id: '/admin/'
|
||||
path: '/'
|
||||
fullPath: '/admin/'
|
||||
preLoaderRoute: typeof AdminIndexRouteImport
|
||||
parentRoute: typeof AdminRouteRoute
|
||||
}
|
||||
'/(user)/': {
|
||||
id: '/(user)/'
|
||||
path: '/'
|
||||
fullPath: '/'
|
||||
preLoaderRoute: typeof userIndexRouteImport
|
||||
parentRoute: typeof userRouteRoute
|
||||
}
|
||||
'/extract/list': {
|
||||
id: '/extract/list'
|
||||
path: '/extract/list'
|
||||
fullPath: '/extract/list'
|
||||
preLoaderRoute: typeof ExtractListRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/admin/user/': {
|
||||
id: '/admin/user/'
|
||||
path: '/user'
|
||||
fullPath: '/admin/user/'
|
||||
preLoaderRoute: typeof AdminUserIndexRouteImport
|
||||
parentRoute: typeof AdminRouteRoute
|
||||
}
|
||||
'/admin/tenant/': {
|
||||
id: '/admin/tenant/'
|
||||
path: '/tenant'
|
||||
fullPath: '/admin/tenant/'
|
||||
preLoaderRoute: typeof AdminTenantIndexRouteImport
|
||||
parentRoute: typeof AdminRouteRoute
|
||||
}
|
||||
'/admin/console/': {
|
||||
id: '/admin/console/'
|
||||
path: '/console'
|
||||
fullPath: '/admin/console/'
|
||||
preLoaderRoute: typeof AdminConsoleIndexRouteImport
|
||||
parentRoute: typeof AdminRouteRoute
|
||||
}
|
||||
'/(user)/share/': {
|
||||
id: '/(user)/share/'
|
||||
path: '/share'
|
||||
fullPath: '/share/'
|
||||
preLoaderRoute: typeof userShareIndexRouteImport
|
||||
parentRoute: typeof userRouteRoute
|
||||
}
|
||||
'/(user)/recycle/': {
|
||||
id: '/(user)/recycle/'
|
||||
path: '/recycle'
|
||||
fullPath: '/recycle/'
|
||||
preLoaderRoute: typeof userRecycleIndexRouteImport
|
||||
parentRoute: typeof userRouteRoute
|
||||
}
|
||||
'/(user)/outside/': {
|
||||
id: '/(user)/outside/'
|
||||
path: '/outside'
|
||||
fullPath: '/outside/'
|
||||
preLoaderRoute: typeof userOutsideIndexRouteImport
|
||||
parentRoute: typeof userRouteRoute
|
||||
}
|
||||
'/(user)/my/': {
|
||||
id: '/(user)/my/'
|
||||
path: '/my'
|
||||
fullPath: '/my/'
|
||||
preLoaderRoute: typeof userMyIndexRouteImport
|
||||
parentRoute: typeof userRouteRoute
|
||||
}
|
||||
'/(user)/inside/': {
|
||||
id: '/(user)/inside/'
|
||||
path: '/inside'
|
||||
fullPath: '/inside/'
|
||||
preLoaderRoute: typeof userInsideIndexRouteImport
|
||||
parentRoute: typeof userRouteRoute
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface userRouteRouteChildren {
|
||||
userIndexRoute: typeof userIndexRoute
|
||||
userInsideIndexRoute: typeof userInsideIndexRoute
|
||||
userMyIndexRoute: typeof userMyIndexRoute
|
||||
userOutsideIndexRoute: typeof userOutsideIndexRoute
|
||||
userRecycleIndexRoute: typeof userRecycleIndexRoute
|
||||
userShareIndexRoute: typeof userShareIndexRoute
|
||||
}
|
||||
|
||||
const userRouteRouteChildren: userRouteRouteChildren = {
|
||||
userIndexRoute: userIndexRoute,
|
||||
userInsideIndexRoute: userInsideIndexRoute,
|
||||
userMyIndexRoute: userMyIndexRoute,
|
||||
userOutsideIndexRoute: userOutsideIndexRoute,
|
||||
userRecycleIndexRoute: userRecycleIndexRoute,
|
||||
userShareIndexRoute: userShareIndexRoute,
|
||||
}
|
||||
|
||||
const userRouteRouteWithChildren = userRouteRoute._addFileChildren(
|
||||
userRouteRouteChildren,
|
||||
)
|
||||
|
||||
interface AdminRouteRouteChildren {
|
||||
AdminIndexRoute: typeof AdminIndexRoute
|
||||
AdminConsoleIndexRoute: typeof AdminConsoleIndexRoute
|
||||
AdminTenantIndexRoute: typeof AdminTenantIndexRoute
|
||||
AdminUserIndexRoute: typeof AdminUserIndexRoute
|
||||
}
|
||||
|
||||
const AdminRouteRouteChildren: AdminRouteRouteChildren = {
|
||||
AdminIndexRoute: AdminIndexRoute,
|
||||
AdminConsoleIndexRoute: AdminConsoleIndexRoute,
|
||||
AdminTenantIndexRoute: AdminTenantIndexRoute,
|
||||
AdminUserIndexRoute: AdminUserIndexRoute,
|
||||
}
|
||||
|
||||
const AdminRouteRouteWithChildren = AdminRouteRoute._addFileChildren(
|
||||
AdminRouteRouteChildren,
|
||||
)
|
||||
|
||||
const rootRouteChildren: RootRouteChildren = {
|
||||
userRouteRoute: userRouteRouteWithChildren,
|
||||
AdminRouteRoute: AdminRouteRouteWithChildren,
|
||||
LoginRoute: LoginRoute,
|
||||
ExtractListRoute: ExtractListRoute,
|
||||
ExtractIndexRoute: ExtractIndexRoute,
|
||||
}
|
||||
export const routeTree = rootRouteImport
|
||||
._addFileChildren(rootRouteChildren)
|
||||
._addFileTypes<FileRouteTypes>()
|
||||
Reference in New Issue
Block a user