Open History to see the last commit
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'
13import { Route as StaticRouteImport } from './routes/static'
14β
15const IndexRoute = IndexRouteImport.update({
16 id: '/',
17 path: '/',
18 getParentRoute: () => rootRouteImport,
19} as any)
20const StaticRoute = StaticRouteImport.update({
21 id: '/static',
22 path: '/static',
23 getParentRoute: () => rootRouteImport,
24} as any)
25β
26export interface FileRoutesByFullPath {
27 '/': typeof IndexRoute
28 '/static': typeof StaticRoute
29}
30export interface FileRoutesByTo {
31 '/': typeof IndexRoute
32 '/static': typeof StaticRoute
33}
34export interface FileRoutesById {
35 __root__: typeof rootRouteImport
36 '/': typeof IndexRoute
37 '/static': typeof StaticRoute
38}
39export interface FileRouteTypes {
40 fileRoutesByFullPath: FileRoutesByFullPath
41 fullPaths: '/' | '/static'
42 fileRoutesByTo: FileRoutesByTo
43 to: '/' | '/static'
44 id: '__root__' | '/' | '/static'
45 fileRoutesById: FileRoutesById
46}
47export interface RootRouteChildren {
48 IndexRoute: typeof IndexRoute
49 StaticRoute: typeof StaticRoute
50}
51β
52declare module '@tanstack/solid-router' {
53 interface FileRoutesByPath {
54 '/': {
55 id: '/'
56 path: '/'
57 fullPath: '/'
58 preLoaderRoute: typeof IndexRouteImport
59 parentRoute: typeof rootRouteImport
60 }
61 '/static': {
62 id: '/static'
63 path: '/static'
64 fullPath: '/static'
65 preLoaderRoute: typeof StaticRouteImport
66 parentRoute: typeof rootRouteImport
67 }
68 }
69}
70β
71const rootRouteChildren: RootRouteChildren = {
72 IndexRoute: IndexRoute,
73 StaticRoute: StaticRoute,
74}
75export const routeTree = rootRouteImport
76 ._addFileChildren(rootRouteChildren)
77 ._addFileTypes<FileRouteTypes>()
78β
79import type { getRouter } from './router.tsx'
80import type { createStart } from '@tanstack/solid-start'
81declare module '@tanstack/solid-start' {
82 interface Register {
83 ssr: true
84 router: Awaited<ReturnType<typeof getRouter>>
85 }
86}