282 lines
8.3 KiB
TypeScript
282 lines
8.3 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 IndexRouteImport } from './routes/index'
|
|
import { Route as ComplaintsRouteImport } from './routes/complaints'
|
|
import { Route as ConstantsRouteImport } from './routes/constants'
|
|
import { Route as CouponsRouteImport } from './routes/coupons'
|
|
import { Route as DashboardRouteImport } from './routes/dashboard'
|
|
import { Route as GlobalProductsRouteImport } from './routes/global-products'
|
|
import { Route as GlobalStoresRouteImport } from './routes/global-stores'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as RegionsRouteImport } from './routes/regions'
|
|
import { Route as SendNotificationsRouteImport } from './routes/send-notifications'
|
|
import { Route as StaffRouteImport } from './routes/staff'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ComplaintsRoute = ComplaintsRouteImport.update({
|
|
id: '/complaints',
|
|
path: '/complaints',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ConstantsRoute = ConstantsRouteImport.update({
|
|
id: '/constants',
|
|
path: '/constants',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const CouponsRoute = CouponsRouteImport.update({
|
|
id: '/coupons',
|
|
path: '/coupons',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DashboardRoute = DashboardRouteImport.update({
|
|
id: '/dashboard',
|
|
path: '/dashboard',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const GlobalProductsRoute = GlobalProductsRouteImport.update({
|
|
id: '/global-products',
|
|
path: '/global-products',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const GlobalStoresRoute = GlobalStoresRouteImport.update({
|
|
id: '/global-stores',
|
|
path: '/global-stores',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const RegionsRoute = RegionsRouteImport.update({
|
|
id: '/regions',
|
|
path: '/regions',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SendNotificationsRoute = SendNotificationsRouteImport.update({
|
|
id: '/send-notifications',
|
|
path: '/send-notifications',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const StaffRoute = StaffRouteImport.update({
|
|
id: '/staff',
|
|
path: '/staff',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/complaints': typeof ComplaintsRoute
|
|
'/constants': typeof ConstantsRoute
|
|
'/coupons': typeof CouponsRoute
|
|
'/dashboard': typeof DashboardRoute
|
|
'/global-products': typeof GlobalProductsRoute
|
|
'/global-stores': typeof GlobalStoresRoute
|
|
'/login': typeof LoginRoute
|
|
'/regions': typeof RegionsRoute
|
|
'/send-notifications': typeof SendNotificationsRoute
|
|
'/staff': typeof StaffRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/complaints': typeof ComplaintsRoute
|
|
'/constants': typeof ConstantsRoute
|
|
'/coupons': typeof CouponsRoute
|
|
'/dashboard': typeof DashboardRoute
|
|
'/global-products': typeof GlobalProductsRoute
|
|
'/global-stores': typeof GlobalStoresRoute
|
|
'/login': typeof LoginRoute
|
|
'/regions': typeof RegionsRoute
|
|
'/send-notifications': typeof SendNotificationsRoute
|
|
'/staff': typeof StaffRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/complaints': typeof ComplaintsRoute
|
|
'/constants': typeof ConstantsRoute
|
|
'/coupons': typeof CouponsRoute
|
|
'/dashboard': typeof DashboardRoute
|
|
'/global-products': typeof GlobalProductsRoute
|
|
'/global-stores': typeof GlobalStoresRoute
|
|
'/login': typeof LoginRoute
|
|
'/regions': typeof RegionsRoute
|
|
'/send-notifications': typeof SendNotificationsRoute
|
|
'/staff': typeof StaffRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/complaints'
|
|
| '/constants'
|
|
| '/coupons'
|
|
| '/dashboard'
|
|
| '/global-products'
|
|
| '/global-stores'
|
|
| '/login'
|
|
| '/regions'
|
|
| '/send-notifications'
|
|
| '/staff'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/complaints'
|
|
| '/constants'
|
|
| '/coupons'
|
|
| '/dashboard'
|
|
| '/global-products'
|
|
| '/global-stores'
|
|
| '/login'
|
|
| '/regions'
|
|
| '/send-notifications'
|
|
| '/staff'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/complaints'
|
|
| '/constants'
|
|
| '/coupons'
|
|
| '/dashboard'
|
|
| '/global-products'
|
|
| '/global-stores'
|
|
| '/login'
|
|
| '/regions'
|
|
| '/send-notifications'
|
|
| '/staff'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
ComplaintsRoute: typeof ComplaintsRoute
|
|
ConstantsRoute: typeof ConstantsRoute
|
|
CouponsRoute: typeof CouponsRoute
|
|
DashboardRoute: typeof DashboardRoute
|
|
GlobalProductsRoute: typeof GlobalProductsRoute
|
|
GlobalStoresRoute: typeof GlobalStoresRoute
|
|
LoginRoute: typeof LoginRoute
|
|
RegionsRoute: typeof RegionsRoute
|
|
SendNotificationsRoute: typeof SendNotificationsRoute
|
|
StaffRoute: typeof StaffRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/complaints': {
|
|
id: '/complaints'
|
|
path: '/complaints'
|
|
fullPath: '/complaints'
|
|
preLoaderRoute: typeof ComplaintsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/constants': {
|
|
id: '/constants'
|
|
path: '/constants'
|
|
fullPath: '/constants'
|
|
preLoaderRoute: typeof ConstantsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/coupons': {
|
|
id: '/coupons'
|
|
path: '/coupons'
|
|
fullPath: '/coupons'
|
|
preLoaderRoute: typeof CouponsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/dashboard': {
|
|
id: '/dashboard'
|
|
path: '/dashboard'
|
|
fullPath: '/dashboard'
|
|
preLoaderRoute: typeof DashboardRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/global-products': {
|
|
id: '/global-products'
|
|
path: '/global-products'
|
|
fullPath: '/global-products'
|
|
preLoaderRoute: typeof GlobalProductsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/global-stores': {
|
|
id: '/global-stores'
|
|
path: '/global-stores'
|
|
fullPath: '/global-stores'
|
|
preLoaderRoute: typeof GlobalStoresRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/regions': {
|
|
id: '/regions'
|
|
path: '/regions'
|
|
fullPath: '/regions'
|
|
preLoaderRoute: typeof RegionsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/send-notifications': {
|
|
id: '/send-notifications'
|
|
path: '/send-notifications'
|
|
fullPath: '/send-notifications'
|
|
preLoaderRoute: typeof SendNotificationsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/staff': {
|
|
id: '/staff'
|
|
path: '/staff'
|
|
fullPath: '/staff'
|
|
preLoaderRoute: typeof StaffRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
ComplaintsRoute: ComplaintsRoute,
|
|
ConstantsRoute: ConstantsRoute,
|
|
CouponsRoute: CouponsRoute,
|
|
DashboardRoute: DashboardRoute,
|
|
GlobalProductsRoute: GlobalProductsRoute,
|
|
GlobalStoresRoute: GlobalStoresRoute,
|
|
LoginRoute: LoginRoute,
|
|
RegionsRoute: RegionsRoute,
|
|
SendNotificationsRoute: SendNotificationsRoute,
|
|
StaffRoute: StaffRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { createStart } from '@tanstack/react-start'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
}
|
|
}
|