import type { Place } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type RemovePlaceInput = { placeId: string } const removePlace = (http: HttpClient) => ({ query: ( input: RemovePlaceInput, ): Promise> => { return http.delete(`v3/admin/places/${input.placeId}`) }, }) export default removePlace