mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
|
import type {
|
||
|
HabitProgress,
|
||
|
HabitProgressData,
|
||
|
} from "../entities/HabitProgress"
|
||
|
|
||
|
export interface HabitProgressCreateOptions {
|
||
|
habitProgressData: Omit<HabitProgressData, "id">
|
||
|
}
|
||
|
|
||
|
export interface HabitProgressCreateRepository {
|
||
|
execute: (options: HabitProgressCreateOptions) => Promise<HabitProgress>
|
||
|
}
|