1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/apps/dashboard/routes/_legacyRoutes.ts

140 lines
3.8 KiB
TypeScript
Raw Normal View History

2023-09-20 00:02:26 -04:00
import type { LegacyRoute } from 'components/router/LegacyRoute';
2025-01-23 16:26:49 -05:00
import { AppType } from 'constants/appType';
2023-04-13 00:47:34 +03:00
export const LEGACY_ADMIN_ROUTES: LegacyRoute[] = [
{
2023-09-20 00:02:26 -04:00
path: '/dashboard',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'dashboard',
view: 'dashboard.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'settings',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'general',
view: 'general.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'networking',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'networking',
view: 'networking.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'library',
view: 'library.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries/display',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'librarydisplay',
view: 'librarydisplay.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'playback/transcoding',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'encodingsettings',
view: 'encodingsettings.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries/metadata',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'metadataImages',
view: 'metadataimages.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries/nfo',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'metadatanfo',
view: 'metadatanfo.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'playback/resume',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'playback',
view: 'playback.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins/catalog',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'plugins/available/index',
view: 'plugins/available/index.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins/repositories',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'plugins/repositories/index',
view: 'plugins/repositories/index.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'livetv/guide',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2023-04-13 00:47:34 +03:00
controller: 'livetvguideprovider',
view: 'livetvguideprovider.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'recordings',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2023-04-13 00:47:34 +03:00
controller: 'livetvsettings',
view: 'livetvsettings.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'livetv',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2023-04-13 00:47:34 +03:00
controller: 'livetvstatus',
view: 'livetvstatus.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'livetv/tuner',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2023-04-13 00:47:34 +03:00
controller: 'livetvtuner',
view: 'livetvtuner.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'plugins/installed/index',
view: 'plugins/installed/index.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'tasks/edit',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'scheduledtasks/scheduledtask',
view: 'scheduledtasks/scheduledtask.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'tasks',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
controller: 'scheduledtasks/scheduledtasks',
view: 'scheduledtasks/scheduledtasks.html'
2023-04-13 00:47:34 +03:00
}
}, {
2023-09-20 00:02:26 -04:00
path: 'playback/streaming',
2023-04-13 00:47:34 +03:00
pageProps: {
2025-01-23 16:26:49 -05:00
appType: AppType.Dashboard,
2025-01-23 17:24:58 -05:00
view: 'streaming.html',
controller: 'streaming'
2023-04-13 00:47:34 +03:00
}
}
];