Skip to content

Commit

Permalink
Remove Primary container level (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemms1 authored Nov 19, 2024
1 parent 58db378 commit ab02411
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ case class Backfill(

sealed trait Metadata

case object Primary extends Metadata

case object Secondary extends Metadata

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

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

def writes(cardStyle: Metadata) = cardStyle match {
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 ab02411

Please sign in to comment.