|
| 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 ApiTriggerRouteImport } from './routes/api/trigger'; |
| 14 | +import { Route as ApiTestDirectStepCallRouteImport } from './routes/api/test-direct-step-call'; |
| 15 | +import { Route as ApiHookRouteImport } from './routes/api/hook'; |
| 16 | +import { Route as ApiChatRouteImport } from './routes/api/chat'; |
| 17 | + |
| 18 | +const IndexRoute = IndexRouteImport.update({ |
| 19 | + id: '/', |
| 20 | + path: '/', |
| 21 | + getParentRoute: () => rootRouteImport, |
| 22 | +} as any); |
| 23 | +const ApiTriggerRoute = ApiTriggerRouteImport.update({ |
| 24 | + id: '/api/trigger', |
| 25 | + path: '/api/trigger', |
| 26 | + getParentRoute: () => rootRouteImport, |
| 27 | +} as any); |
| 28 | +const ApiTestDirectStepCallRoute = ApiTestDirectStepCallRouteImport.update({ |
| 29 | + id: '/api/test-direct-step-call', |
| 30 | + path: '/api/test-direct-step-call', |
| 31 | + getParentRoute: () => rootRouteImport, |
| 32 | +} as any); |
| 33 | +const ApiHookRoute = ApiHookRouteImport.update({ |
| 34 | + id: '/api/hook', |
| 35 | + path: '/api/hook', |
| 36 | + getParentRoute: () => rootRouteImport, |
| 37 | +} as any); |
| 38 | +const ApiChatRoute = ApiChatRouteImport.update({ |
| 39 | + id: '/api/chat', |
| 40 | + path: '/api/chat', |
| 41 | + getParentRoute: () => rootRouteImport, |
| 42 | +} as any); |
| 43 | + |
| 44 | +export interface FileRoutesByFullPath { |
| 45 | + '/': typeof IndexRoute; |
| 46 | + '/api/chat': typeof ApiChatRoute; |
| 47 | + '/api/hook': typeof ApiHookRoute; |
| 48 | + '/api/test-direct-step-call': typeof ApiTestDirectStepCallRoute; |
| 49 | + '/api/trigger': typeof ApiTriggerRoute; |
| 50 | +} |
| 51 | +export interface FileRoutesByTo { |
| 52 | + '/': typeof IndexRoute; |
| 53 | + '/api/chat': typeof ApiChatRoute; |
| 54 | + '/api/hook': typeof ApiHookRoute; |
| 55 | + '/api/test-direct-step-call': typeof ApiTestDirectStepCallRoute; |
| 56 | + '/api/trigger': typeof ApiTriggerRoute; |
| 57 | +} |
| 58 | +export interface FileRoutesById { |
| 59 | + __root__: typeof rootRouteImport; |
| 60 | + '/': typeof IndexRoute; |
| 61 | + '/api/chat': typeof ApiChatRoute; |
| 62 | + '/api/hook': typeof ApiHookRoute; |
| 63 | + '/api/test-direct-step-call': typeof ApiTestDirectStepCallRoute; |
| 64 | + '/api/trigger': typeof ApiTriggerRoute; |
| 65 | +} |
| 66 | +export interface FileRouteTypes { |
| 67 | + fileRoutesByFullPath: FileRoutesByFullPath; |
| 68 | + fullPaths: |
| 69 | + | '/' |
| 70 | + | '/api/chat' |
| 71 | + | '/api/hook' |
| 72 | + | '/api/test-direct-step-call' |
| 73 | + | '/api/trigger'; |
| 74 | + fileRoutesByTo: FileRoutesByTo; |
| 75 | + to: |
| 76 | + | '/' |
| 77 | + | '/api/chat' |
| 78 | + | '/api/hook' |
| 79 | + | '/api/test-direct-step-call' |
| 80 | + | '/api/trigger'; |
| 81 | + id: |
| 82 | + | '__root__' |
| 83 | + | '/' |
| 84 | + | '/api/chat' |
| 85 | + | '/api/hook' |
| 86 | + | '/api/test-direct-step-call' |
| 87 | + | '/api/trigger'; |
| 88 | + fileRoutesById: FileRoutesById; |
| 89 | +} |
| 90 | +export interface RootRouteChildren { |
| 91 | + IndexRoute: typeof IndexRoute; |
| 92 | + ApiChatRoute: typeof ApiChatRoute; |
| 93 | + ApiHookRoute: typeof ApiHookRoute; |
| 94 | + ApiTestDirectStepCallRoute: typeof ApiTestDirectStepCallRoute; |
| 95 | + ApiTriggerRoute: typeof ApiTriggerRoute; |
| 96 | +} |
| 97 | + |
| 98 | +declare module '@tanstack/react-router' { |
| 99 | + interface FileRoutesByPath { |
| 100 | + '/': { |
| 101 | + id: '/'; |
| 102 | + path: '/'; |
| 103 | + fullPath: '/'; |
| 104 | + preLoaderRoute: typeof IndexRouteImport; |
| 105 | + parentRoute: typeof rootRouteImport; |
| 106 | + }; |
| 107 | + '/api/trigger': { |
| 108 | + id: '/api/trigger'; |
| 109 | + path: '/api/trigger'; |
| 110 | + fullPath: '/api/trigger'; |
| 111 | + preLoaderRoute: typeof ApiTriggerRouteImport; |
| 112 | + parentRoute: typeof rootRouteImport; |
| 113 | + }; |
| 114 | + '/api/test-direct-step-call': { |
| 115 | + id: '/api/test-direct-step-call'; |
| 116 | + path: '/api/test-direct-step-call'; |
| 117 | + fullPath: '/api/test-direct-step-call'; |
| 118 | + preLoaderRoute: typeof ApiTestDirectStepCallRouteImport; |
| 119 | + parentRoute: typeof rootRouteImport; |
| 120 | + }; |
| 121 | + '/api/hook': { |
| 122 | + id: '/api/hook'; |
| 123 | + path: '/api/hook'; |
| 124 | + fullPath: '/api/hook'; |
| 125 | + preLoaderRoute: typeof ApiHookRouteImport; |
| 126 | + parentRoute: typeof rootRouteImport; |
| 127 | + }; |
| 128 | + '/api/chat': { |
| 129 | + id: '/api/chat'; |
| 130 | + path: '/api/chat'; |
| 131 | + fullPath: '/api/chat'; |
| 132 | + preLoaderRoute: typeof ApiChatRouteImport; |
| 133 | + parentRoute: typeof rootRouteImport; |
| 134 | + }; |
| 135 | + } |
| 136 | +} |
| 137 | + |
| 138 | +const rootRouteChildren: RootRouteChildren = { |
| 139 | + IndexRoute: IndexRoute, |
| 140 | + ApiChatRoute: ApiChatRoute, |
| 141 | + ApiHookRoute: ApiHookRoute, |
| 142 | + ApiTestDirectStepCallRoute: ApiTestDirectStepCallRoute, |
| 143 | + ApiTriggerRoute: ApiTriggerRoute, |
| 144 | +}; |
| 145 | +export const routeTree = rootRouteImport |
| 146 | + ._addFileChildren(rootRouteChildren) |
| 147 | + ._addFileTypes<FileRouteTypes>(); |
| 148 | + |
| 149 | +import type { getRouter } from './router.tsx'; |
| 150 | +import type { createStart } from '@tanstack/react-start'; |
| 151 | +declare module '@tanstack/react-start' { |
| 152 | + interface Register { |
| 153 | + ssr: true; |
| 154 | + router: Awaited<ReturnType<typeof getRouter>>; |
| 155 | + } |
| 156 | +} |
0 commit comments