mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 10:16:43 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
acaf9f8a6b
commit
4636279a40
1 changed files with 21 additions and 31 deletions
|
|
@ -14,9 +14,9 @@ import { Route as RedefinirSenhaRouteImport } from './routes/redefinir-senha'
|
||||||
import { Route as RecuperarSenhaRouteImport } from './routes/recuperar-senha'
|
import { Route as RecuperarSenhaRouteImport } from './routes/recuperar-senha'
|
||||||
import { Route as PainelRouteImport } from './routes/painel'
|
import { Route as PainelRouteImport } from './routes/painel'
|
||||||
import { Route as LoginRouteImport } from './routes/login'
|
import { Route as LoginRouteImport } from './routes/login'
|
||||||
import { Route as AdminRouteImport } from './routes/admin'
|
|
||||||
import { Route as IndexRouteImport } from './routes/index'
|
import { Route as IndexRouteImport } from './routes/index'
|
||||||
import { Route as PainelIndexRouteImport } from './routes/painel.index'
|
import { Route as PainelIndexRouteImport } from './routes/painel.index'
|
||||||
|
import { Route as AdminIndexRouteImport } from './routes/admin.index'
|
||||||
import { Route as PainelSkillsRouteImport } from './routes/painel.skills'
|
import { Route as PainelSkillsRouteImport } from './routes/painel.skills'
|
||||||
import { Route as PainelFaturamentoRouteImport } from './routes/painel.faturamento'
|
import { Route as PainelFaturamentoRouteImport } from './routes/painel.faturamento'
|
||||||
import { Route as PainelConfiguracoesRouteImport } from './routes/painel.configuracoes'
|
import { Route as PainelConfiguracoesRouteImport } from './routes/painel.configuracoes'
|
||||||
|
|
@ -58,11 +58,6 @@ const LoginRoute = LoginRouteImport.update({
|
||||||
path: '/login',
|
path: '/login',
|
||||||
getParentRoute: () => rootRouteImport,
|
getParentRoute: () => rootRouteImport,
|
||||||
} as any)
|
} as any)
|
||||||
const AdminRoute = AdminRouteImport.update({
|
|
||||||
id: '/admin',
|
|
||||||
path: '/admin',
|
|
||||||
getParentRoute: () => rootRouteImport,
|
|
||||||
} as any)
|
|
||||||
const IndexRoute = IndexRouteImport.update({
|
const IndexRoute = IndexRouteImport.update({
|
||||||
id: '/',
|
id: '/',
|
||||||
path: '/',
|
path: '/',
|
||||||
|
|
@ -73,6 +68,11 @@ const PainelIndexRoute = PainelIndexRouteImport.update({
|
||||||
path: '/',
|
path: '/',
|
||||||
getParentRoute: () => PainelRoute,
|
getParentRoute: () => PainelRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
const AdminIndexRoute = AdminIndexRouteImport.update({
|
||||||
|
id: '/admin/',
|
||||||
|
path: '/admin/',
|
||||||
|
getParentRoute: () => rootRouteImport,
|
||||||
|
} as any)
|
||||||
const PainelSkillsRoute = PainelSkillsRouteImport.update({
|
const PainelSkillsRoute = PainelSkillsRouteImport.update({
|
||||||
id: '/skills',
|
id: '/skills',
|
||||||
path: '/skills',
|
path: '/skills',
|
||||||
|
|
@ -151,7 +151,6 @@ const AdminAgenteIdRoute = AdminAgenteIdRouteImport.update({
|
||||||
|
|
||||||
export interface FileRoutesByFullPath {
|
export interface FileRoutesByFullPath {
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute
|
||||||
'/admin': typeof AdminRouteWithChildren
|
|
||||||
'/login': typeof LoginRoute
|
'/login': typeof LoginRoute
|
||||||
'/painel': typeof PainelRouteWithChildren
|
'/painel': typeof PainelRouteWithChildren
|
||||||
'/recuperar-senha': typeof RecuperarSenhaRoute
|
'/recuperar-senha': typeof RecuperarSenhaRoute
|
||||||
|
|
@ -162,6 +161,7 @@ export interface FileRoutesByFullPath {
|
||||||
'/painel/configuracoes': typeof PainelConfiguracoesRoute
|
'/painel/configuracoes': typeof PainelConfiguracoesRoute
|
||||||
'/painel/faturamento': typeof PainelFaturamentoRoute
|
'/painel/faturamento': typeof PainelFaturamentoRoute
|
||||||
'/painel/skills': typeof PainelSkillsRouteWithChildren
|
'/painel/skills': typeof PainelSkillsRouteWithChildren
|
||||||
|
'/admin/': typeof AdminIndexRoute
|
||||||
'/painel/': typeof PainelIndexRoute
|
'/painel/': typeof PainelIndexRoute
|
||||||
'/admin/agente/$id': typeof AdminAgenteIdRoute
|
'/admin/agente/$id': typeof AdminAgenteIdRoute
|
||||||
'/painel/cronjobs/$id': typeof PainelCronjobsIdRoute
|
'/painel/cronjobs/$id': typeof PainelCronjobsIdRoute
|
||||||
|
|
@ -176,7 +176,6 @@ export interface FileRoutesByFullPath {
|
||||||
}
|
}
|
||||||
export interface FileRoutesByTo {
|
export interface FileRoutesByTo {
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute
|
||||||
'/admin': typeof AdminRouteWithChildren
|
|
||||||
'/login': typeof LoginRoute
|
'/login': typeof LoginRoute
|
||||||
'/recuperar-senha': typeof RecuperarSenhaRoute
|
'/recuperar-senha': typeof RecuperarSenhaRoute
|
||||||
'/redefinir-senha': typeof RedefinirSenhaRoute
|
'/redefinir-senha': typeof RedefinirSenhaRoute
|
||||||
|
|
@ -185,6 +184,7 @@ export interface FileRoutesByTo {
|
||||||
'/painel/agente': typeof PainelAgenteRoute
|
'/painel/agente': typeof PainelAgenteRoute
|
||||||
'/painel/configuracoes': typeof PainelConfiguracoesRoute
|
'/painel/configuracoes': typeof PainelConfiguracoesRoute
|
||||||
'/painel/faturamento': typeof PainelFaturamentoRoute
|
'/painel/faturamento': typeof PainelFaturamentoRoute
|
||||||
|
'/admin': typeof AdminIndexRoute
|
||||||
'/painel': typeof PainelIndexRoute
|
'/painel': typeof PainelIndexRoute
|
||||||
'/admin/agente/$id': typeof AdminAgenteIdRoute
|
'/admin/agente/$id': typeof AdminAgenteIdRoute
|
||||||
'/painel/cronjobs/$id': typeof PainelCronjobsIdRoute
|
'/painel/cronjobs/$id': typeof PainelCronjobsIdRoute
|
||||||
|
|
@ -200,7 +200,6 @@ export interface FileRoutesByTo {
|
||||||
export interface FileRoutesById {
|
export interface FileRoutesById {
|
||||||
__root__: typeof rootRouteImport
|
__root__: typeof rootRouteImport
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute
|
||||||
'/admin': typeof AdminRouteWithChildren
|
|
||||||
'/login': typeof LoginRoute
|
'/login': typeof LoginRoute
|
||||||
'/painel': typeof PainelRouteWithChildren
|
'/painel': typeof PainelRouteWithChildren
|
||||||
'/recuperar-senha': typeof RecuperarSenhaRoute
|
'/recuperar-senha': typeof RecuperarSenhaRoute
|
||||||
|
|
@ -211,6 +210,7 @@ export interface FileRoutesById {
|
||||||
'/painel/configuracoes': typeof PainelConfiguracoesRoute
|
'/painel/configuracoes': typeof PainelConfiguracoesRoute
|
||||||
'/painel/faturamento': typeof PainelFaturamentoRoute
|
'/painel/faturamento': typeof PainelFaturamentoRoute
|
||||||
'/painel/skills': typeof PainelSkillsRouteWithChildren
|
'/painel/skills': typeof PainelSkillsRouteWithChildren
|
||||||
|
'/admin/': typeof AdminIndexRoute
|
||||||
'/painel/': typeof PainelIndexRoute
|
'/painel/': typeof PainelIndexRoute
|
||||||
'/admin/agente/$id': typeof AdminAgenteIdRoute
|
'/admin/agente/$id': typeof AdminAgenteIdRoute
|
||||||
'/painel/cronjobs/$id': typeof PainelCronjobsIdRoute
|
'/painel/cronjobs/$id': typeof PainelCronjobsIdRoute
|
||||||
|
|
@ -227,7 +227,6 @@ export interface FileRouteTypes {
|
||||||
fileRoutesByFullPath: FileRoutesByFullPath
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||||||
fullPaths:
|
fullPaths:
|
||||||
| '/'
|
| '/'
|
||||||
| '/admin'
|
|
||||||
| '/login'
|
| '/login'
|
||||||
| '/painel'
|
| '/painel'
|
||||||
| '/recuperar-senha'
|
| '/recuperar-senha'
|
||||||
|
|
@ -238,6 +237,7 @@ export interface FileRouteTypes {
|
||||||
| '/painel/configuracoes'
|
| '/painel/configuracoes'
|
||||||
| '/painel/faturamento'
|
| '/painel/faturamento'
|
||||||
| '/painel/skills'
|
| '/painel/skills'
|
||||||
|
| '/admin/'
|
||||||
| '/painel/'
|
| '/painel/'
|
||||||
| '/admin/agente/$id'
|
| '/admin/agente/$id'
|
||||||
| '/painel/cronjobs/$id'
|
| '/painel/cronjobs/$id'
|
||||||
|
|
@ -252,7 +252,6 @@ export interface FileRouteTypes {
|
||||||
fileRoutesByTo: FileRoutesByTo
|
fileRoutesByTo: FileRoutesByTo
|
||||||
to:
|
to:
|
||||||
| '/'
|
| '/'
|
||||||
| '/admin'
|
|
||||||
| '/login'
|
| '/login'
|
||||||
| '/recuperar-senha'
|
| '/recuperar-senha'
|
||||||
| '/redefinir-senha'
|
| '/redefinir-senha'
|
||||||
|
|
@ -261,6 +260,7 @@ export interface FileRouteTypes {
|
||||||
| '/painel/agente'
|
| '/painel/agente'
|
||||||
| '/painel/configuracoes'
|
| '/painel/configuracoes'
|
||||||
| '/painel/faturamento'
|
| '/painel/faturamento'
|
||||||
|
| '/admin'
|
||||||
| '/painel'
|
| '/painel'
|
||||||
| '/admin/agente/$id'
|
| '/admin/agente/$id'
|
||||||
| '/painel/cronjobs/$id'
|
| '/painel/cronjobs/$id'
|
||||||
|
|
@ -275,7 +275,6 @@ export interface FileRouteTypes {
|
||||||
id:
|
id:
|
||||||
| '__root__'
|
| '__root__'
|
||||||
| '/'
|
| '/'
|
||||||
| '/admin'
|
|
||||||
| '/login'
|
| '/login'
|
||||||
| '/painel'
|
| '/painel'
|
||||||
| '/recuperar-senha'
|
| '/recuperar-senha'
|
||||||
|
|
@ -286,6 +285,7 @@ export interface FileRouteTypes {
|
||||||
| '/painel/configuracoes'
|
| '/painel/configuracoes'
|
||||||
| '/painel/faturamento'
|
| '/painel/faturamento'
|
||||||
| '/painel/skills'
|
| '/painel/skills'
|
||||||
|
| '/admin/'
|
||||||
| '/painel/'
|
| '/painel/'
|
||||||
| '/admin/agente/$id'
|
| '/admin/agente/$id'
|
||||||
| '/painel/cronjobs/$id'
|
| '/painel/cronjobs/$id'
|
||||||
|
|
@ -301,13 +301,13 @@ export interface FileRouteTypes {
|
||||||
}
|
}
|
||||||
export interface RootRouteChildren {
|
export interface RootRouteChildren {
|
||||||
IndexRoute: typeof IndexRoute
|
IndexRoute: typeof IndexRoute
|
||||||
AdminRoute: typeof AdminRouteWithChildren
|
|
||||||
LoginRoute: typeof LoginRoute
|
LoginRoute: typeof LoginRoute
|
||||||
PainelRoute: typeof PainelRouteWithChildren
|
PainelRoute: typeof PainelRouteWithChildren
|
||||||
RecuperarSenhaRoute: typeof RecuperarSenhaRoute
|
RecuperarSenhaRoute: typeof RecuperarSenhaRoute
|
||||||
RedefinirSenhaRoute: typeof RedefinirSenhaRoute
|
RedefinirSenhaRoute: typeof RedefinirSenhaRoute
|
||||||
SignupRoute: typeof SignupRoute
|
SignupRoute: typeof SignupRoute
|
||||||
CheckoutSucessoRoute: typeof CheckoutSucessoRoute
|
CheckoutSucessoRoute: typeof CheckoutSucessoRoute
|
||||||
|
AdminIndexRoute: typeof AdminIndexRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module '@tanstack/react-router' {
|
declare module '@tanstack/react-router' {
|
||||||
|
|
@ -347,13 +347,6 @@ declare module '@tanstack/react-router' {
|
||||||
preLoaderRoute: typeof LoginRouteImport
|
preLoaderRoute: typeof LoginRouteImport
|
||||||
parentRoute: typeof rootRouteImport
|
parentRoute: typeof rootRouteImport
|
||||||
}
|
}
|
||||||
'/admin': {
|
|
||||||
id: '/admin'
|
|
||||||
path: '/admin'
|
|
||||||
fullPath: '/admin'
|
|
||||||
preLoaderRoute: typeof AdminRouteImport
|
|
||||||
parentRoute: typeof rootRouteImport
|
|
||||||
}
|
|
||||||
'/': {
|
'/': {
|
||||||
id: '/'
|
id: '/'
|
||||||
path: '/'
|
path: '/'
|
||||||
|
|
@ -368,6 +361,13 @@ declare module '@tanstack/react-router' {
|
||||||
preLoaderRoute: typeof PainelIndexRouteImport
|
preLoaderRoute: typeof PainelIndexRouteImport
|
||||||
parentRoute: typeof PainelRoute
|
parentRoute: typeof PainelRoute
|
||||||
}
|
}
|
||||||
|
'/admin/': {
|
||||||
|
id: '/admin/'
|
||||||
|
path: '/admin'
|
||||||
|
fullPath: '/admin/'
|
||||||
|
preLoaderRoute: typeof AdminIndexRouteImport
|
||||||
|
parentRoute: typeof rootRouteImport
|
||||||
|
}
|
||||||
'/painel/skills': {
|
'/painel/skills': {
|
||||||
id: '/painel/skills'
|
id: '/painel/skills'
|
||||||
path: '/skills'
|
path: '/skills'
|
||||||
|
|
@ -476,16 +476,6 @@ declare module '@tanstack/react-router' {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AdminRouteChildren {
|
|
||||||
AdminAgenteIdRoute: typeof AdminAgenteIdRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AdminRouteChildren: AdminRouteChildren = {
|
|
||||||
AdminAgenteIdRoute: AdminAgenteIdRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AdminRouteWithChildren = AdminRoute._addFileChildren(AdminRouteChildren)
|
|
||||||
|
|
||||||
interface PainelSkillsRouteChildren {
|
interface PainelSkillsRouteChildren {
|
||||||
PainelSkillsIdRoute: typeof PainelSkillsIdRoute
|
PainelSkillsIdRoute: typeof PainelSkillsIdRoute
|
||||||
PainelSkillsNovaRoute: typeof PainelSkillsNovaRoute
|
PainelSkillsNovaRoute: typeof PainelSkillsNovaRoute
|
||||||
|
|
@ -535,13 +525,13 @@ const PainelRouteWithChildren =
|
||||||
|
|
||||||
const rootRouteChildren: RootRouteChildren = {
|
const rootRouteChildren: RootRouteChildren = {
|
||||||
IndexRoute: IndexRoute,
|
IndexRoute: IndexRoute,
|
||||||
AdminRoute: AdminRouteWithChildren,
|
|
||||||
LoginRoute: LoginRoute,
|
LoginRoute: LoginRoute,
|
||||||
PainelRoute: PainelRouteWithChildren,
|
PainelRoute: PainelRouteWithChildren,
|
||||||
RecuperarSenhaRoute: RecuperarSenhaRoute,
|
RecuperarSenhaRoute: RecuperarSenhaRoute,
|
||||||
RedefinirSenhaRoute: RedefinirSenhaRoute,
|
RedefinirSenhaRoute: RedefinirSenhaRoute,
|
||||||
SignupRoute: SignupRoute,
|
SignupRoute: SignupRoute,
|
||||||
CheckoutSucessoRoute: CheckoutSucessoRoute,
|
CheckoutSucessoRoute: CheckoutSucessoRoute,
|
||||||
|
AdminIndexRoute: AdminIndexRoute,
|
||||||
}
|
}
|
||||||
export const routeTree = rootRouteImport
|
export const routeTree = rootRouteImport
|
||||||
._addFileChildren(rootRouteChildren)
|
._addFileChildren(rootRouteChildren)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue