import rooms from '@/pages/rooms';
import newRoom from '@/pages/newRoom';
import editRoom from '@/pages/editRoom';
import room from '@/pages/room';
import moduleRoom from '@/pages/module/moduleRoom';
import {NEW_ROOM_PAGE, ROOMS_PAGE} from '@/router/room.names';

export default [
  {path: '/rooms', name: ROOMS_PAGE, component: rooms, meta: {filter: true, hideFooter: true}},
  {path: '/new-room/', name: NEW_ROOM_PAGE, component: newRoom},
  {path: '/edit-room/:id', name: 'edit-room', component: editRoom, props: true},
  {path: '/room/:slug', name: 'room', component: room, props: true},
  {
    path: '/module-room/:slug',
    name: 'moduleRoom',
    component: moduleRoom,
    props: true,
    meta: {layout: 'fullScreen'},
  }
];
