Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
303 lines
8.8 KiB
TypeScript
303 lines
8.8 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 SetupRouteImport } from './routes/setup'
|
|
import { Route as SettingsRouteImport } from './routes/settings'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as SettingsIndexRouteImport } from './routes/settings.index'
|
|
import { Route as ClientsIndexRouteImport } from './routes/clients.index'
|
|
import { Route as CasesIndexRouteImport } from './routes/cases.index'
|
|
import { Route as SettingsFeesRouteImport } from './routes/settings.fees'
|
|
import { Route as ClientsClientIdRouteImport } from './routes/clients.$clientId'
|
|
import { Route as CasesNewRouteImport } from './routes/cases.new'
|
|
import { Route as CasesCaseIdRouteImport } from './routes/cases.$caseId'
|
|
import { Route as AdminUsersRouteImport } from './routes/admin.users'
|
|
|
|
const SetupRoute = SetupRouteImport.update({
|
|
id: '/setup',
|
|
path: '/setup',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SettingsRoute = SettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
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 ClientsIndexRoute = ClientsIndexRouteImport.update({
|
|
id: '/clients/',
|
|
path: '/clients/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const CasesIndexRoute = CasesIndexRouteImport.update({
|
|
id: '/cases/',
|
|
path: '/cases/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SettingsFeesRoute = SettingsFeesRouteImport.update({
|
|
id: '/fees',
|
|
path: '/fees',
|
|
getParentRoute: () => SettingsRoute,
|
|
} as any)
|
|
const ClientsClientIdRoute = ClientsClientIdRouteImport.update({
|
|
id: '/clients/$clientId',
|
|
path: '/clients/$clientId',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const CasesNewRoute = CasesNewRouteImport.update({
|
|
id: '/cases/new',
|
|
path: '/cases/new',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const CasesCaseIdRoute = CasesCaseIdRouteImport.update({
|
|
id: '/cases/$caseId',
|
|
path: '/cases/$caseId',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AdminUsersRoute = AdminUsersRouteImport.update({
|
|
id: '/admin/users',
|
|
path: '/admin/users',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/setup': typeof SetupRoute
|
|
'/admin/users': typeof AdminUsersRoute
|
|
'/cases/$caseId': typeof CasesCaseIdRoute
|
|
'/cases/new': typeof CasesNewRoute
|
|
'/clients/$clientId': typeof ClientsClientIdRoute
|
|
'/settings/fees': typeof SettingsFeesRoute
|
|
'/cases/': typeof CasesIndexRoute
|
|
'/clients/': typeof ClientsIndexRoute
|
|
'/settings/': typeof SettingsIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/setup': typeof SetupRoute
|
|
'/admin/users': typeof AdminUsersRoute
|
|
'/cases/$caseId': typeof CasesCaseIdRoute
|
|
'/cases/new': typeof CasesNewRoute
|
|
'/clients/$clientId': typeof ClientsClientIdRoute
|
|
'/settings/fees': typeof SettingsFeesRoute
|
|
'/cases': typeof CasesIndexRoute
|
|
'/clients': typeof ClientsIndexRoute
|
|
'/settings': typeof SettingsIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/setup': typeof SetupRoute
|
|
'/admin/users': typeof AdminUsersRoute
|
|
'/cases/$caseId': typeof CasesCaseIdRoute
|
|
'/cases/new': typeof CasesNewRoute
|
|
'/clients/$clientId': typeof ClientsClientIdRoute
|
|
'/settings/fees': typeof SettingsFeesRoute
|
|
'/cases/': typeof CasesIndexRoute
|
|
'/clients/': typeof ClientsIndexRoute
|
|
'/settings/': typeof SettingsIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/login'
|
|
| '/settings'
|
|
| '/setup'
|
|
| '/admin/users'
|
|
| '/cases/$caseId'
|
|
| '/cases/new'
|
|
| '/clients/$clientId'
|
|
| '/settings/fees'
|
|
| '/cases/'
|
|
| '/clients/'
|
|
| '/settings/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/login'
|
|
| '/setup'
|
|
| '/admin/users'
|
|
| '/cases/$caseId'
|
|
| '/cases/new'
|
|
| '/clients/$clientId'
|
|
| '/settings/fees'
|
|
| '/cases'
|
|
| '/clients'
|
|
| '/settings'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/login'
|
|
| '/settings'
|
|
| '/setup'
|
|
| '/admin/users'
|
|
| '/cases/$caseId'
|
|
| '/cases/new'
|
|
| '/clients/$clientId'
|
|
| '/settings/fees'
|
|
| '/cases/'
|
|
| '/clients/'
|
|
| '/settings/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
LoginRoute: typeof LoginRoute
|
|
SettingsRoute: typeof SettingsRouteWithChildren
|
|
SetupRoute: typeof SetupRoute
|
|
AdminUsersRoute: typeof AdminUsersRoute
|
|
CasesCaseIdRoute: typeof CasesCaseIdRoute
|
|
CasesNewRoute: typeof CasesNewRoute
|
|
ClientsClientIdRoute: typeof ClientsClientIdRoute
|
|
CasesIndexRoute: typeof CasesIndexRoute
|
|
ClientsIndexRoute: typeof ClientsIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/setup': {
|
|
id: '/setup'
|
|
path: '/setup'
|
|
fullPath: '/setup'
|
|
preLoaderRoute: typeof SetupRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/settings': {
|
|
id: '/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof SettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/settings/': {
|
|
id: '/settings/'
|
|
path: '/'
|
|
fullPath: '/settings/'
|
|
preLoaderRoute: typeof SettingsIndexRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/clients/': {
|
|
id: '/clients/'
|
|
path: '/clients'
|
|
fullPath: '/clients/'
|
|
preLoaderRoute: typeof ClientsIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/cases/': {
|
|
id: '/cases/'
|
|
path: '/cases'
|
|
fullPath: '/cases/'
|
|
preLoaderRoute: typeof CasesIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/settings/fees': {
|
|
id: '/settings/fees'
|
|
path: '/fees'
|
|
fullPath: '/settings/fees'
|
|
preLoaderRoute: typeof SettingsFeesRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/clients/$clientId': {
|
|
id: '/clients/$clientId'
|
|
path: '/clients/$clientId'
|
|
fullPath: '/clients/$clientId'
|
|
preLoaderRoute: typeof ClientsClientIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/cases/new': {
|
|
id: '/cases/new'
|
|
path: '/cases/new'
|
|
fullPath: '/cases/new'
|
|
preLoaderRoute: typeof CasesNewRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/cases/$caseId': {
|
|
id: '/cases/$caseId'
|
|
path: '/cases/$caseId'
|
|
fullPath: '/cases/$caseId'
|
|
preLoaderRoute: typeof CasesCaseIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/admin/users': {
|
|
id: '/admin/users'
|
|
path: '/admin/users'
|
|
fullPath: '/admin/users'
|
|
preLoaderRoute: typeof AdminUsersRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
interface SettingsRouteChildren {
|
|
SettingsFeesRoute: typeof SettingsFeesRoute
|
|
SettingsIndexRoute: typeof SettingsIndexRoute
|
|
}
|
|
|
|
const SettingsRouteChildren: SettingsRouteChildren = {
|
|
SettingsFeesRoute: SettingsFeesRoute,
|
|
SettingsIndexRoute: SettingsIndexRoute,
|
|
}
|
|
|
|
const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
|
|
SettingsRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
LoginRoute: LoginRoute,
|
|
SettingsRoute: SettingsRouteWithChildren,
|
|
SetupRoute: SetupRoute,
|
|
AdminUsersRoute: AdminUsersRoute,
|
|
CasesCaseIdRoute: CasesCaseIdRoute,
|
|
CasesNewRoute: CasesNewRoute,
|
|
ClientsClientIdRoute: ClientsClientIdRoute,
|
|
CasesIndexRoute: CasesIndexRoute,
|
|
ClientsIndexRoute: ClientsIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|