Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* 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 './renderer/routes/__root'
- import { Route as ProtectedRouteImport } from './renderer/routes/protected'
- import { Route as IndexRouteImport } from './renderer/routes/index'
- import { Route as HistoryIndexRouteImport } from './renderer/routes/history/index'
- import { Route as ExampleIdRouteImport } from './renderer/routes/example.$id'
- import { Route as AuthSignUpRouteImport } from './renderer/routes/auth/signUp'
- import { Route as AuthSignInRouteImport } from './renderer/routes/auth/signIn'
- const ProtectedRoute = ProtectedRouteImport.update({
- id: '/protected',
- path: '/protected',
- getParentRoute: () => rootRouteImport,
- } as any)
- const IndexRoute = IndexRouteImport.update({
- id: '/',
- path: '/',
- getParentRoute: () => rootRouteImport,
- } as any)
- const HistoryIndexRoute = HistoryIndexRouteImport.update({
- id: '/history/',
- path: '/history/',
- getParentRoute: () => rootRouteImport,
- } as any)
- const ExampleIdRoute = ExampleIdRouteImport.update({
- id: '/example/$id',
- path: '/example/$id',
- getParentRoute: () => rootRouteImport,
- } as any)
- const AuthSignUpRoute = AuthSignUpRouteImport.update({
- id: '/auth/signUp',
- path: '/auth/signUp',
- getParentRoute: () => rootRouteImport,
- } as any)
- const AuthSignInRoute = AuthSignInRouteImport.update({
- id: '/auth/signIn',
- path: '/auth/signIn',
- getParentRoute: () => rootRouteImport,
- } as any)
- export interface FileRoutesByFullPath {
- '/': typeof IndexRoute
- '/protected': typeof ProtectedRoute
- '/auth/signIn': typeof AuthSignInRoute
- '/auth/signUp': typeof AuthSignUpRoute
- '/example/$id': typeof ExampleIdRoute
- '/history': typeof HistoryIndexRoute
- }
- export interface FileRoutesByTo {
- '/': typeof IndexRoute
- '/protected': typeof ProtectedRoute
- '/auth/signIn': typeof AuthSignInRoute
- '/auth/signUp': typeof AuthSignUpRoute
- '/example/$id': typeof ExampleIdRoute
- '/history': typeof HistoryIndexRoute
- }
- export interface FileRoutesById {
- __root__: typeof rootRouteImport
- '/': typeof IndexRoute
- '/protected': typeof ProtectedRoute
- '/auth/signIn': typeof AuthSignInRoute
- '/auth/signUp': typeof AuthSignUpRoute
- '/example/$id': typeof ExampleIdRoute
- '/history/': typeof HistoryIndexRoute
- }
- export interface FileRouteTypes {
- fileRoutesByFullPath: FileRoutesByFullPath
- fullPaths:
- | '/'
- | '/protected'
- | '/auth/signIn'
- | '/auth/signUp'
- | '/example/$id'
- | '/history'
- fileRoutesByTo: FileRoutesByTo
- to:
- | '/'
- | '/protected'
- | '/auth/signIn'
- | '/auth/signUp'
- | '/example/$id'
- | '/history'
- id:
- | '__root__'
- | '/'
- | '/protected'
- | '/auth/signIn'
- | '/auth/signUp'
- | '/example/$id'
- | '/history/'
- fileRoutesById: FileRoutesById
- }
- export interface RootRouteChildren {
- IndexRoute: typeof IndexRoute
- ProtectedRoute: typeof ProtectedRoute
- AuthSignInRoute: typeof AuthSignInRoute
- AuthSignUpRoute: typeof AuthSignUpRoute
- ExampleIdRoute: typeof ExampleIdRoute
- HistoryIndexRoute: typeof HistoryIndexRoute
- }
- declare module '@tanstack/react-router' {
- interface FileRoutesByPath {
- '/protected': {
- id: '/protected'
- path: '/protected'
- fullPath: '/protected'
- preLoaderRoute: typeof ProtectedRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/': {
- id: '/'
- path: '/'
- fullPath: '/'
- preLoaderRoute: typeof IndexRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/history/': {
- id: '/history/'
- path: '/history'
- fullPath: '/history'
- preLoaderRoute: typeof HistoryIndexRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/example/$id': {
- id: '/example/$id'
- path: '/example/$id'
- fullPath: '/example/$id'
- preLoaderRoute: typeof ExampleIdRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/auth/signUp': {
- id: '/auth/signUp'
- path: '/auth/signUp'
- fullPath: '/auth/signUp'
- preLoaderRoute: typeof AuthSignUpRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/auth/signIn': {
- id: '/auth/signIn'
- path: '/auth/signIn'
- fullPath: '/auth/signIn'
- preLoaderRoute: typeof AuthSignInRouteImport
- parentRoute: typeof rootRouteImport
- }
- }
- }
- const rootRouteChildren: RootRouteChildren = {
- IndexRoute: IndexRoute,
- ProtectedRoute: ProtectedRoute,
- AuthSignInRoute: AuthSignInRoute,
- AuthSignUpRoute: AuthSignUpRoute,
- ExampleIdRoute: ExampleIdRoute,
- HistoryIndexRoute: HistoryIndexRoute,
- }
- export const routeTree = rootRouteImport
- ._addFileChildren(rootRouteChildren)
- ._addFileTypes<FileRouteTypes>()
Add Comment
Please, Sign In to add comment