9 lines
306 B
TypeScript
9 lines
306 B
TypeScript
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);
|
|
}
|