@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

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