Allow users to specify a custom branch when creating initiatives (auto-generated if left blank). Add updateProject tRPC procedure and /settings/projects page with inline-editable defaultBranch.
240 lines
7.1 KiB
TypeScript
240 lines
7.1 KiB
TypeScript
/* 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 SettingsRouteImport } from './routes/settings'
|
|
import { Route as InboxRouteImport } from './routes/inbox'
|
|
import { Route as AgentsRouteImport } from './routes/agents'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as SettingsIndexRouteImport } from './routes/settings/index'
|
|
import { Route as InitiativesIndexRouteImport } from './routes/initiatives/index'
|
|
import { Route as SettingsProjectsRouteImport } from './routes/settings/projects'
|
|
import { Route as SettingsHealthRouteImport } from './routes/settings/health'
|
|
import { Route as InitiativesIdRouteImport } from './routes/initiatives/$id'
|
|
|
|
const SettingsRoute = SettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const InboxRoute = InboxRouteImport.update({
|
|
id: '/inbox',
|
|
path: '/inbox',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsRoute = AgentsRouteImport.update({
|
|
id: '/agents',
|
|
path: '/agents',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SettingsIndexRoute = SettingsIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => SettingsRoute,
|
|
} as any)
|
|
const InitiativesIndexRoute = InitiativesIndexRouteImport.update({
|
|
id: '/initiatives/',
|
|
path: '/initiatives/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SettingsProjectsRoute = SettingsProjectsRouteImport.update({
|
|
id: '/projects',
|
|
path: '/projects',
|
|
getParentRoute: () => SettingsRoute,
|
|
} as any)
|
|
const SettingsHealthRoute = SettingsHealthRouteImport.update({
|
|
id: '/health',
|
|
path: '/health',
|
|
getParentRoute: () => SettingsRoute,
|
|
} as any)
|
|
const InitiativesIdRoute = InitiativesIdRouteImport.update({
|
|
id: '/initiatives/$id',
|
|
path: '/initiatives/$id',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/agents': typeof AgentsRoute
|
|
'/inbox': typeof InboxRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/initiatives/$id': typeof InitiativesIdRoute
|
|
'/settings/health': typeof SettingsHealthRoute
|
|
'/settings/projects': typeof SettingsProjectsRoute
|
|
'/initiatives/': typeof InitiativesIndexRoute
|
|
'/settings/': typeof SettingsIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/agents': typeof AgentsRoute
|
|
'/inbox': typeof InboxRoute
|
|
'/initiatives/$id': typeof InitiativesIdRoute
|
|
'/settings/health': typeof SettingsHealthRoute
|
|
'/settings/projects': typeof SettingsProjectsRoute
|
|
'/initiatives': typeof InitiativesIndexRoute
|
|
'/settings': typeof SettingsIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/agents': typeof AgentsRoute
|
|
'/inbox': typeof InboxRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/initiatives/$id': typeof InitiativesIdRoute
|
|
'/settings/health': typeof SettingsHealthRoute
|
|
'/settings/projects': typeof SettingsProjectsRoute
|
|
'/initiatives/': typeof InitiativesIndexRoute
|
|
'/settings/': typeof SettingsIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/agents'
|
|
| '/inbox'
|
|
| '/settings'
|
|
| '/initiatives/$id'
|
|
| '/settings/health'
|
|
| '/settings/projects'
|
|
| '/initiatives/'
|
|
| '/settings/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/agents'
|
|
| '/inbox'
|
|
| '/initiatives/$id'
|
|
| '/settings/health'
|
|
| '/settings/projects'
|
|
| '/initiatives'
|
|
| '/settings'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/agents'
|
|
| '/inbox'
|
|
| '/settings'
|
|
| '/initiatives/$id'
|
|
| '/settings/health'
|
|
| '/settings/projects'
|
|
| '/initiatives/'
|
|
| '/settings/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
AgentsRoute: typeof AgentsRoute
|
|
InboxRoute: typeof InboxRoute
|
|
SettingsRoute: typeof SettingsRouteWithChildren
|
|
InitiativesIdRoute: typeof InitiativesIdRoute
|
|
InitiativesIndexRoute: typeof InitiativesIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/settings': {
|
|
id: '/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof SettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/inbox': {
|
|
id: '/inbox'
|
|
path: '/inbox'
|
|
fullPath: '/inbox'
|
|
preLoaderRoute: typeof InboxRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents': {
|
|
id: '/agents'
|
|
path: '/agents'
|
|
fullPath: '/agents'
|
|
preLoaderRoute: typeof AgentsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/settings/': {
|
|
id: '/settings/'
|
|
path: '/'
|
|
fullPath: '/settings/'
|
|
preLoaderRoute: typeof SettingsIndexRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/initiatives/': {
|
|
id: '/initiatives/'
|
|
path: '/initiatives'
|
|
fullPath: '/initiatives/'
|
|
preLoaderRoute: typeof InitiativesIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/settings/projects': {
|
|
id: '/settings/projects'
|
|
path: '/projects'
|
|
fullPath: '/settings/projects'
|
|
preLoaderRoute: typeof SettingsProjectsRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/settings/health': {
|
|
id: '/settings/health'
|
|
path: '/health'
|
|
fullPath: '/settings/health'
|
|
preLoaderRoute: typeof SettingsHealthRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/initiatives/$id': {
|
|
id: '/initiatives/$id'
|
|
path: '/initiatives/$id'
|
|
fullPath: '/initiatives/$id'
|
|
preLoaderRoute: typeof InitiativesIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
interface SettingsRouteChildren {
|
|
SettingsHealthRoute: typeof SettingsHealthRoute
|
|
SettingsProjectsRoute: typeof SettingsProjectsRoute
|
|
SettingsIndexRoute: typeof SettingsIndexRoute
|
|
}
|
|
|
|
const SettingsRouteChildren: SettingsRouteChildren = {
|
|
SettingsHealthRoute: SettingsHealthRoute,
|
|
SettingsProjectsRoute: SettingsProjectsRoute,
|
|
SettingsIndexRoute: SettingsIndexRoute,
|
|
}
|
|
|
|
const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
|
|
SettingsRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
AgentsRoute: AgentsRoute,
|
|
InboxRoute: InboxRoute,
|
|
SettingsRoute: SettingsRouteWithChildren,
|
|
InitiativesIdRoute: InitiativesIdRoute,
|
|
InitiativesIndexRoute: InitiativesIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|