2025-02-21 10:06:27 +00:00
|
|
|
import { UniqueID } from "@common/domain";
|
|
|
|
|
import { Result } from "@common/helpers";
|
2025-02-15 21:30:12 +00:00
|
|
|
import { User } from "../aggregates";
|
|
|
|
|
|
|
|
|
|
export interface IUserService {
|
|
|
|
|
findUsers(transaction?: any): Promise<Result<User[], Error>>;
|
|
|
|
|
findUserById(userId: UniqueID, transaction?: any): Promise<Result<User>>;
|
|
|
|
|
}
|