Files
PDV/apps/api/src/modules/supplier/interfaces/supplier-repository.interface.ts
T
2026-09-30 14:45:10 -05:00

19 lines
454 B
TypeScript

import type { IRepository } from "../../../common/repository.interface.js";
import type {
Supplier,
SupplierKey,
} from "../../../entities/supplier.entity.js";
import type {
CreateSupplierInput,
UpdateSupplierInput,
} from "../../../dtos/supplier.dto.js";
export const SUPPLIER_REPOSITORY = Symbol("SUPPLIER_REPOSITORY");
export type ISupplierRepository = IRepository<
Supplier,
CreateSupplierInput,
UpdateSupplierInput,
SupplierKey
>;