query GetVideoHero {
  videoHero {
    # CHANGE: `videoId` no longer exists, use `video.id` instead
    heroTitle
    heroVideoCutUrl
    heroPosterUrl
    video {
      ...BasicVideoFields
    }
  }
}

query GetAllCategoriesFeaturedVideos {
  # CHANGE: Using `videoCategories` instead of custom `allCategoriesFeaturedVideos` query
  videoCategories {
    id
    name
    # CHANGE: Can now apply limit to children
    # (can also add some `orderBy` here if required)
    featuredVideos(limit: 3) {
      # CHANGE: `videoId` no longer exists, use `video.id` instead
      ...BasicVideoFeaturedInCategory
    }
  }
}

# CHANGE: ID is now `String`
query GetCategoryFeaturedVideos($categoryId: String!) {
  # CHANGE: Using `videoCategoryById` instead of custom `categoryFeaturedVideos` query
  videoCategoryById(id: $categoryId) {
    featuredVideos {
      # CHANGE: `videoId` no longer exists, use `video.id` instead
      ...BasicVideoFeaturedInCategory
    }
  }
}
