jellyfish-web/src/apps/dashboard/routes/_legacyRoutes.ts

168 lines
4.6 KiB
TypeScript
Raw Normal View History

2023-09-20 00:02:26 -04:00
import type { LegacyRoute } from 'components/router/LegacyRoute';
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: {
controller: 'dashboard/dashboard',
view: 'dashboard/dashboard.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'settings',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/general',
view: 'dashboard/general.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'networking',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/networking',
view: 'dashboard/networking.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'devices',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/devices/devices',
view: 'dashboard/devices/devices.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'devices/edit',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/devices/device',
view: 'dashboard/devices/device.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'dlna/profiles/edit',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/dlna/profile',
view: 'dashboard/dlna/profile.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'dlna/profiles',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/dlna/profiles',
view: 'dashboard/dlna/profiles.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'dlna',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/dlna/settings',
view: 'dashboard/dlna/settings.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins/add',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/plugins/add/index',
view: 'dashboard/plugins/add/index.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/library',
view: 'dashboard/library.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries/display',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/librarydisplay',
view: 'dashboard/librarydisplay.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'playback/transcoding',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/encodingsettings',
view: 'dashboard/encodingsettings.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'logs',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/logs',
view: 'dashboard/logs.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries/metadata',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/metadataImages',
view: 'dashboard/metadataimages.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'libraries/nfo',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/metadatanfo',
view: 'dashboard/metadatanfo.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'playback/resume',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/playback',
view: 'dashboard/playback.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins/catalog',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/plugins/available/index',
view: 'dashboard/plugins/available/index.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins/repositories',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/plugins/repositories/index',
view: 'dashboard/plugins/repositories/index.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'livetv/guide',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'livetvguideprovider',
view: 'livetvguideprovider.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'recordings',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'livetvsettings',
view: 'livetvsettings.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'livetv',
2023-04-13 00:47:34 +03:00
pageProps: {
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: {
controller: 'livetvtuner',
view: 'livetvtuner.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'plugins',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/plugins/installed/index',
view: 'dashboard/plugins/installed/index.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'tasks/edit',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/scheduledtasks/scheduledtask',
view: 'dashboard/scheduledtasks/scheduledtask.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'tasks',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/scheduledtasks/scheduledtasks',
view: 'dashboard/scheduledtasks/scheduledtasks.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'keys',
2023-04-13 00:47:34 +03:00
pageProps: {
controller: 'dashboard/apikeys',
view: 'dashboard/apikeys.html'
}
}, {
2023-09-20 00:02:26 -04:00
path: 'playback/streaming',
2023-04-13 00:47:34 +03:00
pageProps: {
view: 'dashboard/streaming.html',
controller: 'dashboard/streaming'
}
}
];