|
| 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 | + |
| 11 | +import { Route as rootRouteImport } from './routes/__root' |
| 12 | +import { Route as IndexRouteImport } from './routes/index' |
| 13 | + |
| 14 | +const IndexRoute = IndexRouteImport.update({ |
| 15 | + id: '/', |
| 16 | + path: '/', |
| 17 | + getParentRoute: () => rootRouteImport, |
| 18 | +} as any) |
| 19 | + |
| 20 | +export interface FileRoutesByFullPath { |
| 21 | + '/': typeof IndexRoute |
| 22 | +} |
| 23 | +export interface FileRoutesByTo { |
| 24 | + '/': typeof IndexRoute |
| 25 | +} |
| 26 | +export interface FileRoutesById { |
| 27 | + __root__: typeof rootRouteImport |
| 28 | + '/': typeof IndexRoute |
| 29 | +} |
| 30 | +export interface FileRouteTypes { |
| 31 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 32 | + fullPaths: '/' |
| 33 | + fileRoutesByTo: FileRoutesByTo |
| 34 | + to: '/' |
| 35 | + id: '__root__' | '/' |
| 36 | + fileRoutesById: FileRoutesById |
| 37 | +} |
| 38 | +export interface RootRouteChildren { |
| 39 | + IndexRoute: typeof IndexRoute |
| 40 | +} |
| 41 | + |
| 42 | +declare module '@tanstack/solid-router' { |
| 43 | + interface FileRoutesByPath { |
| 44 | + '/': { |
| 45 | + id: '/' |
| 46 | + path: '/' |
| 47 | + fullPath: '/' |
| 48 | + preLoaderRoute: typeof IndexRouteImport |
| 49 | + parentRoute: typeof rootRouteImport |
| 50 | + } |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +const rootRouteChildren: RootRouteChildren = { |
| 55 | + IndexRoute: IndexRoute, |
| 56 | +} |
| 57 | +export const routeTree = rootRouteImport |
| 58 | + ._addFileChildren(rootRouteChildren) |
| 59 | + ._addFileTypes<FileRouteTypes>() |
| 60 | + |
| 61 | +import type { getRouter } from './router.tsx' |
| 62 | +import type { createStart } from '@tanstack/solid-start' |
| 63 | +declare module '@tanstack/solid-start' { |
| 64 | + interface Register { |
| 65 | + ssr: true |
| 66 | + router: Awaited<ReturnType<typeof getRouter>> |
| 67 | + } |
| 68 | +} |
0 commit comments