1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/domain/repositories/GetHabitProgressHistory.ts

11 lines
315 B
TypeScript

import type { Habit } from "../entities/Habit"
import type { HabitProgress } from "../entities/HabitProgress"
export interface GetHabitProgressHistoryOptions {
habit: Habit
}
export interface GetHabitProgressHistoryRepository {
execute: (options: GetHabitProgressHistoryOptions) => Promise<HabitProgress[]>
}