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:
maulanasdqn
2026-04-11 22:53:17 +07:00
co-authored by Claude Opus 4.6
parent 8cb7b592eb
commit d5b267332f
38 changed files with 2564 additions and 78 deletions
+923 -2
View File
@@ -1,2 +1,923 @@
// 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 IndexRouteImport } from './routes/index'
import { Route as AuthenticatedUsersDimentorinRouteImport } from './routes/_authenticated/users-dimentorin'
import { Route as AuthenticatedTransactionsRouteImport } from './routes/_authenticated/transactions'
import { Route as AuthenticatedSettingsDimentorinRouteImport } from './routes/_authenticated/settings-dimentorin'
import { Route as AuthenticatedSessionDimentorinRouteImport } from './routes/_authenticated/session-dimentorin'
import { Route as AuthenticatedRolesRouteImport } from './routes/_authenticated/roles'
import { Route as AuthenticatedRoadmapDimentorinRouteImport } from './routes/_authenticated/roadmap-dimentorin'
import { Route as AuthenticatedPrizesRouteImport } from './routes/_authenticated/prizes'
import { Route as AuthenticatedPermissionsRouteImport } from './routes/_authenticated/permissions'
import { Route as AuthenticatedHackathonUsersRouteImport } from './routes/_authenticated/hackathon-users'
import { Route as AuthenticatedHackathonTeamsRouteImport } from './routes/_authenticated/hackathon-teams'
import { Route as AuthenticatedHackathonSubmissionsRouteImport } from './routes/_authenticated/hackathon-submissions'
import { Route as AuthenticatedHackathonDashboardRouteImport } from './routes/_authenticated/hackathon-dashboard'
import { Route as AuthenticatedGachaRollRouteImport } from './routes/_authenticated/gacha-roll'
import { Route as AuthenticatedFeedbackReviewDimentorinRouteImport } from './routes/_authenticated/feedback-review-dimentorin'
import { Route as AuthenticatedDashboardDimentorinRouteImport } from './routes/_authenticated/dashboard-dimentorin'
import { Route as AuthenticatedDashboardRouteImport } from './routes/_authenticated/dashboard'
import { Route as AuthenticatedCmsTestimonialsRouteImport } from './routes/_authenticated/cms-testimonials'
import { Route as AuthenticatedCmsEventsRouteImport } from './routes/_authenticated/cms-events'
import { Route as AuthenticatedAccountsRouteImport } from './routes/_authenticated/accounts'
import { Route as PublicAuthLoginRouteImport } from './routes/_public/auth/login'
import { Route as AuthenticatedUsersDimentorinIdRouteImport } from './routes/_authenticated/users-dimentorin_/$id'
import { Route as AuthenticatedSessionDimentorinIdRouteImport } from './routes/_authenticated/session-dimentorin_/$id'
import { Route as AuthenticatedRolesCreateRouteImport } from './routes/_authenticated/roles_/create'
import { Route as AuthenticatedRolesIdRouteImport } from './routes/_authenticated/roles_/$id'
import { Route as AuthenticatedRoadmapDimentorinCreateRouteImport } from './routes/_authenticated/roadmap-dimentorin_/create'
import { Route as AuthenticatedRoadmapDimentorinIdRouteImport } from './routes/_authenticated/roadmap-dimentorin_/$id'
import { Route as AuthenticatedPermissionsCreateRouteImport } from './routes/_authenticated/permissions_/create'
import { Route as AuthenticatedPermissionsIdRouteImport } from './routes/_authenticated/permissions_/$id'
import { Route as AuthenticatedGachaRollCreateRouteImport } from './routes/_authenticated/gacha-roll_/create'
import { Route as AuthenticatedGachaRollIdRouteImport } from './routes/_authenticated/gacha-roll_/$id'
import { Route as AuthenticatedDashboardCreateRouteImport } from './routes/_authenticated/dashboard_/create'
import { Route as AuthenticatedDashboardIdRouteImport } from './routes/_authenticated/dashboard_/$id'
import { Route as AuthenticatedCmsTestimonialsCreateRouteImport } from './routes/_authenticated/cms-testimonials_/create'
import { Route as AuthenticatedCmsTestimonialsIdRouteImport } from './routes/_authenticated/cms-testimonials_/$id'
import { Route as AuthenticatedCmsEventsCreateRouteImport } from './routes/_authenticated/cms-events_/create'
import { Route as AuthenticatedCmsEventsIdRouteImport } from './routes/_authenticated/cms-events_/$id'
import { Route as AuthenticatedAccountsIdRouteImport } from './routes/_authenticated/accounts_/$id'
const PublicRoute = PublicRouteImport.update({
id: '/_public',
getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedRoute = AuthenticatedRouteImport.update({
id: '/_authenticated',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedUsersDimentorinRoute =
AuthenticatedUsersDimentorinRouteImport.update({
id: '/users-dimentorin',
path: '/users-dimentorin',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedTransactionsRoute =
AuthenticatedTransactionsRouteImport.update({
id: '/transactions',
path: '/transactions',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedSettingsDimentorinRoute =
AuthenticatedSettingsDimentorinRouteImport.update({
id: '/settings-dimentorin',
path: '/settings-dimentorin',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedSessionDimentorinRoute =
AuthenticatedSessionDimentorinRouteImport.update({
id: '/session-dimentorin',
path: '/session-dimentorin',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedRolesRoute = AuthenticatedRolesRouteImport.update({
id: '/roles',
path: '/roles',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedRoadmapDimentorinRoute =
AuthenticatedRoadmapDimentorinRouteImport.update({
id: '/roadmap-dimentorin',
path: '/roadmap-dimentorin',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedPrizesRoute = AuthenticatedPrizesRouteImport.update({
id: '/prizes',
path: '/prizes',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedPermissionsRoute =
AuthenticatedPermissionsRouteImport.update({
id: '/permissions',
path: '/permissions',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedHackathonUsersRoute =
AuthenticatedHackathonUsersRouteImport.update({
id: '/hackathon-users',
path: '/hackathon-users',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedHackathonTeamsRoute =
AuthenticatedHackathonTeamsRouteImport.update({
id: '/hackathon-teams',
path: '/hackathon-teams',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedHackathonSubmissionsRoute =
AuthenticatedHackathonSubmissionsRouteImport.update({
id: '/hackathon-submissions',
path: '/hackathon-submissions',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedHackathonDashboardRoute =
AuthenticatedHackathonDashboardRouteImport.update({
id: '/hackathon-dashboard',
path: '/hackathon-dashboard',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedGachaRollRoute = AuthenticatedGachaRollRouteImport.update({
id: '/gacha-roll',
path: '/gacha-roll',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedFeedbackReviewDimentorinRoute =
AuthenticatedFeedbackReviewDimentorinRouteImport.update({
id: '/feedback-review-dimentorin',
path: '/feedback-review-dimentorin',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedDashboardDimentorinRoute =
AuthenticatedDashboardDimentorinRouteImport.update({
id: '/dashboard-dimentorin',
path: '/dashboard-dimentorin',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedDashboardRoute = AuthenticatedDashboardRouteImport.update({
id: '/dashboard',
path: '/dashboard',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedCmsTestimonialsRoute =
AuthenticatedCmsTestimonialsRouteImport.update({
id: '/cms-testimonials',
path: '/cms-testimonials',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedCmsEventsRoute = AuthenticatedCmsEventsRouteImport.update({
id: '/cms-events',
path: '/cms-events',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedAccountsRoute = AuthenticatedAccountsRouteImport.update({
id: '/accounts',
path: '/accounts',
getParentRoute: () => AuthenticatedRoute,
} as any)
const PublicAuthLoginRoute = PublicAuthLoginRouteImport.update({
id: '/auth/login',
path: '/auth/login',
getParentRoute: () => PublicRoute,
} as any)
const AuthenticatedUsersDimentorinIdRoute =
AuthenticatedUsersDimentorinIdRouteImport.update({
id: '/users-dimentorin_/$id',
path: '/users-dimentorin/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedSessionDimentorinIdRoute =
AuthenticatedSessionDimentorinIdRouteImport.update({
id: '/session-dimentorin_/$id',
path: '/session-dimentorin/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedRolesCreateRoute =
AuthenticatedRolesCreateRouteImport.update({
id: '/roles_/create',
path: '/roles/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedRolesIdRoute = AuthenticatedRolesIdRouteImport.update({
id: '/roles_/$id',
path: '/roles/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedRoadmapDimentorinCreateRoute =
AuthenticatedRoadmapDimentorinCreateRouteImport.update({
id: '/roadmap-dimentorin_/create',
path: '/roadmap-dimentorin/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedRoadmapDimentorinIdRoute =
AuthenticatedRoadmapDimentorinIdRouteImport.update({
id: '/roadmap-dimentorin_/$id',
path: '/roadmap-dimentorin/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedPermissionsCreateRoute =
AuthenticatedPermissionsCreateRouteImport.update({
id: '/permissions_/create',
path: '/permissions/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedPermissionsIdRoute =
AuthenticatedPermissionsIdRouteImport.update({
id: '/permissions_/$id',
path: '/permissions/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedGachaRollCreateRoute =
AuthenticatedGachaRollCreateRouteImport.update({
id: '/gacha-roll_/create',
path: '/gacha-roll/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedGachaRollIdRoute =
AuthenticatedGachaRollIdRouteImport.update({
id: '/gacha-roll_/$id',
path: '/gacha-roll/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedDashboardCreateRoute =
AuthenticatedDashboardCreateRouteImport.update({
id: '/dashboard_/create',
path: '/dashboard/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedDashboardIdRoute =
AuthenticatedDashboardIdRouteImport.update({
id: '/dashboard_/$id',
path: '/dashboard/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedCmsTestimonialsCreateRoute =
AuthenticatedCmsTestimonialsCreateRouteImport.update({
id: '/cms-testimonials_/create',
path: '/cms-testimonials/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedCmsTestimonialsIdRoute =
AuthenticatedCmsTestimonialsIdRouteImport.update({
id: '/cms-testimonials_/$id',
path: '/cms-testimonials/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedCmsEventsCreateRoute =
AuthenticatedCmsEventsCreateRouteImport.update({
id: '/cms-events_/create',
path: '/cms-events/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedCmsEventsIdRoute =
AuthenticatedCmsEventsIdRouteImport.update({
id: '/cms-events_/$id',
path: '/cms-events/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedAccountsIdRoute = AuthenticatedAccountsIdRouteImport.update({
id: '/accounts_/$id',
path: '/accounts/$id',
getParentRoute: () => AuthenticatedRoute,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/accounts': typeof AuthenticatedAccountsRoute
'/cms-events': typeof AuthenticatedCmsEventsRoute
'/cms-testimonials': typeof AuthenticatedCmsTestimonialsRoute
'/dashboard': typeof AuthenticatedDashboardRoute
'/dashboard-dimentorin': typeof AuthenticatedDashboardDimentorinRoute
'/feedback-review-dimentorin': typeof AuthenticatedFeedbackReviewDimentorinRoute
'/gacha-roll': typeof AuthenticatedGachaRollRoute
'/hackathon-dashboard': typeof AuthenticatedHackathonDashboardRoute
'/hackathon-submissions': typeof AuthenticatedHackathonSubmissionsRoute
'/hackathon-teams': typeof AuthenticatedHackathonTeamsRoute
'/hackathon-users': typeof AuthenticatedHackathonUsersRoute
'/permissions': typeof AuthenticatedPermissionsRoute
'/prizes': typeof AuthenticatedPrizesRoute
'/roadmap-dimentorin': typeof AuthenticatedRoadmapDimentorinRoute
'/roles': typeof AuthenticatedRolesRoute
'/session-dimentorin': typeof AuthenticatedSessionDimentorinRoute
'/settings-dimentorin': typeof AuthenticatedSettingsDimentorinRoute
'/transactions': typeof AuthenticatedTransactionsRoute
'/users-dimentorin': typeof AuthenticatedUsersDimentorinRoute
'/accounts/$id': typeof AuthenticatedAccountsIdRoute
'/cms-events/$id': typeof AuthenticatedCmsEventsIdRoute
'/cms-events/create': typeof AuthenticatedCmsEventsCreateRoute
'/cms-testimonials/$id': typeof AuthenticatedCmsTestimonialsIdRoute
'/cms-testimonials/create': typeof AuthenticatedCmsTestimonialsCreateRoute
'/dashboard/$id': typeof AuthenticatedDashboardIdRoute
'/dashboard/create': typeof AuthenticatedDashboardCreateRoute
'/gacha-roll/$id': typeof AuthenticatedGachaRollIdRoute
'/gacha-roll/create': typeof AuthenticatedGachaRollCreateRoute
'/permissions/$id': typeof AuthenticatedPermissionsIdRoute
'/permissions/create': typeof AuthenticatedPermissionsCreateRoute
'/roadmap-dimentorin/$id': typeof AuthenticatedRoadmapDimentorinIdRoute
'/roadmap-dimentorin/create': typeof AuthenticatedRoadmapDimentorinCreateRoute
'/roles/$id': typeof AuthenticatedRolesIdRoute
'/roles/create': typeof AuthenticatedRolesCreateRoute
'/session-dimentorin/$id': typeof AuthenticatedSessionDimentorinIdRoute
'/users-dimentorin/$id': typeof AuthenticatedUsersDimentorinIdRoute
'/auth/login': typeof PublicAuthLoginRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/accounts': typeof AuthenticatedAccountsRoute
'/cms-events': typeof AuthenticatedCmsEventsRoute
'/cms-testimonials': typeof AuthenticatedCmsTestimonialsRoute
'/dashboard': typeof AuthenticatedDashboardRoute
'/dashboard-dimentorin': typeof AuthenticatedDashboardDimentorinRoute
'/feedback-review-dimentorin': typeof AuthenticatedFeedbackReviewDimentorinRoute
'/gacha-roll': typeof AuthenticatedGachaRollRoute
'/hackathon-dashboard': typeof AuthenticatedHackathonDashboardRoute
'/hackathon-submissions': typeof AuthenticatedHackathonSubmissionsRoute
'/hackathon-teams': typeof AuthenticatedHackathonTeamsRoute
'/hackathon-users': typeof AuthenticatedHackathonUsersRoute
'/permissions': typeof AuthenticatedPermissionsRoute
'/prizes': typeof AuthenticatedPrizesRoute
'/roadmap-dimentorin': typeof AuthenticatedRoadmapDimentorinRoute
'/roles': typeof AuthenticatedRolesRoute
'/session-dimentorin': typeof AuthenticatedSessionDimentorinRoute
'/settings-dimentorin': typeof AuthenticatedSettingsDimentorinRoute
'/transactions': typeof AuthenticatedTransactionsRoute
'/users-dimentorin': typeof AuthenticatedUsersDimentorinRoute
'/accounts/$id': typeof AuthenticatedAccountsIdRoute
'/cms-events/$id': typeof AuthenticatedCmsEventsIdRoute
'/cms-events/create': typeof AuthenticatedCmsEventsCreateRoute
'/cms-testimonials/$id': typeof AuthenticatedCmsTestimonialsIdRoute
'/cms-testimonials/create': typeof AuthenticatedCmsTestimonialsCreateRoute
'/dashboard/$id': typeof AuthenticatedDashboardIdRoute
'/dashboard/create': typeof AuthenticatedDashboardCreateRoute
'/gacha-roll/$id': typeof AuthenticatedGachaRollIdRoute
'/gacha-roll/create': typeof AuthenticatedGachaRollCreateRoute
'/permissions/$id': typeof AuthenticatedPermissionsIdRoute
'/permissions/create': typeof AuthenticatedPermissionsCreateRoute
'/roadmap-dimentorin/$id': typeof AuthenticatedRoadmapDimentorinIdRoute
'/roadmap-dimentorin/create': typeof AuthenticatedRoadmapDimentorinCreateRoute
'/roles/$id': typeof AuthenticatedRolesIdRoute
'/roles/create': typeof AuthenticatedRolesCreateRoute
'/session-dimentorin/$id': typeof AuthenticatedSessionDimentorinIdRoute
'/users-dimentorin/$id': typeof AuthenticatedUsersDimentorinIdRoute
'/auth/login': typeof PublicAuthLoginRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/_authenticated': typeof AuthenticatedRouteWithChildren
'/_public': typeof PublicRouteWithChildren
'/_authenticated/accounts': typeof AuthenticatedAccountsRoute
'/_authenticated/cms-events': typeof AuthenticatedCmsEventsRoute
'/_authenticated/cms-testimonials': typeof AuthenticatedCmsTestimonialsRoute
'/_authenticated/dashboard': typeof AuthenticatedDashboardRoute
'/_authenticated/dashboard-dimentorin': typeof AuthenticatedDashboardDimentorinRoute
'/_authenticated/feedback-review-dimentorin': typeof AuthenticatedFeedbackReviewDimentorinRoute
'/_authenticated/gacha-roll': typeof AuthenticatedGachaRollRoute
'/_authenticated/hackathon-dashboard': typeof AuthenticatedHackathonDashboardRoute
'/_authenticated/hackathon-submissions': typeof AuthenticatedHackathonSubmissionsRoute
'/_authenticated/hackathon-teams': typeof AuthenticatedHackathonTeamsRoute
'/_authenticated/hackathon-users': typeof AuthenticatedHackathonUsersRoute
'/_authenticated/permissions': typeof AuthenticatedPermissionsRoute
'/_authenticated/prizes': typeof AuthenticatedPrizesRoute
'/_authenticated/roadmap-dimentorin': typeof AuthenticatedRoadmapDimentorinRoute
'/_authenticated/roles': typeof AuthenticatedRolesRoute
'/_authenticated/session-dimentorin': typeof AuthenticatedSessionDimentorinRoute
'/_authenticated/settings-dimentorin': typeof AuthenticatedSettingsDimentorinRoute
'/_authenticated/transactions': typeof AuthenticatedTransactionsRoute
'/_authenticated/users-dimentorin': typeof AuthenticatedUsersDimentorinRoute
'/_authenticated/accounts_/$id': typeof AuthenticatedAccountsIdRoute
'/_authenticated/cms-events_/$id': typeof AuthenticatedCmsEventsIdRoute
'/_authenticated/cms-events_/create': typeof AuthenticatedCmsEventsCreateRoute
'/_authenticated/cms-testimonials_/$id': typeof AuthenticatedCmsTestimonialsIdRoute
'/_authenticated/cms-testimonials_/create': typeof AuthenticatedCmsTestimonialsCreateRoute
'/_authenticated/dashboard_/$id': typeof AuthenticatedDashboardIdRoute
'/_authenticated/dashboard_/create': typeof AuthenticatedDashboardCreateRoute
'/_authenticated/gacha-roll_/$id': typeof AuthenticatedGachaRollIdRoute
'/_authenticated/gacha-roll_/create': typeof AuthenticatedGachaRollCreateRoute
'/_authenticated/permissions_/$id': typeof AuthenticatedPermissionsIdRoute
'/_authenticated/permissions_/create': typeof AuthenticatedPermissionsCreateRoute
'/_authenticated/roadmap-dimentorin_/$id': typeof AuthenticatedRoadmapDimentorinIdRoute
'/_authenticated/roadmap-dimentorin_/create': typeof AuthenticatedRoadmapDimentorinCreateRoute
'/_authenticated/roles_/$id': typeof AuthenticatedRolesIdRoute
'/_authenticated/roles_/create': typeof AuthenticatedRolesCreateRoute
'/_authenticated/session-dimentorin_/$id': typeof AuthenticatedSessionDimentorinIdRoute
'/_authenticated/users-dimentorin_/$id': typeof AuthenticatedUsersDimentorinIdRoute
'/_public/auth/login': typeof PublicAuthLoginRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| '/accounts'
| '/cms-events'
| '/cms-testimonials'
| '/dashboard'
| '/dashboard-dimentorin'
| '/feedback-review-dimentorin'
| '/gacha-roll'
| '/hackathon-dashboard'
| '/hackathon-submissions'
| '/hackathon-teams'
| '/hackathon-users'
| '/permissions'
| '/prizes'
| '/roadmap-dimentorin'
| '/roles'
| '/session-dimentorin'
| '/settings-dimentorin'
| '/transactions'
| '/users-dimentorin'
| '/accounts/$id'
| '/cms-events/$id'
| '/cms-events/create'
| '/cms-testimonials/$id'
| '/cms-testimonials/create'
| '/dashboard/$id'
| '/dashboard/create'
| '/gacha-roll/$id'
| '/gacha-roll/create'
| '/permissions/$id'
| '/permissions/create'
| '/roadmap-dimentorin/$id'
| '/roadmap-dimentorin/create'
| '/roles/$id'
| '/roles/create'
| '/session-dimentorin/$id'
| '/users-dimentorin/$id'
| '/auth/login'
fileRoutesByTo: FileRoutesByTo
to:
| '/'
| '/accounts'
| '/cms-events'
| '/cms-testimonials'
| '/dashboard'
| '/dashboard-dimentorin'
| '/feedback-review-dimentorin'
| '/gacha-roll'
| '/hackathon-dashboard'
| '/hackathon-submissions'
| '/hackathon-teams'
| '/hackathon-users'
| '/permissions'
| '/prizes'
| '/roadmap-dimentorin'
| '/roles'
| '/session-dimentorin'
| '/settings-dimentorin'
| '/transactions'
| '/users-dimentorin'
| '/accounts/$id'
| '/cms-events/$id'
| '/cms-events/create'
| '/cms-testimonials/$id'
| '/cms-testimonials/create'
| '/dashboard/$id'
| '/dashboard/create'
| '/gacha-roll/$id'
| '/gacha-roll/create'
| '/permissions/$id'
| '/permissions/create'
| '/roadmap-dimentorin/$id'
| '/roadmap-dimentorin/create'
| '/roles/$id'
| '/roles/create'
| '/session-dimentorin/$id'
| '/users-dimentorin/$id'
| '/auth/login'
id:
| '__root__'
| '/'
| '/_authenticated'
| '/_public'
| '/_authenticated/accounts'
| '/_authenticated/cms-events'
| '/_authenticated/cms-testimonials'
| '/_authenticated/dashboard'
| '/_authenticated/dashboard-dimentorin'
| '/_authenticated/feedback-review-dimentorin'
| '/_authenticated/gacha-roll'
| '/_authenticated/hackathon-dashboard'
| '/_authenticated/hackathon-submissions'
| '/_authenticated/hackathon-teams'
| '/_authenticated/hackathon-users'
| '/_authenticated/permissions'
| '/_authenticated/prizes'
| '/_authenticated/roadmap-dimentorin'
| '/_authenticated/roles'
| '/_authenticated/session-dimentorin'
| '/_authenticated/settings-dimentorin'
| '/_authenticated/transactions'
| '/_authenticated/users-dimentorin'
| '/_authenticated/accounts_/$id'
| '/_authenticated/cms-events_/$id'
| '/_authenticated/cms-events_/create'
| '/_authenticated/cms-testimonials_/$id'
| '/_authenticated/cms-testimonials_/create'
| '/_authenticated/dashboard_/$id'
| '/_authenticated/dashboard_/create'
| '/_authenticated/gacha-roll_/$id'
| '/_authenticated/gacha-roll_/create'
| '/_authenticated/permissions_/$id'
| '/_authenticated/permissions_/create'
| '/_authenticated/roadmap-dimentorin_/$id'
| '/_authenticated/roadmap-dimentorin_/create'
| '/_authenticated/roles_/$id'
| '/_authenticated/roles_/create'
| '/_authenticated/session-dimentorin_/$id'
| '/_authenticated/users-dimentorin_/$id'
| '/_public/auth/login'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
PublicRoute: typeof PublicRouteWithChildren
}
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
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/_authenticated/users-dimentorin': {
id: '/_authenticated/users-dimentorin'
path: '/users-dimentorin'
fullPath: '/users-dimentorin'
preLoaderRoute: typeof AuthenticatedUsersDimentorinRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/transactions': {
id: '/_authenticated/transactions'
path: '/transactions'
fullPath: '/transactions'
preLoaderRoute: typeof AuthenticatedTransactionsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/settings-dimentorin': {
id: '/_authenticated/settings-dimentorin'
path: '/settings-dimentorin'
fullPath: '/settings-dimentorin'
preLoaderRoute: typeof AuthenticatedSettingsDimentorinRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/session-dimentorin': {
id: '/_authenticated/session-dimentorin'
path: '/session-dimentorin'
fullPath: '/session-dimentorin'
preLoaderRoute: typeof AuthenticatedSessionDimentorinRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/roles': {
id: '/_authenticated/roles'
path: '/roles'
fullPath: '/roles'
preLoaderRoute: typeof AuthenticatedRolesRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/roadmap-dimentorin': {
id: '/_authenticated/roadmap-dimentorin'
path: '/roadmap-dimentorin'
fullPath: '/roadmap-dimentorin'
preLoaderRoute: typeof AuthenticatedRoadmapDimentorinRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/prizes': {
id: '/_authenticated/prizes'
path: '/prizes'
fullPath: '/prizes'
preLoaderRoute: typeof AuthenticatedPrizesRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/permissions': {
id: '/_authenticated/permissions'
path: '/permissions'
fullPath: '/permissions'
preLoaderRoute: typeof AuthenticatedPermissionsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/hackathon-users': {
id: '/_authenticated/hackathon-users'
path: '/hackathon-users'
fullPath: '/hackathon-users'
preLoaderRoute: typeof AuthenticatedHackathonUsersRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/hackathon-teams': {
id: '/_authenticated/hackathon-teams'
path: '/hackathon-teams'
fullPath: '/hackathon-teams'
preLoaderRoute: typeof AuthenticatedHackathonTeamsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/hackathon-submissions': {
id: '/_authenticated/hackathon-submissions'
path: '/hackathon-submissions'
fullPath: '/hackathon-submissions'
preLoaderRoute: typeof AuthenticatedHackathonSubmissionsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/hackathon-dashboard': {
id: '/_authenticated/hackathon-dashboard'
path: '/hackathon-dashboard'
fullPath: '/hackathon-dashboard'
preLoaderRoute: typeof AuthenticatedHackathonDashboardRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/gacha-roll': {
id: '/_authenticated/gacha-roll'
path: '/gacha-roll'
fullPath: '/gacha-roll'
preLoaderRoute: typeof AuthenticatedGachaRollRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/feedback-review-dimentorin': {
id: '/_authenticated/feedback-review-dimentorin'
path: '/feedback-review-dimentorin'
fullPath: '/feedback-review-dimentorin'
preLoaderRoute: typeof AuthenticatedFeedbackReviewDimentorinRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/dashboard-dimentorin': {
id: '/_authenticated/dashboard-dimentorin'
path: '/dashboard-dimentorin'
fullPath: '/dashboard-dimentorin'
preLoaderRoute: typeof AuthenticatedDashboardDimentorinRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/dashboard': {
id: '/_authenticated/dashboard'
path: '/dashboard'
fullPath: '/dashboard'
preLoaderRoute: typeof AuthenticatedDashboardRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/cms-testimonials': {
id: '/_authenticated/cms-testimonials'
path: '/cms-testimonials'
fullPath: '/cms-testimonials'
preLoaderRoute: typeof AuthenticatedCmsTestimonialsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/cms-events': {
id: '/_authenticated/cms-events'
path: '/cms-events'
fullPath: '/cms-events'
preLoaderRoute: typeof AuthenticatedCmsEventsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/accounts': {
id: '/_authenticated/accounts'
path: '/accounts'
fullPath: '/accounts'
preLoaderRoute: typeof AuthenticatedAccountsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_public/auth/login': {
id: '/_public/auth/login'
path: '/auth/login'
fullPath: '/auth/login'
preLoaderRoute: typeof PublicAuthLoginRouteImport
parentRoute: typeof PublicRoute
}
'/_authenticated/users-dimentorin_/$id': {
id: '/_authenticated/users-dimentorin_/$id'
path: '/users-dimentorin/$id'
fullPath: '/users-dimentorin/$id'
preLoaderRoute: typeof AuthenticatedUsersDimentorinIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/session-dimentorin_/$id': {
id: '/_authenticated/session-dimentorin_/$id'
path: '/session-dimentorin/$id'
fullPath: '/session-dimentorin/$id'
preLoaderRoute: typeof AuthenticatedSessionDimentorinIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/roles_/create': {
id: '/_authenticated/roles_/create'
path: '/roles/create'
fullPath: '/roles/create'
preLoaderRoute: typeof AuthenticatedRolesCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/roles_/$id': {
id: '/_authenticated/roles_/$id'
path: '/roles/$id'
fullPath: '/roles/$id'
preLoaderRoute: typeof AuthenticatedRolesIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/roadmap-dimentorin_/create': {
id: '/_authenticated/roadmap-dimentorin_/create'
path: '/roadmap-dimentorin/create'
fullPath: '/roadmap-dimentorin/create'
preLoaderRoute: typeof AuthenticatedRoadmapDimentorinCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/roadmap-dimentorin_/$id': {
id: '/_authenticated/roadmap-dimentorin_/$id'
path: '/roadmap-dimentorin/$id'
fullPath: '/roadmap-dimentorin/$id'
preLoaderRoute: typeof AuthenticatedRoadmapDimentorinIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/permissions_/create': {
id: '/_authenticated/permissions_/create'
path: '/permissions/create'
fullPath: '/permissions/create'
preLoaderRoute: typeof AuthenticatedPermissionsCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/permissions_/$id': {
id: '/_authenticated/permissions_/$id'
path: '/permissions/$id'
fullPath: '/permissions/$id'
preLoaderRoute: typeof AuthenticatedPermissionsIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/gacha-roll_/create': {
id: '/_authenticated/gacha-roll_/create'
path: '/gacha-roll/create'
fullPath: '/gacha-roll/create'
preLoaderRoute: typeof AuthenticatedGachaRollCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/gacha-roll_/$id': {
id: '/_authenticated/gacha-roll_/$id'
path: '/gacha-roll/$id'
fullPath: '/gacha-roll/$id'
preLoaderRoute: typeof AuthenticatedGachaRollIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/dashboard_/create': {
id: '/_authenticated/dashboard_/create'
path: '/dashboard/create'
fullPath: '/dashboard/create'
preLoaderRoute: typeof AuthenticatedDashboardCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/dashboard_/$id': {
id: '/_authenticated/dashboard_/$id'
path: '/dashboard/$id'
fullPath: '/dashboard/$id'
preLoaderRoute: typeof AuthenticatedDashboardIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/cms-testimonials_/create': {
id: '/_authenticated/cms-testimonials_/create'
path: '/cms-testimonials/create'
fullPath: '/cms-testimonials/create'
preLoaderRoute: typeof AuthenticatedCmsTestimonialsCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/cms-testimonials_/$id': {
id: '/_authenticated/cms-testimonials_/$id'
path: '/cms-testimonials/$id'
fullPath: '/cms-testimonials/$id'
preLoaderRoute: typeof AuthenticatedCmsTestimonialsIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/cms-events_/create': {
id: '/_authenticated/cms-events_/create'
path: '/cms-events/create'
fullPath: '/cms-events/create'
preLoaderRoute: typeof AuthenticatedCmsEventsCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/cms-events_/$id': {
id: '/_authenticated/cms-events_/$id'
path: '/cms-events/$id'
fullPath: '/cms-events/$id'
preLoaderRoute: typeof AuthenticatedCmsEventsIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/accounts_/$id': {
id: '/_authenticated/accounts_/$id'
path: '/accounts/$id'
fullPath: '/accounts/$id'
preLoaderRoute: typeof AuthenticatedAccountsIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
}
}
interface AuthenticatedRouteChildren {
AuthenticatedAccountsRoute: typeof AuthenticatedAccountsRoute
AuthenticatedCmsEventsRoute: typeof AuthenticatedCmsEventsRoute
AuthenticatedCmsTestimonialsRoute: typeof AuthenticatedCmsTestimonialsRoute
AuthenticatedDashboardRoute: typeof AuthenticatedDashboardRoute
AuthenticatedDashboardDimentorinRoute: typeof AuthenticatedDashboardDimentorinRoute
AuthenticatedFeedbackReviewDimentorinRoute: typeof AuthenticatedFeedbackReviewDimentorinRoute
AuthenticatedGachaRollRoute: typeof AuthenticatedGachaRollRoute
AuthenticatedHackathonDashboardRoute: typeof AuthenticatedHackathonDashboardRoute
AuthenticatedHackathonSubmissionsRoute: typeof AuthenticatedHackathonSubmissionsRoute
AuthenticatedHackathonTeamsRoute: typeof AuthenticatedHackathonTeamsRoute
AuthenticatedHackathonUsersRoute: typeof AuthenticatedHackathonUsersRoute
AuthenticatedPermissionsRoute: typeof AuthenticatedPermissionsRoute
AuthenticatedPrizesRoute: typeof AuthenticatedPrizesRoute
AuthenticatedRoadmapDimentorinRoute: typeof AuthenticatedRoadmapDimentorinRoute
AuthenticatedRolesRoute: typeof AuthenticatedRolesRoute
AuthenticatedSessionDimentorinRoute: typeof AuthenticatedSessionDimentorinRoute
AuthenticatedSettingsDimentorinRoute: typeof AuthenticatedSettingsDimentorinRoute
AuthenticatedTransactionsRoute: typeof AuthenticatedTransactionsRoute
AuthenticatedUsersDimentorinRoute: typeof AuthenticatedUsersDimentorinRoute
AuthenticatedAccountsIdRoute: typeof AuthenticatedAccountsIdRoute
AuthenticatedCmsEventsIdRoute: typeof AuthenticatedCmsEventsIdRoute
AuthenticatedCmsEventsCreateRoute: typeof AuthenticatedCmsEventsCreateRoute
AuthenticatedCmsTestimonialsIdRoute: typeof AuthenticatedCmsTestimonialsIdRoute
AuthenticatedCmsTestimonialsCreateRoute: typeof AuthenticatedCmsTestimonialsCreateRoute
AuthenticatedDashboardIdRoute: typeof AuthenticatedDashboardIdRoute
AuthenticatedDashboardCreateRoute: typeof AuthenticatedDashboardCreateRoute
AuthenticatedGachaRollIdRoute: typeof AuthenticatedGachaRollIdRoute
AuthenticatedGachaRollCreateRoute: typeof AuthenticatedGachaRollCreateRoute
AuthenticatedPermissionsIdRoute: typeof AuthenticatedPermissionsIdRoute
AuthenticatedPermissionsCreateRoute: typeof AuthenticatedPermissionsCreateRoute
AuthenticatedRoadmapDimentorinIdRoute: typeof AuthenticatedRoadmapDimentorinIdRoute
AuthenticatedRoadmapDimentorinCreateRoute: typeof AuthenticatedRoadmapDimentorinCreateRoute
AuthenticatedRolesIdRoute: typeof AuthenticatedRolesIdRoute
AuthenticatedRolesCreateRoute: typeof AuthenticatedRolesCreateRoute
AuthenticatedSessionDimentorinIdRoute: typeof AuthenticatedSessionDimentorinIdRoute
AuthenticatedUsersDimentorinIdRoute: typeof AuthenticatedUsersDimentorinIdRoute
}
const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
AuthenticatedAccountsRoute: AuthenticatedAccountsRoute,
AuthenticatedCmsEventsRoute: AuthenticatedCmsEventsRoute,
AuthenticatedCmsTestimonialsRoute: AuthenticatedCmsTestimonialsRoute,
AuthenticatedDashboardRoute: AuthenticatedDashboardRoute,
AuthenticatedDashboardDimentorinRoute: AuthenticatedDashboardDimentorinRoute,
AuthenticatedFeedbackReviewDimentorinRoute:
AuthenticatedFeedbackReviewDimentorinRoute,
AuthenticatedGachaRollRoute: AuthenticatedGachaRollRoute,
AuthenticatedHackathonDashboardRoute: AuthenticatedHackathonDashboardRoute,
AuthenticatedHackathonSubmissionsRoute:
AuthenticatedHackathonSubmissionsRoute,
AuthenticatedHackathonTeamsRoute: AuthenticatedHackathonTeamsRoute,
AuthenticatedHackathonUsersRoute: AuthenticatedHackathonUsersRoute,
AuthenticatedPermissionsRoute: AuthenticatedPermissionsRoute,
AuthenticatedPrizesRoute: AuthenticatedPrizesRoute,
AuthenticatedRoadmapDimentorinRoute: AuthenticatedRoadmapDimentorinRoute,
AuthenticatedRolesRoute: AuthenticatedRolesRoute,
AuthenticatedSessionDimentorinRoute: AuthenticatedSessionDimentorinRoute,
AuthenticatedSettingsDimentorinRoute: AuthenticatedSettingsDimentorinRoute,
AuthenticatedTransactionsRoute: AuthenticatedTransactionsRoute,
AuthenticatedUsersDimentorinRoute: AuthenticatedUsersDimentorinRoute,
AuthenticatedAccountsIdRoute: AuthenticatedAccountsIdRoute,
AuthenticatedCmsEventsIdRoute: AuthenticatedCmsEventsIdRoute,
AuthenticatedCmsEventsCreateRoute: AuthenticatedCmsEventsCreateRoute,
AuthenticatedCmsTestimonialsIdRoute: AuthenticatedCmsTestimonialsIdRoute,
AuthenticatedCmsTestimonialsCreateRoute:
AuthenticatedCmsTestimonialsCreateRoute,
AuthenticatedDashboardIdRoute: AuthenticatedDashboardIdRoute,
AuthenticatedDashboardCreateRoute: AuthenticatedDashboardCreateRoute,
AuthenticatedGachaRollIdRoute: AuthenticatedGachaRollIdRoute,
AuthenticatedGachaRollCreateRoute: AuthenticatedGachaRollCreateRoute,
AuthenticatedPermissionsIdRoute: AuthenticatedPermissionsIdRoute,
AuthenticatedPermissionsCreateRoute: AuthenticatedPermissionsCreateRoute,
AuthenticatedRoadmapDimentorinIdRoute: AuthenticatedRoadmapDimentorinIdRoute,
AuthenticatedRoadmapDimentorinCreateRoute:
AuthenticatedRoadmapDimentorinCreateRoute,
AuthenticatedRolesIdRoute: AuthenticatedRolesIdRoute,
AuthenticatedRolesCreateRoute: AuthenticatedRolesCreateRoute,
AuthenticatedSessionDimentorinIdRoute: AuthenticatedSessionDimentorinIdRoute,
AuthenticatedUsersDimentorinIdRoute: AuthenticatedUsersDimentorinIdRoute,
}
const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
AuthenticatedRouteChildren,
)
interface PublicRouteChildren {
PublicAuthLoginRoute: typeof PublicAuthLoginRoute
}
const PublicRouteChildren: PublicRouteChildren = {
PublicAuthLoginRoute: PublicAuthLoginRoute,
}
const PublicRouteWithChildren =
PublicRoute._addFileChildren(PublicRouteChildren)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AuthenticatedRoute: AuthenticatedRouteWithChildren,
PublicRoute: PublicRouteWithChildren,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
@@ -9,7 +9,7 @@ import {
useUpdateUserById,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/accounts/$id')({
export const Route = createFileRoute('/_authenticated/accounts_/$id')({
component: AccountsEditPage,
})
@@ -10,7 +10,7 @@ import {
useUpdateEvent,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/cms-events/$id')({
export const Route = createFileRoute('/_authenticated/cms-events_/$id')({
component: CmsEventsEditPage,
})
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreateEvent } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/cms-events/create')({
export const Route = createFileRoute('/_authenticated/cms-events_/create')({
component: CmsEventsCreatePage,
})
@@ -10,7 +10,7 @@ import {
useUpdateTestimonial,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/cms-testimonials/$id')({
export const Route = createFileRoute('/_authenticated/cms-testimonials_/$id')({
component: CmsTestimonialsEditPage,
})
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreateTestimonial } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/cms-testimonials/create')({
export const Route = createFileRoute('/_authenticated/cms-testimonials_/create')({
component: CmsTestimonialsCreatePage,
})
@@ -10,7 +10,7 @@ import {
useUpdateGachaItem,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/dashboard/$id')({
export const Route = createFileRoute('/_authenticated/dashboard_/$id')({
component: DashboardEditPage,
})
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreateGachaItem } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/dashboard/create')({
export const Route = createFileRoute('/_authenticated/dashboard_/create')({
component: DashboardCreatePage,
})
@@ -10,7 +10,7 @@ import {
useUpdateGachaItem,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/gacha-roll/$id')({
export const Route = createFileRoute('/_authenticated/gacha-roll_/$id')({
component: GachaRollEditPage,
})
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreateGachaItem } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/gacha-roll/create')({
export const Route = createFileRoute('/_authenticated/gacha-roll_/create')({
component: GachaRollCreatePage,
})
@@ -10,7 +10,7 @@ import {
useUpdatePermission,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/permissions/$id')({
export const Route = createFileRoute('/_authenticated/permissions_/$id')({
component: PermissionsEditPage,
})
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreatePermission } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/permissions/create')({
export const Route = createFileRoute('/_authenticated/permissions_/create')({
component: PermissionsCreatePage,
})
@@ -7,7 +7,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useRoadmapList, useUpdateRoadmap, TRoadmapStatus } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/roadmap-dimentorin/$id')({
export const Route = createFileRoute('/_authenticated/roadmap-dimentorin_/$id')({
component: RoadmapEditPage,
})
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreateRoadmap, TRoadmapStatus } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/roadmap-dimentorin/create')({
export const Route = createFileRoute('/_authenticated/roadmap-dimentorin_/create')({
component: RoadmapCreatePage,
})
@@ -10,7 +10,7 @@ import {
useUpdateRole,
} from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/roles/$id')({
export const Route = createFileRoute('/_authenticated/roles_/$id')({
component: RolesEditPage,
})
@@ -102,19 +102,19 @@ function RolesEditPage() {
<hr className="border-blue-200" />
<div className="flex flex-col items-start gap-4 mb-4">
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-read`} />
<input type="checkbox" id={"${title}-read"} />
<label htmlFor={`${title}-read`}>Read</label>
</div>
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-create`} />
<input type="checkbox" id={"${title}-create"} />
<label htmlFor={`${title}-create`}>Create</label>
</div>
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-update`} />
<input type="checkbox" id={"${title}-update"} />
<label htmlFor={`${title}-update`}>Update</label>
</div>
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-delete`} />
<input type="checkbox" id={"${title}-delete"} />
<label htmlFor={`${title}-delete`}>Delete</label>
</div>
</div>
@@ -6,7 +6,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms'
import { useCreateRole } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_authenticated/roles/create')({
export const Route = createFileRoute('/_authenticated/roles_/create')({
component: RolesCreatePage,
})
@@ -85,19 +85,19 @@ function RolesCreatePage() {
<hr className="border-blue-200" />
<div className="flex flex-col items-start gap-4 mb-4">
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-read`} />
<input type="checkbox" id={"${title}-read"} />
<label htmlFor={`${title}-read`}>Read</label>
</div>
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-create`} />
<input type="checkbox" id={"${title}-create"} />
<label htmlFor={`${title}-create`}>Create</label>
</div>
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-update`} />
<input type="checkbox" id={"${title}-update"} />
<label htmlFor={`${title}-update`}>Update</label>
</div>
<div className="flex gap-[8px] items-center">
<input type="checkbox" id={`${title}-delete`} />
<input type="checkbox" id={"${title}-delete"} />
<label htmlFor={`${title}-delete`}>Delete</label>
</div>
</div>
@@ -20,7 +20,7 @@ Saya ingin tahu secara khusus tentang ___.
const labelClass = cn('text-neutral-800 text-[10px] font-semibold mb-1.5 inline-block md:text-xs md:mb-2 xl:text-[15px]')
export const Route = createFileRoute('/_authenticated/session-dimentorin/$id')({
export const Route = createFileRoute('/_authenticated/session-dimentorin_/$id')({
component: SessionDetailPage,
})
@@ -70,7 +70,7 @@ function SessionDetailPage() {
<div>
<h3 className="text-p2 font-semibold text-primary-500 mb-4">Mentor</h3>
<div>
<p className="text-p3 font-semibold mb-2.5">{session?.mentor_id ?? '-'}</p>
<p className="text-p3 font-semibold mb-2.5">{session?.mentor_id ?? "-"}</p>
</div>
</div>
</div>
@@ -79,13 +79,13 @@ function SessionDetailPage() {
<div>
<h3 className="text-p2 font-semibold text-primary-500 mb-4">Mentee</h3>
<div>
<p className="text-p3 font-semibold mb-2.5">{session?.mentee_fullname ?? '-'}</p>
<p className="text-neutral-600">{session?.mentee_email ?? '-'}</p>
<p className="text-p3 font-semibold mb-2.5">{session?.mentee_fullname ?? "-"}</p>
<p className="text-neutral-600">{session?.mentee_email ?? "-"}</p>
</div>
</div>
<div>
<h3 className="text-p2 font-semibold text-neutral-700 mb-4">Status</h3>
<div className={`py-2 px-6 rounded-md text-center capitalize font-semibold ${statusColors[session?.status ?? ''] ?? 'bg-neutral-200 text-neutral-700'}`}>
<div className={`py-2 px-6 rounded-md text-center capitalize font-semibold ${statusColors[session?.status ?? ``] ?? `bg-neutral-200 text-neutral-700`}`}>
{session?.status ?? '-'}
</div>
</div>
@@ -135,7 +135,7 @@ function SessionDetailPage() {
</div>
<div className="relative md:col-span-full">
<label className={labelClass}>Tipe Sesi</label>
<Select className="min-w-full w-full" value={session?.session_type ?? 'online'} disabled>
<Select className="min-w-full w-full" value={session?.session_type ?? "online"} disabled>
<option value="online">Online</option>
<option value="offline">Offline</option>
</Select>
@@ -15,9 +15,9 @@ import {
const labelClass = cn('text-neutral-800 text-[10px] font-semibold mb-1.5 inline-block md:text-xs md:mb-2 xl:text-[15px]')
const SOCIAL_LINKS = [
{ icon: <Icon icon="mdi:linkedin" className="text-2xl" />, key: 'linkedin_url', label: 'LinkedIn' },
{ icon: <Icon icon="mdi:github" className="text-2xl" />, key: 'github_url', label: 'Github' },
{ icon: <Icon icon="mingcute:meta-line" className="text-2xl" />, key: 'portfolio_url', label: 'Portfolio' },
{ icon: <Icon icon="mdi:linkedin" className="text-2xl" />, key: "linkedin_url", label: "LinkedIn" },
{ icon: <Icon icon="mdi:github" className="text-2xl" />, key: "github_url", label: "Github" },
{ icon: <Icon icon="mingcute:meta-line" className="text-2xl" />, key: "portfolio_url", label: "Portfolio" },
]
const TABS = {
@@ -26,7 +26,7 @@ const TABS = {
} as const
type TabType = typeof TABS[keyof typeof TABS]
export const Route = createFileRoute('/_authenticated/users-dimentorin/$id')({
export const Route = createFileRoute('/_authenticated/users-dimentorin_/$id')({
component: UserDetailPage,
})
@@ -162,7 +162,7 @@ function UserDetailPage() {
</div>
<div className="flex justify-end gap-x-5 mt-8">
<Button type="button" variant="bordered" onClick={() => navigate({ to: '/users-dimentorin' })}>
<Button type="button" variant="bordered" onClick={() => navigate({ to: "/users-dimentorin" })}>
Kembali
</Button>
</div>
@@ -185,7 +185,7 @@ function UserDetailPage() {
<div>
<h3 className="text-p2 font-semibold text-neutral-800">{displayName}</h3>
<p className="text-p3 font-medium text-neutral-600">
{mentor ? `${mentor.current_role ?? ''} at ${mentor.current_company ?? ''}` : user?.role?.name ?? '-'}
{mentor ? `${mentor.current_role ?? ``} at ${mentor.current_company ?? ``}` : user?.role?.name ?? `-`}
</p>
</div>
</div>
+1
View File
@@ -16,6 +16,7 @@ export default defineConfig(() => ({
port: 3001,
host: 'localhost',
},
build: { rolldownOptions: { output: { codeSplitting: { groups: [{ name: 'vendor', test: /node_modules/ }] } } } },
plugins: [
TanStackRouterVite({
routeFileIgnorePattern: '_components|_hooks|_hook|_data',
+594 -13
View File
@@ -1,25 +1,606 @@
/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file is auto-generated by TanStack Router
// 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 Routes
import { Route as rootRouteImport } from './routes/__root'
import { Route as SiteRouteImport } from './routes/_site'
import { Route as PublicRouteImport } from './routes/_public'
import { Route as AuthenticatedRouteImport } from './routes/_authenticated'
import { Route as IndexRouteImport } from './routes/index'
import { Route as SiteResourcesRouteImport } from './routes/_site/resources'
import { Route as SiteProfileRouteImport } from './routes/_site/profile'
import { Route as SiteMentoringRouteImport } from './routes/_site/mentoring'
import { Route as SiteArticlesRouteImport } from './routes/_site/articles'
import { Route as AuthenticatedDashboardRouteImport } from './routes/_authenticated/dashboard'
import { Route as AuthenticatedDashboardIndexRouteImport } from './routes/_authenticated/dashboard_/index'
import { Route as SiteProfileIdRouteImport } from './routes/_site/profile_/$id'
import { Route as SiteMentoringIdRouteImport } from './routes/_site/mentoring_/$id'
import { Route as SiteArticlesSlugRouteImport } from './routes/_site/articles_/$slug'
import { Route as PublicAuthRegisterMentorRouteImport } from './routes/_public/auth/register-mentor'
import { Route as PublicAuthRegisterRouteImport } from './routes/_public/auth/register'
import { Route as PublicAuthLoginRouteImport } from './routes/_public/auth/login'
import { Route as PublicAuthGoogleOauthPopupRouteImport } from './routes/_public/auth/google-oauth-popup'
import { Route as PublicAuthGoogleCallbackRouteImport } from './routes/_public/auth/google-callback'
import { Route as PublicAuthForgotRouteImport } from './routes/_public/auth/forgot'
import { Route as AuthenticatedDashboardSettingsRouteImport } from './routes/_authenticated/dashboard_/settings'
import { Route as PublicAuthRegisterSuccessRouteImport } from './routes/_public/auth/register_/success'
import { Route as PublicAuthRegisterOtpRouteImport } from './routes/_public/auth/register_/otp'
import { Route as PublicAuthRegisterMentorSuccessRouteImport } from './routes/_public/auth/register-mentor_/success'
import { Route as PublicAuthRegisterMentorPendingRouteImport } from './routes/_public/auth/register-mentor_/pending'
import { Route as PublicAuthForgotSummonRouteImport } from './routes/_public/auth/forgot_/summon'
import { Route as PublicAuthForgotOtpRouteImport } from './routes/_public/auth/forgot_/otp'
import { Route as rootRoute } from './routes/__root'
const SiteRoute = SiteRouteImport.update({
id: '/_site',
getParentRoute: () => rootRouteImport,
} as any)
const PublicRoute = PublicRouteImport.update({
id: '/_public',
getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedRoute = AuthenticatedRouteImport.update({
id: '/_authenticated',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const SiteResourcesRoute = SiteResourcesRouteImport.update({
id: '/resources',
path: '/resources',
getParentRoute: () => SiteRoute,
} as any)
const SiteProfileRoute = SiteProfileRouteImport.update({
id: '/profile',
path: '/profile',
getParentRoute: () => SiteRoute,
} as any)
const SiteMentoringRoute = SiteMentoringRouteImport.update({
id: '/mentoring',
path: '/mentoring',
getParentRoute: () => SiteRoute,
} as any)
const SiteArticlesRoute = SiteArticlesRouteImport.update({
id: '/articles',
path: '/articles',
getParentRoute: () => SiteRoute,
} as any)
const AuthenticatedDashboardRoute = AuthenticatedDashboardRouteImport.update({
id: '/dashboard',
path: '/dashboard',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedDashboardIndexRoute =
AuthenticatedDashboardIndexRouteImport.update({
id: '/dashboard_/',
path: '/dashboard/',
getParentRoute: () => AuthenticatedRoute,
} as any)
const SiteProfileIdRoute = SiteProfileIdRouteImport.update({
id: '/profile_/$id',
path: '/profile/$id',
getParentRoute: () => SiteRoute,
} as any)
const SiteMentoringIdRoute = SiteMentoringIdRouteImport.update({
id: '/mentoring_/$id',
path: '/mentoring/$id',
getParentRoute: () => SiteRoute,
} as any)
const SiteArticlesSlugRoute = SiteArticlesSlugRouteImport.update({
id: '/articles_/$slug',
path: '/articles/$slug',
getParentRoute: () => SiteRoute,
} as any)
const PublicAuthRegisterMentorRoute =
PublicAuthRegisterMentorRouteImport.update({
id: '/auth/register-mentor',
path: '/auth/register-mentor',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthRegisterRoute = PublicAuthRegisterRouteImport.update({
id: '/auth/register',
path: '/auth/register',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthLoginRoute = PublicAuthLoginRouteImport.update({
id: '/auth/login',
path: '/auth/login',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthGoogleOauthPopupRoute =
PublicAuthGoogleOauthPopupRouteImport.update({
id: '/auth/google-oauth-popup',
path: '/auth/google-oauth-popup',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthGoogleCallbackRoute =
PublicAuthGoogleCallbackRouteImport.update({
id: '/auth/google-callback',
path: '/auth/google-callback',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthForgotRoute = PublicAuthForgotRouteImport.update({
id: '/auth/forgot',
path: '/auth/forgot',
getParentRoute: () => PublicRoute,
} as any)
const AuthenticatedDashboardSettingsRoute =
AuthenticatedDashboardSettingsRouteImport.update({
id: '/dashboard_/settings',
path: '/dashboard/settings',
getParentRoute: () => AuthenticatedRoute,
} as any)
const PublicAuthRegisterSuccessRoute =
PublicAuthRegisterSuccessRouteImport.update({
id: '/auth/register_/success',
path: '/auth/register/success',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthRegisterOtpRoute = PublicAuthRegisterOtpRouteImport.update({
id: '/auth/register_/otp',
path: '/auth/register/otp',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthRegisterMentorSuccessRoute =
PublicAuthRegisterMentorSuccessRouteImport.update({
id: '/auth/register-mentor_/success',
path: '/auth/register-mentor/success',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthRegisterMentorPendingRoute =
PublicAuthRegisterMentorPendingRouteImport.update({
id: '/auth/register-mentor_/pending',
path: '/auth/register-mentor/pending',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthForgotSummonRoute = PublicAuthForgotSummonRouteImport.update({
id: '/auth/forgot_/summon',
path: '/auth/forgot/summon',
getParentRoute: () => PublicRoute,
} as any)
const PublicAuthForgotOtpRoute = PublicAuthForgotOtpRouteImport.update({
id: '/auth/forgot_/otp',
path: '/auth/forgot/otp',
getParentRoute: () => PublicRoute,
} as any)
// Create/Update Routes
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {}
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/dashboard': typeof AuthenticatedDashboardRoute
'/articles': typeof SiteArticlesRoute
'/mentoring': typeof SiteMentoringRoute
'/profile': typeof SiteProfileRoute
'/resources': typeof SiteResourcesRoute
'/dashboard/settings': typeof AuthenticatedDashboardSettingsRoute
'/auth/forgot': typeof PublicAuthForgotRoute
'/auth/google-callback': typeof PublicAuthGoogleCallbackRoute
'/auth/google-oauth-popup': typeof PublicAuthGoogleOauthPopupRoute
'/auth/login': typeof PublicAuthLoginRoute
'/auth/register': typeof PublicAuthRegisterRoute
'/auth/register-mentor': typeof PublicAuthRegisterMentorRoute
'/articles/$slug': typeof SiteArticlesSlugRoute
'/mentoring/$id': typeof SiteMentoringIdRoute
'/profile/$id': typeof SiteProfileIdRoute
'/dashboard/': typeof AuthenticatedDashboardIndexRoute
'/auth/forgot/otp': typeof PublicAuthForgotOtpRoute
'/auth/forgot/summon': typeof PublicAuthForgotSummonRoute
'/auth/register-mentor/pending': typeof PublicAuthRegisterMentorPendingRoute
'/auth/register-mentor/success': typeof PublicAuthRegisterMentorSuccessRoute
'/auth/register/otp': typeof PublicAuthRegisterOtpRoute
'/auth/register/success': typeof PublicAuthRegisterSuccessRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/dashboard': typeof AuthenticatedDashboardIndexRoute
'/articles': typeof SiteArticlesRoute
'/mentoring': typeof SiteMentoringRoute
'/profile': typeof SiteProfileRoute
'/resources': typeof SiteResourcesRoute
'/dashboard/settings': typeof AuthenticatedDashboardSettingsRoute
'/auth/forgot': typeof PublicAuthForgotRoute
'/auth/google-callback': typeof PublicAuthGoogleCallbackRoute
'/auth/google-oauth-popup': typeof PublicAuthGoogleOauthPopupRoute
'/auth/login': typeof PublicAuthLoginRoute
'/auth/register': typeof PublicAuthRegisterRoute
'/auth/register-mentor': typeof PublicAuthRegisterMentorRoute
'/articles/$slug': typeof SiteArticlesSlugRoute
'/mentoring/$id': typeof SiteMentoringIdRoute
'/profile/$id': typeof SiteProfileIdRoute
'/auth/forgot/otp': typeof PublicAuthForgotOtpRoute
'/auth/forgot/summon': typeof PublicAuthForgotSummonRoute
'/auth/register-mentor/pending': typeof PublicAuthRegisterMentorPendingRoute
'/auth/register-mentor/success': typeof PublicAuthRegisterMentorSuccessRoute
'/auth/register/otp': typeof PublicAuthRegisterOtpRoute
'/auth/register/success': typeof PublicAuthRegisterSuccessRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/_authenticated': typeof AuthenticatedRouteWithChildren
'/_public': typeof PublicRouteWithChildren
'/_site': typeof SiteRouteWithChildren
'/_authenticated/dashboard': typeof AuthenticatedDashboardRoute
'/_site/articles': typeof SiteArticlesRoute
'/_site/mentoring': typeof SiteMentoringRoute
'/_site/profile': typeof SiteProfileRoute
'/_site/resources': typeof SiteResourcesRoute
'/_authenticated/dashboard_/settings': typeof AuthenticatedDashboardSettingsRoute
'/_public/auth/forgot': typeof PublicAuthForgotRoute
'/_public/auth/google-callback': typeof PublicAuthGoogleCallbackRoute
'/_public/auth/google-oauth-popup': typeof PublicAuthGoogleOauthPopupRoute
'/_public/auth/login': typeof PublicAuthLoginRoute
'/_public/auth/register': typeof PublicAuthRegisterRoute
'/_public/auth/register-mentor': typeof PublicAuthRegisterMentorRoute
'/_site/articles_/$slug': typeof SiteArticlesSlugRoute
'/_site/mentoring_/$id': typeof SiteMentoringIdRoute
'/_site/profile_/$id': typeof SiteProfileIdRoute
'/_authenticated/dashboard_/': typeof AuthenticatedDashboardIndexRoute
'/_public/auth/forgot_/otp': typeof PublicAuthForgotOtpRoute
'/_public/auth/forgot_/summon': typeof PublicAuthForgotSummonRoute
'/_public/auth/register-mentor_/pending': typeof PublicAuthRegisterMentorPendingRoute
'/_public/auth/register-mentor_/success': typeof PublicAuthRegisterMentorSuccessRoute
'/_public/auth/register_/otp': typeof PublicAuthRegisterOtpRoute
'/_public/auth/register_/success': typeof PublicAuthRegisterSuccessRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| '/dashboard'
| '/articles'
| '/mentoring'
| '/profile'
| '/resources'
| '/dashboard/settings'
| '/auth/forgot'
| '/auth/google-callback'
| '/auth/google-oauth-popup'
| '/auth/login'
| '/auth/register'
| '/auth/register-mentor'
| '/articles/$slug'
| '/mentoring/$id'
| '/profile/$id'
| '/dashboard/'
| '/auth/forgot/otp'
| '/auth/forgot/summon'
| '/auth/register-mentor/pending'
| '/auth/register-mentor/success'
| '/auth/register/otp'
| '/auth/register/success'
fileRoutesByTo: FileRoutesByTo
to:
| '/'
| '/dashboard'
| '/articles'
| '/mentoring'
| '/profile'
| '/resources'
| '/dashboard/settings'
| '/auth/forgot'
| '/auth/google-callback'
| '/auth/google-oauth-popup'
| '/auth/login'
| '/auth/register'
| '/auth/register-mentor'
| '/articles/$slug'
| '/mentoring/$id'
| '/profile/$id'
| '/auth/forgot/otp'
| '/auth/forgot/summon'
| '/auth/register-mentor/pending'
| '/auth/register-mentor/success'
| '/auth/register/otp'
| '/auth/register/success'
id:
| '__root__'
| '/'
| '/_authenticated'
| '/_public'
| '/_site'
| '/_authenticated/dashboard'
| '/_site/articles'
| '/_site/mentoring'
| '/_site/profile'
| '/_site/resources'
| '/_authenticated/dashboard_/settings'
| '/_public/auth/forgot'
| '/_public/auth/google-callback'
| '/_public/auth/google-oauth-popup'
| '/_public/auth/login'
| '/_public/auth/register'
| '/_public/auth/register-mentor'
| '/_site/articles_/$slug'
| '/_site/mentoring_/$id'
| '/_site/profile_/$id'
| '/_authenticated/dashboard_/'
| '/_public/auth/forgot_/otp'
| '/_public/auth/forgot_/summon'
| '/_public/auth/register-mentor_/pending'
| '/_public/auth/register-mentor_/success'
| '/_public/auth/register_/otp'
| '/_public/auth/register_/success'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
PublicRoute: typeof PublicRouteWithChildren
SiteRoute: typeof SiteRouteWithChildren
}
// Create and export the route tree
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/_site': {
id: '/_site'
path: ''
fullPath: '/'
preLoaderRoute: typeof SiteRouteImport
parentRoute: typeof rootRouteImport
}
'/_public': {
id: '/_public'
path: ''
fullPath: '/'
preLoaderRoute: typeof PublicRouteImport
parentRoute: typeof rootRouteImport
}
'/_authenticated': {
id: '/_authenticated'
path: ''
fullPath: '/'
preLoaderRoute: typeof AuthenticatedRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/_site/resources': {
id: '/_site/resources'
path: '/resources'
fullPath: '/resources'
preLoaderRoute: typeof SiteResourcesRouteImport
parentRoute: typeof SiteRoute
}
'/_site/profile': {
id: '/_site/profile'
path: '/profile'
fullPath: '/profile'
preLoaderRoute: typeof SiteProfileRouteImport
parentRoute: typeof SiteRoute
}
'/_site/mentoring': {
id: '/_site/mentoring'
path: '/mentoring'
fullPath: '/mentoring'
preLoaderRoute: typeof SiteMentoringRouteImport
parentRoute: typeof SiteRoute
}
'/_site/articles': {
id: '/_site/articles'
path: '/articles'
fullPath: '/articles'
preLoaderRoute: typeof SiteArticlesRouteImport
parentRoute: typeof SiteRoute
}
'/_authenticated/dashboard': {
id: '/_authenticated/dashboard'
path: '/dashboard'
fullPath: '/dashboard'
preLoaderRoute: typeof AuthenticatedDashboardRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/dashboard_/': {
id: '/_authenticated/dashboard_/'
path: '/dashboard'
fullPath: '/dashboard/'
preLoaderRoute: typeof AuthenticatedDashboardIndexRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_site/profile_/$id': {
id: '/_site/profile_/$id'
path: '/profile/$id'
fullPath: '/profile/$id'
preLoaderRoute: typeof SiteProfileIdRouteImport
parentRoute: typeof SiteRoute
}
'/_site/mentoring_/$id': {
id: '/_site/mentoring_/$id'
path: '/mentoring/$id'
fullPath: '/mentoring/$id'
preLoaderRoute: typeof SiteMentoringIdRouteImport
parentRoute: typeof SiteRoute
}
'/_site/articles_/$slug': {
id: '/_site/articles_/$slug'
path: '/articles/$slug'
fullPath: '/articles/$slug'
preLoaderRoute: typeof SiteArticlesSlugRouteImport
parentRoute: typeof SiteRoute
}
'/_public/auth/register-mentor': {
id: '/_public/auth/register-mentor'
path: '/auth/register-mentor'
fullPath: '/auth/register-mentor'
preLoaderRoute: typeof PublicAuthRegisterMentorRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/register': {
id: '/_public/auth/register'
path: '/auth/register'
fullPath: '/auth/register'
preLoaderRoute: typeof PublicAuthRegisterRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/login': {
id: '/_public/auth/login'
path: '/auth/login'
fullPath: '/auth/login'
preLoaderRoute: typeof PublicAuthLoginRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/google-oauth-popup': {
id: '/_public/auth/google-oauth-popup'
path: '/auth/google-oauth-popup'
fullPath: '/auth/google-oauth-popup'
preLoaderRoute: typeof PublicAuthGoogleOauthPopupRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/google-callback': {
id: '/_public/auth/google-callback'
path: '/auth/google-callback'
fullPath: '/auth/google-callback'
preLoaderRoute: typeof PublicAuthGoogleCallbackRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/forgot': {
id: '/_public/auth/forgot'
path: '/auth/forgot'
fullPath: '/auth/forgot'
preLoaderRoute: typeof PublicAuthForgotRouteImport
parentRoute: typeof PublicRoute
}
'/_authenticated/dashboard_/settings': {
id: '/_authenticated/dashboard_/settings'
path: '/dashboard/settings'
fullPath: '/dashboard/settings'
preLoaderRoute: typeof AuthenticatedDashboardSettingsRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_public/auth/register_/success': {
id: '/_public/auth/register_/success'
path: '/auth/register/success'
fullPath: '/auth/register/success'
preLoaderRoute: typeof PublicAuthRegisterSuccessRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/register_/otp': {
id: '/_public/auth/register_/otp'
path: '/auth/register/otp'
fullPath: '/auth/register/otp'
preLoaderRoute: typeof PublicAuthRegisterOtpRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/register-mentor_/success': {
id: '/_public/auth/register-mentor_/success'
path: '/auth/register-mentor/success'
fullPath: '/auth/register-mentor/success'
preLoaderRoute: typeof PublicAuthRegisterMentorSuccessRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/register-mentor_/pending': {
id: '/_public/auth/register-mentor_/pending'
path: '/auth/register-mentor/pending'
fullPath: '/auth/register-mentor/pending'
preLoaderRoute: typeof PublicAuthRegisterMentorPendingRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/forgot_/summon': {
id: '/_public/auth/forgot_/summon'
path: '/auth/forgot/summon'
fullPath: '/auth/forgot/summon'
preLoaderRoute: typeof PublicAuthForgotSummonRouteImport
parentRoute: typeof PublicRoute
}
'/_public/auth/forgot_/otp': {
id: '/_public/auth/forgot_/otp'
path: '/auth/forgot/otp'
fullPath: '/auth/forgot/otp'
preLoaderRoute: typeof PublicAuthForgotOtpRouteImport
parentRoute: typeof PublicRoute
}
}
}
export const routeTree = rootRoute
interface AuthenticatedRouteChildren {
AuthenticatedDashboardRoute: typeof AuthenticatedDashboardRoute
AuthenticatedDashboardSettingsRoute: typeof AuthenticatedDashboardSettingsRoute
AuthenticatedDashboardIndexRoute: typeof AuthenticatedDashboardIndexRoute
}
const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
AuthenticatedDashboardRoute: AuthenticatedDashboardRoute,
AuthenticatedDashboardSettingsRoute: AuthenticatedDashboardSettingsRoute,
AuthenticatedDashboardIndexRoute: AuthenticatedDashboardIndexRoute,
}
const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
AuthenticatedRouteChildren,
)
interface PublicRouteChildren {
PublicAuthForgotRoute: typeof PublicAuthForgotRoute
PublicAuthGoogleCallbackRoute: typeof PublicAuthGoogleCallbackRoute
PublicAuthGoogleOauthPopupRoute: typeof PublicAuthGoogleOauthPopupRoute
PublicAuthLoginRoute: typeof PublicAuthLoginRoute
PublicAuthRegisterRoute: typeof PublicAuthRegisterRoute
PublicAuthRegisterMentorRoute: typeof PublicAuthRegisterMentorRoute
PublicAuthForgotOtpRoute: typeof PublicAuthForgotOtpRoute
PublicAuthForgotSummonRoute: typeof PublicAuthForgotSummonRoute
PublicAuthRegisterMentorPendingRoute: typeof PublicAuthRegisterMentorPendingRoute
PublicAuthRegisterMentorSuccessRoute: typeof PublicAuthRegisterMentorSuccessRoute
PublicAuthRegisterOtpRoute: typeof PublicAuthRegisterOtpRoute
PublicAuthRegisterSuccessRoute: typeof PublicAuthRegisterSuccessRoute
}
const PublicRouteChildren: PublicRouteChildren = {
PublicAuthForgotRoute: PublicAuthForgotRoute,
PublicAuthGoogleCallbackRoute: PublicAuthGoogleCallbackRoute,
PublicAuthGoogleOauthPopupRoute: PublicAuthGoogleOauthPopupRoute,
PublicAuthLoginRoute: PublicAuthLoginRoute,
PublicAuthRegisterRoute: PublicAuthRegisterRoute,
PublicAuthRegisterMentorRoute: PublicAuthRegisterMentorRoute,
PublicAuthForgotOtpRoute: PublicAuthForgotOtpRoute,
PublicAuthForgotSummonRoute: PublicAuthForgotSummonRoute,
PublicAuthRegisterMentorPendingRoute: PublicAuthRegisterMentorPendingRoute,
PublicAuthRegisterMentorSuccessRoute: PublicAuthRegisterMentorSuccessRoute,
PublicAuthRegisterOtpRoute: PublicAuthRegisterOtpRoute,
PublicAuthRegisterSuccessRoute: PublicAuthRegisterSuccessRoute,
}
const PublicRouteWithChildren =
PublicRoute._addFileChildren(PublicRouteChildren)
interface SiteRouteChildren {
SiteArticlesRoute: typeof SiteArticlesRoute
SiteMentoringRoute: typeof SiteMentoringRoute
SiteProfileRoute: typeof SiteProfileRoute
SiteResourcesRoute: typeof SiteResourcesRoute
SiteArticlesSlugRoute: typeof SiteArticlesSlugRoute
SiteMentoringIdRoute: typeof SiteMentoringIdRoute
SiteProfileIdRoute: typeof SiteProfileIdRoute
}
const SiteRouteChildren: SiteRouteChildren = {
SiteArticlesRoute: SiteArticlesRoute,
SiteMentoringRoute: SiteMentoringRoute,
SiteProfileRoute: SiteProfileRoute,
SiteResourcesRoute: SiteResourcesRoute,
SiteArticlesSlugRoute: SiteArticlesSlugRoute,
SiteMentoringIdRoute: SiteMentoringIdRoute,
SiteProfileIdRoute: SiteProfileIdRoute,
}
const SiteRouteWithChildren = SiteRoute._addFileChildren(SiteRouteChildren)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AuthenticatedRoute: AuthenticatedRouteWithChildren,
PublicRoute: PublicRouteWithChildren,
SiteRoute: SiteRouteWithChildren,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
@@ -7,7 +7,7 @@ import {
} from '@imphnen-frontend-service/service'
import { Icon } from '@iconify/react'
export const Route = createFileRoute('/_authenticated/dashboard/')({
export const Route = createFileRoute('/_authenticated/dashboard_/')({
component: DashboardIndexPage,
})
@@ -17,7 +17,7 @@ const faqItems = [
{ q: 'Is my data secure?', a: 'Yes, we use encryption and secure protocols to protect your data. See our Privacy Policy for details.' },
]
export const Route = createFileRoute('/_authenticated/dashboard/settings')({
export const Route = createFileRoute('/_authenticated/dashboard_/settings')({
component: SettingsPage,
})
@@ -70,16 +70,16 @@ function SettingsPage() {
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Full Name</label>
<input type="text" defaultValue={user?.fullname || ''} disabled className="w-full px-4 py-2.5 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white disabled:opacity-60" />
<input type="text" defaultValue={user?.fullname || ""} disabled className="w-full px-4 py-2.5 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white disabled:opacity-60" />
</div>
<div>
<label className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Email</label>
<input type="email" defaultValue={user?.email || ''} disabled className="w-full px-4 py-2.5 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white disabled:opacity-60" />
<input type="email" defaultValue={user?.email || ""} disabled className="w-full px-4 py-2.5 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white disabled:opacity-60" />
</div>
</div>
<div>
<label className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Role</label>
<input type="text" defaultValue={user?.role?.name || 'User'} disabled className="w-full px-4 py-2.5 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white disabled:opacity-60" />
<input type="text" defaultValue={user?.role?.name || "User"} disabled className="w-full px-4 py-2.5 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white disabled:opacity-60" />
</div>
<p className="text-sm text-gray-500 dark:text-gray-400">
To update your profile, use the profile page from the main menu.
@@ -165,7 +165,7 @@ function SettingsPage() {
className="w-full px-4 py-3 flex items-center justify-between text-left cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800"
>
<span className="font-medium text-gray-900 dark:text-white text-sm">{item.q}</span>
<Icon icon={expandedFaq === i ? 'mdi:chevron-up' : 'mdi:chevron-down'} className="text-gray-400 shrink-0" />
<Icon icon={expandedFaq === i ? 'mdi:chevron-up' : 'mdi:chevron-down'} className='text-gray-400 shrink-0' />
</button>
{expandedFaq === i && (
<div className="px-4 pb-3">
@@ -4,7 +4,7 @@ import { RegisterResetBanner } from '@imphnen-frontend-service/ui/organisms'
import { ForgotStep, OtpForm } from '@imphnen-frontend-service/ui/molecules'
import { Button } from '@imphnen-frontend-service/ui/atoms'
export const Route = createFileRoute('/_public/auth/forgot/otp')({
export const Route = createFileRoute('/_public/auth/forgot_/otp')({
component: ForgotOtpPage,
})
@@ -4,7 +4,7 @@ import { RegisterResetBanner } from '@imphnen-frontend-service/ui/organisms'
import { ForgotStep } from '@imphnen-frontend-service/ui/molecules'
import { Button, Input } from '@imphnen-frontend-service/ui/atoms'
export const Route = createFileRoute('/_public/auth/forgot/summon')({
export const Route = createFileRoute('/_public/auth/forgot_/summon')({
component: ForgotSummonPage,
})
@@ -16,12 +16,12 @@ function ForgotSummonPage(): ReactElement {
<div className='border-2 border-primary-500/50 w-[596px] rounded-lg py-[70px] px-[48px] flex flex-col justify-center'>
<ForgotStep step={3} />
<h3 className='mt-5 text-3xl font-semibold text-primary-500'>Forgot Password</h3>
<h5 className='mt-2 text-md font-medium text-primary-500'>Sekarang, buatlah password baru yang lebih kuat, seperti jurus andalanmu!<span role="img" aria-label='emoji'>🔥</span></h5>
<h5 className='mt-2 text-md font-medium text-primary-500'>Sekarang, buatlah password baru yang lebih kuat, seperti jurus andalanmu!<span role='img' aria-label='emoji'>🔥</span></h5>
<div className='my-4'>
<h6 className='text-gray-700'>Password Baru</h6>
<Input className='w-full' type="password" placeholder='Buat password sekokoh armor legendary!'/>
<Input className='w-full' type='password' placeholder='Buat password sekokoh armor legendary!'/>
<h6 className='text-gray-700 mt-5'>Ulang Password Baru</h6>
<Input className='w-full' type="password" placeholder='Pastikan Cocok! Jangan sampai ada typo, Senpai~!'/>
<Input className='w-full' type='password' placeholder='Pastikan Cocok! Jangan sampai ada typo, Senpai~!'/>
</div>
<div className='mb-4 text-gray-700 flex flex-col gap-3 text-sm'>
<h6><span role='img' aria-label='emoji'>💡</span> Tips dari kami:</h6>
@@ -4,7 +4,7 @@ import { RegisterResetBanner } from '@imphnen-frontend-service/ui/organisms'
import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ArrowRightOutlined } from '@ant-design/icons'
export const Route = createFileRoute('/_public/auth/register-mentor/pending')({
export const Route = createFileRoute('/_public/auth/register-mentor_/pending')({
component: RegisterMentorPendingPage,
})
@@ -4,7 +4,7 @@ import { RegisterResetBanner } from '@imphnen-frontend-service/ui/organisms'
import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ArrowRightOutlined } from '@ant-design/icons'
export const Route = createFileRoute('/_public/auth/register-mentor/success')({
export const Route = createFileRoute('/_public/auth/register-mentor_/success')({
component: RegisterMentorSuccessPage,
})
@@ -5,7 +5,7 @@ import { useOtpHook } from '../../../_hooks/use-otp'
import { Button } from '@imphnen-frontend-service/ui/atoms'
import { useResendOtpHook } from '../../../_hooks/use-resend-otp'
export const Route = createFileRoute('/_public/auth/register/otp')({
export const Route = createFileRoute('/_public/auth/register_/otp')({
validateSearch: (search: Record<string, unknown>) => ({
email: (search.email as string) || '',
}),
@@ -38,7 +38,7 @@ function RegisterOtpPage(): ReactElement {
const formatTime = (seconds: number) => {
const m = Math.floor(seconds / 60)
const s = seconds % 60
return `${m}:${s.toString().padStart(2, '0')}`
return `${m}:${s.toString().padStart(2, `0`)}`
}
return (
@@ -65,7 +65,7 @@ function RegisterOtpPage(): ReactElement {
setDisabled(true)
setTimeLeft(5 * 60)
}
}>Kirim ulang otp {disabled? `(${formatTime(timeLeft)})`: ""}</Button>
}>Kirim ulang otp {disabled? `(${formatTime(timeLeft)})`: ``}</Button>
<Button className="xl:w-full mt-2" disabled={(!form.formState.isValid || isLoading)}>Linked Start !!!</Button>
</form>
</div>
@@ -4,7 +4,7 @@ import { RegisterResetBanner } from '@imphnen-frontend-service/ui/organisms'
import { Button } from '@imphnen-frontend-service/ui/atoms'
import { ArrowRightOutlined } from '@ant-design/icons'
export const Route = createFileRoute('/_public/auth/register/success')({
export const Route = createFileRoute('/_public/auth/register_/success')({
component: RegisterSuccessPage,
})
@@ -4,7 +4,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { cn } from '@imphnen-frontend-service/utils'
import { motion } from 'framer-motion'
export const Route = createFileRoute('/_site/articles/$slug')({
export const Route = createFileRoute('/_site/articles_/$slug')({
component: DetailArticlePage,
})
@@ -10,7 +10,7 @@ import { Button } from '@imphnen-frontend-service/ui/atoms'
import { AppointmentModal } from './$id/_components/modals/appointment'
import { useMentorById } from '@imphnen-frontend-service/service'
export const Route = createFileRoute('/_site/mentoring/$id')({
export const Route = createFileRoute('/_site/mentoring_/$id')({
component: MentorDetailPage,
})
@@ -7,7 +7,7 @@ import { NotificationModal, NotificationType } from './_components/modals/notifi
import { ProfileProvider, useProfile } from './_components/contexts/profile-context'
import { EditProfileModal } from './_components/modals/edit-profile-modal'
export const Route = createFileRoute('/_site/profile/$id')({
export const Route = createFileRoute('/_site/profile_/$id')({
component: ProfileByIdPage,
})
+1
View File
@@ -16,6 +16,7 @@ export default defineConfig(() => ({
port: 3001,
host: 'localhost',
},
build: { rolldownOptions: { output: { codeSplitting: { groups: [{ name: 'vendor', test: /node_modules/ }] } } } },
plugins: [
TanStackRouterVite({
routeFileIgnorePattern: '_components|_hooks|_hook|_data',
+59 -2
View File
@@ -1,2 +1,59 @@
// 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 IndexRouteImport } from './routes/index'
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/'
fileRoutesByTo: FileRoutesByTo
to: '/'
id: '__root__' | '/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
}
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
}
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
+1
View File
@@ -16,6 +16,7 @@ export default defineConfig(() => ({
port: 3001,
host: 'localhost',
},
build: { rolldownOptions: { output: { codeSplitting: { groups: [{ name: 'vendor', test: /node_modules/ }] } } } },
plugins: [
TanStackRouterVite({
routeFileIgnorePattern: '_components|_hooks|_hook|_data',
+558 -2
View File
@@ -1,3 +1,559 @@
// This file is auto-generated by TanStack Router
/* eslint-disable */
export const routeTree = {} as any
// @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 IndexRouteImport } from './routes/index'
import { Route as PublicWinnersRouteImport } from './routes/_public/winners'
import { Route as PublicMaintenanceRouteImport } from './routes/_public/maintenance'
import { Route as AuthenticatedDashboardRouteImport } from './routes/_authenticated/dashboard'
import { Route as PublicCertificateCertIdRouteImport } from './routes/_public/certificate/$certId'
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 PublicAuthCallbackRouteImport } from './routes/_public/auth/callback'
import { Route as AuthenticatedUsersUserIdRouteImport } from './routes/_authenticated/users/$userId'
import { Route as AuthenticatedTeamsCreateRouteImport } from './routes/_authenticated/teams/create'
import { Route as AuthenticatedTeamsBrowseRouteImport } from './routes/_authenticated/teams/browse'
import { Route as AuthenticatedTeamsTeamIdRouteImport } from './routes/_authenticated/teams/$teamId'
import { Route as AuthenticatedOnboardingUserRouteImport } from './routes/_authenticated/onboarding/user'
import { Route as PublicCertificateWinnerCertIdRouteImport } from './routes/_public/certificate/winner/$certId'
import { Route as AuthenticatedTeamsTeamIdSubmitRouteImport } from './routes/_authenticated/teams/$teamId/submit'
import { Route as AuthenticatedTeamsTeamIdSubmissionRouteImport } from './routes/_authenticated/teams/$teamId/submission'
import { Route as AuthenticatedTeamsTeamIdMembersRouteImport } from './routes/_authenticated/teams/$teamId/members'
import { Route as AuthenticatedTeamsTeamIdEditRouteImport } from './routes/_authenticated/teams/$teamId/edit'
import { Route as AuthenticatedTeamsTeamIdChatRouteImport } from './routes/_authenticated/teams/$teamId/chat'
const PublicRoute = PublicRouteImport.update({
id: '/_public',
getParentRoute: () => rootRouteImport,
} as any)
const AuthenticatedRoute = AuthenticatedRouteImport.update({
id: '/_authenticated',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const PublicWinnersRoute = PublicWinnersRouteImport.update({
id: '/winners',
path: '/winners',
getParentRoute: () => PublicRoute,
} as any)
const PublicMaintenanceRoute = PublicMaintenanceRouteImport.update({
id: '/maintenance',
path: '/maintenance',
getParentRoute: () => PublicRoute,
} as any)
const AuthenticatedDashboardRoute = AuthenticatedDashboardRouteImport.update({
id: '/dashboard',
path: '/dashboard',
getParentRoute: () => AuthenticatedRoute,
} as any)
const PublicCertificateCertIdRoute = PublicCertificateCertIdRouteImport.update({
id: '/certificate/$certId',
path: '/certificate/$certId',
getParentRoute: () => PublicRoute,
} 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 PublicAuthCallbackRoute = PublicAuthCallbackRouteImport.update({
id: '/auth/callback',
path: '/auth/callback',
getParentRoute: () => PublicRoute,
} as any)
const AuthenticatedUsersUserIdRoute =
AuthenticatedUsersUserIdRouteImport.update({
id: '/users/$userId',
path: '/users/$userId',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedTeamsCreateRoute =
AuthenticatedTeamsCreateRouteImport.update({
id: '/teams/create',
path: '/teams/create',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedTeamsBrowseRoute =
AuthenticatedTeamsBrowseRouteImport.update({
id: '/teams/browse',
path: '/teams/browse',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedTeamsTeamIdRoute =
AuthenticatedTeamsTeamIdRouteImport.update({
id: '/teams/$teamId',
path: '/teams/$teamId',
getParentRoute: () => AuthenticatedRoute,
} as any)
const AuthenticatedOnboardingUserRoute =
AuthenticatedOnboardingUserRouteImport.update({
id: '/onboarding/user',
path: '/onboarding/user',
getParentRoute: () => AuthenticatedRoute,
} as any)
const PublicCertificateWinnerCertIdRoute =
PublicCertificateWinnerCertIdRouteImport.update({
id: '/certificate/winner/$certId',
path: '/certificate/winner/$certId',
getParentRoute: () => PublicRoute,
} as any)
const AuthenticatedTeamsTeamIdSubmitRoute =
AuthenticatedTeamsTeamIdSubmitRouteImport.update({
id: '/submit',
path: '/submit',
getParentRoute: () => AuthenticatedTeamsTeamIdRoute,
} as any)
const AuthenticatedTeamsTeamIdSubmissionRoute =
AuthenticatedTeamsTeamIdSubmissionRouteImport.update({
id: '/submission',
path: '/submission',
getParentRoute: () => AuthenticatedTeamsTeamIdRoute,
} as any)
const AuthenticatedTeamsTeamIdMembersRoute =
AuthenticatedTeamsTeamIdMembersRouteImport.update({
id: '/members',
path: '/members',
getParentRoute: () => AuthenticatedTeamsTeamIdRoute,
} as any)
const AuthenticatedTeamsTeamIdEditRoute =
AuthenticatedTeamsTeamIdEditRouteImport.update({
id: '/edit',
path: '/edit',
getParentRoute: () => AuthenticatedTeamsTeamIdRoute,
} as any)
const AuthenticatedTeamsTeamIdChatRoute =
AuthenticatedTeamsTeamIdChatRouteImport.update({
id: '/chat',
path: '/chat',
getParentRoute: () => AuthenticatedTeamsTeamIdRoute,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/dashboard': typeof AuthenticatedDashboardRoute
'/maintenance': typeof PublicMaintenanceRoute
'/winners': typeof PublicWinnersRoute
'/onboarding/user': typeof AuthenticatedOnboardingUserRoute
'/teams/$teamId': typeof AuthenticatedTeamsTeamIdRouteWithChildren
'/teams/browse': typeof AuthenticatedTeamsBrowseRoute
'/teams/create': typeof AuthenticatedTeamsCreateRoute
'/users/$userId': typeof AuthenticatedUsersUserIdRoute
'/auth/callback': typeof PublicAuthCallbackRoute
'/auth/forgot-password': typeof PublicAuthForgotPasswordRoute
'/auth/login': typeof PublicAuthLoginRoute
'/auth/reset-password': typeof PublicAuthResetPasswordRoute
'/auth/signup': typeof PublicAuthSignupRoute
'/certificate/$certId': typeof PublicCertificateCertIdRoute
'/teams/$teamId/chat': typeof AuthenticatedTeamsTeamIdChatRoute
'/teams/$teamId/edit': typeof AuthenticatedTeamsTeamIdEditRoute
'/teams/$teamId/members': typeof AuthenticatedTeamsTeamIdMembersRoute
'/teams/$teamId/submission': typeof AuthenticatedTeamsTeamIdSubmissionRoute
'/teams/$teamId/submit': typeof AuthenticatedTeamsTeamIdSubmitRoute
'/certificate/winner/$certId': typeof PublicCertificateWinnerCertIdRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/dashboard': typeof AuthenticatedDashboardRoute
'/maintenance': typeof PublicMaintenanceRoute
'/winners': typeof PublicWinnersRoute
'/onboarding/user': typeof AuthenticatedOnboardingUserRoute
'/teams/$teamId': typeof AuthenticatedTeamsTeamIdRouteWithChildren
'/teams/browse': typeof AuthenticatedTeamsBrowseRoute
'/teams/create': typeof AuthenticatedTeamsCreateRoute
'/users/$userId': typeof AuthenticatedUsersUserIdRoute
'/auth/callback': typeof PublicAuthCallbackRoute
'/auth/forgot-password': typeof PublicAuthForgotPasswordRoute
'/auth/login': typeof PublicAuthLoginRoute
'/auth/reset-password': typeof PublicAuthResetPasswordRoute
'/auth/signup': typeof PublicAuthSignupRoute
'/certificate/$certId': typeof PublicCertificateCertIdRoute
'/teams/$teamId/chat': typeof AuthenticatedTeamsTeamIdChatRoute
'/teams/$teamId/edit': typeof AuthenticatedTeamsTeamIdEditRoute
'/teams/$teamId/members': typeof AuthenticatedTeamsTeamIdMembersRoute
'/teams/$teamId/submission': typeof AuthenticatedTeamsTeamIdSubmissionRoute
'/teams/$teamId/submit': typeof AuthenticatedTeamsTeamIdSubmitRoute
'/certificate/winner/$certId': typeof PublicCertificateWinnerCertIdRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/_authenticated': typeof AuthenticatedRouteWithChildren
'/_public': typeof PublicRouteWithChildren
'/_authenticated/dashboard': typeof AuthenticatedDashboardRoute
'/_public/maintenance': typeof PublicMaintenanceRoute
'/_public/winners': typeof PublicWinnersRoute
'/_authenticated/onboarding/user': typeof AuthenticatedOnboardingUserRoute
'/_authenticated/teams/$teamId': typeof AuthenticatedTeamsTeamIdRouteWithChildren
'/_authenticated/teams/browse': typeof AuthenticatedTeamsBrowseRoute
'/_authenticated/teams/create': typeof AuthenticatedTeamsCreateRoute
'/_authenticated/users/$userId': typeof AuthenticatedUsersUserIdRoute
'/_public/auth/callback': typeof PublicAuthCallbackRoute
'/_public/auth/forgot-password': typeof PublicAuthForgotPasswordRoute
'/_public/auth/login': typeof PublicAuthLoginRoute
'/_public/auth/reset-password': typeof PublicAuthResetPasswordRoute
'/_public/auth/signup': typeof PublicAuthSignupRoute
'/_public/certificate/$certId': typeof PublicCertificateCertIdRoute
'/_authenticated/teams/$teamId/chat': typeof AuthenticatedTeamsTeamIdChatRoute
'/_authenticated/teams/$teamId/edit': typeof AuthenticatedTeamsTeamIdEditRoute
'/_authenticated/teams/$teamId/members': typeof AuthenticatedTeamsTeamIdMembersRoute
'/_authenticated/teams/$teamId/submission': typeof AuthenticatedTeamsTeamIdSubmissionRoute
'/_authenticated/teams/$teamId/submit': typeof AuthenticatedTeamsTeamIdSubmitRoute
'/_public/certificate/winner/$certId': typeof PublicCertificateWinnerCertIdRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| '/dashboard'
| '/maintenance'
| '/winners'
| '/onboarding/user'
| '/teams/$teamId'
| '/teams/browse'
| '/teams/create'
| '/users/$userId'
| '/auth/callback'
| '/auth/forgot-password'
| '/auth/login'
| '/auth/reset-password'
| '/auth/signup'
| '/certificate/$certId'
| '/teams/$teamId/chat'
| '/teams/$teamId/edit'
| '/teams/$teamId/members'
| '/teams/$teamId/submission'
| '/teams/$teamId/submit'
| '/certificate/winner/$certId'
fileRoutesByTo: FileRoutesByTo
to:
| '/'
| '/dashboard'
| '/maintenance'
| '/winners'
| '/onboarding/user'
| '/teams/$teamId'
| '/teams/browse'
| '/teams/create'
| '/users/$userId'
| '/auth/callback'
| '/auth/forgot-password'
| '/auth/login'
| '/auth/reset-password'
| '/auth/signup'
| '/certificate/$certId'
| '/teams/$teamId/chat'
| '/teams/$teamId/edit'
| '/teams/$teamId/members'
| '/teams/$teamId/submission'
| '/teams/$teamId/submit'
| '/certificate/winner/$certId'
id:
| '__root__'
| '/'
| '/_authenticated'
| '/_public'
| '/_authenticated/dashboard'
| '/_public/maintenance'
| '/_public/winners'
| '/_authenticated/onboarding/user'
| '/_authenticated/teams/$teamId'
| '/_authenticated/teams/browse'
| '/_authenticated/teams/create'
| '/_authenticated/users/$userId'
| '/_public/auth/callback'
| '/_public/auth/forgot-password'
| '/_public/auth/login'
| '/_public/auth/reset-password'
| '/_public/auth/signup'
| '/_public/certificate/$certId'
| '/_authenticated/teams/$teamId/chat'
| '/_authenticated/teams/$teamId/edit'
| '/_authenticated/teams/$teamId/members'
| '/_authenticated/teams/$teamId/submission'
| '/_authenticated/teams/$teamId/submit'
| '/_public/certificate/winner/$certId'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
PublicRoute: typeof PublicRouteWithChildren
}
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
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/_public/winners': {
id: '/_public/winners'
path: '/winners'
fullPath: '/winners'
preLoaderRoute: typeof PublicWinnersRouteImport
parentRoute: typeof PublicRoute
}
'/_public/maintenance': {
id: '/_public/maintenance'
path: '/maintenance'
fullPath: '/maintenance'
preLoaderRoute: typeof PublicMaintenanceRouteImport
parentRoute: typeof PublicRoute
}
'/_authenticated/dashboard': {
id: '/_authenticated/dashboard'
path: '/dashboard'
fullPath: '/dashboard'
preLoaderRoute: typeof AuthenticatedDashboardRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_public/certificate/$certId': {
id: '/_public/certificate/$certId'
path: '/certificate/$certId'
fullPath: '/certificate/$certId'
preLoaderRoute: typeof PublicCertificateCertIdRouteImport
parentRoute: typeof PublicRoute
}
'/_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
}
'/_public/auth/callback': {
id: '/_public/auth/callback'
path: '/auth/callback'
fullPath: '/auth/callback'
preLoaderRoute: typeof PublicAuthCallbackRouteImport
parentRoute: typeof PublicRoute
}
'/_authenticated/users/$userId': {
id: '/_authenticated/users/$userId'
path: '/users/$userId'
fullPath: '/users/$userId'
preLoaderRoute: typeof AuthenticatedUsersUserIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/teams/create': {
id: '/_authenticated/teams/create'
path: '/teams/create'
fullPath: '/teams/create'
preLoaderRoute: typeof AuthenticatedTeamsCreateRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/teams/browse': {
id: '/_authenticated/teams/browse'
path: '/teams/browse'
fullPath: '/teams/browse'
preLoaderRoute: typeof AuthenticatedTeamsBrowseRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/teams/$teamId': {
id: '/_authenticated/teams/$teamId'
path: '/teams/$teamId'
fullPath: '/teams/$teamId'
preLoaderRoute: typeof AuthenticatedTeamsTeamIdRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_authenticated/onboarding/user': {
id: '/_authenticated/onboarding/user'
path: '/onboarding/user'
fullPath: '/onboarding/user'
preLoaderRoute: typeof AuthenticatedOnboardingUserRouteImport
parentRoute: typeof AuthenticatedRoute
}
'/_public/certificate/winner/$certId': {
id: '/_public/certificate/winner/$certId'
path: '/certificate/winner/$certId'
fullPath: '/certificate/winner/$certId'
preLoaderRoute: typeof PublicCertificateWinnerCertIdRouteImport
parentRoute: typeof PublicRoute
}
'/_authenticated/teams/$teamId/submit': {
id: '/_authenticated/teams/$teamId/submit'
path: '/submit'
fullPath: '/teams/$teamId/submit'
preLoaderRoute: typeof AuthenticatedTeamsTeamIdSubmitRouteImport
parentRoute: typeof AuthenticatedTeamsTeamIdRoute
}
'/_authenticated/teams/$teamId/submission': {
id: '/_authenticated/teams/$teamId/submission'
path: '/submission'
fullPath: '/teams/$teamId/submission'
preLoaderRoute: typeof AuthenticatedTeamsTeamIdSubmissionRouteImport
parentRoute: typeof AuthenticatedTeamsTeamIdRoute
}
'/_authenticated/teams/$teamId/members': {
id: '/_authenticated/teams/$teamId/members'
path: '/members'
fullPath: '/teams/$teamId/members'
preLoaderRoute: typeof AuthenticatedTeamsTeamIdMembersRouteImport
parentRoute: typeof AuthenticatedTeamsTeamIdRoute
}
'/_authenticated/teams/$teamId/edit': {
id: '/_authenticated/teams/$teamId/edit'
path: '/edit'
fullPath: '/teams/$teamId/edit'
preLoaderRoute: typeof AuthenticatedTeamsTeamIdEditRouteImport
parentRoute: typeof AuthenticatedTeamsTeamIdRoute
}
'/_authenticated/teams/$teamId/chat': {
id: '/_authenticated/teams/$teamId/chat'
path: '/chat'
fullPath: '/teams/$teamId/chat'
preLoaderRoute: typeof AuthenticatedTeamsTeamIdChatRouteImport
parentRoute: typeof AuthenticatedTeamsTeamIdRoute
}
}
}
interface AuthenticatedTeamsTeamIdRouteChildren {
AuthenticatedTeamsTeamIdChatRoute: typeof AuthenticatedTeamsTeamIdChatRoute
AuthenticatedTeamsTeamIdEditRoute: typeof AuthenticatedTeamsTeamIdEditRoute
AuthenticatedTeamsTeamIdMembersRoute: typeof AuthenticatedTeamsTeamIdMembersRoute
AuthenticatedTeamsTeamIdSubmissionRoute: typeof AuthenticatedTeamsTeamIdSubmissionRoute
AuthenticatedTeamsTeamIdSubmitRoute: typeof AuthenticatedTeamsTeamIdSubmitRoute
}
const AuthenticatedTeamsTeamIdRouteChildren: AuthenticatedTeamsTeamIdRouteChildren =
{
AuthenticatedTeamsTeamIdChatRoute: AuthenticatedTeamsTeamIdChatRoute,
AuthenticatedTeamsTeamIdEditRoute: AuthenticatedTeamsTeamIdEditRoute,
AuthenticatedTeamsTeamIdMembersRoute: AuthenticatedTeamsTeamIdMembersRoute,
AuthenticatedTeamsTeamIdSubmissionRoute:
AuthenticatedTeamsTeamIdSubmissionRoute,
AuthenticatedTeamsTeamIdSubmitRoute: AuthenticatedTeamsTeamIdSubmitRoute,
}
const AuthenticatedTeamsTeamIdRouteWithChildren =
AuthenticatedTeamsTeamIdRoute._addFileChildren(
AuthenticatedTeamsTeamIdRouteChildren,
)
interface AuthenticatedRouteChildren {
AuthenticatedDashboardRoute: typeof AuthenticatedDashboardRoute
AuthenticatedOnboardingUserRoute: typeof AuthenticatedOnboardingUserRoute
AuthenticatedTeamsTeamIdRoute: typeof AuthenticatedTeamsTeamIdRouteWithChildren
AuthenticatedTeamsBrowseRoute: typeof AuthenticatedTeamsBrowseRoute
AuthenticatedTeamsCreateRoute: typeof AuthenticatedTeamsCreateRoute
AuthenticatedUsersUserIdRoute: typeof AuthenticatedUsersUserIdRoute
}
const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
AuthenticatedDashboardRoute: AuthenticatedDashboardRoute,
AuthenticatedOnboardingUserRoute: AuthenticatedOnboardingUserRoute,
AuthenticatedTeamsTeamIdRoute: AuthenticatedTeamsTeamIdRouteWithChildren,
AuthenticatedTeamsBrowseRoute: AuthenticatedTeamsBrowseRoute,
AuthenticatedTeamsCreateRoute: AuthenticatedTeamsCreateRoute,
AuthenticatedUsersUserIdRoute: AuthenticatedUsersUserIdRoute,
}
const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
AuthenticatedRouteChildren,
)
interface PublicRouteChildren {
PublicMaintenanceRoute: typeof PublicMaintenanceRoute
PublicWinnersRoute: typeof PublicWinnersRoute
PublicAuthCallbackRoute: typeof PublicAuthCallbackRoute
PublicAuthForgotPasswordRoute: typeof PublicAuthForgotPasswordRoute
PublicAuthLoginRoute: typeof PublicAuthLoginRoute
PublicAuthResetPasswordRoute: typeof PublicAuthResetPasswordRoute
PublicAuthSignupRoute: typeof PublicAuthSignupRoute
PublicCertificateCertIdRoute: typeof PublicCertificateCertIdRoute
PublicCertificateWinnerCertIdRoute: typeof PublicCertificateWinnerCertIdRoute
}
const PublicRouteChildren: PublicRouteChildren = {
PublicMaintenanceRoute: PublicMaintenanceRoute,
PublicWinnersRoute: PublicWinnersRoute,
PublicAuthCallbackRoute: PublicAuthCallbackRoute,
PublicAuthForgotPasswordRoute: PublicAuthForgotPasswordRoute,
PublicAuthLoginRoute: PublicAuthLoginRoute,
PublicAuthResetPasswordRoute: PublicAuthResetPasswordRoute,
PublicAuthSignupRoute: PublicAuthSignupRoute,
PublicCertificateCertIdRoute: PublicCertificateCertIdRoute,
PublicCertificateWinnerCertIdRoute: PublicCertificateWinnerCertIdRoute,
}
const PublicRouteWithChildren =
PublicRoute._addFileChildren(PublicRouteChildren)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AuthenticatedRoute: AuthenticatedRouteWithChildren,
PublicRoute: PublicRouteWithChildren,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
+1
View File
@@ -16,6 +16,7 @@ export default defineConfig(() => ({
port: 3005,
host: 'localhost',
},
build: { rolldownOptions: { output: { codeSplitting: { groups: [{ name: 'vendor', test: /node_modules/ }] } } } },
plugins: [
TanStackRouterVite({
routeFileIgnorePattern: '_components|_hooks|_hook|_data',
+59 -2
View File
@@ -1,2 +1,59 @@
// 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 IndexRouteImport } from './routes/index'
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/'
fileRoutesByTo: FileRoutesByTo
to: '/'
id: '__root__' | '/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
}
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
}
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
+312 -2
View File
@@ -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>()