feat(learning): harden access and practice sessions
This commit is contained in:
@@ -19,7 +19,8 @@ public sealed record QuestionBankFilter(
|
||||
string? Type = null,
|
||||
string? Keyword = null,
|
||||
int? Limit = null,
|
||||
QuestionSource? Source = null);
|
||||
QuestionSource? Source = null,
|
||||
IReadOnlyCollection<Guid>? AllowedContentSliceIds = null);
|
||||
|
||||
public sealed record QuestionBankCatalogItem(
|
||||
Guid Id,
|
||||
@@ -54,28 +55,8 @@ public sealed record QuestionCatalogItem(
|
||||
int? VersionNo,
|
||||
string? Content,
|
||||
JsonElement Options,
|
||||
int? CorrectOptionIndex,
|
||||
JsonElement CorrectOptionIndices,
|
||||
string? AnswerText,
|
||||
string? Explanation,
|
||||
JsonElement SubQuestions,
|
||||
string? CodeLang,
|
||||
string? CodeTemplate,
|
||||
QuestionLocator Locator);
|
||||
|
||||
public sealed record QuestionLocator(QuestionSource Source, Guid QuestionId);
|
||||
|
||||
public sealed record QuestionVersionCatalogItem(
|
||||
Guid Id,
|
||||
Guid QuestionId,
|
||||
int VersionNo,
|
||||
string? Content,
|
||||
JsonElement Options,
|
||||
int? CorrectOptionIndex,
|
||||
JsonElement CorrectOptionIndices,
|
||||
string? AnswerText,
|
||||
string? Explanation,
|
||||
JsonElement SubQuestions,
|
||||
string? CodeLang,
|
||||
string? CodeTemplate,
|
||||
DateTimeOffset CreatedAt);
|
||||
Reference in New Issue
Block a user