mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
10 lines
243 B
TypeScript
10 lines
243 B
TypeScript
import type { Habit, HabitCreateData } from "../entities/Habit"
|
|
|
|
export interface HabitCreateOptions {
|
|
habitCreateData: HabitCreateData
|
|
}
|
|
|
|
export interface HabitCreateRepository {
|
|
execute: (options: HabitCreateOptions) => Promise<Habit>
|
|
}
|