import { Routes } from "@angular/router";
import { MediaFilesComponent } from './../media-files/media-files.component';
import { MediaActorsComponent } from '../media-actors/media-actors.component';
import { MediaVideosComponent } from '../media-videos/media-videos.component';

export const mediaRoutes: Routes = [
    { 
        path: 'file', 
        component: MediaFilesComponent
    },
    {
        path: 'file/:fileId',
        component: MediaFilesComponent,
    },
    { 
        path: 'actor', 
        component: MediaActorsComponent
    },
    {
        path: 'actor/:actorId',
        component: MediaActorsComponent,
    },
    { 
        path: 'video', 
        component: MediaVideosComponent
    },
    {
        path: 'video/:videoId',
        component: MediaVideosComponent,
    },
];
