9 lines
352 B
TypeScript
9 lines
352 B
TypeScript
import { UniqueID } from "@/core/common/domain";
|
|
import { Collection, Result } from "@/core/common/helpers";
|
|
import { Contact } from "../aggregates";
|
|
|
|
export interface IContactService {
|
|
findContact(transaction?: any): Promise<Result<Collection<Contact>, Error>>;
|
|
findContactById(contactId: UniqueID, transaction?: any): Promise<Result<Contact>>;
|
|
}
|