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

const routes: RouteRecordRaw[] = [
  {
    name: 'KnowledgeShare',
    path: '/share/knowledge',
    component: () =>
      import('#/views/ai/documentCollection/KnowledgeShareView.vue'),
    meta: {
      title: 'Knowledge Share',
      noBasicLayout: true,
      hideInMenu: true,
      hideInBreadcrumb: true,
      hideInTab: true,
    },
  },
  {
    name: 'KnowledgeShareExpired',
    path: '/share/knowledge/expired',
    component: () =>
      import('#/views/ai/documentCollection/KnowledgeShareExpired.vue'),
    meta: {
      title: 'Knowledge Share Expired',
      noBasicLayout: true,
      hideInMenu: true,
      hideInBreadcrumb: true,
      hideInTab: true,
    },
  },
  {
    name: 'WorkflowShare',
    path: '/share/workflow',
    component: () => import('#/views/ai/workflow/WorkflowShareView.vue'),
    meta: {
      title: 'Workflow Share',
      noBasicLayout: true,
      hideInMenu: true,
      hideInBreadcrumb: true,
      hideInTab: true,
    },
  },
  {
    name: 'WorkflowShareExpired',
    path: '/share/workflow/expired',
    component: () =>
      import('#/views/ai/documentCollection/KnowledgeShareExpired.vue'),
    meta: {
      title: 'Workflow Share Expired',
      noBasicLayout: true,
      hideInMenu: true,
      hideInBreadcrumb: true,
      hideInTab: true,
    },
  },
];

export default routes;
