export class IBlogRepository {
  async findById(id) {
    throw new Error('findById() must be implemented');
  }

  async findAll() {
    throw new Error('findAll() must be implemented');
  }

  async findByAuthorId(authorId) {
    throw new Error('findByAuthorId() must be implemented');
  }

  async create(blogData) {
    throw new Error('create() must be implemented');
  }

  async update(id, blogData) {
    throw new Error('update() must be implemented');
  }

  async delete(id) {
    throw new Error('delete() must be implemented');
  }
}
