@types/spotify-api
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -5,2 +5,3 @@ // Type definitions for The Spotify Web API (including changes March 29th 2016) | ||
// Magnar Ovedal Myrtveit <https://github.com/Stadly> | ||
// Nils Måsén <https://github.com/piksel> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -142,2 +143,6 @@ // TypeScript Version: 2.2 | ||
interface RestrictionsObject { | ||
reason: string | ||
} | ||
// | ||
@@ -670,10 +675,8 @@ // Responses from the Spotify Web API in the same order as in the API endpoint docs seen here: | ||
interface AlbumObjectFull extends AlbumObjectSimplified { | ||
artists: ArtistObjectSimplified[], | ||
copyrights: CopyrightObject[], | ||
external_ids: ExternalIdObject, | ||
genres: string[], | ||
label: string, | ||
popularity: number, | ||
release_date: string, | ||
release_date_precision: string, | ||
tracks: PagingObject<TrackObjectSimplified>, | ||
tracks: PagingObject<TrackObjectSimplified> | ||
} | ||
@@ -686,3 +689,5 @@ | ||
interface AlbumObjectSimplified { | ||
album_group?: string, | ||
album_type: string, | ||
artists: ArtistObjectSimplified[], | ||
available_markets?: string[], | ||
@@ -694,2 +699,5 @@ external_urls: ExternalUrlObject, | ||
name: string, | ||
release_date: string, | ||
release_date_precision: string, | ||
restrictions?: RestrictionsObject, | ||
type: "album", | ||
@@ -696,0 +704,0 @@ uri: string |
{ | ||
"name": "@types/spotify-api", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "TypeScript definitions for The Spotify Web API (including changes March 29th 2016)", | ||
@@ -16,6 +16,11 @@ "license": "MIT", | ||
"githubUsername": "Stadly" | ||
}, | ||
{ | ||
"name": "Nils Måsén", | ||
"url": "https://github.com/piksel", | ||
"githubUsername": "piksel" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -28,4 +33,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "3c0e43b37c3e2afdb3886014e4464351b42b57854126f3d0b8de2a2621a3236b", | ||
"typeScriptVersion": "2.2" | ||
"typesPublisherContentHash": "a97981d7a92890855cc4ca18ab301407dbe6aac73e6aa0349011a42223409ba9", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,9 +5,9 @@ # Installation | ||
# Summary | ||
This package contains type definitions for The Spotify Web API (including changes March 29th 2016) ( https://developer.spotify.com/web-api/ ). | ||
This package contains type definitions for The Spotify Web API (including changes March 29th 2016) (https://developer.spotify.com/web-api/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spotify-api | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spotify-api. | ||
Additional Details | ||
* Last updated: Thu, 30 May 2019 18:56:22 GMT | ||
### Additional Details | ||
* Last updated: Tue, 07 Jan 2020 00:41:54 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Niels Kristian Hansen Skovmand <https://github.com/skovmand>, Magnar Ovedal Myrtveit <https://github.com/Stadly>. | ||
These definitions were written by Niels Kristian Hansen Skovmand (https://github.com/skovmand), Magnar Ovedal Myrtveit (https://github.com/Stadly), and Nils Måsén (https://github.com/piksel). |
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
35637
953