alternative tangled frontend (extremely wip)
1/* eslint-disable */
2
3// @ts-nocheck
4
5// noinspection JSUnusedGlobalSymbols
6
7// This file was automatically generated by TanStack Router.
8// You should NOT make any changes in this file as it will be overwritten.
9// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
10
11import { Route as rootRouteImport } from './routes/__root'
12import { Route as IndexRouteImport } from './routes/index'
13
14const IndexRoute = IndexRouteImport.update({
15 id: '/',
16 path: '/',
17 getParentRoute: () => rootRouteImport,
18} as any)
19
20export interface FileRoutesByFullPath {
21 '/': typeof IndexRoute
22}
23export interface FileRoutesByTo {
24 '/': typeof IndexRoute
25}
26export interface FileRoutesById {
27 __root__: typeof rootRouteImport
28 '/': typeof IndexRoute
29}
30export interface FileRouteTypes {
31 fileRoutesByFullPath: FileRoutesByFullPath
32 fullPaths: '/'
33 fileRoutesByTo: FileRoutesByTo
34 to: '/'
35 id: '__root__' | '/'
36 fileRoutesById: FileRoutesById
37}
38export interface RootRouteChildren {
39 IndexRoute: typeof IndexRoute
40}
41
42declare module '@tanstack/react-router' {
43 interface FileRoutesByPath {
44 '/': {
45 id: '/'
46 path: '/'
47 fullPath: '/'
48 preLoaderRoute: typeof IndexRouteImport
49 parentRoute: typeof rootRouteImport
50 }
51 }
52}
53
54const rootRouteChildren: RootRouteChildren = {
55 IndexRoute: IndexRoute,
56}
57export const routeTree = rootRouteImport
58 ._addFileChildren(rootRouteChildren)
59 ._addFileTypes<FileRouteTypes>()
60
61import type { getRouter } from './router.tsx'
62import type { createStart } from '@tanstack/react-start'
63declare module '@tanstack/react-start' {
64 interface Register {
65 ssr: true
66 router: Awaited<ReturnType<typeof getRouter>>
67 }
68}