Skip to content

Commit

Permalink
update(docs): fix some typings, optional and values (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
staghouse authored Jan 20, 2024
1 parent 96fd632 commit 52c8967
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/data-models/booster/booster-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The Booster Config Data Model describes the properties of how a [Set](/data-mode
>
> The booster packs configurations. See the [Booster (Pack)](/data-models/booster/booster-pack/) Data Model.
>
> - **Type:** `BoosterPack[]`
> - **Type:** `Record<string, BoosterPack[]>`
> - **Introduced:** `v5.2.2`
> ### boostersTotalWeight
Expand Down
2 changes: 1 addition & 1 deletion docs/data-models/booster/booster-pack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The Booster Pack Data Model describes the properties of how a Booster Pack can b
>
> The contents of the booster pack, where the key is the card slot and value is the weight.
>
> - **Type:** `Record<string, number>`
> - **Type:** `Partial<Record<string, number>>`
> - **Introduced:** `v5.2.2`
> ### weight
Expand Down
6 changes: 3 additions & 3 deletions docs/data-models/booster/booster-sheet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ The Booster Sheet Data Model describes the properties of how a sheet of printed

## Model Properties

> ### allowDuplicates
> ### allowDuplicates <DocBadge type="warning" text="optional" />
>
> If the sheet can be picked for cards in duplicates.
>
> - **Type:** `boolean`
> - **Introduced:** `v5.2.2`
> ### balanceColors
> ### balanceColors <DocBadge type="warning" text="optional" />
>
> If the sheet needs to have it colors balanced.
>
Expand All @@ -60,7 +60,7 @@ The Booster Sheet Data Model describes the properties of how a sheet of printed
> - **Type:** `boolean`
> - **Introduced:** `v5.2.2`
> ### fixed
> ### fixed <DocBadge type="warning" text="optional" />
>
> If cards are garunteed to be in this sheet. Used for "Jump Start"-style products.
>
Expand Down
2 changes: 1 addition & 1 deletion docs/data-models/card/card-atomic/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ When using any **Atomic-like** file, the Card (Atomic) Data Model is accessed th
>
> A list of attraction lights found on a card, available only to cards printed in certain Un-sets.
>
> - **Type:** `string[]`
> - **Type:** `number[]`
> - **Introduced:** `v5.2.1`
> ### colorIdentity
Expand Down
2 changes: 1 addition & 1 deletion docs/data-models/card/card-deck/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The Card (Deck) Data Model describes the properties of a single card found in a
>
> A list of attraction lights found on a card, available only to cards printed in certain Un-sets.
>
> - **Type:** `string[]`
> - **Type:** `number[]`
> - **Introduced:** `v5.2.1`
> ### availability
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 @@ -58,7 +58,7 @@ The Card (Set) Data Model describes the properties of a single card found in a [
>
> A list of attraction lights found on a card, available only to cards printed in certain Un-sets.
>
> - **Type:** `string[]`
> - **Type:** `number[]`
> - **Introduced:** `v5.2.1`
> ### availability
Expand Down
2 changes: 1 addition & 1 deletion docs/data-models/deck-set/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The Deck (Set) Data Model describes the properties of an individual Deck within
>
> A list of UUID's associated to this Deck in a [Sealed Product](/data-models/sealed-product/).
>
> - **Type:** `string[]`
> - **Type:** `string[] | null`
> - **Introduced:** `v5.2.2`
> ### sideBoard
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/sealed-product/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ The Sealed Product Data Model describes the properties for the purchaseable prod
> - **Type:** `string`
> - **Introduced:** `v5.2.0`
> ### subtype <DocBadge type="warning" text="optional" />
> ### subtype
>
> The category subtype of this product.
>
> - **Type:** `string`
> - **Type:** `string | null`
> - **Introduced:** `v5.2.1`
> ### uuid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Sealed Product (Card) Data Model describes the card product configuration in

## Model Properties

> ### foil
> ### foil <DocBadge type="warning" text="optional" />
>
> If the card is foiled.
>
Expand Down
2 changes: 1 addition & 1 deletion docs/data-models/set/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ The Set Data Model describes the 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 Down

0 comments on commit 52c8967

Please sign in to comment.