forked from gongxuegit/tiku-backend.net
feat: add practice session workflow endpoints
This commit is contained in:
@@ -46,4 +46,34 @@ public interface ILearningActivityService
|
||||
LearningActor actor,
|
||||
FavoriteWordCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<PracticeSessionItem> CreatePracticeSessionAsync(
|
||||
LearningActor actor,
|
||||
PracticeSessionCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<PracticeSessionDetailItem> GetPracticeSessionDetailAsync(
|
||||
LearningActor actor,
|
||||
PracticeSessionFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<PracticeSessionReportItem> SubmitPracticeSessionAsync(
|
||||
LearningActor actor,
|
||||
PracticeSessionFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<PracticeSessionReportItem> GetPracticeSessionReportAsync(
|
||||
LearningActor actor,
|
||||
PracticeSessionFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<LearningList<PracticeSessionReportItem>> GetPracticeReportsAsync(
|
||||
LearningActor actor,
|
||||
PracticeSessionFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<LearningList<PracticeHistoryItem>> GetPracticeHistoryAsync(
|
||||
LearningActor actor,
|
||||
PracticeSessionFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user