import { Route } from '@angular/router';
import { MachinesListComponent } from 'app/modules/admin/dashboard/machines/machines-list/machines-list.component';
import { CurrentStocksComponent } from 'app/modules/admin/dashboard/machines/current-stocks/current-stocks.component';
import { RequestsComponent } from 'app/modules/admin/dashboard/machines/requests/requests.component';
import { MachineConfigComponent } from 'app/modules/admin/dashboard/machines/machine-config/machine-config.component';
import { MachineDetailsComponent } from './machine-details/machine-details.component';

const routes: Route[] = [
    { path: 'machines-list', component: MachinesListComponent},
    { path: 'current-stocks', component: CurrentStocksComponent },
    {path: 'requests', component: RequestsComponent},
    {path: 'machine-config', component: MachineConfigComponent},
    {path: 'machine-details/:id', component: MachineDetailsComponent}
];

export default routes;