Changes
Co-authored-by: yusuf-intern <248833874+yusuf-intern@users.noreply.github.com>
This commit is contained in:
@@ -9,8 +9,56 @@
|
|||||||
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
// 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 rootRouteImport } from './routes/__root'
|
||||||
|
import { Route as SolutionsRouteImport } from './routes/solutions'
|
||||||
|
import { Route as RentalRouteImport } from './routes/rental'
|
||||||
|
import { Route as ProjectsRouteImport } from './routes/projects'
|
||||||
|
import { Route as ProductsRouteImport } from './routes/products'
|
||||||
|
import { Route as EnquiryRouteImport } from './routes/enquiry'
|
||||||
|
import { Route as ContactRouteImport } from './routes/contact'
|
||||||
|
import { Route as ApplicationsRouteImport } from './routes/applications'
|
||||||
|
import { Route as AboutRouteImport } from './routes/about'
|
||||||
import { Route as IndexRouteImport } from './routes/index'
|
import { Route as IndexRouteImport } from './routes/index'
|
||||||
|
|
||||||
|
const SolutionsRoute = SolutionsRouteImport.update({
|
||||||
|
id: '/solutions',
|
||||||
|
path: '/solutions',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const RentalRoute = RentalRouteImport.update({
|
||||||
|
id: '/rental',
|
||||||
|
path: '/rental',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const ProjectsRoute = ProjectsRouteImport.update({
|
||||||
|
id: '/projects',
|
||||||
|
path: '/projects',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const ProductsRoute = ProductsRouteImport.update({
|
||||||
|
id: '/products',
|
||||||
|
path: '/products',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const EnquiryRoute = EnquiryRouteImport.update({
|
||||||
|
id: '/enquiry',
|
||||||
|
path: '/enquiry',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const ContactRoute = ContactRouteImport.update({
|
||||||
|
id: '/contact',
|
||||||
|
path: '/contact',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const ApplicationsRoute = ApplicationsRouteImport.update({
|
||||||
|
id: '/applications',
|
||||||
|
path: '/applications',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
|
const AboutRoute = AboutRouteImport.update({
|
||||||
|
id: '/about',
|
||||||
|
path: '/about',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
const IndexRoute = IndexRouteImport.update({
|
const IndexRoute = IndexRouteImport.update({
|
||||||
id: '/',
|
id: '/',
|
||||||
path: '/',
|
path: '/',
|
||||||
@@ -19,28 +67,144 @@ const IndexRoute = IndexRouteImport.update({
|
|||||||
|
|
||||||
export interface FileRoutesByFullPath {
|
export interface FileRoutesByFullPath {
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute
|
||||||
|
'/about': typeof AboutRoute
|
||||||
|
'/applications': typeof ApplicationsRoute
|
||||||
|
'/contact': typeof ContactRoute
|
||||||
|
'/enquiry': typeof EnquiryRoute
|
||||||
|
'/products': typeof ProductsRoute
|
||||||
|
'/projects': typeof ProjectsRoute
|
||||||
|
'/rental': typeof RentalRoute
|
||||||
|
'/solutions': typeof SolutionsRoute
|
||||||
}
|
}
|
||||||
export interface FileRoutesByTo {
|
export interface FileRoutesByTo {
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute
|
||||||
|
'/about': typeof AboutRoute
|
||||||
|
'/applications': typeof ApplicationsRoute
|
||||||
|
'/contact': typeof ContactRoute
|
||||||
|
'/enquiry': typeof EnquiryRoute
|
||||||
|
'/products': typeof ProductsRoute
|
||||||
|
'/projects': typeof ProjectsRoute
|
||||||
|
'/rental': typeof RentalRoute
|
||||||
|
'/solutions': typeof SolutionsRoute
|
||||||
}
|
}
|
||||||
export interface FileRoutesById {
|
export interface FileRoutesById {
|
||||||
__root__: typeof rootRouteImport
|
__root__: typeof rootRouteImport
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute
|
||||||
|
'/about': typeof AboutRoute
|
||||||
|
'/applications': typeof ApplicationsRoute
|
||||||
|
'/contact': typeof ContactRoute
|
||||||
|
'/enquiry': typeof EnquiryRoute
|
||||||
|
'/products': typeof ProductsRoute
|
||||||
|
'/projects': typeof ProjectsRoute
|
||||||
|
'/rental': typeof RentalRoute
|
||||||
|
'/solutions': typeof SolutionsRoute
|
||||||
}
|
}
|
||||||
export interface FileRouteTypes {
|
export interface FileRouteTypes {
|
||||||
fileRoutesByFullPath: FileRoutesByFullPath
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||||||
fullPaths: '/'
|
fullPaths:
|
||||||
|
| '/'
|
||||||
|
| '/about'
|
||||||
|
| '/applications'
|
||||||
|
| '/contact'
|
||||||
|
| '/enquiry'
|
||||||
|
| '/products'
|
||||||
|
| '/projects'
|
||||||
|
| '/rental'
|
||||||
|
| '/solutions'
|
||||||
fileRoutesByTo: FileRoutesByTo
|
fileRoutesByTo: FileRoutesByTo
|
||||||
to: '/'
|
to:
|
||||||
id: '__root__' | '/'
|
| '/'
|
||||||
|
| '/about'
|
||||||
|
| '/applications'
|
||||||
|
| '/contact'
|
||||||
|
| '/enquiry'
|
||||||
|
| '/products'
|
||||||
|
| '/projects'
|
||||||
|
| '/rental'
|
||||||
|
| '/solutions'
|
||||||
|
id:
|
||||||
|
| '__root__'
|
||||||
|
| '/'
|
||||||
|
| '/about'
|
||||||
|
| '/applications'
|
||||||
|
| '/contact'
|
||||||
|
| '/enquiry'
|
||||||
|
| '/products'
|
||||||
|
| '/projects'
|
||||||
|
| '/rental'
|
||||||
|
| '/solutions'
|
||||||
fileRoutesById: FileRoutesById
|
fileRoutesById: FileRoutesById
|
||||||
}
|
}
|
||||||
export interface RootRouteChildren {
|
export interface RootRouteChildren {
|
||||||
IndexRoute: typeof IndexRoute
|
IndexRoute: typeof IndexRoute
|
||||||
|
AboutRoute: typeof AboutRoute
|
||||||
|
ApplicationsRoute: typeof ApplicationsRoute
|
||||||
|
ContactRoute: typeof ContactRoute
|
||||||
|
EnquiryRoute: typeof EnquiryRoute
|
||||||
|
ProductsRoute: typeof ProductsRoute
|
||||||
|
ProjectsRoute: typeof ProjectsRoute
|
||||||
|
RentalRoute: typeof RentalRoute
|
||||||
|
SolutionsRoute: typeof SolutionsRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module '@tanstack/react-router' {
|
declare module '@tanstack/react-router' {
|
||||||
interface FileRoutesByPath {
|
interface FileRoutesByPath {
|
||||||
|
'/solutions': {
|
||||||
|
id: '/solutions'
|
||||||
|
path: '/solutions'
|
||||||
|
fullPath: '/solutions'
|
||||||
|
preLoaderRoute: typeof SolutionsRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/rental': {
|
||||||
|
id: '/rental'
|
||||||
|
path: '/rental'
|
||||||
|
fullPath: '/rental'
|
||||||
|
preLoaderRoute: typeof RentalRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/projects': {
|
||||||
|
id: '/projects'
|
||||||
|
path: '/projects'
|
||||||
|
fullPath: '/projects'
|
||||||
|
preLoaderRoute: typeof ProjectsRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/products': {
|
||||||
|
id: '/products'
|
||||||
|
path: '/products'
|
||||||
|
fullPath: '/products'
|
||||||
|
preLoaderRoute: typeof ProductsRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/enquiry': {
|
||||||
|
id: '/enquiry'
|
||||||
|
path: '/enquiry'
|
||||||
|
fullPath: '/enquiry'
|
||||||
|
preLoaderRoute: typeof EnquiryRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/contact': {
|
||||||
|
id: '/contact'
|
||||||
|
path: '/contact'
|
||||||
|
fullPath: '/contact'
|
||||||
|
preLoaderRoute: typeof ContactRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/applications': {
|
||||||
|
id: '/applications'
|
||||||
|
path: '/applications'
|
||||||
|
fullPath: '/applications'
|
||||||
|
preLoaderRoute: typeof ApplicationsRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
|
'/about': {
|
||||||
|
id: '/about'
|
||||||
|
path: '/about'
|
||||||
|
fullPath: '/about'
|
||||||
|
preLoaderRoute: typeof AboutRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
'/': {
|
'/': {
|
||||||
id: '/'
|
id: '/'
|
||||||
path: '/'
|
path: '/'
|
||||||
@@ -53,6 +217,14 @@ declare module '@tanstack/react-router' {
|
|||||||
|
|
||||||
const rootRouteChildren: RootRouteChildren = {
|
const rootRouteChildren: RootRouteChildren = {
|
||||||
IndexRoute: IndexRoute,
|
IndexRoute: IndexRoute,
|
||||||
|
AboutRoute: AboutRoute,
|
||||||
|
ApplicationsRoute: ApplicationsRoute,
|
||||||
|
ContactRoute: ContactRoute,
|
||||||
|
EnquiryRoute: EnquiryRoute,
|
||||||
|
ProductsRoute: ProductsRoute,
|
||||||
|
ProjectsRoute: ProjectsRoute,
|
||||||
|
RentalRoute: RentalRoute,
|
||||||
|
SolutionsRoute: SolutionsRoute,
|
||||||
}
|
}
|
||||||
export const routeTree = rootRouteImport
|
export const routeTree = rootRouteImport
|
||||||
._addFileChildren(rootRouteChildren)
|
._addFileChildren(rootRouteChildren)
|
||||||
|
|||||||
Reference in New Issue
Block a user