* refactor: move to tanstack start * refactor: auth flow & volumes * refactor: repo & snapshot details * refactor: backups, create repo, volumes * refactor: create volume & restore snapshot * refactor: notifications * refactor: settings * refactor: breadcrumbs * fix: ts issues * refactor: prod deployment * fix: import css production * refactor: nitro build * refactor: winston -> consola * fix: memory leak is sse events cleanup * fix: cli usage * chore: remove rr routes file * refactor: pr feedbacks * refactor: patch api client to have a global client per call * refactor: pr feedbacks * fix(dockerfile): add explicit port * fix(e2e): healthcheck under /api
534 lines
22 KiB
TypeScript
534 lines
22 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 dashboardRouteRouteImport } from './routes/(dashboard)/route'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as ApiSplatRouteImport } from './routes/api.$'
|
|
import { Route as authOnboardingRouteImport } from './routes/(auth)/onboarding'
|
|
import { Route as authLoginRouteImport } from './routes/(auth)/login'
|
|
import { Route as authDownloadRecoveryKeyRouteImport } from './routes/(auth)/download-recovery-key'
|
|
import { Route as dashboardVolumesIndexRouteImport } from './routes/(dashboard)/volumes/index'
|
|
import { Route as dashboardSettingsIndexRouteImport } from './routes/(dashboard)/settings/index'
|
|
import { Route as dashboardRepositoriesIndexRouteImport } from './routes/(dashboard)/repositories/index'
|
|
import { Route as dashboardNotificationsIndexRouteImport } from './routes/(dashboard)/notifications/index'
|
|
import { Route as dashboardBackupsIndexRouteImport } from './routes/(dashboard)/backups/index'
|
|
import { Route as dashboardVolumesCreateRouteImport } from './routes/(dashboard)/volumes/create'
|
|
import { Route as dashboardVolumesVolumeIdRouteImport } from './routes/(dashboard)/volumes/$volumeId'
|
|
import { Route as dashboardRepositoriesCreateRouteImport } from './routes/(dashboard)/repositories/create'
|
|
import { Route as dashboardRepositoriesRepositoryIdRouteImport } from './routes/(dashboard)/repositories/$repositoryId'
|
|
import { Route as dashboardNotificationsCreateRouteImport } from './routes/(dashboard)/notifications/create'
|
|
import { Route as dashboardNotificationsNotificationIdRouteImport } from './routes/(dashboard)/notifications/$notificationId'
|
|
import { Route as dashboardBackupsCreateRouteImport } from './routes/(dashboard)/backups/create'
|
|
import { Route as dashboardBackupsScheduleIdRouteImport } from './routes/(dashboard)/backups/$scheduleId'
|
|
import { Route as dashboardRepositoriesRepoIdSnapshotIdRouteImport } from './routes/(dashboard)/repositories/$repoId.$snapshotId'
|
|
import { Route as dashboardRepositoriesRepoIdSnapIdRestoreRouteImport } from './routes/(dashboard)/repositories/$repoId.$snapId.restore'
|
|
import { Route as dashboardBackupsBackupIdSnapshotIdRestoreRouteImport } from './routes/(dashboard)/backups/$backupId.$snapshotId.restore'
|
|
|
|
const dashboardRouteRoute = dashboardRouteRouteImport.update({
|
|
id: '/(dashboard)',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSplatRoute = ApiSplatRouteImport.update({
|
|
id: '/api/$',
|
|
path: '/api/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authOnboardingRoute = authOnboardingRouteImport.update({
|
|
id: '/(auth)/onboarding',
|
|
path: '/onboarding',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authLoginRoute = authLoginRouteImport.update({
|
|
id: '/(auth)/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authDownloadRecoveryKeyRoute = authDownloadRecoveryKeyRouteImport.update({
|
|
id: '/(auth)/download-recovery-key',
|
|
path: '/download-recovery-key',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const dashboardVolumesIndexRoute = dashboardVolumesIndexRouteImport.update({
|
|
id: '/volumes/',
|
|
path: '/volumes/',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardSettingsIndexRoute = dashboardSettingsIndexRouteImport.update({
|
|
id: '/settings/',
|
|
path: '/settings/',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardRepositoriesIndexRoute =
|
|
dashboardRepositoriesIndexRouteImport.update({
|
|
id: '/repositories/',
|
|
path: '/repositories/',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardNotificationsIndexRoute =
|
|
dashboardNotificationsIndexRouteImport.update({
|
|
id: '/notifications/',
|
|
path: '/notifications/',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardBackupsIndexRoute = dashboardBackupsIndexRouteImport.update({
|
|
id: '/backups/',
|
|
path: '/backups/',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardVolumesCreateRoute = dashboardVolumesCreateRouteImport.update({
|
|
id: '/volumes/create',
|
|
path: '/volumes/create',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardVolumesVolumeIdRoute =
|
|
dashboardVolumesVolumeIdRouteImport.update({
|
|
id: '/volumes/$volumeId',
|
|
path: '/volumes/$volumeId',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardRepositoriesCreateRoute =
|
|
dashboardRepositoriesCreateRouteImport.update({
|
|
id: '/repositories/create',
|
|
path: '/repositories/create',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardRepositoriesRepositoryIdRoute =
|
|
dashboardRepositoriesRepositoryIdRouteImport.update({
|
|
id: '/repositories/$repositoryId',
|
|
path: '/repositories/$repositoryId',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardNotificationsCreateRoute =
|
|
dashboardNotificationsCreateRouteImport.update({
|
|
id: '/notifications/create',
|
|
path: '/notifications/create',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardNotificationsNotificationIdRoute =
|
|
dashboardNotificationsNotificationIdRouteImport.update({
|
|
id: '/notifications/$notificationId',
|
|
path: '/notifications/$notificationId',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardBackupsCreateRoute = dashboardBackupsCreateRouteImport.update({
|
|
id: '/backups/create',
|
|
path: '/backups/create',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardBackupsScheduleIdRoute =
|
|
dashboardBackupsScheduleIdRouteImport.update({
|
|
id: '/backups/$scheduleId',
|
|
path: '/backups/$scheduleId',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardRepositoriesRepoIdSnapshotIdRoute =
|
|
dashboardRepositoriesRepoIdSnapshotIdRouteImport.update({
|
|
id: '/repositories/$repoId/$snapshotId',
|
|
path: '/repositories/$repoId/$snapshotId',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardRepositoriesRepoIdSnapIdRestoreRoute =
|
|
dashboardRepositoriesRepoIdSnapIdRestoreRouteImport.update({
|
|
id: '/repositories/$repoId/$snapId/restore',
|
|
path: '/repositories/$repoId/$snapId/restore',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
const dashboardBackupsBackupIdSnapshotIdRestoreRoute =
|
|
dashboardBackupsBackupIdSnapshotIdRestoreRouteImport.update({
|
|
id: '/backups/$backupId/$snapshotId/restore',
|
|
path: '/backups/$backupId/$snapshotId/restore',
|
|
getParentRoute: () => dashboardRouteRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/download-recovery-key': typeof authDownloadRecoveryKeyRoute
|
|
'/login': typeof authLoginRoute
|
|
'/onboarding': typeof authOnboardingRoute
|
|
'/api/$': typeof ApiSplatRoute
|
|
'/backups/$scheduleId': typeof dashboardBackupsScheduleIdRoute
|
|
'/backups/create': typeof dashboardBackupsCreateRoute
|
|
'/notifications/$notificationId': typeof dashboardNotificationsNotificationIdRoute
|
|
'/notifications/create': typeof dashboardNotificationsCreateRoute
|
|
'/repositories/$repositoryId': typeof dashboardRepositoriesRepositoryIdRoute
|
|
'/repositories/create': typeof dashboardRepositoriesCreateRoute
|
|
'/volumes/$volumeId': typeof dashboardVolumesVolumeIdRoute
|
|
'/volumes/create': typeof dashboardVolumesCreateRoute
|
|
'/backups/': typeof dashboardBackupsIndexRoute
|
|
'/notifications/': typeof dashboardNotificationsIndexRoute
|
|
'/repositories/': typeof dashboardRepositoriesIndexRoute
|
|
'/settings/': typeof dashboardSettingsIndexRoute
|
|
'/volumes/': typeof dashboardVolumesIndexRoute
|
|
'/repositories/$repoId/$snapshotId': typeof dashboardRepositoriesRepoIdSnapshotIdRoute
|
|
'/backups/$backupId/$snapshotId/restore': typeof dashboardBackupsBackupIdSnapshotIdRestoreRoute
|
|
'/repositories/$repoId/$snapId/restore': typeof dashboardRepositoriesRepoIdSnapIdRestoreRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/download-recovery-key': typeof authDownloadRecoveryKeyRoute
|
|
'/login': typeof authLoginRoute
|
|
'/onboarding': typeof authOnboardingRoute
|
|
'/api/$': typeof ApiSplatRoute
|
|
'/backups/$scheduleId': typeof dashboardBackupsScheduleIdRoute
|
|
'/backups/create': typeof dashboardBackupsCreateRoute
|
|
'/notifications/$notificationId': typeof dashboardNotificationsNotificationIdRoute
|
|
'/notifications/create': typeof dashboardNotificationsCreateRoute
|
|
'/repositories/$repositoryId': typeof dashboardRepositoriesRepositoryIdRoute
|
|
'/repositories/create': typeof dashboardRepositoriesCreateRoute
|
|
'/volumes/$volumeId': typeof dashboardVolumesVolumeIdRoute
|
|
'/volumes/create': typeof dashboardVolumesCreateRoute
|
|
'/backups': typeof dashboardBackupsIndexRoute
|
|
'/notifications': typeof dashboardNotificationsIndexRoute
|
|
'/repositories': typeof dashboardRepositoriesIndexRoute
|
|
'/settings': typeof dashboardSettingsIndexRoute
|
|
'/volumes': typeof dashboardVolumesIndexRoute
|
|
'/repositories/$repoId/$snapshotId': typeof dashboardRepositoriesRepoIdSnapshotIdRoute
|
|
'/backups/$backupId/$snapshotId/restore': typeof dashboardBackupsBackupIdSnapshotIdRestoreRoute
|
|
'/repositories/$repoId/$snapId/restore': typeof dashboardRepositoriesRepoIdSnapIdRestoreRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/(dashboard)': typeof dashboardRouteRouteWithChildren
|
|
'/(auth)/download-recovery-key': typeof authDownloadRecoveryKeyRoute
|
|
'/(auth)/login': typeof authLoginRoute
|
|
'/(auth)/onboarding': typeof authOnboardingRoute
|
|
'/api/$': typeof ApiSplatRoute
|
|
'/(dashboard)/backups/$scheduleId': typeof dashboardBackupsScheduleIdRoute
|
|
'/(dashboard)/backups/create': typeof dashboardBackupsCreateRoute
|
|
'/(dashboard)/notifications/$notificationId': typeof dashboardNotificationsNotificationIdRoute
|
|
'/(dashboard)/notifications/create': typeof dashboardNotificationsCreateRoute
|
|
'/(dashboard)/repositories/$repositoryId': typeof dashboardRepositoriesRepositoryIdRoute
|
|
'/(dashboard)/repositories/create': typeof dashboardRepositoriesCreateRoute
|
|
'/(dashboard)/volumes/$volumeId': typeof dashboardVolumesVolumeIdRoute
|
|
'/(dashboard)/volumes/create': typeof dashboardVolumesCreateRoute
|
|
'/(dashboard)/backups/': typeof dashboardBackupsIndexRoute
|
|
'/(dashboard)/notifications/': typeof dashboardNotificationsIndexRoute
|
|
'/(dashboard)/repositories/': typeof dashboardRepositoriesIndexRoute
|
|
'/(dashboard)/settings/': typeof dashboardSettingsIndexRoute
|
|
'/(dashboard)/volumes/': typeof dashboardVolumesIndexRoute
|
|
'/(dashboard)/repositories/$repoId/$snapshotId': typeof dashboardRepositoriesRepoIdSnapshotIdRoute
|
|
'/(dashboard)/backups/$backupId/$snapshotId/restore': typeof dashboardBackupsBackupIdSnapshotIdRestoreRoute
|
|
'/(dashboard)/repositories/$repoId/$snapId/restore': typeof dashboardRepositoriesRepoIdSnapIdRestoreRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/download-recovery-key'
|
|
| '/login'
|
|
| '/onboarding'
|
|
| '/api/$'
|
|
| '/backups/$scheduleId'
|
|
| '/backups/create'
|
|
| '/notifications/$notificationId'
|
|
| '/notifications/create'
|
|
| '/repositories/$repositoryId'
|
|
| '/repositories/create'
|
|
| '/volumes/$volumeId'
|
|
| '/volumes/create'
|
|
| '/backups/'
|
|
| '/notifications/'
|
|
| '/repositories/'
|
|
| '/settings/'
|
|
| '/volumes/'
|
|
| '/repositories/$repoId/$snapshotId'
|
|
| '/backups/$backupId/$snapshotId/restore'
|
|
| '/repositories/$repoId/$snapId/restore'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/download-recovery-key'
|
|
| '/login'
|
|
| '/onboarding'
|
|
| '/api/$'
|
|
| '/backups/$scheduleId'
|
|
| '/backups/create'
|
|
| '/notifications/$notificationId'
|
|
| '/notifications/create'
|
|
| '/repositories/$repositoryId'
|
|
| '/repositories/create'
|
|
| '/volumes/$volumeId'
|
|
| '/volumes/create'
|
|
| '/backups'
|
|
| '/notifications'
|
|
| '/repositories'
|
|
| '/settings'
|
|
| '/volumes'
|
|
| '/repositories/$repoId/$snapshotId'
|
|
| '/backups/$backupId/$snapshotId/restore'
|
|
| '/repositories/$repoId/$snapId/restore'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/(dashboard)'
|
|
| '/(auth)/download-recovery-key'
|
|
| '/(auth)/login'
|
|
| '/(auth)/onboarding'
|
|
| '/api/$'
|
|
| '/(dashboard)/backups/$scheduleId'
|
|
| '/(dashboard)/backups/create'
|
|
| '/(dashboard)/notifications/$notificationId'
|
|
| '/(dashboard)/notifications/create'
|
|
| '/(dashboard)/repositories/$repositoryId'
|
|
| '/(dashboard)/repositories/create'
|
|
| '/(dashboard)/volumes/$volumeId'
|
|
| '/(dashboard)/volumes/create'
|
|
| '/(dashboard)/backups/'
|
|
| '/(dashboard)/notifications/'
|
|
| '/(dashboard)/repositories/'
|
|
| '/(dashboard)/settings/'
|
|
| '/(dashboard)/volumes/'
|
|
| '/(dashboard)/repositories/$repoId/$snapshotId'
|
|
| '/(dashboard)/backups/$backupId/$snapshotId/restore'
|
|
| '/(dashboard)/repositories/$repoId/$snapId/restore'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
dashboardRouteRoute: typeof dashboardRouteRouteWithChildren
|
|
authDownloadRecoveryKeyRoute: typeof authDownloadRecoveryKeyRoute
|
|
authLoginRoute: typeof authLoginRoute
|
|
authOnboardingRoute: typeof authOnboardingRoute
|
|
ApiSplatRoute: typeof ApiSplatRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/(dashboard)': {
|
|
id: '/(dashboard)'
|
|
path: ''
|
|
fullPath: ''
|
|
preLoaderRoute: typeof dashboardRouteRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/$': {
|
|
id: '/api/$'
|
|
path: '/api/$'
|
|
fullPath: '/api/$'
|
|
preLoaderRoute: typeof ApiSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/onboarding': {
|
|
id: '/(auth)/onboarding'
|
|
path: '/onboarding'
|
|
fullPath: '/onboarding'
|
|
preLoaderRoute: typeof authOnboardingRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/login': {
|
|
id: '/(auth)/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof authLoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/download-recovery-key': {
|
|
id: '/(auth)/download-recovery-key'
|
|
path: '/download-recovery-key'
|
|
fullPath: '/download-recovery-key'
|
|
preLoaderRoute: typeof authDownloadRecoveryKeyRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(dashboard)/volumes/': {
|
|
id: '/(dashboard)/volumes/'
|
|
path: '/volumes'
|
|
fullPath: '/volumes/'
|
|
preLoaderRoute: typeof dashboardVolumesIndexRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/settings/': {
|
|
id: '/(dashboard)/settings/'
|
|
path: '/settings'
|
|
fullPath: '/settings/'
|
|
preLoaderRoute: typeof dashboardSettingsIndexRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/repositories/': {
|
|
id: '/(dashboard)/repositories/'
|
|
path: '/repositories'
|
|
fullPath: '/repositories/'
|
|
preLoaderRoute: typeof dashboardRepositoriesIndexRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/notifications/': {
|
|
id: '/(dashboard)/notifications/'
|
|
path: '/notifications'
|
|
fullPath: '/notifications/'
|
|
preLoaderRoute: typeof dashboardNotificationsIndexRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/backups/': {
|
|
id: '/(dashboard)/backups/'
|
|
path: '/backups'
|
|
fullPath: '/backups/'
|
|
preLoaderRoute: typeof dashboardBackupsIndexRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/volumes/create': {
|
|
id: '/(dashboard)/volumes/create'
|
|
path: '/volumes/create'
|
|
fullPath: '/volumes/create'
|
|
preLoaderRoute: typeof dashboardVolumesCreateRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/volumes/$volumeId': {
|
|
id: '/(dashboard)/volumes/$volumeId'
|
|
path: '/volumes/$volumeId'
|
|
fullPath: '/volumes/$volumeId'
|
|
preLoaderRoute: typeof dashboardVolumesVolumeIdRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/repositories/create': {
|
|
id: '/(dashboard)/repositories/create'
|
|
path: '/repositories/create'
|
|
fullPath: '/repositories/create'
|
|
preLoaderRoute: typeof dashboardRepositoriesCreateRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/repositories/$repositoryId': {
|
|
id: '/(dashboard)/repositories/$repositoryId'
|
|
path: '/repositories/$repositoryId'
|
|
fullPath: '/repositories/$repositoryId'
|
|
preLoaderRoute: typeof dashboardRepositoriesRepositoryIdRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/notifications/create': {
|
|
id: '/(dashboard)/notifications/create'
|
|
path: '/notifications/create'
|
|
fullPath: '/notifications/create'
|
|
preLoaderRoute: typeof dashboardNotificationsCreateRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/notifications/$notificationId': {
|
|
id: '/(dashboard)/notifications/$notificationId'
|
|
path: '/notifications/$notificationId'
|
|
fullPath: '/notifications/$notificationId'
|
|
preLoaderRoute: typeof dashboardNotificationsNotificationIdRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/backups/create': {
|
|
id: '/(dashboard)/backups/create'
|
|
path: '/backups/create'
|
|
fullPath: '/backups/create'
|
|
preLoaderRoute: typeof dashboardBackupsCreateRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/backups/$scheduleId': {
|
|
id: '/(dashboard)/backups/$scheduleId'
|
|
path: '/backups/$scheduleId'
|
|
fullPath: '/backups/$scheduleId'
|
|
preLoaderRoute: typeof dashboardBackupsScheduleIdRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/repositories/$repoId/$snapshotId': {
|
|
id: '/(dashboard)/repositories/$repoId/$snapshotId'
|
|
path: '/repositories/$repoId/$snapshotId'
|
|
fullPath: '/repositories/$repoId/$snapshotId'
|
|
preLoaderRoute: typeof dashboardRepositoriesRepoIdSnapshotIdRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/repositories/$repoId/$snapId/restore': {
|
|
id: '/(dashboard)/repositories/$repoId/$snapId/restore'
|
|
path: '/repositories/$repoId/$snapId/restore'
|
|
fullPath: '/repositories/$repoId/$snapId/restore'
|
|
preLoaderRoute: typeof dashboardRepositoriesRepoIdSnapIdRestoreRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
'/(dashboard)/backups/$backupId/$snapshotId/restore': {
|
|
id: '/(dashboard)/backups/$backupId/$snapshotId/restore'
|
|
path: '/backups/$backupId/$snapshotId/restore'
|
|
fullPath: '/backups/$backupId/$snapshotId/restore'
|
|
preLoaderRoute: typeof dashboardBackupsBackupIdSnapshotIdRestoreRouteImport
|
|
parentRoute: typeof dashboardRouteRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface dashboardRouteRouteChildren {
|
|
dashboardBackupsScheduleIdRoute: typeof dashboardBackupsScheduleIdRoute
|
|
dashboardBackupsCreateRoute: typeof dashboardBackupsCreateRoute
|
|
dashboardNotificationsNotificationIdRoute: typeof dashboardNotificationsNotificationIdRoute
|
|
dashboardNotificationsCreateRoute: typeof dashboardNotificationsCreateRoute
|
|
dashboardRepositoriesRepositoryIdRoute: typeof dashboardRepositoriesRepositoryIdRoute
|
|
dashboardRepositoriesCreateRoute: typeof dashboardRepositoriesCreateRoute
|
|
dashboardVolumesVolumeIdRoute: typeof dashboardVolumesVolumeIdRoute
|
|
dashboardVolumesCreateRoute: typeof dashboardVolumesCreateRoute
|
|
dashboardBackupsIndexRoute: typeof dashboardBackupsIndexRoute
|
|
dashboardNotificationsIndexRoute: typeof dashboardNotificationsIndexRoute
|
|
dashboardRepositoriesIndexRoute: typeof dashboardRepositoriesIndexRoute
|
|
dashboardSettingsIndexRoute: typeof dashboardSettingsIndexRoute
|
|
dashboardVolumesIndexRoute: typeof dashboardVolumesIndexRoute
|
|
dashboardRepositoriesRepoIdSnapshotIdRoute: typeof dashboardRepositoriesRepoIdSnapshotIdRoute
|
|
dashboardBackupsBackupIdSnapshotIdRestoreRoute: typeof dashboardBackupsBackupIdSnapshotIdRestoreRoute
|
|
dashboardRepositoriesRepoIdSnapIdRestoreRoute: typeof dashboardRepositoriesRepoIdSnapIdRestoreRoute
|
|
}
|
|
|
|
const dashboardRouteRouteChildren: dashboardRouteRouteChildren = {
|
|
dashboardBackupsScheduleIdRoute: dashboardBackupsScheduleIdRoute,
|
|
dashboardBackupsCreateRoute: dashboardBackupsCreateRoute,
|
|
dashboardNotificationsNotificationIdRoute:
|
|
dashboardNotificationsNotificationIdRoute,
|
|
dashboardNotificationsCreateRoute: dashboardNotificationsCreateRoute,
|
|
dashboardRepositoriesRepositoryIdRoute:
|
|
dashboardRepositoriesRepositoryIdRoute,
|
|
dashboardRepositoriesCreateRoute: dashboardRepositoriesCreateRoute,
|
|
dashboardVolumesVolumeIdRoute: dashboardVolumesVolumeIdRoute,
|
|
dashboardVolumesCreateRoute: dashboardVolumesCreateRoute,
|
|
dashboardBackupsIndexRoute: dashboardBackupsIndexRoute,
|
|
dashboardNotificationsIndexRoute: dashboardNotificationsIndexRoute,
|
|
dashboardRepositoriesIndexRoute: dashboardRepositoriesIndexRoute,
|
|
dashboardSettingsIndexRoute: dashboardSettingsIndexRoute,
|
|
dashboardVolumesIndexRoute: dashboardVolumesIndexRoute,
|
|
dashboardRepositoriesRepoIdSnapshotIdRoute:
|
|
dashboardRepositoriesRepoIdSnapshotIdRoute,
|
|
dashboardBackupsBackupIdSnapshotIdRestoreRoute:
|
|
dashboardBackupsBackupIdSnapshotIdRestoreRoute,
|
|
dashboardRepositoriesRepoIdSnapIdRestoreRoute:
|
|
dashboardRepositoriesRepoIdSnapIdRestoreRoute,
|
|
}
|
|
|
|
const dashboardRouteRouteWithChildren = dashboardRouteRoute._addFileChildren(
|
|
dashboardRouteRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
dashboardRouteRoute: dashboardRouteRouteWithChildren,
|
|
authDownloadRecoveryKeyRoute: authDownloadRecoveryKeyRoute,
|
|
authLoginRoute: authLoginRoute,
|
|
authOnboardingRoute: authOnboardingRoute,
|
|
ApiSplatRoute: ApiSplatRoute,
|
|
}
|
|
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>>
|
|
}
|
|
}
|