import type { RouteRecordRaw } from 'vue-router'

export const externalSystemLayoutRoutes: RouteRecordRaw[] = [
  {
    path: 'external-systems',
    name: 'list-external-systems',
    component: () => import('./pages/ExternalSystemList.vue'),
    meta: {
      title: 'Senarai Sistem Luaran',
      module: 'external-system',
    },
  },
  {
    path: 'external-systems/:id',
    name: 'view-external-system',
    component: () => import('./pages/ExternalSystemDetail.vue'),
    meta: {
      title: 'Butiran Sistem Luaran',
      module: 'external-system',
    },
  },
]
