|
|
|
@@ -0,0 +1,122 @@
|
|
|
|
|
/* 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 DemoTanstackQueryRouteImport } from './routes/demo.tanstack-query'
|
|
|
|
|
import { Route as DemoFormSimpleRouteImport } from './routes/demo.form.simple'
|
|
|
|
|
import { Route as DemoFormAddressRouteImport } from './routes/demo.form.address'
|
|
|
|
|
|
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
|
|
|
id: '/',
|
|
|
|
|
path: '/',
|
|
|
|
|
getParentRoute: () => rootRouteImport,
|
|
|
|
|
} as any)
|
|
|
|
|
const DemoTanstackQueryRoute = DemoTanstackQueryRouteImport.update({
|
|
|
|
|
id: '/demo/tanstack-query',
|
|
|
|
|
path: '/demo/tanstack-query',
|
|
|
|
|
getParentRoute: () => rootRouteImport,
|
|
|
|
|
} as any)
|
|
|
|
|
const DemoFormSimpleRoute = DemoFormSimpleRouteImport.update({
|
|
|
|
|
id: '/demo/form/simple',
|
|
|
|
|
path: '/demo/form/simple',
|
|
|
|
|
getParentRoute: () => rootRouteImport,
|
|
|
|
|
} as any)
|
|
|
|
|
const DemoFormAddressRoute = DemoFormAddressRouteImport.update({
|
|
|
|
|
id: '/demo/form/address',
|
|
|
|
|
path: '/demo/form/address',
|
|
|
|
|
getParentRoute: () => rootRouteImport,
|
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
|
|
export interface FileRoutesByFullPath {
|
|
|
|
|
'/': typeof IndexRoute
|
|
|
|
|
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
|
|
|
|
|
'/demo/form/address': typeof DemoFormAddressRoute
|
|
|
|
|
'/demo/form/simple': typeof DemoFormSimpleRoute
|
|
|
|
|
}
|
|
|
|
|
export interface FileRoutesByTo {
|
|
|
|
|
'/': typeof IndexRoute
|
|
|
|
|
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
|
|
|
|
|
'/demo/form/address': typeof DemoFormAddressRoute
|
|
|
|
|
'/demo/form/simple': typeof DemoFormSimpleRoute
|
|
|
|
|
}
|
|
|
|
|
export interface FileRoutesById {
|
|
|
|
|
__root__: typeof rootRouteImport
|
|
|
|
|
'/': typeof IndexRoute
|
|
|
|
|
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
|
|
|
|
|
'/demo/form/address': typeof DemoFormAddressRoute
|
|
|
|
|
'/demo/form/simple': typeof DemoFormSimpleRoute
|
|
|
|
|
}
|
|
|
|
|
export interface FileRouteTypes {
|
|
|
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
|
|
|
fullPaths:
|
|
|
|
|
| '/'
|
|
|
|
|
| '/demo/tanstack-query'
|
|
|
|
|
| '/demo/form/address'
|
|
|
|
|
| '/demo/form/simple'
|
|
|
|
|
fileRoutesByTo: FileRoutesByTo
|
|
|
|
|
to: '/' | '/demo/tanstack-query' | '/demo/form/address' | '/demo/form/simple'
|
|
|
|
|
id:
|
|
|
|
|
| '__root__'
|
|
|
|
|
| '/'
|
|
|
|
|
| '/demo/tanstack-query'
|
|
|
|
|
| '/demo/form/address'
|
|
|
|
|
| '/demo/form/simple'
|
|
|
|
|
fileRoutesById: FileRoutesById
|
|
|
|
|
}
|
|
|
|
|
export interface RootRouteChildren {
|
|
|
|
|
IndexRoute: typeof IndexRoute
|
|
|
|
|
DemoTanstackQueryRoute: typeof DemoTanstackQueryRoute
|
|
|
|
|
DemoFormAddressRoute: typeof DemoFormAddressRoute
|
|
|
|
|
DemoFormSimpleRoute: typeof DemoFormSimpleRoute
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare module '@tanstack/react-router' {
|
|
|
|
|
interface FileRoutesByPath {
|
|
|
|
|
'/': {
|
|
|
|
|
id: '/'
|
|
|
|
|
path: '/'
|
|
|
|
|
fullPath: '/'
|
|
|
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
|
|
|
parentRoute: typeof rootRouteImport
|
|
|
|
|
}
|
|
|
|
|
'/demo/tanstack-query': {
|
|
|
|
|
id: '/demo/tanstack-query'
|
|
|
|
|
path: '/demo/tanstack-query'
|
|
|
|
|
fullPath: '/demo/tanstack-query'
|
|
|
|
|
preLoaderRoute: typeof DemoTanstackQueryRouteImport
|
|
|
|
|
parentRoute: typeof rootRouteImport
|
|
|
|
|
}
|
|
|
|
|
'/demo/form/simple': {
|
|
|
|
|
id: '/demo/form/simple'
|
|
|
|
|
path: '/demo/form/simple'
|
|
|
|
|
fullPath: '/demo/form/simple'
|
|
|
|
|
preLoaderRoute: typeof DemoFormSimpleRouteImport
|
|
|
|
|
parentRoute: typeof rootRouteImport
|
|
|
|
|
}
|
|
|
|
|
'/demo/form/address': {
|
|
|
|
|
id: '/demo/form/address'
|
|
|
|
|
path: '/demo/form/address'
|
|
|
|
|
fullPath: '/demo/form/address'
|
|
|
|
|
preLoaderRoute: typeof DemoFormAddressRouteImport
|
|
|
|
|
parentRoute: typeof rootRouteImport
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
|
|
|
IndexRoute: IndexRoute,
|
|
|
|
|
DemoTanstackQueryRoute: DemoTanstackQueryRoute,
|
|
|
|
|
DemoFormAddressRoute: DemoFormAddressRoute,
|
|
|
|
|
DemoFormSimpleRoute: DemoFormSimpleRoute,
|
|
|
|
|
}
|
|
|
|
|
export const routeTree = rootRouteImport
|
|
|
|
|
._addFileChildren(rootRouteChildren)
|
|
|
|
|
._addFileTypes<FileRouteTypes>()
|