417 lines
11 KiB
TypeScript
417 lines
11 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
// Import Routes
|
|
|
|
import { Route as rootRoute } from './routes/__root'
|
|
import { Route as SignUpImport } from './routes/sign-up'
|
|
import { Route as SignInImport } from './routes/sign-in'
|
|
import { Route as ResetPasswordImport } from './routes/reset-password'
|
|
import { Route as ProfileImport } from './routes/profile'
|
|
import { Route as ForgotPasswordImport } from './routes/forgot-password'
|
|
import { Route as DownloadImport } from './routes/download'
|
|
import { Route as IndexImport } from './routes/index'
|
|
import { Route as SupportIndexImport } from './routes/support/index'
|
|
import { Route as ProfileIndexImport } from './routes/profile/index'
|
|
import { Route as RankingsPlayersImport } from './routes/rankings/players'
|
|
import { Route as RankingsGuildsImport } from './routes/rankings/guilds'
|
|
import { Route as ProfileChangePasswordImport } from './routes/profile/change-password'
|
|
import { Route as ProfileChangeEmailImport } from './routes/profile/change-email'
|
|
|
|
// Create/Update Routes
|
|
|
|
const SignUpRoute = SignUpImport.update({
|
|
id: '/sign-up',
|
|
path: '/sign-up',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const SignInRoute = SignInImport.update({
|
|
id: '/sign-in',
|
|
path: '/sign-in',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const ResetPasswordRoute = ResetPasswordImport.update({
|
|
id: '/reset-password',
|
|
path: '/reset-password',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const ProfileRoute = ProfileImport.update({
|
|
id: '/profile',
|
|
path: '/profile',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const ForgotPasswordRoute = ForgotPasswordImport.update({
|
|
id: '/forgot-password',
|
|
path: '/forgot-password',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const DownloadRoute = DownloadImport.update({
|
|
id: '/download',
|
|
path: '/download',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const IndexRoute = IndexImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const SupportIndexRoute = SupportIndexImport.update({
|
|
id: '/support/',
|
|
path: '/support/',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const ProfileIndexRoute = ProfileIndexImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => ProfileRoute,
|
|
} as any)
|
|
|
|
const RankingsPlayersRoute = RankingsPlayersImport.update({
|
|
id: '/rankings/players',
|
|
path: '/rankings/players',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const RankingsGuildsRoute = RankingsGuildsImport.update({
|
|
id: '/rankings/guilds',
|
|
path: '/rankings/guilds',
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const ProfileChangePasswordRoute = ProfileChangePasswordImport.update({
|
|
id: '/change-password',
|
|
path: '/change-password',
|
|
getParentRoute: () => ProfileRoute,
|
|
} as any)
|
|
|
|
const ProfileChangeEmailRoute = ProfileChangeEmailImport.update({
|
|
id: '/change-email',
|
|
path: '/change-email',
|
|
getParentRoute: () => ProfileRoute,
|
|
} as any)
|
|
|
|
// Populate the FileRoutesByPath interface
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/download': {
|
|
id: '/download'
|
|
path: '/download'
|
|
fullPath: '/download'
|
|
preLoaderRoute: typeof DownloadImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/forgot-password': {
|
|
id: '/forgot-password'
|
|
path: '/forgot-password'
|
|
fullPath: '/forgot-password'
|
|
preLoaderRoute: typeof ForgotPasswordImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/profile': {
|
|
id: '/profile'
|
|
path: '/profile'
|
|
fullPath: '/profile'
|
|
preLoaderRoute: typeof ProfileImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/reset-password': {
|
|
id: '/reset-password'
|
|
path: '/reset-password'
|
|
fullPath: '/reset-password'
|
|
preLoaderRoute: typeof ResetPasswordImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/sign-in': {
|
|
id: '/sign-in'
|
|
path: '/sign-in'
|
|
fullPath: '/sign-in'
|
|
preLoaderRoute: typeof SignInImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/sign-up': {
|
|
id: '/sign-up'
|
|
path: '/sign-up'
|
|
fullPath: '/sign-up'
|
|
preLoaderRoute: typeof SignUpImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/profile/change-email': {
|
|
id: '/profile/change-email'
|
|
path: '/change-email'
|
|
fullPath: '/profile/change-email'
|
|
preLoaderRoute: typeof ProfileChangeEmailImport
|
|
parentRoute: typeof ProfileImport
|
|
}
|
|
'/profile/change-password': {
|
|
id: '/profile/change-password'
|
|
path: '/change-password'
|
|
fullPath: '/profile/change-password'
|
|
preLoaderRoute: typeof ProfileChangePasswordImport
|
|
parentRoute: typeof ProfileImport
|
|
}
|
|
'/rankings/guilds': {
|
|
id: '/rankings/guilds'
|
|
path: '/rankings/guilds'
|
|
fullPath: '/rankings/guilds'
|
|
preLoaderRoute: typeof RankingsGuildsImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/rankings/players': {
|
|
id: '/rankings/players'
|
|
path: '/rankings/players'
|
|
fullPath: '/rankings/players'
|
|
preLoaderRoute: typeof RankingsPlayersImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/profile/': {
|
|
id: '/profile/'
|
|
path: '/'
|
|
fullPath: '/profile/'
|
|
preLoaderRoute: typeof ProfileIndexImport
|
|
parentRoute: typeof ProfileImport
|
|
}
|
|
'/support/': {
|
|
id: '/support/'
|
|
path: '/support'
|
|
fullPath: '/support'
|
|
preLoaderRoute: typeof SupportIndexImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
// Create and export the route tree
|
|
|
|
interface ProfileRouteChildren {
|
|
ProfileChangeEmailRoute: typeof ProfileChangeEmailRoute
|
|
ProfileChangePasswordRoute: typeof ProfileChangePasswordRoute
|
|
ProfileIndexRoute: typeof ProfileIndexRoute
|
|
}
|
|
|
|
const ProfileRouteChildren: ProfileRouteChildren = {
|
|
ProfileChangeEmailRoute: ProfileChangeEmailRoute,
|
|
ProfileChangePasswordRoute: ProfileChangePasswordRoute,
|
|
ProfileIndexRoute: ProfileIndexRoute,
|
|
}
|
|
|
|
const ProfileRouteWithChildren =
|
|
ProfileRoute._addFileChildren(ProfileRouteChildren)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/download': typeof DownloadRoute
|
|
'/forgot-password': typeof ForgotPasswordRoute
|
|
'/profile': typeof ProfileRouteWithChildren
|
|
'/reset-password': typeof ResetPasswordRoute
|
|
'/sign-in': typeof SignInRoute
|
|
'/sign-up': typeof SignUpRoute
|
|
'/profile/change-email': typeof ProfileChangeEmailRoute
|
|
'/profile/change-password': typeof ProfileChangePasswordRoute
|
|
'/rankings/guilds': typeof RankingsGuildsRoute
|
|
'/rankings/players': typeof RankingsPlayersRoute
|
|
'/profile/': typeof ProfileIndexRoute
|
|
'/support': typeof SupportIndexRoute
|
|
}
|
|
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/download': typeof DownloadRoute
|
|
'/forgot-password': typeof ForgotPasswordRoute
|
|
'/reset-password': typeof ResetPasswordRoute
|
|
'/sign-in': typeof SignInRoute
|
|
'/sign-up': typeof SignUpRoute
|
|
'/profile/change-email': typeof ProfileChangeEmailRoute
|
|
'/profile/change-password': typeof ProfileChangePasswordRoute
|
|
'/rankings/guilds': typeof RankingsGuildsRoute
|
|
'/rankings/players': typeof RankingsPlayersRoute
|
|
'/profile': typeof ProfileIndexRoute
|
|
'/support': typeof SupportIndexRoute
|
|
}
|
|
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRoute
|
|
'/': typeof IndexRoute
|
|
'/download': typeof DownloadRoute
|
|
'/forgot-password': typeof ForgotPasswordRoute
|
|
'/profile': typeof ProfileRouteWithChildren
|
|
'/reset-password': typeof ResetPasswordRoute
|
|
'/sign-in': typeof SignInRoute
|
|
'/sign-up': typeof SignUpRoute
|
|
'/profile/change-email': typeof ProfileChangeEmailRoute
|
|
'/profile/change-password': typeof ProfileChangePasswordRoute
|
|
'/rankings/guilds': typeof RankingsGuildsRoute
|
|
'/rankings/players': typeof RankingsPlayersRoute
|
|
'/profile/': typeof ProfileIndexRoute
|
|
'/support/': typeof SupportIndexRoute
|
|
}
|
|
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/download'
|
|
| '/forgot-password'
|
|
| '/profile'
|
|
| '/reset-password'
|
|
| '/sign-in'
|
|
| '/sign-up'
|
|
| '/profile/change-email'
|
|
| '/profile/change-password'
|
|
| '/rankings/guilds'
|
|
| '/rankings/players'
|
|
| '/profile/'
|
|
| '/support'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/download'
|
|
| '/forgot-password'
|
|
| '/reset-password'
|
|
| '/sign-in'
|
|
| '/sign-up'
|
|
| '/profile/change-email'
|
|
| '/profile/change-password'
|
|
| '/rankings/guilds'
|
|
| '/rankings/players'
|
|
| '/profile'
|
|
| '/support'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/download'
|
|
| '/forgot-password'
|
|
| '/profile'
|
|
| '/reset-password'
|
|
| '/sign-in'
|
|
| '/sign-up'
|
|
| '/profile/change-email'
|
|
| '/profile/change-password'
|
|
| '/rankings/guilds'
|
|
| '/rankings/players'
|
|
| '/profile/'
|
|
| '/support/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
DownloadRoute: typeof DownloadRoute
|
|
ForgotPasswordRoute: typeof ForgotPasswordRoute
|
|
ProfileRoute: typeof ProfileRouteWithChildren
|
|
ResetPasswordRoute: typeof ResetPasswordRoute
|
|
SignInRoute: typeof SignInRoute
|
|
SignUpRoute: typeof SignUpRoute
|
|
RankingsGuildsRoute: typeof RankingsGuildsRoute
|
|
RankingsPlayersRoute: typeof RankingsPlayersRoute
|
|
SupportIndexRoute: typeof SupportIndexRoute
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
DownloadRoute: DownloadRoute,
|
|
ForgotPasswordRoute: ForgotPasswordRoute,
|
|
ProfileRoute: ProfileRouteWithChildren,
|
|
ResetPasswordRoute: ResetPasswordRoute,
|
|
SignInRoute: SignInRoute,
|
|
SignUpRoute: SignUpRoute,
|
|
RankingsGuildsRoute: RankingsGuildsRoute,
|
|
RankingsPlayersRoute: RankingsPlayersRoute,
|
|
SupportIndexRoute: SupportIndexRoute,
|
|
}
|
|
|
|
export const routeTree = rootRoute
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
/* ROUTE_MANIFEST_START
|
|
{
|
|
"routes": {
|
|
"__root__": {
|
|
"filePath": "__root.tsx",
|
|
"children": [
|
|
"/",
|
|
"/download",
|
|
"/forgot-password",
|
|
"/profile",
|
|
"/reset-password",
|
|
"/sign-in",
|
|
"/sign-up",
|
|
"/rankings/guilds",
|
|
"/rankings/players",
|
|
"/support/"
|
|
]
|
|
},
|
|
"/": {
|
|
"filePath": "index.tsx"
|
|
},
|
|
"/download": {
|
|
"filePath": "download.tsx"
|
|
},
|
|
"/forgot-password": {
|
|
"filePath": "forgot-password.tsx"
|
|
},
|
|
"/profile": {
|
|
"filePath": "profile.tsx",
|
|
"children": [
|
|
"/profile/change-email",
|
|
"/profile/change-password",
|
|
"/profile/"
|
|
]
|
|
},
|
|
"/reset-password": {
|
|
"filePath": "reset-password.tsx"
|
|
},
|
|
"/sign-in": {
|
|
"filePath": "sign-in.tsx"
|
|
},
|
|
"/sign-up": {
|
|
"filePath": "sign-up.tsx"
|
|
},
|
|
"/profile/change-email": {
|
|
"filePath": "profile/change-email.tsx",
|
|
"parent": "/profile"
|
|
},
|
|
"/profile/change-password": {
|
|
"filePath": "profile/change-password.tsx",
|
|
"parent": "/profile"
|
|
},
|
|
"/rankings/guilds": {
|
|
"filePath": "rankings/guilds.tsx"
|
|
},
|
|
"/rankings/players": {
|
|
"filePath": "rankings/players.tsx"
|
|
},
|
|
"/profile/": {
|
|
"filePath": "profile/index.tsx",
|
|
"parent": "/profile"
|
|
},
|
|
"/support/": {
|
|
"filePath": "support/index.tsx"
|
|
}
|
|
}
|
|
}
|
|
ROUTE_MANIFEST_END */
|