import { apiClient } from '../apiClient'

export default {
  getAll: () => apiClient('/api/experiment-log/experiments'),
  create: (data) => apiClient('/api/experiment-log/experiments', { method: 'POST', data }),
  update: (expId, data) => apiClient(`/api/experiment-log/experiments/${expId}`, { method: 'PUT', data }),
  remove: (expId) => apiClient(`/api/experiment-log/experiments/${expId}`, { method: 'DELETE' }),
  compare: () => apiClient('/api/experiment-log/experiments/compare')
}
