@types/spotify-api
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -52,3 +52,3 @@ // Type definitions for The Spotify Web API (including changes March 29th 2016) | ||
*/ | ||
market?: string; | ||
market?: string | undefined; | ||
/** | ||
@@ -58,3 +58,3 @@ * The maximum number of results to return. | ||
*/ | ||
limit?: number; | ||
limit?: number | undefined; | ||
/** | ||
@@ -65,3 +65,3 @@ * The index of the first result to return. | ||
*/ | ||
offset?: number; | ||
offset?: number | undefined; | ||
/** | ||
@@ -72,3 +72,3 @@ * Possible values: `audio`. | ||
*/ | ||
include_external?: string; | ||
include_external?: string | undefined; | ||
} | ||
@@ -90,82 +90,82 @@ | ||
interface RecommendationsOptionsObject { | ||
limit?: number; | ||
market?: string; | ||
max_acousticness?: number; | ||
max_danceability?: number; | ||
max_duration_ms?: number; | ||
max_energy?: number; | ||
max_instrumentalness?: number; | ||
max_key?: number; | ||
max_liveness?: number; | ||
max_loudness?: number; | ||
max_mode?: number; | ||
max_popularity?: number; | ||
max_speechiness?: number; | ||
max_tempo?: number; | ||
max_time_signature?: number; | ||
max_valence?: number; | ||
min_acousticness?: number; | ||
min_danceability?: number; | ||
min_duration_ms?: number; | ||
min_energy?: number; | ||
min_instrumentalness?: number; | ||
min_key?: number; | ||
min_liveness?: number; | ||
min_loudness?: number; | ||
min_mode?: number; | ||
min_popularity?: number; | ||
min_speechiness?: number; | ||
min_tempo?: number; | ||
min_time_signature?: number; | ||
min_valence?: number; | ||
seed_artists?: string[] | string; // Array of strings or Comma separated string | ||
seed_genres?: string[] | string; // Array of strings or Comma separated string | ||
seed_tracks?: string[] | string; // Array of strings or Comma separated string | ||
target_acousticness?: number; | ||
target_danceability?: number; | ||
target_duration_ms?: number; | ||
target_energy?: number; | ||
target_instrumentalness?: number; | ||
target_key?: number; | ||
target_liveness?: number; | ||
target_loudness?: number; | ||
target_mode?: number; | ||
target_popularity?: number; | ||
target_speechiness?: number; | ||
target_tempo?: number; | ||
target_time_signature?: number; | ||
target_valence?: number; | ||
limit?: number | undefined; | ||
market?: string | undefined; | ||
max_acousticness?: number | undefined; | ||
max_danceability?: number | undefined; | ||
max_duration_ms?: number | undefined; | ||
max_energy?: number | undefined; | ||
max_instrumentalness?: number | undefined; | ||
max_key?: number | undefined; | ||
max_liveness?: number | undefined; | ||
max_loudness?: number | undefined; | ||
max_mode?: number | undefined; | ||
max_popularity?: number | undefined; | ||
max_speechiness?: number | undefined; | ||
max_tempo?: number | undefined; | ||
max_time_signature?: number | undefined; | ||
max_valence?: number | undefined; | ||
min_acousticness?: number | undefined; | ||
min_danceability?: number | undefined; | ||
min_duration_ms?: number | undefined; | ||
min_energy?: number | undefined; | ||
min_instrumentalness?: number | undefined; | ||
min_key?: number | undefined; | ||
min_liveness?: number | undefined; | ||
min_loudness?: number | undefined; | ||
min_mode?: number | undefined; | ||
min_popularity?: number | undefined; | ||
min_speechiness?: number | undefined; | ||
min_tempo?: number | undefined; | ||
min_time_signature?: number | undefined; | ||
min_valence?: number | undefined; | ||
seed_artists?: string[] | string | undefined; // Array of strings or Comma separated string | ||
seed_genres?: string[] | string | undefined; // Array of strings or Comma separated string | ||
seed_tracks?: string[] | string | undefined; // Array of strings or Comma separated string | ||
target_acousticness?: number | undefined; | ||
target_danceability?: number | undefined; | ||
target_duration_ms?: number | undefined; | ||
target_energy?: number | undefined; | ||
target_instrumentalness?: number | undefined; | ||
target_key?: number | undefined; | ||
target_liveness?: number | undefined; | ||
target_loudness?: number | undefined; | ||
target_mode?: number | undefined; | ||
target_popularity?: number | undefined; | ||
target_speechiness?: number | undefined; | ||
target_tempo?: number | undefined; | ||
target_time_signature?: number | undefined; | ||
target_valence?: number | undefined; | ||
} | ||
interface RecentlyPlayedParameterObject { | ||
limit?: number; | ||
after?: number; | ||
before?: number; | ||
limit?: number | undefined; | ||
after?: number | undefined; | ||
before?: number | undefined; | ||
} | ||
interface TransferPlaybackParameterObject { | ||
play?: boolean; | ||
play?: boolean | undefined; | ||
} | ||
interface TrackRelinkingParameterObject { | ||
market?: string; | ||
market?: string | undefined; | ||
} | ||
interface DeviceSpecificParameterObject { | ||
device_id?: string; | ||
context_uri?: string; | ||
position_ms?: number; | ||
uris?: string[]; | ||
offset?: Object; | ||
device_id?: string | undefined; | ||
context_uri?: string | undefined; | ||
position_ms?: number | undefined; | ||
uris?: string[] | undefined; | ||
offset?: Object | undefined; | ||
} | ||
interface PlayParameterObject { | ||
device_id?: string; | ||
context_uri?: string; | ||
uris?: string[]; | ||
device_id?: string | undefined; | ||
context_uri?: string | undefined; | ||
uris?: string[] | undefined; | ||
offset?: { | ||
position?: number; | ||
uri?: string; | ||
}; | ||
position_ms?: number; | ||
position?: number | undefined; | ||
uri?: string | undefined; | ||
} | undefined; | ||
position_ms?: number | undefined; | ||
} | ||
@@ -307,3 +307,3 @@ | ||
interface ListOfFeaturedPlaylistsResponse { | ||
message?: string; | ||
message?: string | undefined; | ||
playlists: PagingObject<PlaylistObjectSimplified>; | ||
@@ -319,3 +319,3 @@ } | ||
interface ListOfNewReleasesResponse { | ||
message?: string; | ||
message?: string | undefined; | ||
albums: PagingObject<AlbumObjectSimplified>; | ||
@@ -830,3 +830,3 @@ } | ||
*/ | ||
album_group?: "album" | "single" | "compilation" | "appears_on"; | ||
album_group?: "album" | "single" | "compilation" | "appears_on" | undefined; | ||
/** | ||
@@ -845,3 +845,3 @@ * The type of the album: one of “album”, “single”, or “compilation”. | ||
*/ | ||
available_markets?: string[]; | ||
available_markets?: string[] | undefined; | ||
/** | ||
@@ -874,3 +874,3 @@ * The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) for the album. | ||
*/ | ||
restrictions?: RestrictionsObject; | ||
restrictions?: RestrictionsObject | undefined; | ||
type: "album"; | ||
@@ -972,3 +972,3 @@ } | ||
after: string; | ||
before?: string; | ||
before?: string | undefined; | ||
} | ||
@@ -999,5 +999,5 @@ | ||
interface ExternalIdObject { | ||
isrc?: string; | ||
ean?: string; | ||
upc?: string; | ||
isrc?: string | undefined; | ||
ean?: string | undefined; | ||
upc?: string | undefined; | ||
} | ||
@@ -1039,3 +1039,3 @@ | ||
*/ | ||
height?: number; | ||
height?: number | undefined; | ||
/** | ||
@@ -1048,3 +1048,3 @@ * The source URL of the image. | ||
*/ | ||
width?: number; | ||
width?: number | undefined; | ||
} | ||
@@ -1076,3 +1076,3 @@ | ||
cursors: CursorObject; | ||
total?: number; | ||
total?: number | undefined; | ||
} | ||
@@ -1258,3 +1258,3 @@ | ||
*/ | ||
is_local?: boolean; | ||
is_local?: boolean | undefined; | ||
} | ||
@@ -1275,3 +1275,3 @@ | ||
*/ | ||
available_markets?: string[]; | ||
available_markets?: string[] | undefined; | ||
/** | ||
@@ -1305,3 +1305,3 @@ * The disc number (usually `1` unless the album consists of more than one disc). | ||
*/ | ||
is_playable?: boolean; | ||
is_playable?: boolean | undefined; | ||
/** | ||
@@ -1312,3 +1312,3 @@ * Part of the response when [Track Relinking](https://developer.spotify.com/documentation/general/guides/track-relinking-guide/) is applied, | ||
*/ | ||
linked_from?: TrackLinkObject; | ||
linked_from?: TrackLinkObject | undefined; | ||
/** | ||
@@ -1320,3 +1320,3 @@ * Part of the response when [Track Relinking](https://developer.spotify.com/documentation/general/guides/track-relinking-guide/) is applied, | ||
*/ | ||
restrictions?: RestrictionsObject; | ||
restrictions?: RestrictionsObject | undefined; | ||
/** | ||
@@ -1423,3 +1423,3 @@ * The name of the track. | ||
*/ | ||
languages?: string[]; | ||
languages?: string[] | undefined; | ||
/** | ||
@@ -1440,3 +1440,3 @@ * The name of the episode. | ||
*/ | ||
resume_point?: ResumePointObject; | ||
resume_point?: ResumePointObject | undefined; | ||
type: "episode"; | ||
@@ -1530,3 +1530,3 @@ } | ||
*/ | ||
total_episodes?: number; | ||
total_episodes?: number | undefined; | ||
} | ||
@@ -1550,8 +1550,8 @@ | ||
interface UserObjectPublic { | ||
display_name?: string; | ||
display_name?: string | undefined; | ||
external_urls: ExternalUrlObject; | ||
followers?: FollowersObject; | ||
followers?: FollowersObject | undefined; | ||
href: string; | ||
id: string; | ||
images?: ImageObject[]; | ||
images?: ImageObject[] | undefined; | ||
type: "user"; | ||
@@ -1624,13 +1624,13 @@ uri: string; | ||
interface DisallowsObject { | ||
interrupting_playback?: boolean; | ||
pausing?: boolean; | ||
resuming?: boolean; | ||
seeking?: boolean; | ||
skipping_next?: boolean; | ||
skipping_prev?: boolean; | ||
toggling_repeat_context?: boolean; | ||
toggling_repeat_track?: boolean; | ||
toggling_shuffle?: boolean; | ||
transferring_playback?: boolean; | ||
interrupting_playback?: boolean | undefined; | ||
pausing?: boolean | undefined; | ||
resuming?: boolean | undefined; | ||
seeking?: boolean | undefined; | ||
skipping_next?: boolean | undefined; | ||
skipping_prev?: boolean | undefined; | ||
toggling_repeat_context?: boolean | undefined; | ||
toggling_repeat_track?: boolean | undefined; | ||
toggling_shuffle?: boolean | undefined; | ||
transferring_playback?: boolean | undefined; | ||
} | ||
} |
{ | ||
"name": "@types/spotify-api", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"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": "7118e54b3b8af45d955dcf6e5acfbbaf53b76cc30b34f1be7096e5fcb87a8574", | ||
"typesPublisherContentHash": "ab6bb973ca58cc835275b53ba5c8048c0199c48549c3a64b72060ba939c673c4", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 18 Jun 2021 14:01:14 GMT | ||
* Last updated: Tue, 06 Jul 2021 16:35:12 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
58154