2025-05-02 21:43:51 +00:00
|
|
|
import { UniqueID } from "@/core/common/domain";
|
2025-05-09 10:45:32 +00:00
|
|
|
import { Collection, Result } from "@repo/rdx-utils";
|
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>>;
|
|
|
|
|
}
|