96 lines
2.9 KiB
TypeScript
96 lines
2.9 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 AddIndexRouteImport } from './routes/add/index'
|
|
import { Route as EditAnnouncementIdRouteImport } from './routes/edit/$announcementId'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AddIndexRoute = AddIndexRouteImport.update({
|
|
id: '/add/',
|
|
path: '/add/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const EditAnnouncementIdRoute = EditAnnouncementIdRouteImport.update({
|
|
id: '/edit/$announcementId',
|
|
path: '/edit/$announcementId',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/edit/$announcementId': typeof EditAnnouncementIdRoute
|
|
'/add/': typeof AddIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/edit/$announcementId': typeof EditAnnouncementIdRoute
|
|
'/add': typeof AddIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/edit/$announcementId': typeof EditAnnouncementIdRoute
|
|
'/add/': typeof AddIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths: '/' | '/edit/$announcementId' | '/add/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: '/' | '/edit/$announcementId' | '/add'
|
|
id: '__root__' | '/' | '/edit/$announcementId' | '/add/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
EditAnnouncementIdRoute: typeof EditAnnouncementIdRoute
|
|
AddIndexRoute: typeof AddIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/add/': {
|
|
id: '/add/'
|
|
path: '/add'
|
|
fullPath: '/add/'
|
|
preLoaderRoute: typeof AddIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/edit/$announcementId': {
|
|
id: '/edit/$announcementId'
|
|
path: '/edit/$announcementId'
|
|
fullPath: '/edit/$announcementId'
|
|
preLoaderRoute: typeof EditAnnouncementIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
EditAnnouncementIdRoute: EditAnnouncementIdRoute,
|
|
AddIndexRoute: AddIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|