Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/spotify-api

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/spotify-api - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

50

spotify-api/index.d.ts

@@ -160,5 +160,5 @@ // Type definitions for The Spotify Web API (including changes March 29th 2016)

| {
position?: number | undefined;
uri?: string | undefined;
}
position?: number | undefined;
uri?: string | undefined;
}
| undefined;

@@ -700,3 +700,4 @@ position_ms?: number | undefined;

interface SearchResponse
extends Partial<ArtistSearchResponse>,
extends
Partial<ArtistSearchResponse>,
Partial<AlbumSearchResponse>,

@@ -706,3 +707,4 @@ Partial<TrackSearchResponse>,

Partial<ShowSearchResponse>,
Partial<EpisodeSearchResponse> {}
Partial<EpisodeSearchResponse>
{}

@@ -955,7 +957,7 @@ /**

*/
album_group?: 'album' | 'single' | 'compilation' | 'appears_on' | undefined;
album_group?: "album" | "single" | "compilation" | "appears_on" | undefined;
/**
* The type of the album: one of “album”, “single”, or “compilation”.
*/
album_type: 'album' | 'single' | 'compilation';
album_type: "album" | "single" | "compilation";
/**

@@ -991,3 +993,3 @@ * The artists of the album.

*/
release_date_precision: 'year' | 'month' | 'day';
release_date_precision: "year" | "month" | "day";
/**

@@ -1000,3 +1002,3 @@ * Part of the response when [Track Relinking](https://developer.spotify.com/documentation/general/guides/track-relinking-guide/) is applied,

restrictions?: RestrictionsObject | undefined;
type: 'album';
type: "album";
/**

@@ -1047,3 +1049,3 @@ * The number of tracks in the album.

id: string;
type: 'artist';
type: "artist";
}

@@ -1071,3 +1073,3 @@

track_href: string;
type: 'audio_features';
type: "audio_features";
uri: string;

@@ -1180,3 +1182,3 @@ valence: number;

text: string;
type: 'C' | 'P';
type: "C" | "P";
}

@@ -1338,3 +1340,3 @@

snapshot_id: string;
type: 'playlist';
type: "playlist";
}

@@ -1387,3 +1389,3 @@

}
/**

@@ -1406,3 +1408,3 @@ * Recommendation Track Object

*/
album_type: 'ALBUM' | 'SINGLE' | 'COMPILATION';
album_type: "ALBUM" | "SINGLE" | "COMPILATION";
}

@@ -1420,3 +1422,3 @@

initialPoolSize: number;
type: 'artist' | 'track' | 'genre';
type: "artist" | "track" | "genre";
}

@@ -1569,3 +1571,3 @@

*/
type: 'track';
type: "track";
/**

@@ -1585,3 +1587,3 @@ * The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) for the track.

id: string;
type: 'track';
type: "track";
uri: string;

@@ -1674,3 +1676,3 @@ }

resume_point?: ResumePointObject | undefined;
type: 'episode';
type: "episode";
}

@@ -1760,3 +1762,3 @@

*/
type: 'show';
type: "show";
// This is found in https://developer.spotify.com/documentation/web-api/reference/shows/get-a-show/ but not in

@@ -1793,3 +1795,3 @@ // https://developer.spotify.com/documentation/web-api/reference/object-model/#show-object-full.

images?: ImageObject[] | undefined;
type: 'user';
type: "user";
uri: string;

@@ -1806,3 +1808,3 @@ }

*/
type: 'artist' | 'playlist' | 'album' | 'show' | 'episode';
type: "artist" | "playlist" | "album" | "show" | "episode";
/**

@@ -1834,3 +1836,3 @@ * A link to the Web API endpoint providing full details.

shuffle_state: boolean;
repeat_state: 'off' | 'track' | 'context';
repeat_state: "off" | "track" | "context";
}

@@ -1846,3 +1848,3 @@

context: ContextObject | null;
currently_playing_type: 'track' | 'episode' | 'ad' | 'unknown';
currently_playing_type: "track" | "episode" | "ad" | "unknown";
}

@@ -1849,0 +1851,0 @@

{
"name": "@types/spotify-api",
"version": "0.0.22",
"version": "0.0.23",
"description": "TypeScript definitions for The Spotify Web API (including changes March 29th 2016)",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spotify-api",

"dependencies": {},
"typesPublisherContentHash": "c9b04a7d39aaad3f80b17d08d18739b18d83e3b9995ae03975ac7cd5495200f0",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "9f8adea0c517ce4ec355e9e1060d2cd4084ae2de4ceb3aca11b4279a43c27b00",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 25 May 2023 20:34:44 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc