import type { HouseTruthLink } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetHouseTruthLinksInput = { houseId: string } const getHouseTruthLinks = (http: HttpClient) => ({ query: ( input: GetHouseTruthLinksInput, ): Promise> => { return http.get(`v3/admin/houses/${input.houseId}/house_truth_links`) }, }) export default getHouseTruthLinks