import type { ISupplierRepository } from "../repositories"; import { type ISupplierFinder, SupplierFinder } from "../services"; export function buildSupplierFinder(params: { repository: ISupplierRepository }): ISupplierFinder { const { repository } = params; return new SupplierFinder(repository); }