package sorare type ShopItem struct { ShopItemInterface struct { Id string `graphql:"id"` Name string `graphql:"name"` Price int `graphql:"price"` } `graphql:"... on ShopItemInterface"` JerseyShopItem struct { CurrentStockCount int `graphql:"currentStockCount"` InitialStockCount int `graphql:"initialStockCount"` LimitPerUser int `graphql:"limitPerUser"` } `graphql:"... on JerseyShopItem"` } type ShopItemType string const ( ShopItemTypeJersey ShopItemType = "JERSEY" ShopItemTypeBanner ShopItemType = "BANNER" ShopItemTypeLogo ShopItemType = "LOGO" ShopItemTypeShield ShopItemType = "SHIELD" ShopItemTypeLevelUp ShopItemType = "LEVEL_UP" ShopItemTypeExtraSwap ShopItemType = "EXTRA_SWAP" ShopItemTypeExtraTeamsCap ShopItemType = "EXTRA_TEAMS_CAP" ShopItemTypeRecoveryKit ShopItemType = "RECOVERY_KIT" ShopItemTypeXpRestore ShopItemType = "XP_RESTORE" ShopItemTypeDeliverableWithNoVariant ShopItemType = "DELIVERABLE_WITH_NO_VARIANT" ) type ShopItemsParams struct { Types []ShopItemType `graphql:"types"` UnlockedOnly bool `graphql:"unlockedOnly"` }