feat: app de alumnos sin contraseña (invitación de un solo uso, avisos de falta y pagos informados)
- Acceso del alumno o tutor con link de un solo uso (hash SHA-256, consumo atómico, el GET no consume), sesión propia de 90 días deslizante, passkeys opcionales (SimpleWebAuthn) y mail de recuperación con rate limit. - Lado alumno (/i/:token, /acceso, /alumno/*): inicio, clases, avisar falta, pagos, informar pago con comprobante (S3 privado, magic bytes) y perfil. - Lado profe: acceso a la app en la ficha del alumno (invitar/reinvitar), "Pagos para verificar" en Cobros con badge, faltas avisadas en la ficha de grupo y datos para transferir en Ajustes. - "Requiere atención" y el recordatorio de WhatsApp excluyen cuotas informadas. - Zona horaria por defecto: Buenos Aires. - Migración add_student_access, tests contra Postgres real (test:db) y docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
import { Route as rootRouteImport } from './routes/__root'
|
||||
import { Route as AuthenticatedRouteImport } from './routes/_authenticated'
|
||||
import { Route as StudentRouteImport } from './routes/_student'
|
||||
import { Route as AdminRouteImport } from './routes/admin'
|
||||
import { Route as ForgotPasswordRouteImport } from './routes/forgot-password'
|
||||
import { Route as LoginRouteImport } from './routes/login'
|
||||
@@ -23,12 +24,22 @@ import { Route as AuthenticatedPaymentsRouteImport } from './routes/_authenticat
|
||||
import { Route as AuthenticatedProfileRouteImport } from './routes/_authenticated/profile'
|
||||
import { Route as AuthenticatedSecurityRouteImport } from './routes/_authenticated/security'
|
||||
import { Route as AuthenticatedSettingsRouteImport } from './routes/_authenticated/settings'
|
||||
import { Route as AccesoIndexRouteImport } from './routes/acceso.index'
|
||||
import { Route as AdminIndexRouteImport } from './routes/admin/index'
|
||||
import { Route as ITokenRouteImport } from './routes/i.$token'
|
||||
import { Route as JoinTokenRouteImport } from './routes/join.$token'
|
||||
import { Route as ReportAbsenceTokenRouteImport } from './routes/report-absence.$token'
|
||||
import { Route as AuthenticatedGroupsIndexRouteImport } from './routes/_authenticated/groups/index'
|
||||
import { Route as AuthenticatedGroupsAttentionRouteImport } from './routes/_authenticated/groups/attention'
|
||||
import { Route as AuthenticatedGroupsNewRouteImport } from './routes/_authenticated/groups/new'
|
||||
import { Route as StudentAlumnoIndexRouteImport } from './routes/_student/alumno.index'
|
||||
import { Route as StudentAlumnoAvisarRouteImport } from './routes/_student/alumno.avisar'
|
||||
import { Route as StudentAlumnoBienvenidaRouteImport } from './routes/_student/alumno.bienvenida'
|
||||
import { Route as StudentAlumnoClasesRouteImport } from './routes/_student/alumno.clases'
|
||||
import { Route as StudentAlumnoInformarPagoRouteImport } from './routes/_student/alumno.informar-pago'
|
||||
import { Route as StudentAlumnoPagosRouteImport } from './routes/_student/alumno.pagos'
|
||||
import { Route as StudentAlumnoPerfilRouteImport } from './routes/_student/alumno.perfil'
|
||||
import { Route as AccesoMailTokenRouteImport } from './routes/acceso.mail.$token'
|
||||
import { Route as AdminAccountsAccountIdRouteImport } from './routes/admin/accounts.$accountId'
|
||||
import { Route as AuthenticatedClassSessionIdAttendanceRouteImport } from './routes/_authenticated/class/$sessionId/attendance'
|
||||
import { Route as AuthenticatedGroupsGroupIdIndexRouteImport } from './routes/_authenticated/groups/$groupId/index'
|
||||
@@ -40,6 +51,10 @@ const AuthenticatedRoute = AuthenticatedRouteImport.update({
|
||||
id: '/_authenticated',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const StudentRoute = StudentRouteImport.update({
|
||||
id: '/_student',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AdminRoute = AdminRouteImport.update({
|
||||
id: '/admin',
|
||||
path: '/admin',
|
||||
@@ -105,11 +120,21 @@ const AuthenticatedSettingsRoute = AuthenticatedSettingsRouteImport.update({
|
||||
path: '/settings',
|
||||
getParentRoute: () => AuthenticatedRoute,
|
||||
} as any)
|
||||
const AccesoIndexRoute = AccesoIndexRouteImport.update({
|
||||
id: '/acceso/',
|
||||
path: '/acceso/',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AdminIndexRoute = AdminIndexRouteImport.update({
|
||||
id: '/',
|
||||
path: '/',
|
||||
getParentRoute: () => AdminRoute,
|
||||
} as any)
|
||||
const ITokenRoute = ITokenRouteImport.update({
|
||||
id: '/i/$token',
|
||||
path: '/i/$token',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const JoinTokenRoute = JoinTokenRouteImport.update({
|
||||
id: '/join/$token',
|
||||
path: '/join/$token',
|
||||
@@ -137,6 +162,47 @@ const AuthenticatedGroupsNewRoute = AuthenticatedGroupsNewRouteImport.update({
|
||||
path: '/groups/new',
|
||||
getParentRoute: () => AuthenticatedRoute,
|
||||
} as any)
|
||||
const StudentAlumnoIndexRoute = StudentAlumnoIndexRouteImport.update({
|
||||
id: '/alumno/',
|
||||
path: '/alumno/',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const StudentAlumnoAvisarRoute = StudentAlumnoAvisarRouteImport.update({
|
||||
id: '/alumno/avisar',
|
||||
path: '/alumno/avisar',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const StudentAlumnoBienvenidaRoute = StudentAlumnoBienvenidaRouteImport.update({
|
||||
id: '/alumno/bienvenida',
|
||||
path: '/alumno/bienvenida',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const StudentAlumnoClasesRoute = StudentAlumnoClasesRouteImport.update({
|
||||
id: '/alumno/clases',
|
||||
path: '/alumno/clases',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const StudentAlumnoInformarPagoRoute =
|
||||
StudentAlumnoInformarPagoRouteImport.update({
|
||||
id: '/alumno/informar-pago',
|
||||
path: '/alumno/informar-pago',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const StudentAlumnoPagosRoute = StudentAlumnoPagosRouteImport.update({
|
||||
id: '/alumno/pagos',
|
||||
path: '/alumno/pagos',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const StudentAlumnoPerfilRoute = StudentAlumnoPerfilRouteImport.update({
|
||||
id: '/alumno/perfil',
|
||||
path: '/alumno/perfil',
|
||||
getParentRoute: () => StudentRoute,
|
||||
} as any)
|
||||
const AccesoMailTokenRoute = AccesoMailTokenRouteImport.update({
|
||||
id: '/acceso/mail/$token',
|
||||
path: '/acceso/mail/$token',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const AdminAccountsAccountIdRoute = AdminAccountsAccountIdRouteImport.update({
|
||||
id: '/accounts/$accountId',
|
||||
path: '/accounts/$accountId',
|
||||
@@ -187,13 +253,23 @@ export interface FileRoutesByFullPath {
|
||||
'/profile': typeof AuthenticatedProfileRoute
|
||||
'/security': typeof AuthenticatedSecurityRoute
|
||||
'/settings': typeof AuthenticatedSettingsRoute
|
||||
'/i/$token': typeof ITokenRoute
|
||||
'/join/$token': typeof JoinTokenRoute
|
||||
'/report-absence/$token': typeof ReportAbsenceTokenRoute
|
||||
'/acceso/': typeof AccesoIndexRoute
|
||||
'/admin/': typeof AdminIndexRoute
|
||||
'/groups/attention': typeof AuthenticatedGroupsAttentionRoute
|
||||
'/groups/new': typeof AuthenticatedGroupsNewRoute
|
||||
'/alumno/avisar': typeof StudentAlumnoAvisarRoute
|
||||
'/alumno/bienvenida': typeof StudentAlumnoBienvenidaRoute
|
||||
'/alumno/clases': typeof StudentAlumnoClasesRoute
|
||||
'/alumno/informar-pago': typeof StudentAlumnoInformarPagoRoute
|
||||
'/alumno/pagos': typeof StudentAlumnoPagosRoute
|
||||
'/alumno/perfil': typeof StudentAlumnoPerfilRoute
|
||||
'/acceso/mail/$token': typeof AccesoMailTokenRoute
|
||||
'/admin/accounts/$accountId': typeof AdminAccountsAccountIdRoute
|
||||
'/groups/': typeof AuthenticatedGroupsIndexRoute
|
||||
'/alumno/': typeof StudentAlumnoIndexRoute
|
||||
'/class/$sessionId/attendance': typeof AuthenticatedClassSessionIdAttendanceRoute
|
||||
'/groups/$groupId/analytics': typeof AuthenticatedGroupsGroupIdAnalyticsRoute
|
||||
'/groups/$groupId/': typeof AuthenticatedGroupsGroupIdIndexRoute
|
||||
@@ -201,6 +277,7 @@ export interface FileRoutesByFullPath {
|
||||
'/groups/$groupId/attendees/new': typeof AuthenticatedGroupsGroupIdAttendeesNewRoute
|
||||
}
|
||||
export interface FileRoutesByTo {
|
||||
'/': typeof AuthenticatedIndexRoute
|
||||
'/forgot-password': typeof ForgotPasswordRoute
|
||||
'/login': typeof LoginRoute
|
||||
'/onboarding': typeof OnboardingRoute
|
||||
@@ -212,14 +289,23 @@ export interface FileRoutesByTo {
|
||||
'/profile': typeof AuthenticatedProfileRoute
|
||||
'/security': typeof AuthenticatedSecurityRoute
|
||||
'/settings': typeof AuthenticatedSettingsRoute
|
||||
'/i/$token': typeof ITokenRoute
|
||||
'/join/$token': typeof JoinTokenRoute
|
||||
'/report-absence/$token': typeof ReportAbsenceTokenRoute
|
||||
'/': typeof AuthenticatedIndexRoute
|
||||
'/acceso': typeof AccesoIndexRoute
|
||||
'/admin': typeof AdminIndexRoute
|
||||
'/groups/attention': typeof AuthenticatedGroupsAttentionRoute
|
||||
'/groups/new': typeof AuthenticatedGroupsNewRoute
|
||||
'/alumno/avisar': typeof StudentAlumnoAvisarRoute
|
||||
'/alumno/bienvenida': typeof StudentAlumnoBienvenidaRoute
|
||||
'/alumno/clases': typeof StudentAlumnoClasesRoute
|
||||
'/alumno/informar-pago': typeof StudentAlumnoInformarPagoRoute
|
||||
'/alumno/pagos': typeof StudentAlumnoPagosRoute
|
||||
'/alumno/perfil': typeof StudentAlumnoPerfilRoute
|
||||
'/acceso/mail/$token': typeof AccesoMailTokenRoute
|
||||
'/admin/accounts/$accountId': typeof AdminAccountsAccountIdRoute
|
||||
'/groups': typeof AuthenticatedGroupsIndexRoute
|
||||
'/alumno': typeof StudentAlumnoIndexRoute
|
||||
'/class/$sessionId/attendance': typeof AuthenticatedClassSessionIdAttendanceRoute
|
||||
'/groups/$groupId/analytics': typeof AuthenticatedGroupsGroupIdAnalyticsRoute
|
||||
'/groups/$groupId': typeof AuthenticatedGroupsGroupIdIndexRoute
|
||||
@@ -229,6 +315,7 @@ export interface FileRoutesByTo {
|
||||
export interface FileRoutesById {
|
||||
__root__: typeof rootRouteImport
|
||||
'/_authenticated': typeof AuthenticatedRouteWithChildren
|
||||
'/_student': typeof StudentRouteWithChildren
|
||||
'/admin': typeof AdminRouteWithChildren
|
||||
'/forgot-password': typeof ForgotPasswordRoute
|
||||
'/login': typeof LoginRoute
|
||||
@@ -241,14 +328,24 @@ export interface FileRoutesById {
|
||||
'/_authenticated/profile': typeof AuthenticatedProfileRoute
|
||||
'/_authenticated/security': typeof AuthenticatedSecurityRoute
|
||||
'/_authenticated/settings': typeof AuthenticatedSettingsRoute
|
||||
'/i/$token': typeof ITokenRoute
|
||||
'/join/$token': typeof JoinTokenRoute
|
||||
'/report-absence/$token': typeof ReportAbsenceTokenRoute
|
||||
'/_authenticated/': typeof AuthenticatedIndexRoute
|
||||
'/acceso/': typeof AccesoIndexRoute
|
||||
'/admin/': typeof AdminIndexRoute
|
||||
'/_authenticated/groups/attention': typeof AuthenticatedGroupsAttentionRoute
|
||||
'/_authenticated/groups/new': typeof AuthenticatedGroupsNewRoute
|
||||
'/_student/alumno/avisar': typeof StudentAlumnoAvisarRoute
|
||||
'/_student/alumno/bienvenida': typeof StudentAlumnoBienvenidaRoute
|
||||
'/_student/alumno/clases': typeof StudentAlumnoClasesRoute
|
||||
'/_student/alumno/informar-pago': typeof StudentAlumnoInformarPagoRoute
|
||||
'/_student/alumno/pagos': typeof StudentAlumnoPagosRoute
|
||||
'/_student/alumno/perfil': typeof StudentAlumnoPerfilRoute
|
||||
'/acceso/mail/$token': typeof AccesoMailTokenRoute
|
||||
'/admin/accounts/$accountId': typeof AdminAccountsAccountIdRoute
|
||||
'/_authenticated/groups/': typeof AuthenticatedGroupsIndexRoute
|
||||
'/_student/alumno/': typeof StudentAlumnoIndexRoute
|
||||
'/_authenticated/class/$sessionId/attendance': typeof AuthenticatedClassSessionIdAttendanceRoute
|
||||
'/_authenticated/groups/$groupId/analytics': typeof AuthenticatedGroupsGroupIdAnalyticsRoute
|
||||
'/_authenticated/groups/$groupId/': typeof AuthenticatedGroupsGroupIdIndexRoute
|
||||
@@ -271,13 +368,23 @@ export interface FileRouteTypes {
|
||||
| '/profile'
|
||||
| '/security'
|
||||
| '/settings'
|
||||
| '/i/$token'
|
||||
| '/join/$token'
|
||||
| '/report-absence/$token'
|
||||
| '/acceso/'
|
||||
| '/admin/'
|
||||
| '/groups/attention'
|
||||
| '/groups/new'
|
||||
| '/alumno/avisar'
|
||||
| '/alumno/bienvenida'
|
||||
| '/alumno/clases'
|
||||
| '/alumno/informar-pago'
|
||||
| '/alumno/pagos'
|
||||
| '/alumno/perfil'
|
||||
| '/acceso/mail/$token'
|
||||
| '/admin/accounts/$accountId'
|
||||
| '/groups/'
|
||||
| '/alumno/'
|
||||
| '/class/$sessionId/attendance'
|
||||
| '/groups/$groupId/analytics'
|
||||
| '/groups/$groupId/'
|
||||
@@ -285,6 +392,7 @@ export interface FileRouteTypes {
|
||||
| '/groups/$groupId/attendees/new'
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to:
|
||||
| '/'
|
||||
| '/forgot-password'
|
||||
| '/login'
|
||||
| '/onboarding'
|
||||
@@ -296,14 +404,23 @@ export interface FileRouteTypes {
|
||||
| '/profile'
|
||||
| '/security'
|
||||
| '/settings'
|
||||
| '/i/$token'
|
||||
| '/join/$token'
|
||||
| '/report-absence/$token'
|
||||
| '/'
|
||||
| '/acceso'
|
||||
| '/admin'
|
||||
| '/groups/attention'
|
||||
| '/groups/new'
|
||||
| '/alumno/avisar'
|
||||
| '/alumno/bienvenida'
|
||||
| '/alumno/clases'
|
||||
| '/alumno/informar-pago'
|
||||
| '/alumno/pagos'
|
||||
| '/alumno/perfil'
|
||||
| '/acceso/mail/$token'
|
||||
| '/admin/accounts/$accountId'
|
||||
| '/groups'
|
||||
| '/alumno'
|
||||
| '/class/$sessionId/attendance'
|
||||
| '/groups/$groupId/analytics'
|
||||
| '/groups/$groupId'
|
||||
@@ -312,6 +429,7 @@ export interface FileRouteTypes {
|
||||
id:
|
||||
| '__root__'
|
||||
| '/_authenticated'
|
||||
| '/_student'
|
||||
| '/admin'
|
||||
| '/forgot-password'
|
||||
| '/login'
|
||||
@@ -324,14 +442,24 @@ export interface FileRouteTypes {
|
||||
| '/_authenticated/profile'
|
||||
| '/_authenticated/security'
|
||||
| '/_authenticated/settings'
|
||||
| '/i/$token'
|
||||
| '/join/$token'
|
||||
| '/report-absence/$token'
|
||||
| '/_authenticated/'
|
||||
| '/acceso/'
|
||||
| '/admin/'
|
||||
| '/_authenticated/groups/attention'
|
||||
| '/_authenticated/groups/new'
|
||||
| '/_student/alumno/avisar'
|
||||
| '/_student/alumno/bienvenida'
|
||||
| '/_student/alumno/clases'
|
||||
| '/_student/alumno/informar-pago'
|
||||
| '/_student/alumno/pagos'
|
||||
| '/_student/alumno/perfil'
|
||||
| '/acceso/mail/$token'
|
||||
| '/admin/accounts/$accountId'
|
||||
| '/_authenticated/groups/'
|
||||
| '/_student/alumno/'
|
||||
| '/_authenticated/class/$sessionId/attendance'
|
||||
| '/_authenticated/groups/$groupId/analytics'
|
||||
| '/_authenticated/groups/$groupId/'
|
||||
@@ -341,6 +469,7 @@ export interface FileRouteTypes {
|
||||
}
|
||||
export interface RootRouteChildren {
|
||||
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
|
||||
StudentRoute: typeof StudentRouteWithChildren
|
||||
AdminRoute: typeof AdminRouteWithChildren
|
||||
ForgotPasswordRoute: typeof ForgotPasswordRoute
|
||||
LoginRoute: typeof LoginRoute
|
||||
@@ -348,8 +477,11 @@ export interface RootRouteChildren {
|
||||
ResetPasswordRoute: typeof ResetPasswordRoute
|
||||
SignupRoute: typeof SignupRoute
|
||||
VerifyEmailRoute: typeof VerifyEmailRoute
|
||||
ITokenRoute: typeof ITokenRoute
|
||||
JoinTokenRoute: typeof JoinTokenRoute
|
||||
ReportAbsenceTokenRoute: typeof ReportAbsenceTokenRoute
|
||||
AccesoIndexRoute: typeof AccesoIndexRoute
|
||||
AccesoMailTokenRoute: typeof AccesoMailTokenRoute
|
||||
}
|
||||
|
||||
declare module '@tanstack/react-router' {
|
||||
@@ -361,6 +493,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof AuthenticatedRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/_student': {
|
||||
id: '/_student'
|
||||
path: ''
|
||||
fullPath: '/'
|
||||
preLoaderRoute: typeof StudentRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/admin': {
|
||||
id: '/admin'
|
||||
path: '/admin'
|
||||
@@ -452,6 +591,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof AuthenticatedSettingsRouteImport
|
||||
parentRoute: typeof AuthenticatedRoute
|
||||
}
|
||||
'/acceso/': {
|
||||
id: '/acceso/'
|
||||
path: '/acceso'
|
||||
fullPath: '/acceso/'
|
||||
preLoaderRoute: typeof AccesoIndexRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/admin/': {
|
||||
id: '/admin/'
|
||||
path: '/'
|
||||
@@ -459,6 +605,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof AdminIndexRouteImport
|
||||
parentRoute: typeof AdminRoute
|
||||
}
|
||||
'/i/$token': {
|
||||
id: '/i/$token'
|
||||
path: '/i/$token'
|
||||
fullPath: '/i/$token'
|
||||
preLoaderRoute: typeof ITokenRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/join/$token': {
|
||||
id: '/join/$token'
|
||||
path: '/join/$token'
|
||||
@@ -494,6 +647,62 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof AuthenticatedGroupsNewRouteImport
|
||||
parentRoute: typeof AuthenticatedRoute
|
||||
}
|
||||
'/_student/alumno/': {
|
||||
id: '/_student/alumno/'
|
||||
path: '/alumno'
|
||||
fullPath: '/alumno/'
|
||||
preLoaderRoute: typeof StudentAlumnoIndexRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/_student/alumno/avisar': {
|
||||
id: '/_student/alumno/avisar'
|
||||
path: '/alumno/avisar'
|
||||
fullPath: '/alumno/avisar'
|
||||
preLoaderRoute: typeof StudentAlumnoAvisarRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/_student/alumno/bienvenida': {
|
||||
id: '/_student/alumno/bienvenida'
|
||||
path: '/alumno/bienvenida'
|
||||
fullPath: '/alumno/bienvenida'
|
||||
preLoaderRoute: typeof StudentAlumnoBienvenidaRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/_student/alumno/clases': {
|
||||
id: '/_student/alumno/clases'
|
||||
path: '/alumno/clases'
|
||||
fullPath: '/alumno/clases'
|
||||
preLoaderRoute: typeof StudentAlumnoClasesRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/_student/alumno/informar-pago': {
|
||||
id: '/_student/alumno/informar-pago'
|
||||
path: '/alumno/informar-pago'
|
||||
fullPath: '/alumno/informar-pago'
|
||||
preLoaderRoute: typeof StudentAlumnoInformarPagoRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/_student/alumno/pagos': {
|
||||
id: '/_student/alumno/pagos'
|
||||
path: '/alumno/pagos'
|
||||
fullPath: '/alumno/pagos'
|
||||
preLoaderRoute: typeof StudentAlumnoPagosRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/_student/alumno/perfil': {
|
||||
id: '/_student/alumno/perfil'
|
||||
path: '/alumno/perfil'
|
||||
fullPath: '/alumno/perfil'
|
||||
preLoaderRoute: typeof StudentAlumnoPerfilRouteImport
|
||||
parentRoute: typeof StudentRoute
|
||||
}
|
||||
'/acceso/mail/$token': {
|
||||
id: '/acceso/mail/$token'
|
||||
path: '/acceso/mail/$token'
|
||||
fullPath: '/acceso/mail/$token'
|
||||
preLoaderRoute: typeof AccesoMailTokenRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/admin/accounts/$accountId': {
|
||||
id: '/admin/accounts/$accountId'
|
||||
path: '/accounts/$accountId'
|
||||
@@ -581,6 +790,29 @@ const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
|
||||
AuthenticatedRouteChildren,
|
||||
)
|
||||
|
||||
interface StudentRouteChildren {
|
||||
StudentAlumnoAvisarRoute: typeof StudentAlumnoAvisarRoute
|
||||
StudentAlumnoBienvenidaRoute: typeof StudentAlumnoBienvenidaRoute
|
||||
StudentAlumnoClasesRoute: typeof StudentAlumnoClasesRoute
|
||||
StudentAlumnoInformarPagoRoute: typeof StudentAlumnoInformarPagoRoute
|
||||
StudentAlumnoPagosRoute: typeof StudentAlumnoPagosRoute
|
||||
StudentAlumnoPerfilRoute: typeof StudentAlumnoPerfilRoute
|
||||
StudentAlumnoIndexRoute: typeof StudentAlumnoIndexRoute
|
||||
}
|
||||
|
||||
const StudentRouteChildren: StudentRouteChildren = {
|
||||
StudentAlumnoAvisarRoute: StudentAlumnoAvisarRoute,
|
||||
StudentAlumnoBienvenidaRoute: StudentAlumnoBienvenidaRoute,
|
||||
StudentAlumnoClasesRoute: StudentAlumnoClasesRoute,
|
||||
StudentAlumnoInformarPagoRoute: StudentAlumnoInformarPagoRoute,
|
||||
StudentAlumnoPagosRoute: StudentAlumnoPagosRoute,
|
||||
StudentAlumnoPerfilRoute: StudentAlumnoPerfilRoute,
|
||||
StudentAlumnoIndexRoute: StudentAlumnoIndexRoute,
|
||||
}
|
||||
|
||||
const StudentRouteWithChildren =
|
||||
StudentRoute._addFileChildren(StudentRouteChildren)
|
||||
|
||||
interface AdminRouteChildren {
|
||||
AdminIndexRoute: typeof AdminIndexRoute
|
||||
AdminAccountsAccountIdRoute: typeof AdminAccountsAccountIdRoute
|
||||
@@ -595,6 +827,7 @@ const AdminRouteWithChildren = AdminRoute._addFileChildren(AdminRouteChildren)
|
||||
|
||||
const rootRouteChildren: RootRouteChildren = {
|
||||
AuthenticatedRoute: AuthenticatedRouteWithChildren,
|
||||
StudentRoute: StudentRouteWithChildren,
|
||||
AdminRoute: AdminRouteWithChildren,
|
||||
ForgotPasswordRoute: ForgotPasswordRoute,
|
||||
LoginRoute: LoginRoute,
|
||||
@@ -602,8 +835,11 @@ const rootRouteChildren: RootRouteChildren = {
|
||||
ResetPasswordRoute: ResetPasswordRoute,
|
||||
SignupRoute: SignupRoute,
|
||||
VerifyEmailRoute: VerifyEmailRoute,
|
||||
ITokenRoute: ITokenRoute,
|
||||
JoinTokenRoute: JoinTokenRoute,
|
||||
ReportAbsenceTokenRoute: ReportAbsenceTokenRoute,
|
||||
AccesoIndexRoute: AccesoIndexRoute,
|
||||
AccesoMailTokenRoute: AccesoMailTokenRoute,
|
||||
}
|
||||
export const routeTree = rootRouteImport
|
||||
._addFileChildren(rootRouteChildren)
|
||||
|
||||
Reference in New Issue
Block a user