-
Declaration
Swift
static let schema: String
-
The ID of the pivot.
Declaration
Swift
@PuzzleCallIn .ID var id: UUID? { get set }
-
Timestamp of the model’s creation, set automatically.
Declaration
Swift
@PuzzleCallIn .Timestamp var createdAt: Date? { get set }
-
Declaration
Swift
@PuzzleCallIn .Field var rawSubmission: String { get set }
-
Declaration
Swift
@PuzzleCallIn .Field var normalizedSubmission: String { get set }
-
Declaration
Swift
@PuzzleCallIn .Enum var result: CallInResult { get set }
-
Declaration
Swift
init()
-
Initializes a new
HuntSolver
pivot.Declaration
Swift
init(_ user: User, _ puzzle: Puzzle, _ submission: String, _ result: CallInResult) throws
-
Declaration
Swift
init(_ userID: UUID, _ puzzle: Puzzle, _ submission: String, _ result: CallInResult) throws