Skip to content

Commit

Permalink
remove secondary level and primary metadata options
Browse files Browse the repository at this point in the history
  • Loading branch information
cemms1 committed Nov 19, 2024
1 parent 39da9d5 commit 1a7b9e0
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ case class Backfill(

sealed trait Metadata

case object SecondaryLevel extends Metadata

case object Primary extends Metadata

case object Secondary extends Metadata

case object Canonical extends Metadata
Expand Down Expand Up @@ -53,8 +49,6 @@ case object SpecialReportAltPalette extends Metadata
object Metadata extends StrictLogging {

val tags: Map[String, Metadata] = Map(
"SecondaryLevel" -> SecondaryLevel,
"Primary" -> Primary,
"Secondary" -> Secondary,
"Canonical" -> Canonical,
"Special" -> Special,
Expand Down Expand Up @@ -87,8 +81,6 @@ object Metadata extends StrictLogging {
}

def writes(cardStyle: Metadata) = cardStyle match {
case SecondaryLevel => JsObject(Seq("type" -> JsString("SecondaryLevel")))
case Primary => JsObject(Seq("type" -> JsString("Primary")))
case Secondary => JsObject(Seq("type" -> JsString("Secondary")))
case Canonical => JsObject(Seq("type" -> JsString("Canonical")))
case Special => JsObject(Seq("type" -> JsString("Special")))
Expand Down

0 comments on commit 1a7b9e0

Please sign in to comment.