FactuGES_ERP/modules/customers/src/api/application/di/customer-snapshot-builders.di.ts

33 lines
971 B
TypeScript
Raw Normal View History

2026-03-07 18:27:23 +00:00
// application/issued-invoices/di/snapshot-builders.di.ts
2026-03-07 21:39:21 +00:00
import { CustomerSummarySnapshotBuilder } from "../snapshot-builders";
2026-03-07 18:27:23 +00:00
export function buildCustomerSnapshotBuilders() {
2026-03-07 21:39:21 +00:00
/*const itemsBuilder = new CustomerItemsFullSnapshotBuilder();
2026-03-07 18:27:23 +00:00
const taxesBuilder = new CustomerTaxesFullSnapshotBuilder();
const recipientBuilder = new CustomerRecipientFullSnapshotBuilder();
const fullSnapshotBuilder = new CustomerFullSnapshotBuilder(
itemsBuilder,
recipientBuilder,
taxesBuilder
2026-03-07 21:39:21 +00:00
);*/
2026-03-07 18:27:23 +00:00
2026-03-07 21:39:21 +00:00
const summarySnapshotBuilder = new CustomerSummarySnapshotBuilder();
2026-03-07 18:27:23 +00:00
2026-03-07 21:39:21 +00:00
/*const itemsReportBuilder = new CustomerItemReportSnapshotBuilder();
2026-03-07 18:27:23 +00:00
const taxesReportBuilder = new CustomerTaxReportSnapshotBuilder();
const reportSnapshotBuilder = new CustomerReportSnapshotBuilder(
itemsReportBuilder,
taxesReportBuilder
2026-03-07 21:39:21 +00:00
);*/
2026-03-07 18:27:23 +00:00
return {
2026-03-07 21:39:21 +00:00
//full: fullSnapshotBuilder,
summary: summarySnapshotBuilder,
//report: reportSnapshotBuilder,
2026-03-07 18:27:23 +00:00
};
}