19 lines
454 B
TypeScript
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
|
|
>;
|