Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final case class EncodedCat(command: Command, token: BinaryData)
- final case class Cat(command: Command, token: Token)
- final case class Token(issuedAt: Instant, permissions: List[Permission])
- sealed trait Command
- final case class ImportData(question: String, value: Option[Value]) extends Command
- sealed trait Value
- final case class NumValue(value: Double) extends Value
- sealed trait Permission
- final case class AddFactsPermission(caseName: Identifier, questions: List[String]) extends Permission
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement