Skip to content

Commit

Permalink
Fix almost all open tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeldaZach committed Sep 15, 2024
1 parent dc293c4 commit a7c44b2
Show file tree
Hide file tree
Showing 13 changed files with 137 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Install Node with [brew](https://brew.sh):

```
brew install n
sudo n 16.16
sudo n 18
```

### **Developing**
Expand Down
7 changes: 7 additions & 0 deletions docs/data-models/booster/booster-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <DocBadge type="warning" text="optional" />
>
> 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.
Expand Down
7 changes: 7 additions & 0 deletions docs/data-models/card-types/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/card/card-deck/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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[]`
> - <ExampleField type='finishes'/>
Expand Down Expand Up @@ -535,7 +535,7 @@ The Card (Deck) Data Model describes the properties of a single card found in a
> - <ExampleField type='rarity'/>
> - **Introduced:** `v4.0.0`
> ### relatedCards
> ### relatedCards <DocBadge type="warning" text="optional" />
>
> The related cards for this card. See the [Related Cards](/data-models/related-cards/) Data Model.
>
Expand Down
2 changes: 1 addition & 1 deletion docs/data-models/card/card-set/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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[]`
> - <ExampleField type='finishes'/>
Expand Down
31 changes: 30 additions & 1 deletion docs/data-models/card/card-token/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ The Card (Token) Data Model describes the properties of a single token card foun
> - <ExampleField type='colors'/>
> - **Introduced:** `v4.0.0`
> ### edhrecSaltiness <DocBadge type="warning" text="optional" />
>
> The card saltiness score on [EDHRec](https://www.edhrec.com).
>
> - **Type:** `number`
> - **Introduced:** `v5.2.1`
> ### faceName <DocBadge type="warning" text="optional" />
>
> The name on the face of the card.
Expand All @@ -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[]`
> - <ExampleField type='finishes'/>
> - **Introduced:** `v5.2.0`
> ### flavorName <DocBadge type="warning" text="optional" />
>
> 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 <DocBadge type="warning" text="optional" />
>
> The italicized text found below the rules text that has no game function.
Expand Down Expand Up @@ -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 <DocBadge type="warning" text="optional" />
>
> If the card is oversized.
>
> - **Type:** `boolean`
> - **Introduced:** `v5.2.2`
> ### isPromo <DocBadge type="warning" text="optional" />
>
> If the card is a promotional printing.
Expand Down Expand Up @@ -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 <DocBadge type="warning" text="optional" />
>
> 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.
Expand Down
7 changes: 7 additions & 0 deletions docs/data-models/deck/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 7 additions & 7 deletions docs/data-models/foreign-data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -55,13 +62,6 @@ The Foreign Data Data Model describes the properties for a card in alternate lan
> - <ExampleField type='language'/>
> - **Introduced:** `v4.0.0`
> ### multiverseId <DocBadge type="warning" text="optional" />
>
> The foreign multiverse identifier of the card.
>
> - **Type:** `number`
> - **Introduced:** `v4.0.0`
> ### name
>
> The foreign name of the card.
Expand Down
28 changes: 28 additions & 0 deletions docs/data-models/identifiers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,20 @@ The Identifiers Data Model describes the properties of identifiers associated to
> - **Type:** `string`
> - **Introduced:** `v5.2.2`
> ### cardtraderId <DocBadge type="warning" text="optional" />
>
> The [Card Trader](https://www.cardtrader.com/en) card identifier.
>
> - **Type:** `string`
> - **Introduced:** `v5.2.2`
> ### csiId <DocBadge type="warning" text="optional" />
>
> The [CoolStuffInc](https://www.coolstuffinc.com/) card identifier.
>
> - **Type:** `string`
> - **Introduced:** `v5.2.2`
> ### mcmId <DocBadge type="warning" text="optional" />
>
> The [Cardmarket](https://www.cardmarket.com/en/Magic?utm_campaign=card_prices&utm_medium=text&utm_source=mtgjson) card identifier.
Expand All @@ -81,6 +95,13 @@ The Identifiers Data Model describes the properties of identifiers associated to
> - **Type:** `string`
> - **Introduced:** `v4.4.0`
> ### miniaturemarketId <DocBadge type="warning" text="optional" />
>
> The [Miniature Market](https://www.miniaturemarket.com/) card identifier.
>
> - **Type:** `string`
> - **Introduced:** `v5.2.2`
> ### mtgArenaId <DocBadge type="warning" text="optional" />
>
> The [Magic: The Gathering Arena](https://magic.wizards.com/en/mtgarena) card identifier.
Expand Down Expand Up @@ -130,6 +151,13 @@ The Identifiers Data Model describes the properties of identifiers associated to
> - **Type:** `string`
> - **Introduced:** `v4.0.0`
> ### scgId <DocBadge type="warning" text="optional" />
>
> The [StarCityGames](https://starcitygames.com/) card identifier.
>
> - **Type:** `string`
> - **Introduced:** `v5.2.2`
> ### scryfallId <DocBadge type="warning" text="optional" />
>
> The universal unique identifier generated by [Scryfall](https://scryfall.com/). Note that cards with multiple faces are not unique.
Expand Down
7 changes: 7 additions & 0 deletions docs/data-models/price/price-points/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ The Price Points Data Model describes the properties of a card's price provider

## Model Properties

> ### etched <DocBadge type="warning" text="optional" />
>
> 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<string, number>`
> - **Introduced:** `v5.2.2`
> ### foil <DocBadge type="warning" text="optional" />
>
> 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.
Expand Down
31 changes: 30 additions & 1 deletion docs/data-models/set-list/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <DocBadge type="warning" text="optional" />
>
> The [Cardsphere](https://www.cardsphere.com/) set identifier.
>
> - **Type:** `number`
> - **Introduced:** `v5.2.1`
> ### code
>
> The printing set code for the set.
Expand All @@ -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 <DocBadge type="warning" text="optional" />
>
> All decks associated to the set. See the [Deck (Set)](/data-models/deck-set/) Data Model.
>
> - **Type:** `DeckSet[]`
> - **Introduced:** `v5.2.2`
> ### isForeignOnly <DocBadge type="warning" text="optional" />
>
> If the set is only available outside the United States of America.
Expand Down Expand Up @@ -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 <DocBadge type="warning" text="optional" />
>
> The languages the set was printed in.
>
> - **Type:** `string[]`
> - <ExampleField type='languages'/>
> - **Introduced:** `v5.2.1`
> ### mcmId <DocBadge type="warning" text="optional" />
>
> The [Cardmarket](https://www.cardmarket.com/en/Magic?utm_campaign=card_prices&utm_medium=text&utm_source=mtgjson) set identifier.
Expand Down Expand Up @@ -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 <DocBadge type="warning" text="optional" />
>
> The sealed product information for the set. See the [Sealed Product](/data-models/sealed-product/) Data Model.
>
Expand All @@ -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 <DocBadge type="warning" text="optional" />
>
> 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.
Expand Down
7 changes: 7 additions & 0 deletions docs/data-models/source-products/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/data-models/tcgplayer-skus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ const tcgplayerSkus: TcgplayerSkus = data["00010d56-fe38-5e35-8aed-518019aa36a5"
> - <ExampleField type='condition'/>
> - **Introduced:** `v5.1.0`
> ### finishes
> ### finish
>
> The finishes of the card.
> The finish of the card.
>
> - **Type:** `string[]`
> - **Type:** `string`
> - <ExampleField type='finishes'/>
> - **Introduced:** `v5.2.0`
Expand Down

0 comments on commit a7c44b2

Please sign in to comment.