import '../domain/product_draft.dart';
import '../domain/product_publishing_repository.dart';

/// Use case: retrieve all product drafts from the repository.
class GetProductDrafts {
  final ProductPublishingRepository repository;

  GetProductDrafts(this.repository);

  Future<List<ProductDraft>> call() => repository.getProductDrafts();
}
