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

routeTree.gen.ts

104 lines3.2 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​
11import { Route as rootRouteImport } from './routes/__root'
12import { Route as IndexRouteImport } from './routes/index'
13import { Route as ApiMarbleSplatRouteImport } from './routes/api.marble-splat'
14import { Route as ApiFalProxyRouteImport } from './routes/api.fal.proxy'
15​
16const IndexRoute = IndexRouteImport.update({
17 id: '/',
18 path: '/',
19 getParentRoute: () => rootRouteImport,
20} as any)
21const ApiMarbleSplatRoute = ApiMarbleSplatRouteImport.update({
22 id: '/api/marble-splat',
23 path: '/api/marble-splat',
24 getParentRoute: () => rootRouteImport,
25} as any)
26const ApiFalProxyRoute = ApiFalProxyRouteImport.update({
27 id: '/api/fal/proxy',
28 path: '/api/fal/proxy',
29 getParentRoute: () => rootRouteImport,
30} as any)
31​
32export interface FileRoutesByFullPath {
33 '/': typeof IndexRoute
34 '/api/marble-splat': typeof ApiMarbleSplatRoute
35 '/api/fal/proxy': typeof ApiFalProxyRoute
37export interface FileRoutesByTo {
38 '/': typeof IndexRoute
39 '/api/marble-splat': typeof ApiMarbleSplatRoute
40 '/api/fal/proxy': typeof ApiFalProxyRoute
42export interface FileRoutesById {
43 __root__: typeof rootRouteImport
44 '/': typeof IndexRoute
45 '/api/marble-splat': typeof ApiMarbleSplatRoute
46 '/api/fal/proxy': typeof ApiFalProxyRoute
48export interface FileRouteTypes {
49 fileRoutesByFullPath: FileRoutesByFullPath
50 fullPaths: '/' | '/api/marble-splat' | '/api/fal/proxy'
51 fileRoutesByTo: FileRoutesByTo
52 to: '/' | '/api/marble-splat' | '/api/fal/proxy'
53 id: '__root__' | '/' | '/api/marble-splat' | '/api/fal/proxy'
54 fileRoutesById: FileRoutesById
56export interface RootRouteChildren {
57 IndexRoute: typeof IndexRoute
58 ApiMarbleSplatRoute: typeof ApiMarbleSplatRoute
59 ApiFalProxyRoute: typeof ApiFalProxyRoute
61​
62declare module '@tanstack/react-router' {
63 interface FileRoutesByPath {
64 '/': {
65 id: '/'
66 path: '/'
67 fullPath: '/'
68 preLoaderRoute: typeof IndexRouteImport
69 parentRoute: typeof rootRouteImport
70 }
71 '/api/marble-splat': {
72 id: '/api/marble-splat'
73 path: '/api/marble-splat'
74 fullPath: '/api/marble-splat'
75 preLoaderRoute: typeof ApiMarbleSplatRouteImport
76 parentRoute: typeof rootRouteImport
77 }
78 '/api/fal/proxy': {
79 id: '/api/fal/proxy'
80 path: '/api/fal/proxy'
81 fullPath: '/api/fal/proxy'
82 preLoaderRoute: typeof ApiFalProxyRouteImport
83 parentRoute: typeof rootRouteImport
84 }
85 }
87​
88const rootRouteChildren: RootRouteChildren = {
89 IndexRoute: IndexRoute,
90 ApiMarbleSplatRoute: ApiMarbleSplatRoute,
91 ApiFalProxyRoute: ApiFalProxyRoute,
93export const routeTree = rootRouteImport
94 ._addFileChildren(rootRouteChildren)
95 ._addFileTypes<FileRouteTypes>()
96​
97import type { getRouter } from './router.tsx'
98import type { createStart } from '@tanstack/react-start'
99declare module '@tanstack/react-start' {
100 interface Register {
101 ssr: true
102 router: Awaited<ReturnType<typeof getRouter>>
103 }