mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
11 lines
277 B
TypeScript
11 lines
277 B
TypeScript
import type { Habit } from "../entities/Habit"
|
|
import type { User } from "../entities/User"
|
|
|
|
export interface GetHabitsByUserIdOptions {
|
|
userId: User["id"]
|
|
}
|
|
|
|
export interface GetHabitsByUserIdRepository {
|
|
execute: (options: GetHabitsByUserIdOptions) => Promise<Habit[]>
|
|
}
|