This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
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[]>
}