using TarninaHub.Application.Dtos; namespace TarninaHub.Application.Abstractions; public interface IKnowledgeItemService { Task> ListAsync( string? kind, string? challengeId, string? query, bool onlyPublished, CancellationToken cancellationToken); Task GetAsync(string knowledgeItemId, CancellationToken cancellationToken); Task CreateAsync(KnowledgeItemRequest request, CancellationToken cancellationToken); Task UpdateAsync( string knowledgeItemId, KnowledgeItemRequest request, CancellationToken cancellationToken); Task PublishAsync(string knowledgeItemId, CancellationToken cancellationToken); }