import type { Redirect } from 'components/router/Redirect';

export const REDIRECTS: Redirect[] = [
    { from: 'apikeys.html', to: '/dashboard/keys' },
    { from: 'availableplugins.html', to: '/dashboard/plugins/catalog' },
    { from: 'dashboard.html', to: '/dashboard' },
    { from: 'dashboardgeneral.html', to: '/dashboard/settings' },
    { from: 'device.html', to: '/dashboard/devices/edit' },
    { from: 'devices.html', to: '/dashboard/devices' },
    { from: 'edititemmetadata.html', to: '/metadata' },
    { from: 'encodingsettings.html', to: '/dashboard/playback/transcoding' },
    { from: 'installedplugins.html', to: '/dashboard/plugins' },
    { from: 'library.html', to: '/dashboard/libraries' },
    { from: 'librarydisplay.html', to: '/dashboard/libraries/display' },
    { from: 'livetvguideprovider.html', to: '/dashboard/livetv/guide' },
    { from: 'livetvsettings.html', to: '/dashboard/recordings' },
    { from: 'livetvstatus.html', to: '/dashboard/livetv' },
    { from: 'livetvtuner.html', to: '/dashboard/livetv/tuner' },
    { from: 'log.html', to: '/dashboard/logs' },
    { from: 'metadataimages.html', to: '/dashboard/libraries/metadata' },
    { from: 'metadatanfo.html', to: '/dashboard/libraries/nfo' },
    { from: 'networking.html', to: '/dashboard/networking' },
    { from: 'playbackconfiguration.html', to: '/dashboard/playback/resume' },
    { from: 'repositories.html', to: '/dashboard/plugins/repositories' },
    { from: 'scheduledtask.html', to: '/dashboard/tasks/edit' },
    { from: 'scheduledtasks.html', to: '/dashboard/tasks' },
    { from: 'serveractivity.html', to: '/dashboard/activity' },
    { from: 'streamingsettings.html', to: '/dashboard/playback/streaming' },
    { from: 'useredit.html', to: '/dashboard/users/profile' },
    { from: 'userlibraryaccess.html', to: '/dashboard/users/access' },
    { from: 'usernew.html', to: '/dashboard/users/add' },
    { from: 'userparentalcontrol.html', to: '/dashboard/users/parentalcontrol' },
    { from: 'userpassword.html', to: '/dashboard/users/password' },
    { from: 'userprofiles.html', to: '/dashboard/users' }
];
