import type { LpDestinationAttributes } from '@entities' import type { HttpClient, Locale } from '@services' import type { StrapiApiResponseOutput } from '@types' export type LpDestinationInput = { slug: string; locale: Locale } const getLandingPageDestination = (http: HttpClient) => { return { query: ( input: LpDestinationInput, ): Promise> => { return http.get( `lp-destinations/find-by-slug/${input.slug}?locale=${input.locale}`, ) }, } } export default getLandingPageDestination