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/HabitProgressCreate.ts

13 lines
314 B
TypeScript
Raw Normal View History

2024-04-11 12:32:09 +02:00
import type {
HabitProgress,
HabitProgressData,
} from "../entities/HabitProgress"
export interface HabitProgressCreateOptions {
habitProgressData: Omit<HabitProgressData, "id">
}
export interface HabitProgressCreateRepository {
execute: (options: HabitProgressCreateOptions) => Promise<HabitProgress>
}