FactuGES_ERP/modules/supplier/src/api/application/di/supplier-finder.di.ts

9 lines
306 B
TypeScript
Raw Normal View History

2026-03-30 11:57:42 +00:00
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);
}