Skip to content

Commit

Permalink
Add 'extended' frame effect
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHearst committed Dec 10, 2023
1 parent e26a4e4 commit d97a715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ScryfallKit/Models/Card/Card+enums.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ extension Card {
///
/// [Scryfall documentation](https://scryfall.com/docs/api/frames#frame-effects)
public enum FrameEffect: String, Codable, CaseIterable {
case legendary, miracle, nyxtouched, draft, devoid, tombstone, colorshifted, inverted, sunmoondfc, compasslanddfc, originpwdfc, mooneldrazidfc, waxingandwaningmoondfc, showcase, extendedart, companion, etched, snow, lesson, convertdfc, fandfc, battle, gravestone, fullart, vehicle, borderless, unknown
case legendary, miracle, nyxtouched, draft, devoid, tombstone, colorshifted, inverted, sunmoondfc, compasslanddfc, originpwdfc, mooneldrazidfc, waxingandwaningmoondfc, showcase, extendedart, companion, etched, snow, lesson, convertdfc, fandfc, battle, gravestone, fullart, vehicle, borderless, extended, unknown

public init(from decoder: Decoder) throws {
self = try FrameEffect(rawValue: decoder.singleValueContainer().decode(RawValue.self)) ?? .unknown
Expand Down

0 comments on commit d97a715

Please sign in to comment.