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