// config/menuConfig.js
export const menuConfig = [
  {
    id: 'response',
    label: '응답관리',
    items: [
      {id: 'response-list', label: 'API 응답 목록', action: 'response-list', screen: 'response-list'},
      // {id: 'response-add', label: 'API 응답 추가', action: 'response-add'},
      // {type: 'separator'},
      {id: 'socket-list', label: 'TCP 서버 목록', action: 'socket-list', screen: 'socket-list'},
      // {id: 'socket-add', label: 'TCP 서버 추가', action: 'socket-add'},
      {id: 'queue-list', label: '큐 목록', action: 'queue-list', screen: 'queue-list'},
    ]
  },
  {
    id: 'request',
    label: '요청 관리',
    items: [
      {id: 'api-tester', label: 'API 테스터', action: 'api-tester', screen: 'api-tester'},
      {type: 'separator'},
      {id: 'collection-add', label: '컬렉션 추가', action: 'collection-add'},
      {id: 'request-add', label: '요청 추가', action: 'request-add'},
      {id: 'scenario-add', label: '시나리오 추가', action: 'scenario-add'},
      {type: 'separator'},
      {id: 'variables-show', label: '변수 보기', action: 'variables-show'}
    ]
  },
  // {
  //   id: 'queue',
  //   label: '큐 관리',
  //   items: [
  //     {id: 'queue-add', label: '큐 추가', action: 'queue-add'}
  //   ]
  // },
  {
    id: 'loadtest',
    label: '부하 테스트',
    items: [
      {id: 'load-test', label: '새 테스트', action: 'load-test', screen: 'load-test'},
      {type: 'separator'},
      {id: 'load-test-history', label: '테스트 이력', action: 'load-test-history', screen: 'load-test-history'},
      {id: 'load-test-reports', label: '결과 리포트', action: 'load-test-reports', screen: 'load-test-reports'}
    ]
  },
  {
    id: 'system',
    label: '시스템 관리',
    items: [
      {id: 'user-list', label: '사용자 관리', action: 'user-list', screen: 'user-list'},
      {id: 'server-list', label: '서버 관리', action: 'server-list', screen: 'server-list'},
    ]
  },
  {
    id: 'account',
    label: '계정',
    items: [
      {id: 'change-password', label: '비밀번호 변경', action: 'change-password'},
      {type: 'separator'},
      {id: 'logout', label: '로그 아웃', action: 'logout'}
    ]
  }
];
