fix: generate route trees and fix build errors for all apps
- Generated routeTree.gen.ts for all 6 apps (was empty placeholder) - Fixed className backtick syntax in roles create/edit pages - Fixed unescaped quote in dimentorin settings FAQ - Route trees enable proper SPA navigation (no more full page reloads) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
8cb7b592eb
commit
d5b267332f
@@ -1,2 +1,312 @@
|
||||
// This file is auto-generated by TanStack Router
|
||||
export const routeTree = {} as any
|
||||
/* 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 PublicRouteImport } from './routes/_public'
|
||||
import { Route as AuthenticatedRouteImport } from './routes/_authenticated'
|
||||
import { Route as AuthenticatedIndexRouteImport } from './routes/_authenticated/index'
|
||||
import { Route as AuthCallbackRouteImport } from './routes/auth/callback'
|
||||
import { Route as AuthenticatedAdminRouteImport } from './routes/_authenticated/admin'
|
||||
import { Route as AuthenticatedAdminIndexRouteImport } from './routes/_authenticated/admin/index'
|
||||
import { Route as PublicAuthSignupRouteImport } from './routes/_public/auth/signup'
|
||||
import { Route as PublicAuthResetPasswordRouteImport } from './routes/_public/auth/reset-password'
|
||||
import { Route as PublicAuthLoginRouteImport } from './routes/_public/auth/login'
|
||||
import { Route as PublicAuthForgotPasswordRouteImport } from './routes/_public/auth/forgot-password'
|
||||
import { Route as AuthenticatedAdminUsersRouteImport } from './routes/_authenticated/admin/users'
|
||||
import { Route as AuthenticatedAdminCampaignsRouteImport } from './routes/_authenticated/admin/campaigns'
|
||||
|
||||
const PublicRoute = PublicRouteImport.update({
|
||||
id: '/_public',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AuthenticatedRoute = AuthenticatedRouteImport.update({
|
||||
id: '/_authenticated',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AuthenticatedIndexRoute = AuthenticatedIndexRouteImport.update({
|
||||
id: '/',
|
||||
path: '/',
|
||||
getParentRoute: () => AuthenticatedRoute,
|
||||
} as any)
|
||||
const AuthCallbackRoute = AuthCallbackRouteImport.update({
|
||||
id: '/auth/callback',
|
||||
path: '/auth/callback',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AuthenticatedAdminRoute = AuthenticatedAdminRouteImport.update({
|
||||
id: '/admin',
|
||||
path: '/admin',
|
||||
getParentRoute: () => AuthenticatedRoute,
|
||||
} as any)
|
||||
const AuthenticatedAdminIndexRoute = AuthenticatedAdminIndexRouteImport.update({
|
||||
id: '/',
|
||||
path: '/',
|
||||
getParentRoute: () => AuthenticatedAdminRoute,
|
||||
} as any)
|
||||
const PublicAuthSignupRoute = PublicAuthSignupRouteImport.update({
|
||||
id: '/auth/signup',
|
||||
path: '/auth/signup',
|
||||
getParentRoute: () => PublicRoute,
|
||||
} as any)
|
||||
const PublicAuthResetPasswordRoute = PublicAuthResetPasswordRouteImport.update({
|
||||
id: '/auth/reset-password',
|
||||
path: '/auth/reset-password',
|
||||
getParentRoute: () => PublicRoute,
|
||||
} as any)
|
||||
const PublicAuthLoginRoute = PublicAuthLoginRouteImport.update({
|
||||
id: '/auth/login',
|
||||
path: '/auth/login',
|
||||
getParentRoute: () => PublicRoute,
|
||||
} as any)
|
||||
const PublicAuthForgotPasswordRoute =
|
||||
PublicAuthForgotPasswordRouteImport.update({
|
||||
id: '/auth/forgot-password',
|
||||
path: '/auth/forgot-password',
|
||||
getParentRoute: () => PublicRoute,
|
||||
} as any)
|
||||
const AuthenticatedAdminUsersRoute = AuthenticatedAdminUsersRouteImport.update({
|
||||
id: '/users',
|
||||
path: '/users',
|
||||
getParentRoute: () => AuthenticatedAdminRoute,
|
||||
} as any)
|
||||
const AuthenticatedAdminCampaignsRoute =
|
||||
AuthenticatedAdminCampaignsRouteImport.update({
|
||||
id: '/campaigns',
|
||||
path: '/campaigns',
|
||||
getParentRoute: () => AuthenticatedAdminRoute,
|
||||
} as any)
|
||||
|
||||
export interface FileRoutesByFullPath {
|
||||
'/': typeof AuthenticatedIndexRoute
|
||||
'/admin': typeof AuthenticatedAdminRouteWithChildren
|
||||
'/auth/callback': typeof AuthCallbackRoute
|
||||
'/admin/campaigns': typeof AuthenticatedAdminCampaignsRoute
|
||||
'/admin/users': typeof AuthenticatedAdminUsersRoute
|
||||
'/auth/forgot-password': typeof PublicAuthForgotPasswordRoute
|
||||
'/auth/login': typeof PublicAuthLoginRoute
|
||||
'/auth/reset-password': typeof PublicAuthResetPasswordRoute
|
||||
'/auth/signup': typeof PublicAuthSignupRoute
|
||||
'/admin/': typeof AuthenticatedAdminIndexRoute
|
||||
}
|
||||
export interface FileRoutesByTo {
|
||||
'/': typeof AuthenticatedIndexRoute
|
||||
'/auth/callback': typeof AuthCallbackRoute
|
||||
'/admin/campaigns': typeof AuthenticatedAdminCampaignsRoute
|
||||
'/admin/users': typeof AuthenticatedAdminUsersRoute
|
||||
'/auth/forgot-password': typeof PublicAuthForgotPasswordRoute
|
||||
'/auth/login': typeof PublicAuthLoginRoute
|
||||
'/auth/reset-password': typeof PublicAuthResetPasswordRoute
|
||||
'/auth/signup': typeof PublicAuthSignupRoute
|
||||
'/admin': typeof AuthenticatedAdminIndexRoute
|
||||
}
|
||||
export interface FileRoutesById {
|
||||
__root__: typeof rootRouteImport
|
||||
'/_authenticated': typeof AuthenticatedRouteWithChildren
|
||||
'/_public': typeof PublicRouteWithChildren
|
||||
'/_authenticated/admin': typeof AuthenticatedAdminRouteWithChildren
|
||||
'/auth/callback': typeof AuthCallbackRoute
|
||||
'/_authenticated/': typeof AuthenticatedIndexRoute
|
||||
'/_authenticated/admin/campaigns': typeof AuthenticatedAdminCampaignsRoute
|
||||
'/_authenticated/admin/users': typeof AuthenticatedAdminUsersRoute
|
||||
'/_public/auth/forgot-password': typeof PublicAuthForgotPasswordRoute
|
||||
'/_public/auth/login': typeof PublicAuthLoginRoute
|
||||
'/_public/auth/reset-password': typeof PublicAuthResetPasswordRoute
|
||||
'/_public/auth/signup': typeof PublicAuthSignupRoute
|
||||
'/_authenticated/admin/': typeof AuthenticatedAdminIndexRoute
|
||||
}
|
||||
export interface FileRouteTypes {
|
||||
fileRoutesByFullPath: FileRoutesByFullPath
|
||||
fullPaths:
|
||||
| '/'
|
||||
| '/admin'
|
||||
| '/auth/callback'
|
||||
| '/admin/campaigns'
|
||||
| '/admin/users'
|
||||
| '/auth/forgot-password'
|
||||
| '/auth/login'
|
||||
| '/auth/reset-password'
|
||||
| '/auth/signup'
|
||||
| '/admin/'
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to:
|
||||
| '/'
|
||||
| '/auth/callback'
|
||||
| '/admin/campaigns'
|
||||
| '/admin/users'
|
||||
| '/auth/forgot-password'
|
||||
| '/auth/login'
|
||||
| '/auth/reset-password'
|
||||
| '/auth/signup'
|
||||
| '/admin'
|
||||
id:
|
||||
| '__root__'
|
||||
| '/_authenticated'
|
||||
| '/_public'
|
||||
| '/_authenticated/admin'
|
||||
| '/auth/callback'
|
||||
| '/_authenticated/'
|
||||
| '/_authenticated/admin/campaigns'
|
||||
| '/_authenticated/admin/users'
|
||||
| '/_public/auth/forgot-password'
|
||||
| '/_public/auth/login'
|
||||
| '/_public/auth/reset-password'
|
||||
| '/_public/auth/signup'
|
||||
| '/_authenticated/admin/'
|
||||
fileRoutesById: FileRoutesById
|
||||
}
|
||||
export interface RootRouteChildren {
|
||||
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
|
||||
PublicRoute: typeof PublicRouteWithChildren
|
||||
AuthCallbackRoute: typeof AuthCallbackRoute
|
||||
}
|
||||
|
||||
declare module '@tanstack/react-router' {
|
||||
interface FileRoutesByPath {
|
||||
'/_public': {
|
||||
id: '/_public'
|
||||
path: ''
|
||||
fullPath: '/'
|
||||
preLoaderRoute: typeof PublicRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/_authenticated': {
|
||||
id: '/_authenticated'
|
||||
path: ''
|
||||
fullPath: '/'
|
||||
preLoaderRoute: typeof AuthenticatedRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/_authenticated/': {
|
||||
id: '/_authenticated/'
|
||||
path: '/'
|
||||
fullPath: '/'
|
||||
preLoaderRoute: typeof AuthenticatedIndexRouteImport
|
||||
parentRoute: typeof AuthenticatedRoute
|
||||
}
|
||||
'/auth/callback': {
|
||||
id: '/auth/callback'
|
||||
path: '/auth/callback'
|
||||
fullPath: '/auth/callback'
|
||||
preLoaderRoute: typeof AuthCallbackRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/_authenticated/admin': {
|
||||
id: '/_authenticated/admin'
|
||||
path: '/admin'
|
||||
fullPath: '/admin'
|
||||
preLoaderRoute: typeof AuthenticatedAdminRouteImport
|
||||
parentRoute: typeof AuthenticatedRoute
|
||||
}
|
||||
'/_authenticated/admin/': {
|
||||
id: '/_authenticated/admin/'
|
||||
path: '/'
|
||||
fullPath: '/admin/'
|
||||
preLoaderRoute: typeof AuthenticatedAdminIndexRouteImport
|
||||
parentRoute: typeof AuthenticatedAdminRoute
|
||||
}
|
||||
'/_public/auth/signup': {
|
||||
id: '/_public/auth/signup'
|
||||
path: '/auth/signup'
|
||||
fullPath: '/auth/signup'
|
||||
preLoaderRoute: typeof PublicAuthSignupRouteImport
|
||||
parentRoute: typeof PublicRoute
|
||||
}
|
||||
'/_public/auth/reset-password': {
|
||||
id: '/_public/auth/reset-password'
|
||||
path: '/auth/reset-password'
|
||||
fullPath: '/auth/reset-password'
|
||||
preLoaderRoute: typeof PublicAuthResetPasswordRouteImport
|
||||
parentRoute: typeof PublicRoute
|
||||
}
|
||||
'/_public/auth/login': {
|
||||
id: '/_public/auth/login'
|
||||
path: '/auth/login'
|
||||
fullPath: '/auth/login'
|
||||
preLoaderRoute: typeof PublicAuthLoginRouteImport
|
||||
parentRoute: typeof PublicRoute
|
||||
}
|
||||
'/_public/auth/forgot-password': {
|
||||
id: '/_public/auth/forgot-password'
|
||||
path: '/auth/forgot-password'
|
||||
fullPath: '/auth/forgot-password'
|
||||
preLoaderRoute: typeof PublicAuthForgotPasswordRouteImport
|
||||
parentRoute: typeof PublicRoute
|
||||
}
|
||||
'/_authenticated/admin/users': {
|
||||
id: '/_authenticated/admin/users'
|
||||
path: '/users'
|
||||
fullPath: '/admin/users'
|
||||
preLoaderRoute: typeof AuthenticatedAdminUsersRouteImport
|
||||
parentRoute: typeof AuthenticatedAdminRoute
|
||||
}
|
||||
'/_authenticated/admin/campaigns': {
|
||||
id: '/_authenticated/admin/campaigns'
|
||||
path: '/campaigns'
|
||||
fullPath: '/admin/campaigns'
|
||||
preLoaderRoute: typeof AuthenticatedAdminCampaignsRouteImport
|
||||
parentRoute: typeof AuthenticatedAdminRoute
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface AuthenticatedAdminRouteChildren {
|
||||
AuthenticatedAdminCampaignsRoute: typeof AuthenticatedAdminCampaignsRoute
|
||||
AuthenticatedAdminUsersRoute: typeof AuthenticatedAdminUsersRoute
|
||||
AuthenticatedAdminIndexRoute: typeof AuthenticatedAdminIndexRoute
|
||||
}
|
||||
|
||||
const AuthenticatedAdminRouteChildren: AuthenticatedAdminRouteChildren = {
|
||||
AuthenticatedAdminCampaignsRoute: AuthenticatedAdminCampaignsRoute,
|
||||
AuthenticatedAdminUsersRoute: AuthenticatedAdminUsersRoute,
|
||||
AuthenticatedAdminIndexRoute: AuthenticatedAdminIndexRoute,
|
||||
}
|
||||
|
||||
const AuthenticatedAdminRouteWithChildren =
|
||||
AuthenticatedAdminRoute._addFileChildren(AuthenticatedAdminRouteChildren)
|
||||
|
||||
interface AuthenticatedRouteChildren {
|
||||
AuthenticatedAdminRoute: typeof AuthenticatedAdminRouteWithChildren
|
||||
AuthenticatedIndexRoute: typeof AuthenticatedIndexRoute
|
||||
}
|
||||
|
||||
const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
|
||||
AuthenticatedAdminRoute: AuthenticatedAdminRouteWithChildren,
|
||||
AuthenticatedIndexRoute: AuthenticatedIndexRoute,
|
||||
}
|
||||
|
||||
const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
|
||||
AuthenticatedRouteChildren,
|
||||
)
|
||||
|
||||
interface PublicRouteChildren {
|
||||
PublicAuthForgotPasswordRoute: typeof PublicAuthForgotPasswordRoute
|
||||
PublicAuthLoginRoute: typeof PublicAuthLoginRoute
|
||||
PublicAuthResetPasswordRoute: typeof PublicAuthResetPasswordRoute
|
||||
PublicAuthSignupRoute: typeof PublicAuthSignupRoute
|
||||
}
|
||||
|
||||
const PublicRouteChildren: PublicRouteChildren = {
|
||||
PublicAuthForgotPasswordRoute: PublicAuthForgotPasswordRoute,
|
||||
PublicAuthLoginRoute: PublicAuthLoginRoute,
|
||||
PublicAuthResetPasswordRoute: PublicAuthResetPasswordRoute,
|
||||
PublicAuthSignupRoute: PublicAuthSignupRoute,
|
||||
}
|
||||
|
||||
const PublicRouteWithChildren =
|
||||
PublicRoute._addFileChildren(PublicRouteChildren)
|
||||
|
||||
const rootRouteChildren: RootRouteChildren = {
|
||||
AuthenticatedRoute: AuthenticatedRouteWithChildren,
|
||||
PublicRoute: PublicRouteWithChildren,
|
||||
AuthCallbackRoute: AuthCallbackRoute,
|
||||
}
|
||||
export const routeTree = rootRouteImport
|
||||
._addFileChildren(rootRouteChildren)
|
||||
._addFileTypes<FileRouteTypes>()
|
||||
|
||||
Reference in New Issue
Block a user