import type { Photo } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type RemovePhotoInput = { photoId: string } const removePhoto = (http: HttpClient) => ({ query: ( input: RemovePhotoInput, ): Promise> => { return http.delete(`v3/admin/photos/${input.photoId}`) }, }) export default removePhoto