diff --git a/src/core/book/domain/services/book.repository.ts b/src/core/book/domain/services/book.repository.ts index 36eacd3..060732b 100644 --- a/src/core/book/domain/services/book.repository.ts +++ b/src/core/book/domain/services/book.repository.ts @@ -1,9 +1,9 @@ -import User from '@/core/user/domain/model/user.entity' +import Book from '@/core/book/domain/model/book.entity' -export default interface Users { +export default interface Books { // Finds a user by email - findByEmail(email: string): Promise + findAll(): Promise // Saves a user - save(user: User): Promise + save(user: Book): Promise }