# ----------------------------------------------- # !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!! # !!! DO NOT MODIFY THIS FILE BY YOURSELF !!! # ----------------------------------------------- type CategoryFeaturedVideos { categoryFeaturedVideos: [FeaturedVideo!]! categoryId: ID! } type ChannelFollowsInfo { follows: Int! id: ID! } type EntityViewsInfo { id: ID! views: Int! } type FeaturedVideo { videoCutUrl: String videoId: ID! } input FeaturedVideoInput { videoCutUrl: String videoId: ID! } type Mutation { """Add a single view to the target video's count""" addVideoView(categoryId: ID, channelId: ID!, videoId: ID!): EntityViewsInfo! """Add a single follow to the target channel""" followChannel(channelId: ID!): ChannelFollowsInfo! setCategoryFeaturedVideos(categoryId: ID!, videos: [FeaturedVideoInput!]!): [FeaturedVideo!]! setVideoHero(newVideoHero: VideoHeroInput!): VideoHero! """Remove a single follow from the target channel""" unfollowChannel(channelId: ID!): ChannelFollowsInfo! } type Query { """Get featured videos for all categories""" allCategoriesFeaturedVideos(videosLimit: Int!): [CategoryFeaturedVideos!]! """Get featured videos for a given video category""" categoryFeaturedVideos(categoryId: ID!): [FeaturedVideo!]! """Get list of most viewed categories in a given time period""" mostViewedCategories( limit: Int """timePeriodDays must take one of the following values: 7, 30""" timePeriodDays: Int! ): [EntityViewsInfo!] """Get list of most viewed categories of all time""" mostViewedCategoriesAllTime(limit: Int!): [EntityViewsInfo!] """Get current video hero""" videoHero: VideoHero! } type VideoHero { heroPosterUrl: String! heroTitle: String! heroVideoCutUrl: String! videoId: ID! } input VideoHeroInput { heroPosterUrl: String! heroTitle: String! heroVideoCutUrl: String! videoId: ID! }