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>
|
|
}
|