-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.d.ts
33 lines (32 loc) · 1.58 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// GAPI typings are messed up for some reason
// '@types/gapi.youtube' doesn't work at all, and '@types/gapi.client.youtube' needs everything it declares
// moved to the right place
declare namespace gapi.client.youtube {
const activities: youtube.ActivitiesResource;
const captions: youtube.CaptionsResource;
const channelBanners: youtube.ChannelBannersResource;
const channelSections: youtube.ChannelSectionsResource;
const channels: youtube.ChannelsResource;
const commentThreads: youtube.CommentThreadsResource;
const comments: youtube.CommentsResource;
const fanFundingEvents: youtube.FanFundingEventsResource;
const guideCategories: youtube.GuideCategoriesResource;
const i18nLanguages: youtube.I18nLanguagesResource;
const i18nRegions: youtube.I18nRegionsResource;
const liveBroadcasts: youtube.LiveBroadcastsResource;
const liveChatBans: youtube.LiveChatBansResource;
const liveChatMessages: youtube.LiveChatMessagesResource;
const liveChatModerators: youtube.LiveChatModeratorsResource;
const liveStreams: youtube.LiveStreamsResource;
const playlistItems: youtube.PlaylistItemsResource;
const playlists: youtube.PlaylistsResource;
const search: youtube.SearchResource;
const sponsors: youtube.SponsorsResource;
const subscriptions: youtube.SubscriptionsResource;
const superChatEvents: youtube.SuperChatEventsResource;
const thumbnails: youtube.ThumbnailsResource;
const videoAbuseReportReasons: youtube.VideoAbuseReportReasonsResource;
const videoCategories: youtube.VideoCategoriesResource;
const videos: youtube.VideosResource;
const watermarks: youtube.WatermarksResource;
}