Dashboards are separate sets of cards (Home, Work). Settings manages them and sets the one that opens at sign-in, the header and the search bar switch. Migration 0006 puts the existing cards on a dashboard "Home". The link dialog searches dashboard-icons and uploads custom icons (/api/icon, up to 1 MB, SVG served sandboxed). Wallpaper and icons share the upload checks.
178 lines
4.9 KiB
TypeScript
178 lines
4.9 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 { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as SettingsRouteImport } from './routes/settings'
|
|
import { Route as ApiIconRouteImport } from './routes/api/icon'
|
|
import { Route as ApiWallpaperRouteImport } from './routes/api/wallpaper'
|
|
import { Route as ApiAuthSplatRouteImport } from './routes/api/auth/$'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SettingsRoute = SettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiIconRoute = ApiIconRouteImport.update({
|
|
id: '/api/icon',
|
|
path: '/api/icon',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiWallpaperRoute = ApiWallpaperRouteImport.update({
|
|
id: '/api/wallpaper',
|
|
path: '/api/wallpaper',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiAuthSplatRoute = ApiAuthSplatRouteImport.update({
|
|
id: '/api/auth/$',
|
|
path: '/api/auth/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/settings': typeof SettingsRoute
|
|
'/api/icon': typeof ApiIconRoute
|
|
'/api/wallpaper': typeof ApiWallpaperRoute
|
|
'/api/auth/$': typeof ApiAuthSplatRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/settings': typeof SettingsRoute
|
|
'/api/icon': typeof ApiIconRoute
|
|
'/api/wallpaper': typeof ApiWallpaperRoute
|
|
'/api/auth/$': typeof ApiAuthSplatRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/settings': typeof SettingsRoute
|
|
'/api/icon': typeof ApiIconRoute
|
|
'/api/wallpaper': typeof ApiWallpaperRoute
|
|
'/api/auth/$': typeof ApiAuthSplatRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/login'
|
|
| '/settings'
|
|
| '/api/icon'
|
|
| '/api/wallpaper'
|
|
| '/api/auth/$'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/login'
|
|
| '/settings'
|
|
| '/api/icon'
|
|
| '/api/wallpaper'
|
|
| '/api/auth/$'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/login'
|
|
| '/settings'
|
|
| '/api/icon'
|
|
| '/api/wallpaper'
|
|
| '/api/auth/$'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
LoginRoute: typeof LoginRoute
|
|
SettingsRoute: typeof SettingsRoute
|
|
ApiIconRoute: typeof ApiIconRoute
|
|
ApiWallpaperRoute: typeof ApiWallpaperRoute
|
|
ApiAuthSplatRoute: typeof ApiAuthSplatRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/settings': {
|
|
id: '/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof SettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/icon': {
|
|
id: '/api/icon'
|
|
path: '/api/icon'
|
|
fullPath: '/api/icon'
|
|
preLoaderRoute: typeof ApiIconRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/wallpaper': {
|
|
id: '/api/wallpaper'
|
|
path: '/api/wallpaper'
|
|
fullPath: '/api/wallpaper'
|
|
preLoaderRoute: typeof ApiWallpaperRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/auth/$': {
|
|
id: '/api/auth/$'
|
|
path: '/api/auth/$'
|
|
fullPath: '/api/auth/$'
|
|
preLoaderRoute: typeof ApiAuthSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
LoginRoute: LoginRoute,
|
|
SettingsRoute: SettingsRoute,
|
|
ApiIconRoute: ApiIconRoute,
|
|
ApiWallpaperRoute: ApiWallpaperRoute,
|
|
ApiAuthSplatRoute: ApiAuthSplatRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { createStart } from '@tanstack/react-start'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
}
|
|
}
|