Skip to content

Commit 45ac0f0

Browse files
committed
chore: prep
1 parent 964203d commit 45ac0f0

File tree

2 files changed

+104
-82
lines changed

2 files changed

+104
-82
lines changed

apps/docs/src/routeTree.gen.ts

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
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+
import { Route as DocsSplatRouteImport } from './routes/docs/$'
14+
import { Route as ApiSearchRouteImport } from './routes/api/search'
15+
16+
const IndexRoute = IndexRouteImport.update({
17+
id: '/',
18+
path: '/',
19+
getParentRoute: () => rootRouteImport,
20+
} as any)
21+
const DocsSplatRoute = DocsSplatRouteImport.update({
22+
id: '/docs/$',
23+
path: '/docs/$',
24+
getParentRoute: () => rootRouteImport,
25+
} as any)
26+
const ApiSearchRoute = ApiSearchRouteImport.update({
27+
id: '/api/search',
28+
path: '/api/search',
29+
getParentRoute: () => rootRouteImport,
30+
} as any)
31+
32+
export interface FileRoutesByFullPath {
33+
'/': typeof IndexRoute
34+
'/api/search': typeof ApiSearchRoute
35+
'/docs/$': typeof DocsSplatRoute
36+
}
37+
export interface FileRoutesByTo {
38+
'/': typeof IndexRoute
39+
'/api/search': typeof ApiSearchRoute
40+
'/docs/$': typeof DocsSplatRoute
41+
}
42+
export interface FileRoutesById {
43+
__root__: typeof rootRouteImport
44+
'/': typeof IndexRoute
45+
'/api/search': typeof ApiSearchRoute
46+
'/docs/$': typeof DocsSplatRoute
47+
}
48+
export interface FileRouteTypes {
49+
fileRoutesByFullPath: FileRoutesByFullPath
50+
fullPaths: '/' | '/api/search' | '/docs/$'
51+
fileRoutesByTo: FileRoutesByTo
52+
to: '/' | '/api/search' | '/docs/$'
53+
id: '__root__' | '/' | '/api/search' | '/docs/$'
54+
fileRoutesById: FileRoutesById
55+
}
56+
export interface RootRouteChildren {
57+
IndexRoute: typeof IndexRoute
58+
ApiSearchRoute: typeof ApiSearchRoute
59+
DocsSplatRoute: typeof DocsSplatRoute
60+
}
61+
62+
declare module '@tanstack/react-router' {
63+
interface FileRoutesByPath {
64+
'/': {
65+
id: '/'
66+
path: '/'
67+
fullPath: '/'
68+
preLoaderRoute: typeof IndexRouteImport
69+
parentRoute: typeof rootRouteImport
70+
}
71+
'/docs/$': {
72+
id: '/docs/$'
73+
path: '/docs/$'
74+
fullPath: '/docs/$'
75+
preLoaderRoute: typeof DocsSplatRouteImport
76+
parentRoute: typeof rootRouteImport
77+
}
78+
'/api/search': {
79+
id: '/api/search'
80+
path: '/api/search'
81+
fullPath: '/api/search'
82+
preLoaderRoute: typeof ApiSearchRouteImport
83+
parentRoute: typeof rootRouteImport
84+
}
85+
}
86+
}
87+
88+
const rootRouteChildren: RootRouteChildren = {
89+
IndexRoute: IndexRoute,
90+
ApiSearchRoute: ApiSearchRoute,
91+
DocsSplatRoute: DocsSplatRoute,
92+
}
93+
export const routeTree = rootRouteImport
94+
._addFileChildren(rootRouteChildren)
95+
._addFileTypes<FileRouteTypes>()
96+
97+
import type { getRouter } from './router.tsx'
98+
import type { createStart } from '@tanstack/react-start'
99+
declare module '@tanstack/react-start' {
100+
interface Register {
101+
ssr: true
102+
router: Awaited<ReturnType<typeof getRouter>>
103+
}
104+
}

0 commit comments

Comments
 (0)