@pinta365/blizzard_api 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,9 +105,15 @@ export interface ForeverCharacterAchievementSummary extends WithOptional<WithFor
105
105
  export type ForeverCharacterAchievementStatistics = WithForeverCharacter<CharacterAchievementStatistics>;
106
106
  export type ForeverCharacterAppearanceSummary = WithForeverCharacter<CharacterAppearanceSummary>;
107
107
  export type ForeverCharacterCollectionTypes = WithForeverCharacter<CharacterCollectionTypes>;
108
- export type ForeverCharacterCollectionMounts = CharacterCollectionMounts;
109
- export type ForeverCharacterCollectionPets = CharacterCollectionPets;
110
- export type ForeverCharacterCollectionToys = CharacterCollectionToys;
108
+ /** `mounts` is absent when the character has collected no mounts. */
109
+ export interface ForeverCharacterCollectionMounts extends WithOptional<CharacterCollectionMounts, "mounts"> {
110
+ }
111
+ /** `pets` is absent when the character has collected no battle pets. */
112
+ export interface ForeverCharacterCollectionPets extends WithOptional<CharacterCollectionPets, "pets"> {
113
+ }
114
+ /** `toys` is absent when the character has collected no toys. */
115
+ export interface ForeverCharacterCollectionToys extends WithOptional<CharacterCollectionToys, "toys"> {
116
+ }
111
117
  export type ForeverCharacterCollectionHeirlooms = CharacterCollectionHeirlooms;
112
118
  /** `appearance_sets` is absent when the character has collected no appearance sets. */
113
119
  export interface ForeverCharacterCollectionTransmogs extends WithOptional<CharacterCollectionTransmogs, "appearance_sets"> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinta365/blizzard_api",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "TS library to interact with the Blizzard Battle.net API. World of Warcraft, World of Warcraft Classic, StarCraft 2, Diablo 3, Hearthstone.",
5
5
  "keywords": [
6
6
  "blizzard",
@@ -105,9 +105,15 @@ export interface ForeverCharacterAchievementSummary extends WithOptional<WithFor
105
105
  export type ForeverCharacterAchievementStatistics = WithForeverCharacter<CharacterAchievementStatistics>;
106
106
  export type ForeverCharacterAppearanceSummary = WithForeverCharacter<CharacterAppearanceSummary>;
107
107
  export type ForeverCharacterCollectionTypes = WithForeverCharacter<CharacterCollectionTypes>;
108
- export type ForeverCharacterCollectionMounts = CharacterCollectionMounts;
109
- export type ForeverCharacterCollectionPets = CharacterCollectionPets;
110
- export type ForeverCharacterCollectionToys = CharacterCollectionToys;
108
+ /** `mounts` is absent when the character has collected no mounts. */
109
+ export interface ForeverCharacterCollectionMounts extends WithOptional<CharacterCollectionMounts, "mounts"> {
110
+ }
111
+ /** `pets` is absent when the character has collected no battle pets. */
112
+ export interface ForeverCharacterCollectionPets extends WithOptional<CharacterCollectionPets, "pets"> {
113
+ }
114
+ /** `toys` is absent when the character has collected no toys. */
115
+ export interface ForeverCharacterCollectionToys extends WithOptional<CharacterCollectionToys, "toys"> {
116
+ }
111
117
  export type ForeverCharacterCollectionHeirlooms = CharacterCollectionHeirlooms;
112
118
  /** `appearance_sets` is absent when the character has collected no appearance sets. */
113
119
  export interface ForeverCharacterCollectionTransmogs extends WithOptional<CharacterCollectionTransmogs, "appearance_sets"> {