import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:folder-open',
      order: 10,
      title: $t('page.fileManagement.title'),
    },
    name: 'FileManagement',
    path: '/file-management',
    children: [
      {
        name: 'FileManager',
        path: '/file-manager',
        component: () => import('#/views/file-management/files/index.vue'),
        meta: {
          icon: 'lucide:hard-drive',
          title: $t('page.fileManagement.files'),
        },
      },
    ],
  },
];

export default routes;
