Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

routeTree.gen.ts

88 lines1.8 KB

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 Routes
12​
13import { Route as rootRoute } from './routes/__root'
14import { Route as IndexImport } from './routes/index'
15​
16// Create/Update Routes
17​
18const IndexRoute = IndexImport.update({
19 id: '/',
20 path: '/',
21 getParentRoute: () => rootRoute,
22} as any)
23​
24// Populate the FileRoutesByPath interface
25​
26declare module '@tanstack/react-router' {
27 interface FileRoutesByPath {
28 '/': {
29 id: '/'
30 path: '/'
31 fullPath: '/'
32 preLoaderRoute: typeof IndexImport
33 parentRoute: typeof rootRoute
34 }
35 }
37​
38// Create and export the route tree
39​
40export interface FileRoutesByFullPath {
41 '/': typeof IndexRoute
43​
44export interface FileRoutesByTo {
45 '/': typeof IndexRoute
47​
48export interface FileRoutesById {
49 __root__: typeof rootRoute
50 '/': typeof IndexRoute
52​
53export interface FileRouteTypes {
54 fileRoutesByFullPath: FileRoutesByFullPath
55 fullPaths: '/'
56 fileRoutesByTo: FileRoutesByTo
57 to: '/'
58 id: '__root__' | '/'
59 fileRoutesById: FileRoutesById
61​
62export interface RootRouteChildren {
63 IndexRoute: typeof IndexRoute
65​
66const rootRouteChildren: RootRouteChildren = {
67 IndexRoute: IndexRoute,
69​
70export const routeTree = rootRoute
71 ._addFileChildren(rootRouteChildren)
72 ._addFileTypes<FileRouteTypes>()
73​
74/* ROUTE_MANIFEST_START
76 "routes": {
77 "__root__": {
78 "filePath": "__root.tsx",
79 "children": [
80 "/"
81 ]
82 },
83 "/": {
84 "filePath": "index.tsx"
85 }
86 }
88ROUTE_MANIFEST_END */