mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
153 lines
4.2 KiB
TypeScript
153 lines
4.2 KiB
TypeScript
import type { LegacyRoute } from 'components/router/LegacyRoute';
|
|
import { AppType } from 'constants/appType';
|
|
|
|
export const LEGACY_ADMIN_ROUTES: LegacyRoute[] = [
|
|
{
|
|
path: '/dashboard',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'dashboard',
|
|
view: 'dashboard.html'
|
|
}
|
|
}, {
|
|
path: 'settings',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'general',
|
|
view: 'general.html'
|
|
}
|
|
}, {
|
|
path: 'networking',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'networking',
|
|
view: 'networking.html'
|
|
}
|
|
}, {
|
|
path: 'devices',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'devices/devices',
|
|
view: 'devices/devices.html'
|
|
}
|
|
}, {
|
|
path: 'devices/edit',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'devices/device',
|
|
view: 'devices/device.html'
|
|
}
|
|
}, {
|
|
path: 'libraries',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'library',
|
|
view: 'library.html'
|
|
}
|
|
}, {
|
|
path: 'libraries/display',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'librarydisplay',
|
|
view: 'librarydisplay.html'
|
|
}
|
|
}, {
|
|
path: 'playback/transcoding',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'encodingsettings',
|
|
view: 'encodingsettings.html'
|
|
}
|
|
}, {
|
|
path: 'libraries/metadata',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'metadataImages',
|
|
view: 'metadataimages.html'
|
|
}
|
|
}, {
|
|
path: 'libraries/nfo',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'metadatanfo',
|
|
view: 'metadatanfo.html'
|
|
}
|
|
}, {
|
|
path: 'playback/resume',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'playback',
|
|
view: 'playback.html'
|
|
}
|
|
}, {
|
|
path: 'plugins/catalog',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'plugins/available/index',
|
|
view: 'plugins/available/index.html'
|
|
}
|
|
}, {
|
|
path: 'plugins/repositories',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'plugins/repositories/index',
|
|
view: 'plugins/repositories/index.html'
|
|
}
|
|
}, {
|
|
path: 'livetv/guide',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'livetvguideprovider',
|
|
view: 'livetvguideprovider.html'
|
|
}
|
|
}, {
|
|
path: 'recordings',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'livetvsettings',
|
|
view: 'livetvsettings.html'
|
|
}
|
|
}, {
|
|
path: 'livetv',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'livetvstatus',
|
|
view: 'livetvstatus.html'
|
|
}
|
|
}, {
|
|
path: 'livetv/tuner',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'livetvtuner',
|
|
view: 'livetvtuner.html'
|
|
}
|
|
}, {
|
|
path: 'plugins',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'plugins/installed/index',
|
|
view: 'plugins/installed/index.html'
|
|
}
|
|
}, {
|
|
path: 'tasks/edit',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'scheduledtasks/scheduledtask',
|
|
view: 'scheduledtasks/scheduledtask.html'
|
|
}
|
|
}, {
|
|
path: 'tasks',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
controller: 'scheduledtasks/scheduledtasks',
|
|
view: 'scheduledtasks/scheduledtasks.html'
|
|
}
|
|
}, {
|
|
path: 'playback/streaming',
|
|
pageProps: {
|
|
appType: AppType.Dashboard,
|
|
view: 'streaming.html',
|
|
controller: 'streaming'
|
|
}
|
|
}
|
|
];
|