mtgjson / mtgjson-website

MTGJSON Documentation Front-End Application built with VitePress
https://mtgjson.com
MIT License
36 stars 24 forks source link

Missing property on Legalities typing #628

Closed Horsty80 closed 6 months ago

Horsty80 commented 7 months ago

Assuming this example of data, on legalities property we can see there is a timeless property This property is missing from the typing show in the doc here https://mtgjson.com/data-models/legalities/#typescript-model

On other card, there is a property standardbrawl there is missing too

      {
        "artist": "Dave Dorman",
        "artistIds": ["9235458b-ce92-45bd-a430-a72ecd8e6176"],
        "availability": ["mtgo", "paper"],
        "boosterTypes": ["default"],
        "borderColor": "black",
        "colorIdentity": ["U"],
        "colors": ["U"],
        "convertedManaCost": 4.0,
        "edhrecRank": 24358,
        "finishes": ["foil"],
        "flavorText": "The irritable drakes are solitary nesters. Even brooding females barely contain the urge to attack their own young.",
        "foreignData": [],
        "frameVersion": "2003",
        "hasFoil": true,
        "hasNonFoil": false,
        "identifiers": {
          "cardKingdomFoilId": "123196",
          "mcmId": "16274",
          "mcmMetaId": "5340",
          "mtgjsonNonFoilVersionId": "381e8d26-d8ca-5755-ba19-5fba857a7920",
          "mtgjsonV4Id": "8f26f4ca-31f6-554c-b974-148bc43d3a71",
          "scryfallCardBackId": "0aeebaf5-8c7d-4636-9e82-8c27447861f7",
          "scryfallId": "9e7fdfc2-782c-4a3f-8761-ace19c479b07",
          "scryfallIllustrationId": "76672b16-e3ae-42f7-84f4-8532bfe70674",
          "scryfallOracleId": "e15060c3-3773-4548-8747-ff59dcf2b519",
          "tcgplayerProductId": "15322"
        },
        "isReprint": true,
        "keywords": ["Flying"],
        "language": "English",
        "layout": "normal",
        "legalities": {
          "brawl": "Legal",
          "commander": "Legal",
          "duel": "Legal",
          "explorer": "Legal",
          "gladiator": "Legal",
          "historic": "Legal",
          "legacy": "Legal",
          "modern": "Legal",
          "oathbreaker": "Legal",
          "pauper": "Legal",
          "paupercommander": "Legal",
          "penny": "Legal",
          "pioneer": "Legal",
          "predh": "Legal",
          "timeless": "Legal",
          "vintage": "Legal"
        },
        "manaCost": "{3}{U}",
        "manaValue": 4.0,
        "name": "Snapping Drake",
        "number": "110★",
        "power": "3",
        "printings": [
          "10E",
          "BTD",
          "DPA",
          "M10",
          "M19",
          "M20",
          "PLST",
          "POR",
          "PS11",
          "RAV",
          "S99"
        ],
        "purchaseUrls": {
          "cardKingdomFoil": "https://mtgjson.com/links/34d12bf70682dea8",
          "cardmarket": "https://mtgjson.com/links/1946806dd2213711",
          "tcgplayer": "https://mtgjson.com/links/0efad55961620caa"
        },
        "rarity": "common",
        "setCode": "10E",
        "sourceProducts": { "foil": ["c690e178-661d-5e17-9b29-a5bf6319a844"] },
        "subtypes": ["Drake"],
        "supertypes": [],
        "text": "Flying (This creature can't be blocked except by creatures with flying or reach.)",
        "toughness": "2",
        "type": "Creature — Drake",
        "types": ["Creature"],
        "uuid": "c0b0e7a5-4252-57f5-8ed0-399d08c0523f",
        "variations": ["381e8d26-d8ca-5755-ba19-5fba857a7920"]
      }