Skip to content

Commit 56bbab1

Browse files
Update Finishes & Print attributes (#18)
* deprecate ampersand * add `poster` to PrintAttribute.ts (#13) * add `embossed` to Finishes.ts (#12) * add `scroll` to Finishes.ts (#11) * mv scroll to print attributes * document all the print attributes --------- Co-authored-by: Andrew McKnight <[email protected]>
1 parent 18b99d8 commit 56bbab1

File tree

2 files changed

+178
-6
lines changed

2 files changed

+178
-6
lines changed

src/objects/Card/values/Finishes.ts

+12-6
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,12 @@ export enum ScryfallExtendedFinish {
1919
* The confetti foil finish. This looks glimmery like confetti laying on top of the card.
2020
*/
2121
ConfettiFoil = "confettifoil",
22-
/**
23-
* The Dungeons & Dragons glossy finish that superimposed an ampersand over the card.
24-
*/
25-
Ampersand = "ampersand",
2622
/**
2723
* Galaxy foil.
28-
* TODO
2924
*/
3025
GalaxyFoil = "galaxyfoil",
3126
/**
3227
* Halo foil.
33-
* TODO
3428
*/
3529
HaloFoil = "halofoil",
3630
/**
@@ -62,6 +56,18 @@ export enum ScryfallExtendedFinish {
6256
* @trivia The name was a reference to "step and repeat", a style of pattern used in printing banners.
6357
*/
6458
StepAndCompleat = "stepandcompleat",
59+
/**
60+
* A glossy finish with an emblem embossed on it.
61+
*
62+
* Examples include the D&D Ampersand logo or REX Jurassic Park logo.
63+
*/
64+
Embossed = "embossed",
65+
/**
66+
* The Dungeons & Dragons glossy finish that superimposed an ampersand over the card.
67+
*
68+
* @deprecated This is replaced by {@link Embossed} instead.
69+
*/
70+
Ampersand = "ampersand",
6571
}
6672

6773
export type ScryfallExtendedFinishLike = ScryfallExtendedFinish | `${ScryfallExtendedFinish}`;
+166
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,219 @@
11
import { ScryfallExtendedFinish } from "./Finishes";
22

33
type ScryfallPrintAttribute =
4+
/**
5+
* Cards exclusive to the Alchemy format in Arena.
6+
*/
47
| "alchemy"
8+
/**
9+
* Arena League prize cards.
10+
*
11+
* No relation to the video game.
12+
*
13+
* @trivia Arena League was a competitive event that ran from 1996 to 2007.
14+
*/
515
| "arenaleague"
16+
/**
17+
* Project Booster Fun cards.
18+
*/
619
| "boosterfun"
20+
/**
21+
* Box topper promotional cards found in some sets' booster boxes.
22+
*/
723
| "boxtopper"
24+
/**
25+
* Prints exclusive to brawl decks.
26+
*/
827
| "brawldeck"
28+
/**
29+
* Bring-a-friend store event promos.
30+
*/
931
| "bringafriend"
32+
/**
33+
* Bundle promos.
34+
*/
1035
| "bundle"
36+
/**
37+
* Buyabox promos.
38+
*/
1139
| "buyabox"
40+
/**
41+
* Commander party promos.
42+
*/
1243
| "commanderparty"
44+
/**
45+
* Concept praetors.
46+
*/
1347
| "concept"
48+
/**
49+
* Convention promos.
50+
*/
1451
| "convention"
52+
/**
53+
* Cards datestamped in the corner of the art frame.
54+
*/
1555
| "datestamped"
56+
/**
57+
* Dracula series cards.
58+
*/
1659
| "draculaseries"
60+
/**
61+
* Draft weekend event promo cards.
62+
*/
1763
| "draftweekend"
64+
/**
65+
* Duels of the Planeswalkers promos.
66+
*/
1867
| "duels"
68+
/**
69+
* Event promos.
70+
*/
1971
| "event"
72+
/**
73+
* FNM promos.
74+
*/
2075
| "fnm"
76+
/**
77+
* Game day promos.
78+
*/
2179
| "gameday"
80+
/**
81+
* Gift box promos.
82+
*/
2283
| "giftbox"
84+
/**
85+
* Godzilla series cards.
86+
*/
2387
| "godzillaseries"
88+
/**
89+
* Instore event promos.
90+
*/
2491
| "instore"
92+
/**
93+
* Prints exclusive to intro packs/decks.
94+
*/
2595
| "intropack"
96+
/**
97+
* Cards in the Japanese planeswalker series.
98+
*/
2699
| "jpwalker"
100+
/**
101+
* Judge program gift cards.
102+
*/
27103
| "judgegift"
104+
/**
105+
* Miscellaneous promos marked as League promos, e.g. APAC league.
106+
*/
28107
| "league"
108+
/**
109+
* Media inserts, e.g. prints given out packaged with magazines or books.
110+
*/
29111
| "mediainsert"
112+
/**
113+
* Cards in the moonlit land series.
114+
*/
30115
| "moonlitland"
116+
/**
117+
* Openhouse promos.
118+
*/
31119
| "openhouse"
120+
/**
121+
* Prints exclusive to planeswalker decks.
122+
*/
32123
| "planeswalkerdeck"
124+
/**
125+
* Cards printed on plastic stock.
126+
*/
33127
| "plastic"
128+
/**
129+
* Player rewards promos.
130+
*/
34131
| "playerrewards"
132+
/**
133+
* Play promos.
134+
*/
35135
| "playpromo"
136+
/**
137+
* Cards with a “poster” appearance.
138+
*/
139+
| "poster"
140+
/**
141+
* Premier e-Shop promos.
142+
*/
36143
| "premiereshop"
144+
/**
145+
* Prerelease event datestamped cards.
146+
*/
37147
| "prerelease"
148+
/**
149+
* Cards found in promo packs.
150+
*
151+
* @see "stamped"
152+
*/
38153
| "promopack"
154+
/**
155+
* Cards that are rebalanced versions for the Alchemy format in Arena.
156+
*/
39157
| "rebalanced"
158+
/**
159+
* Release event promos.
160+
*/
40161
| "release"
162+
/**
163+
* Simplified chinese alt-art cards.
164+
*
165+
* Due to Chinese censorship rules, some cards receive alternate art in Chinese releases.
166+
*/
41167
| "schinesealtart"
168+
/**
169+
* A Lord of the Rings appearance that made the card name, type line and oracle text area appear as scrolls.
170+
*/
171+
| "scroll"
172+
/**
173+
* Serialized cards. (001/500, etc.)
174+
*/
42175
| "serialized"
176+
/**
177+
* Set Extension cards.
178+
*
179+
* E.g.: Rafiq of the Many had a gilded showcase released in SNC boosters.
180+
* It was given the collector info ALA 250, extending the original Alara set code.
181+
* Scryfall records this in the ALA sert because that's the set code, but we mark it as an “extension” of that set.
182+
*/
43183
| "setextension"
184+
/**
185+
* (TODO)
186+
*/
44187
| "setpromo"
188+
/**
189+
* Cards stamped with a planeswalker symbol in the corner of the art frame released in store boosters.
190+
*
191+
* Not to be confused with The List cards, which have a small planeswalker symbol in the bottom left corner of the card.
192+
*/
45193
| "stamped"
194+
/**
195+
* Prints found exclusively in a starter deck.
196+
*/
46197
| "starterdeck"
198+
/**
199+
* Store championship participation and prize cards.
200+
*/
47201
| "storechampionship"
202+
/**
203+
* Prints found exclusively in theme boosters.
204+
*/
48205
| "themepack"
206+
/**
207+
* Cards printed on extra-thick cardstock.
208+
*/
49209
| "thick"
210+
/**
211+
* Tournament promo cards.
212+
*/
50213
| "tourney"
214+
/**
215+
* Wizards play network promo cards.
216+
*/
51217
| "wizardsplaynetwork";
52218

53219
export type ScryfallPromoType = ScryfallPrintAttribute | `${ScryfallExtendedFinish}`;

0 commit comments

Comments
 (0)