From a7c44b271a8f1cccf51dc28c8189de7fe38f63f5 Mon Sep 17 00:00:00 2001 From: ZeldaZach Date: Sun, 15 Sep 2024 18:41:08 -0400 Subject: [PATCH] Fix almost all open tickets --- README.md | 2 +- .../booster/booster-config/index.md | 7 +++++ docs/data-models/card-types/index.md | 7 +++++ docs/data-models/card/card-deck/index.md | 4 +-- docs/data-models/card/card-set/index.md | 2 +- docs/data-models/card/card-token/index.md | 31 ++++++++++++++++++- docs/data-models/deck/index.md | 7 +++++ docs/data-models/foreign-data/index.md | 14 ++++----- docs/data-models/identifiers/index.md | 28 +++++++++++++++++ docs/data-models/price/price-points/index.md | 7 +++++ docs/data-models/set-list/index.md | 31 ++++++++++++++++++- docs/data-models/source-products/index.md | 7 +++++ docs/data-models/tcgplayer-skus/index.md | 6 ++-- 13 files changed, 137 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index df232c32..97f3eabd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Install Node with [brew](https://brew.sh): ``` brew install n -sudo n 16.16 +sudo n 18 ``` ### **Developing** diff --git a/docs/data-models/booster/booster-config/index.md b/docs/data-models/booster/booster-config/index.md index 9c691cab..cfefbd10 100644 --- a/docs/data-models/booster/booster-config/index.md +++ b/docs/data-models/booster/booster-config/index.md @@ -46,6 +46,13 @@ The Booster Config Data Model describes the properties of how a [Set](/data-mode > - **Type:** `number` > - **Introduced:** `v5.2.2` +> ### name +> +> The name of the product, if applicable. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + > ### sheets > > The sheets of cards in a printing where the key is the name of the sheet and value is the configuration. See the [Booster (Sheet)](/data-models/booster/booster-sheet/) Data Model. diff --git a/docs/data-models/card-types/index.md b/docs/data-models/card-types/index.md index e1499da0..7edebff7 100644 --- a/docs/data-models/card-types/index.md +++ b/docs/data-models/card-types/index.md @@ -39,6 +39,13 @@ The Card Types Data Model describes the properties of a Card Data Model that has > - **Type:** `CardType` > - **Introduced:** `v4.0.0` +> ### battle +> +> The battle type of a card. +> +> - **Type:** `CardType` +> - **Introduced:** `v5.2.2` + > ### conspiracy > > The artifact type of a card. diff --git a/docs/data-models/card/card-deck/index.md b/docs/data-models/card/card-deck/index.md index 85415c81..93e290cf 100644 --- a/docs/data-models/card/card-deck/index.md +++ b/docs/data-models/card/card-deck/index.md @@ -193,7 +193,7 @@ The Card (Deck) Data Model describes the properties of a single card found in a > ### finishes > -> The finishes of the card. +> The finishes of the card. These finishes are not mutually exclusive. > > - **Type:** `string[]` > - @@ -535,7 +535,7 @@ The Card (Deck) Data Model describes the properties of a single card found in a > - > - **Introduced:** `v4.0.0` -> ### relatedCards +> ### relatedCards > > The related cards for this card. See the [Related Cards](/data-models/related-cards/) Data Model. > diff --git a/docs/data-models/card/card-set/index.md b/docs/data-models/card/card-set/index.md index 8982f284..a35c0f61 100644 --- a/docs/data-models/card/card-set/index.md +++ b/docs/data-models/card/card-set/index.md @@ -186,7 +186,7 @@ The Card (Set) Data Model describes the properties of a single card found in a [ > ### finishes > -> The finishes of the card. +> The finishes of the card. These finishes are not mutually exclusive. > > - **Type:** `string[]` > - diff --git a/docs/data-models/card/card-token/index.md b/docs/data-models/card/card-token/index.md index bf9f2bc3..068d820c 100644 --- a/docs/data-models/card/card-token/index.md +++ b/docs/data-models/card/card-token/index.md @@ -109,6 +109,13 @@ The Card (Token) Data Model describes the properties of a single token card foun > - > - **Introduced:** `v4.0.0` +> ### edhrecSaltiness +> +> The card saltiness score on [EDHRec](https://www.edhrec.com). +> +> - **Type:** `number` +> - **Introduced:** `v5.2.1` + > ### faceName > > The name on the face of the card. @@ -125,12 +132,19 @@ The Card (Token) Data Model describes the properties of a single token card foun > ### finishes > -> The finishes of the card. +> The finishes of the card. These finishes are not mutually exclusive. > > - **Type:** `string[]` > - > - **Introduced:** `v5.2.0` +> ### flavorName +> +> The promotional card name printed above the true card name on special cards that has no game function. See [this card](https://scryfall.com/card/plg20/2/hangarback-walker) for an example. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + > ### flavorText > > The italicized text found below the rules text that has no game function. @@ -200,6 +214,13 @@ The Card (Token) Data Model describes the properties of a single token card foun > - **Type:** `boolean` > - **Introduced:** `v4.0.1` +> ### isOversized +> +> If the card is oversized. +> +> - **Type:** `boolean` +> - **Introduced:** `v5.2.2` + > ### isPromo > > If the card is a promotional printing. @@ -251,6 +272,14 @@ The Card (Token) Data Model describes the properties of a single token card foun > - **Type:** `string` > - **Introduced:** `v4.0.0` +> ### manaCost +> +> The mana cost of the card wrapped in curly brackets for each mana symbol value. +> +> - **Type:** `string` +> - **Example:** `"{1}{B}"` +> - **Introduced:** `v5.2.2` + > ### name > > The name of the card. Cards with multiple faces are given a `//` delimiter. diff --git a/docs/data-models/deck/index.md b/docs/data-models/deck/index.md index f0791b96..d78f768d 100644 --- a/docs/data-models/deck/index.md +++ b/docs/data-models/deck/index.md @@ -68,6 +68,13 @@ The Deck Data Model describes the properties of an individual Deck. > - **Type:** `string | null` > - **Introduced:** `v4.3.0` +> ### sealedProductUuids +> +> A cross-reference identifier to determine which sealed products contain this deck. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + > ### sideBoard > > The cards in the side-board. See the [Card (Deck)](/data-models/card/card-deck/) Data Model. diff --git a/docs/data-models/foreign-data/index.md b/docs/data-models/foreign-data/index.md index 8951d939..5ede58ea 100644 --- a/docs/data-models/foreign-data/index.md +++ b/docs/data-models/foreign-data/index.md @@ -47,6 +47,13 @@ The Foreign Data Data Model describes the properties for a card in alternate lan > - **Type:** `string` > - **Introduced:** `v4.0.0` +> ### identifiers +> +> The identifiers associated to a card. See the [Identifiers](/data-models/identifiers/) Data Model. +> +> - **Type:** `Identifiers` +> - **Introduced:** `v5.2.2` + > ### language > > The foreign language of card. @@ -55,13 +62,6 @@ The Foreign Data Data Model describes the properties for a card in alternate lan > - > - **Introduced:** `v4.0.0` -> ### multiverseId -> -> The foreign multiverse identifier of the card. -> -> - **Type:** `number` -> - **Introduced:** `v4.0.0` - > ### name > > The foreign name of the card. diff --git a/docs/data-models/identifiers/index.md b/docs/data-models/identifiers/index.md index 36308025..34f299e0 100644 --- a/docs/data-models/identifiers/index.md +++ b/docs/data-models/identifiers/index.md @@ -67,6 +67,20 @@ The Identifiers Data Model describes the properties of identifiers associated to > - **Type:** `string` > - **Introduced:** `v5.2.2` +> ### cardtraderId +> +> The [Card Trader](https://www.cardtrader.com/en) card identifier. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + +> ### csiId +> +> The [CoolStuffInc](https://www.coolstuffinc.com/) card identifier. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + > ### mcmId > > The [Cardmarket](https://www.cardmarket.com/en/Magic?utm_campaign=card_prices&utm_medium=text&utm_source=mtgjson) card identifier. @@ -81,6 +95,13 @@ The Identifiers Data Model describes the properties of identifiers associated to > - **Type:** `string` > - **Introduced:** `v4.4.0` +> ### miniaturemarketId +> +> The [Miniature Market](https://www.miniaturemarket.com/) card identifier. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + > ### mtgArenaId > > The [Magic: The Gathering Arena](https://magic.wizards.com/en/mtgarena) card identifier. @@ -130,6 +151,13 @@ The Identifiers Data Model describes the properties of identifiers associated to > - **Type:** `string` > - **Introduced:** `v4.0.0` +> ### scgId +> +> The [StarCityGames](https://starcitygames.com/) card identifier. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.2` + > ### scryfallId > > The universal unique identifier generated by [Scryfall](https://scryfall.com/). Note that cards with multiple faces are not unique. diff --git a/docs/data-models/price/price-points/index.md b/docs/data-models/price/price-points/index.md index 6c281bc7..7757ca27 100644 --- a/docs/data-models/price/price-points/index.md +++ b/docs/data-models/price/price-points/index.md @@ -32,6 +32,13 @@ The Price Points Data Model describes the properties of a card's price provider ## Model Properties +> ### etched +> +> The card's etched product price, where the key is the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) date and value is its price. +> +> - **Type:** `Record` +> - **Introduced:** `v5.2.2` + > ### foil > > The card's foil product price, where the key is the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) date and value is its price. diff --git a/docs/data-models/set-list/index.md b/docs/data-models/set-list/index.md index 4d3fc453..3a4f66da 100644 --- a/docs/data-models/set-list/index.md +++ b/docs/data-models/set-list/index.md @@ -47,6 +47,13 @@ The Set List Data Model describes the meta data properties of an individual [Set > - **Type:** `string` > - **Introduced:** `v4.0.0` +> ### cardsphereSetId +> +> The [Cardsphere](https://www.cardsphere.com/) set identifier. +> +> - **Type:** `number` +> - **Introduced:** `v5.2.1` + > ### code > > The printing set code for the set. @@ -61,6 +68,13 @@ The Set List Data Model describes the meta data properties of an individual [Set > - **Type:** `string` > - **Introduced:** `v4.2.1` +> ### decks +> +> All decks associated to the set. See the [Deck (Set)](/data-models/deck-set/) Data Model. +> +> - **Type:** `DeckSet[]` +> - **Introduced:** `v5.2.2` + > ### isForeignOnly > > If the set is only available outside the United States of America. @@ -110,6 +124,14 @@ The Set List Data Model describes the meta data properties of an individual [Set > - **Type:** `string` > - **Introduced:** `v4.3.2` +> ### languages +> +> The languages the set was printed in. +> +> - **Type:** `string[]` +> - +> - **Introduced:** `v5.2.1` + > ### mcmId > > The [Cardmarket](https://www.cardmarket.com/en/Magic?utm_campaign=card_prices&utm_medium=text&utm_source=mtgjson) set identifier. @@ -159,7 +181,7 @@ The Set List Data Model describes the meta data properties of an individual [Set > - **Type:** `string` > - **Introduced:** `v4.0.0` -> ### sealedProduct +> ### sealedProduct > > The sealed product information for the set. See the [Sealed Product](/data-models/sealed-product/) Data Model. > @@ -180,6 +202,13 @@ The Set List Data Model describes the meta data properties of an individual [Set > - **Type:** `number` > - **Introduced:** `v4.1.0` +> ### tokenSetCode +> +> The tokens set code, formatted in uppercase. +> +> - **Type:** `string` +> - **Introduced:** `v5.2.1` + > ### translations > > The translated set name by language. See the [Translations](/data-models/translations/) Data Model. diff --git a/docs/data-models/source-products/index.md b/docs/data-models/source-products/index.md index 35d6339e..c20ec6e1 100644 --- a/docs/data-models/source-products/index.md +++ b/docs/data-models/source-products/index.md @@ -32,6 +32,13 @@ The Source Products Data Model describes the uuids for the card version in a Sea ## Model Properties +> ### etched +> +> A list of universal unique identifiers (v5) generated by MTGJSON for the [Sealed Product](/data-models/sealed-product/) the etched card is found in. +> +> - **Type:** `string[]` +> - **Introduced:** `v5.2.2` + > ### foil > > A list of universal unique identifiers (v5) generated by MTGJSON for the [Sealed Product](/data-models/sealed-product/) the foil card is found in. diff --git a/docs/data-models/tcgplayer-skus/index.md b/docs/data-models/tcgplayer-skus/index.md index 13b9b7fb..c7c0822a 100644 --- a/docs/data-models/tcgplayer-skus/index.md +++ b/docs/data-models/tcgplayer-skus/index.md @@ -59,11 +59,11 @@ const tcgplayerSkus: TcgplayerSkus = data["00010d56-fe38-5e35-8aed-518019aa36a5" > - > - **Introduced:** `v5.1.0` -> ### finishes +> ### finish > -> The finishes of the card. +> The finish of the card. > -> - **Type:** `string[]` +> - **Type:** `string` > - > - **Introduced:** `v5.2.0`