Skip to content

Commit

Permalink
regen route tree
Browse files Browse the repository at this point in the history
  • Loading branch information
bgentry committed Sep 16, 2024
1 parent 494e372 commit 8ea4ca0
Showing 1 changed file with 122 additions and 8 deletions.
130 changes: 122 additions & 8 deletions src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,128 @@ declare module "@tanstack/react-router" {

// Create and export the route tree

export const routeTree = rootRoute.addChildren({
IndexRoute,
JobsRoute: JobsRoute.addChildren({ JobsJobIdRoute, JobsIndexRoute }),
QueuesRoute: QueuesRoute.addChildren({ QueuesNameRoute, QueuesIndexRoute }),
AboutAboutRoute,
WorkflowsWorkflowIdRoute,
WorkflowsIndexRoute,
})
interface JobsRouteChildren {
JobsJobIdRoute: typeof JobsJobIdRoute
JobsIndexRoute: typeof JobsIndexRoute
}

const JobsRouteChildren: JobsRouteChildren = {
JobsJobIdRoute: JobsJobIdRoute,
JobsIndexRoute: JobsIndexRoute,
}

const JobsRouteWithChildren = JobsRoute._addFileChildren(JobsRouteChildren)

interface QueuesRouteChildren {
QueuesNameRoute: typeof QueuesNameRoute
QueuesIndexRoute: typeof QueuesIndexRoute
}

const QueuesRouteChildren: QueuesRouteChildren = {
QueuesNameRoute: QueuesNameRoute,
QueuesIndexRoute: QueuesIndexRoute,
}

const QueuesRouteWithChildren =
QueuesRoute._addFileChildren(QueuesRouteChildren)

export interface FileRoutesByFullPath {
"/": typeof IndexRoute
"/jobs": typeof JobsRouteWithChildren
"/queues": typeof QueuesRouteWithChildren
"/about/about": typeof AboutAboutRoute
"/jobs/$jobId": typeof JobsJobIdRoute
"/queues/$name": typeof QueuesNameRoute
"/workflows/$workflowId": typeof WorkflowsWorkflowIdRoute
"/jobs/": typeof JobsIndexRoute
"/queues/": typeof QueuesIndexRoute
"/workflows": typeof WorkflowsIndexRoute
}

export interface FileRoutesByTo {
"/": typeof IndexRoute
"/about/about": typeof AboutAboutRoute
"/jobs/$jobId": typeof JobsJobIdRoute
"/queues/$name": typeof QueuesNameRoute
"/workflows/$workflowId": typeof WorkflowsWorkflowIdRoute
"/jobs": typeof JobsIndexRoute
"/queues": typeof QueuesIndexRoute
"/workflows": typeof WorkflowsIndexRoute
}

export interface FileRoutesById {
__root__: typeof rootRoute
"/": typeof IndexRoute
"/jobs": typeof JobsRouteWithChildren
"/queues": typeof QueuesRouteWithChildren
"/about/about": typeof AboutAboutRoute
"/jobs/$jobId": typeof JobsJobIdRoute
"/queues/$name": typeof QueuesNameRoute
"/workflows/$workflowId": typeof WorkflowsWorkflowIdRoute
"/jobs/": typeof JobsIndexRoute
"/queues/": typeof QueuesIndexRoute
"/workflows/": typeof WorkflowsIndexRoute
}

export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| "/"
| "/jobs"
| "/queues"
| "/about/about"
| "/jobs/$jobId"
| "/queues/$name"
| "/workflows/$workflowId"
| "/jobs/"
| "/queues/"
| "/workflows"
fileRoutesByTo: FileRoutesByTo
to:
| "/"
| "/about/about"
| "/jobs/$jobId"
| "/queues/$name"
| "/workflows/$workflowId"
| "/jobs"
| "/queues"
| "/workflows"
id:
| "__root__"
| "/"
| "/jobs"
| "/queues"
| "/about/about"
| "/jobs/$jobId"
| "/queues/$name"
| "/workflows/$workflowId"
| "/jobs/"
| "/queues/"
| "/workflows/"
fileRoutesById: FileRoutesById
}

export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
JobsRoute: typeof JobsRouteWithChildren
QueuesRoute: typeof QueuesRouteWithChildren
AboutAboutRoute: typeof AboutAboutRoute
WorkflowsWorkflowIdRoute: typeof WorkflowsWorkflowIdRoute
WorkflowsIndexRoute: typeof WorkflowsIndexRoute
}

const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
JobsRoute: JobsRouteWithChildren,
QueuesRoute: QueuesRouteWithChildren,
AboutAboutRoute: AboutAboutRoute,
WorkflowsWorkflowIdRoute: WorkflowsWorkflowIdRoute,
WorkflowsIndexRoute: WorkflowsIndexRoute,
}

export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()

/* prettier-ignore-end */

Expand Down

0 comments on commit 8ea4ca0

Please sign in to comment.