feat(learning): harden access and practice sessions

This commit is contained in:
2026-08-05 14:01:36 +08:00
parent 603bc24c26
commit df31c3a669
88 changed files with 72411 additions and 543 deletions

View File

@@ -19,7 +19,9 @@ public sealed record ContentNavigationFilter(
string? Keyword = null,
bool IncludeHidden = false,
bool IncludeInactive = false,
int? Limit = null);
int? Limit = null,
IReadOnlyCollection<Guid>? AllowedContentSliceIds = null,
IReadOnlyCollection<Guid>? AllowedRegionIds = null);
public sealed record ContentEntryCatalogItem(
Guid Id,
@@ -118,10 +120,5 @@ public sealed record CollectionQuestionCatalogItem(
Guid? VersionId,
string? Content,
JsonElement Options,
int? CorrectOptionIndex,
JsonElement CorrectOptionIndices,
string? AnswerText,
string? Explanation,
JsonElement SubQuestions,
string? CodeLang,
string? CodeTemplate);
string? CodeTemplate);