From 9b3a9f08d84bb7d98d26a9855a0a88fb95c9c82d Mon Sep 17 00:00:00 2001 From: Oren Farhi Date: Tue, 5 Dec 2017 12:10:05 +0200 Subject: [PATCH] updated thumbnails to GoogleApiYouTubeThumbnailResource --- types/gapi.youtube/index.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/types/gapi.youtube/index.d.ts b/types/gapi.youtube/index.d.ts index b09779cdb3..bf2aebaf3a 100644 --- a/types/gapi.youtube/index.d.ts +++ b/types/gapi.youtube/index.d.ts @@ -778,7 +778,7 @@ interface GoogleApiYouTubeActivityResource { /** * A map of thumbnail images associated with the resource that is primarily associated with the activity. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; /** * Channel title for the channel responsible for this activity */ @@ -1082,7 +1082,7 @@ interface GoogleApiYouTubeChannelResource { /** * A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; } /** * The contentDetails object encapsulates information about the channels content. @@ -1526,7 +1526,7 @@ interface GoogleApiYouTubePlaylistItemResource { /** * A map of thumbnail images associated with the playlist item. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; /** * The channel title of the channel that the playlist item belongs to. */ @@ -1713,7 +1713,7 @@ interface GoogleApiYouTubeSearchResource { /** * A map of thumbnail images associated with the search result. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; /** * The title of the channel that published the resource that the search result identifies. */ @@ -1774,7 +1774,7 @@ interface GoogleApiYouTubeSubscriptionResource { /** * A map of thumbnail images associated with the subscription. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; } /** * @@ -1796,7 +1796,7 @@ interface GoogleApiYouTubeSubscriptionResource { title: string; description: string; channelId: string; - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; } } @@ -1902,7 +1902,7 @@ interface GoogleApiYouTubeVideoResource { /** * A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; /** * Channel title for the channel that the video belongs to. */