import { makeApiUrl } from '@/main/factories/http' ; import { makeAuthorizeHttpClientDecorator } from '@/main/factories/decorators' ; import { LoadSurveyList } from '@/domain/usecases' ; import { RemoteLoadSurveyList } from '@/data/usecases' ; export const makeRemoteLoadSurveyList = ( ) : LoadSurveyList => new RemoteLoadSurveyList ( makeApiUrl ( '/surveys' ) , makeAuthorizeHttpClientDecorator ( ) ) ;