/**
 * USB plugin routes
 */
export default [
  {
    path: 'usb',
    name: 'usb',
    component: () => import('./views/USBList.vue'),
    meta: { plugin: 'usb' }
  },
  {
    path: 'usb/new',
    name: 'usb-new',
    component: () => import('./views/USBForm.vue'),
    meta: { requiresAuth: true, plugin: 'usb' }
  },
  {
    path: 'usb/:id',
    name: 'usb-detail',
    component: () => import('./views/USBDetail.vue'),
    meta: { plugin: 'usb' }
  },
  {
    path: 'usb/:id/edit',
    name: 'usb-edit',
    component: () => import('./views/USBForm.vue'),
    meta: { requiresAuth: true, plugin: 'usb' }
  }
]

export const toplevel = [
  {
    path: '/print/usb-labels',
    name: 'print-usb-labels',
    component: () => import('./views/USBLabelBatch.vue'),
    meta: { plugin: 'usb' }
  }
]
