import api from './client'; import type { ProxyConfig, ProxyTestResult } from './types'; export const proxyApi = { get: () => api.get('/proxy'), update: (data: ProxyConfig) => api.put('/proxy', data), test: () => api.post('/proxy/test'), testWhitelist: () => api.post('/proxy/whitelist/test'), };