HuntPuzzleSaveRestoreData
struct HuntPuzzleSaveRestoreData : Content, Sendable
Used during bulk export/import to save and restore a Puzzle, including its answer and hints. This is purposefully full-fidelity,
unlike the redacted HuntPuzzleData DTO returned by the public API, since this is only ever used for Admin-to-Admin server transfer.
-
Declaration
Swift
let title: String -
Declaration
Swift
let body: String -
Declaration
Swift
let answer: String -
Declaration
Swift
let hints: [String : String] -
Declaration
Swift
let unlockTime: Date? -
Declaration
Swift
init(_ puzzle: Puzzle)
View on GitHub