diff --git a/api/shapes/wishlist.ts b/api/shapes/wishlist.ts index b0b7a9e..83f1671 100644 --- a/api/shapes/wishlist.ts +++ b/api/shapes/wishlist.ts @@ -3,6 +3,7 @@ import { DestinyItemSubType } from 'bungie-api-ts/destiny2'; export type ItemHash = number; +export type StatHash = number; export interface WishList { /** @@ -140,6 +141,13 @@ interface Roll { */ plugs: ItemHash[][]; + /** + * Optionally, one or more masterwork stats can be chosen which must also be + * present for this roll to match. This is more convenient than having to + * specify 10 plug hashes per masterwork stat. + */ + masterworkStats?: StatHash[]; + /** * Tag for the current combination. This can be used to show special flair on * the item, as a search filter, or to allow users to select which types of