Full-stack F# (Domain/Server/Client via Fable+Elmish+Feliz), PostgreSQL persistence via Dapper, Docker Compose deployment. Student quiz-taking flow with time-limit enforcement and focus-loss tracking, Teacher question bank and quiz builder with results analytics, Admin user management.
16 lines
409 B
Forth
16 lines
409 B
Forth
namespace Domain.Contracts
|
|
|
|
open System
|
|
open Domain
|
|
|
|
/// One of the student's own past attempts at a quiz — only graded attempts
|
|
/// are ever returned (an abandoned in-progress attempt has nothing to show).
|
|
type MyAttemptSummary =
|
|
{ AttemptId: AttemptId
|
|
StartedAt: DateTimeOffset
|
|
Score: float
|
|
MaxScore: float
|
|
Passed: bool option }
|
|
|
|
type GetMyAttemptsRequest = { QuizId: QuizId }
|