Files
PDV/apps/api/src/modules/customer/interfaces/customer-repository.interface.ts
T

19 lines
454 B
TypeScript

import type { IRepository } from "../../../common/repository.interface.js";
import type {
Customer,
CustomerKey,
} from "../../../entities/customer.entity.js";
import type {
CreateCustomerInput,
UpdateCustomerInput,
} from "../../../dtos/customer.dto.js";
export const CUSTOMER_REPOSITORY = Symbol("CUSTOMER_REPOSITORY");
export type ICustomerRepository = IRepository<
Customer,
CreateCustomerInput,
UpdateCustomerInput,
CustomerKey
>;