8 lines
264 B
TypeScript
8 lines
264 B
TypeScript
|
|
import { Result, UniqueID } from "@common/domain";
|
||
|
|
import { User } from "../aggregates";
|
||
|
|
|
||
|
|
export interface IUserService {
|
||
|
|
findUsers(transaction?: any): Promise<Result<User[], Error>>;
|
||
|
|
findUserById(userId: UniqueID, transaction?: any): Promise<Result<User>>;
|
||
|
|
}
|