FactuGES_ERP/modules/supplier/src/api/application/di/supplier-finder.di.ts
2026-03-30 13:57:42 +02:00

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);
}