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