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

13 lines
319 B
TypeScript

import type {
HabitProgress,
HabitProgressData,
} from "../entities/HabitProgress"
export interface HabitProgressUpdateOptions {
habitProgressData: Omit<HabitProgressData, "habitId">
}
export interface HabitProgressUpdateRepository {
execute: (options: HabitProgressUpdateOptions) => Promise<HabitProgress>
}