import { http } from './http' import type { FaultMapRow } from '../types' export async function fetchFaultPartMap(): Promise<FaultMapRow[]> { const res = await http.get<FaultMapRow[]>('/api/fault-part-map') return res.data }