(configPath: string | null)
| 226 | } |
| 227 | |
| 228 | export async function setConfigPath(configPath: string | null): Promise<{ success: boolean; current: string | null }> { |
| 229 | const { data } = await api.post('/paths', { configPath }); |
| 230 | return data; |
| 231 | } |
| 232 | |
| 233 | export async function getConfig(): Promise<OpencodeConfig> { |
| 234 | const { data } = await api.get<OpencodeConfig>('/config'); |
no outgoing calls
no test coverage detected