- add canonical /artist-detail/:source/:id TanStack route - hand the legacy page off through the shell bridge - remove artist-detail branching from generic shell helpers
113 lines
3.5 KiB
TypeScript
113 lines
3.5 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 SplatRouteImport } from './routes/$'
|
|
import { Route as IssuesRouteRouteImport } from './routes/issues/route'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as ArtistDetailSourceIdRouteImport } from './routes/artist-detail/$source/$id'
|
|
|
|
const SplatRoute = SplatRouteImport.update({
|
|
id: '/$',
|
|
path: '/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IssuesRouteRoute = IssuesRouteRouteImport.update({
|
|
id: '/issues',
|
|
path: '/issues',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ArtistDetailSourceIdRoute = ArtistDetailSourceIdRouteImport.update({
|
|
id: '/artist-detail/$source/$id',
|
|
path: '/artist-detail/$source/$id',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/issues': typeof IssuesRouteRoute
|
|
'/$': typeof SplatRoute
|
|
'/artist-detail/$source/$id': typeof ArtistDetailSourceIdRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/issues': typeof IssuesRouteRoute
|
|
'/$': typeof SplatRoute
|
|
'/artist-detail/$source/$id': typeof ArtistDetailSourceIdRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/issues': typeof IssuesRouteRoute
|
|
'/$': typeof SplatRoute
|
|
'/artist-detail/$source/$id': typeof ArtistDetailSourceIdRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths: '/' | '/issues' | '/$' | '/artist-detail/$source/$id'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: '/' | '/issues' | '/$' | '/artist-detail/$source/$id'
|
|
id: '__root__' | '/' | '/issues' | '/$' | '/artist-detail/$source/$id'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
IssuesRouteRoute: typeof IssuesRouteRoute
|
|
SplatRoute: typeof SplatRoute
|
|
ArtistDetailSourceIdRoute: typeof ArtistDetailSourceIdRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/$': {
|
|
id: '/$'
|
|
path: '/$'
|
|
fullPath: '/$'
|
|
preLoaderRoute: typeof SplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/issues': {
|
|
id: '/issues'
|
|
path: '/issues'
|
|
fullPath: '/issues'
|
|
preLoaderRoute: typeof IssuesRouteRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/artist-detail/$source/$id': {
|
|
id: '/artist-detail/$source/$id'
|
|
path: '/artist-detail/$source/$id'
|
|
fullPath: '/artist-detail/$source/$id'
|
|
preLoaderRoute: typeof ArtistDetailSourceIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
IssuesRouteRoute: IssuesRouteRoute,
|
|
SplatRoute: SplatRoute,
|
|
ArtistDetailSourceIdRoute: ArtistDetailSourceIdRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|