@types/spotify-api
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -1376,6 +1376,26 @@ // Type definitions for The Spotify Web API (including changes March 29th 2016) | ||
seeds: RecommendationsSeedObject[]; | ||
tracks: TrackObjectSimplified[]; | ||
tracks: RecommendationTrackObject[]; | ||
} | ||
/** | ||
* Recommendation Track Object | ||
* Uses the same object structure as Full Track Object, but with `album.album_type` in caps. | ||
*/ | ||
interface RecommendationTrackObject extends Omit<TrackObjectFull, "album"> { | ||
album: RecommendationAlbumObject; | ||
} | ||
/** | ||
* Recommendation Album Object | ||
* Uses the same object structure as Simple Album Object, but with `album_type` in caps. | ||
*/ | ||
interface RecommendationAlbumObject extends Omit<AlbumObjectSimplified, "album_type"> { | ||
/** | ||
* The type of the album: one of “ALBUM”, “SINGLE”, or “COMPILATION”. | ||
* Note that this differs from the types returned by all other spotify APIs by being in all caps. | ||
*/ | ||
album_type: 'ALBUM' | 'SINGLE' | 'COMPILATION'; | ||
} | ||
/** | ||
* Recommendations Seed Object | ||
@@ -1382,0 +1402,0 @@ * [](https://developer.spotify.com/web-api/object-model/#recommendations-seed-object) |
{ | ||
"name": "@types/spotify-api", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "TypeScript definitions for The Spotify Web API (including changes March 29th 2016)", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spotify-api", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2ccbc5d2defd5f823b40b4c44abb22e1b05a16aeba5a298ae5da29cd6aff0a46", | ||
"typesPublisherContentHash": "f1df39a62943bfcc3d07a6013b1bc5cc39487c1895d17b4da7790bfd517ae9c6", | ||
"typeScriptVersion": "4.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 13 Sep 2022 08:02:46 GMT | ||
* Last updated: Tue, 04 Oct 2022 07:33:12 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66089
1712