2025-04-22 15:09:57 +00:00
|
|
|
import { UniqueID } from "core/common/domain";
|
|
|
|
|
import { Collection, Result } from "core/common/helpers";
|
2025-02-15 21:30:12 +00:00
|
|
|
import { User } from "../aggregates";
|
|
|
|
|
|
|
|
|
|
export interface IUserService {
|
2025-02-21 11:25:46 +00:00
|
|
|
findUsers(transaction?: any): Promise<Result<Collection<User>, Error>>;
|
2025-02-15 21:30:12 +00:00
|
|
|
findUserById(userId: UniqueID, transaction?: any): Promise<Result<User>>;
|
|
|
|
|
}
|