feat: add study content readonly endpoints

This commit is contained in:
xiong
2026-07-26 14:21:42 +08:00
parent 97e7819a34
commit 47613b51bd
8 changed files with 727 additions and 3 deletions

View File

@@ -0,0 +1,26 @@
using Tiku.Application.Catalog;
namespace Tiku.Application.StudyContent;
public interface IStudyContentQueryService
{
Task<CatalogList<VocabularyUnitCatalogItem>> GetVocabularyUnitsAsync(
StudyContentFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<VocabularyWordCatalogItem>> GetVocabularyWordsAsync(
StudyContentFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<HandbookSubjectCatalogItem>> GetHandbookSubjectsAsync(
StudyContentFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<HandbookChapterCatalogItem>> GetHandbookChaptersAsync(
StudyContentFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<HandbookEntryCatalogItem>> GetHandbookEntriesAsync(
StudyContentFilter filter,
CancellationToken cancellationToken = default);
}