Send back the complete code with all the fixes. Fix each of ...
Prompt
Send back the complete code with all the fixes. Fix each of the listed errors one by one, making sure to actually correct them so that there are 0 errors remaining. Keep the original imports, since the files exist. Write out every single character; do not abbreviate anything. Fix every error. There must be exactly one file. Do not write anything else; just output the complete code, and it must not contain any comments. Never, under any circumstances, use simplified, substitute, dummy, simulated, or fake code. Write the entire file as complete, unabridged, production-ready code in a single code block. It must be 100% error-free, a complete, error-free file, and must be submitted as a downloadable file. These requirements are mandatory and must be strictly adhered to. If no list of errors is provided, you must find all the errors and fix them. If there were comments in the original code, delete them. And most importantly: YOU MUST NEVER SIMPLIFY! /* eslint-disable */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // This file was automatically generated by TanStack Router. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. import { Route as rootRouteImport } from './routes/__root' import { Route as IndexRouteImport } from './routes/index' import { Route as ApiChatRouteImport } from './routes/api/chat' import { Route as ApiConversationsRouteImport } from './routes/api/conversations' import { Route as ApiInngestRouteImport } from './routes/api/inngest' import { Route as ApiOperatorRouteImport } from './routes/api/operator' import { Route as ApiImagesEditsRouteImport } from './routes/api/images/edits' import { Route as ApiChatJobsJobIdEventsRouteImport } from './routes/api/chat/jobs/$jobId/events' import { Route as ApiChatJobsJobIdRedirectRouteImport } from './routes/api/chat/jobs/$jobId/redirect' import { Route as ApiChatJobsJobIdStopRouteImport } from './routes/api/chat/jobs/$jobId/stop' const IndexRoute = IndexRouteImport.update({ id: '/', path: '/', getParentRoute: () => rootRouteImport, } as any) const ApiChatRoute = ApiChatRouteImport.update({ id: '/api/chat', path: '/api/chat', getParentRoute: () => rootRouteImport, } as any) const ApiConversationsRoute = ApiConversationsRouteImport.update({ id: '/api/conversations', path: '/api/conversations', getParentRoute: () => rootRouteImport, } as any) const ApiInngestRoute = ApiInngestRouteImport.update({ id: '/api/inngest', path: '/api/inngest', getParentRoute: () => rootRouteImport, } as any) const ApiOperatorRoute = ApiOperatorRouteImport.update({ id: '/api/operator', path: '/api/operator', getParentRoute: () => rootRouteImport, } as any) const ApiImagesEditsRoute = ApiImagesEditsRouteImport.update({ id: '/api/images/edits', path: '/api/images/edits', getParentRoute: () => rootRouteImport, } as any) const ApiChatJobsJobIdEventsRoute = ApiChatJobsJobIdEventsRouteImport.update({ id: '/jobs/$jobId/events', path: '/jobs/$jobId/events', getParentRoute: () => ApiChatRoute, } as any) const ApiChatJobsJobIdRedirectRoute = ApiChatJobsJobIdRedirectRouteImport.update({ id: '/jobs/$jobId/redirect', path: '/jobs/$jobId/redirect', getParentRoute: () => ApiChatRoute, } as any) const ApiChatJobsJobIdStopRoute = ApiChatJobsJobIdStopRouteImport.update({ id: '/jobs/$jobId/stop', path: '/jobs/$jobId/stop', getParentRoute: () => ApiChatRoute, } as any) export interface FileRoutesByFullPath { '/': typeof IndexRoute '/api/chat': typeof ApiChatRouteWithChildren '/api/conversations': typeof ApiConversationsRoute '/api/inngest': typeof ApiInngestRoute '/api/operator': typeof ApiOperatorRoute '/api/images/edits': typeof ApiImagesEditsRoute '/api/chat/jobs/$jobId/events': typeof ApiChatJobsJobIdEventsRoute '/api/chat/jobs/$jobId/redirect': typeof ApiChatJobsJobIdRedirectRoute '/api/chat/jobs/$jobId/stop': typeof ApiChatJobsJobIdStopRoute } export interface FileRoutesByTo { '/': typeof IndexRoute '/api/chat': typeof ApiChatRouteWithChildren '/api/conversations': typeof ApiConversationsRoute '/api/inngest': typeof ApiInngestRoute '/api/operator': typeof ApiOperatorRoute '/api/images/edits': typeof ApiImagesEditsRoute '/api/chat/jobs/$jobId/events': typeof ApiChatJobsJobIdEventsRoute '/api/chat/jobs/$jobId/redirect': typeof ApiChatJobsJobIdRedirectRoute '/api/chat/jobs/$jobId/stop': typeof ApiChatJobsJobIdStopRoute } export interface FileRoutesById { __root__: typeof rootRouteImport '/': typeof IndexRoute '/api/chat': typeof ApiChatRouteWithChildren '/api/conversations': typeof ApiConversationsRoute '/api/inngest': typeof ApiInngestRoute '/api/operator': typeof ApiOperatorRoute '/api/images/edits': typeof ApiImagesEditsRoute '/api/chat/jobs/$jobId/events': typeof ApiChatJobsJobIdEventsRoute '/api/chat/jobs/$jobId/redirect': typeof ApiChatJobsJobIdRedirectRoute '/api/chat/jobs/$jobId/stop': typeof ApiChatJobsJobIdStopRoute } export interface FileRouteTypes { fileRoutesByFullPath: FileRoutesByFullPath fullPaths: | '/' | '/api/chat' | '/api/conversations' | '/api/inngest' | '/api/operator' | '/api/images/edits' | '/api/chat/jobs/$jobId/events' | '/api/chat/jobs/$jobId/redirect' | '/api/chat/jobs/$jobId/stop' fileRoutesByTo: FileRoutesByTo to: | '/' | '/api/chat' | '/api/conversations' | '/api/inngest' | '/api/operator' | '/api/images/edits' | '/api/chat/jobs/$jobId/events' | '/api/chat/jobs/$jobId/redirect' | '/api/chat/jobs/$jobId/stop' id: | '__root__' | '/' | '/api/chat' | '/api/conversations' | '/api/inngest' | '/api/operator' | '/api/images/edits' | '/api/chat/jobs/$jobId/events' | '/api/chat/jobs/$jobId/redirect' | '/api/chat/jobs/$jobId/stop' fileRoutesById: FileRoutesById } export interface RootRouteChildren { IndexRoute: typeof IndexRoute ApiChatRoute: typeof ApiChatRouteWithChildren ApiConversationsRoute: typeof ApiConversationsRoute ApiInngestRoute: typeof ApiInngestRoute ApiOperatorRoute: typeof ApiOperatorRoute ApiImagesEditsRoute: typeof ApiImagesEditsRoute } declare module '@tanstack/react-router' { interface FileRoutesByPath { '/': { id: '/' path: '/' fullPath: '/' preLoaderRoute: typeof IndexRouteImport parentRoute: typeof rootRouteImport } '/api/chat': { id: '/api/chat' path: '/api/chat' fullPath: '/api/chat' preLoaderRoute: typeof ApiChatRouteImport parentRoute: typeof rootRouteImport } '/api/conversations': { id: '/api/conversations' path: '/api/conversations' fullPath: '/api/conversations' preLoaderRoute: typeof ApiConversationsRouteImport parentRoute: typeof rootRouteImport } '/api/inngest': { id: '/api/inngest' path: '/api/inngest' fullPath: '/api/inngest' preLoaderRoute: typeof ApiInngestRouteImport parentRoute: typeof rootRouteImport } '/api/operator': { id: '/api/operator' path: '/api/operator' fullPath: '/api/operator' preLoaderRoute: typeof ApiOperatorRouteImport parentRoute: typeof rootRouteImport } '/api/images/edits': { id: '/api/images/edits' path: '/api/images/edits' fullPath: '/api/images/edits' preLoaderRoute: typeof ApiImagesEditsRouteImport parentRoute: typeof rootRouteImport } '/api/chat/jobs/$jobId/events': { id: '/api/chat/jobs/$jobId/events' path: '/jobs/$jobId/events' fullPath: '/api/chat/jobs/$jobId/events' preLoaderRoute: typeof ApiChatJobsJobIdEventsRouteImport parentRoute: typeof ApiChatRoute } '/api/chat/jobs/$jobId/redirect': { id: '/api/chat/jobs/$jobId/redirect' path: '/jobs/$jobId/redirect' fullPath: '/api/chat/jobs/$jobId/redirect' preLoaderRoute: typeof ApiChatJobsJobIdRedirectRouteImport parentRoute: typeof ApiChatRoute } '/api/chat/jobs/$jobId/stop': { id: '/api/chat/jobs/$jobId/stop' path: '/jobs/$jobId/stop' fullPath: '/api/chat/jobs/$jobId/stop' preLoaderRoute: typeof ApiChatJobsJobIdStopRouteImport parentRoute: typeof ApiChatRoute } } } interface ApiChatRouteChildren { ApiChatJobsJobIdEventsRoute: typeof ApiChatJobsJobIdEventsRoute ApiChatJobsJobIdRedirectRoute: typeof ApiChatJobsJobIdRedirectRoute ApiChatJobsJobIdStopRoute: typeof ApiChatJobsJobIdStopRoute } const ApiChatRouteChildren: ApiChatRouteChildren = { ApiChatJobsJobIdEventsRoute: ApiChatJobsJobIdEventsRoute, ApiChatJobsJobIdRedirectRoute: ApiChatJobsJobIdRedirectRoute, ApiChatJobsJobIdStopRoute: ApiChatJobsJobIdStopRoute, } const ApiChatRouteWithChildren = ApiChatRoute._addFileChildren(ApiChatRouteChildren) const rootRouteChildren: RootRouteChildren = { IndexRoute: IndexRoute, ApiChatRoute: ApiChatRouteWithChildren, ApiConversationsRoute: ApiConversationsRoute, ApiInngestRoute: ApiInngestRoute, ApiOperatorRoute: ApiOperatorRoute, ApiImagesEditsRoute: ApiImagesEditsRoute, } export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes<FileRouteTypes>() import type { getRouter } from './router.tsx' import type { startInstance } from './start.ts' declare module '@tanstack/react-start' { interface Register { ssr: true router: Awaited<ReturnType<typeof getRouter>> config: Awaited<ReturnType<typeof startInstance.getOptions>> } }
Response not available