GetFeaturedVideos.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* tslint:disable */
  2. /* eslint-disable */
  3. // @generated
  4. // This file was automatically generated and should not be edited.
  5. // ====================================================
  6. // GraphQL query operation: GetFeaturedVideos
  7. // ====================================================
  8. export interface GetFeaturedVideos_featured_videos_media_location_HTTPVideoMediaLocation {
  9. __typename: 'HTTPVideoMediaLocation'
  10. host: string
  11. port: number | null
  12. }
  13. export interface GetFeaturedVideos_featured_videos_media_location_JoystreamVideoMediaLocation {
  14. __typename: 'JoystreamVideoMediaLocation'
  15. dataObjectID: string
  16. }
  17. export type GetFeaturedVideos_featured_videos_media_location =
  18. | GetFeaturedVideos_featured_videos_media_location_HTTPVideoMediaLocation
  19. | GetFeaturedVideos_featured_videos_media_location_JoystreamVideoMediaLocation
  20. export interface GetFeaturedVideos_featured_videos_media {
  21. __typename: 'VideoMedia'
  22. pixelHeight: number
  23. pixelWidth: number
  24. location: GetFeaturedVideos_featured_videos_media_location
  25. }
  26. export interface GetFeaturedVideos_featured_videos_channel {
  27. __typename: 'Channel'
  28. id: string
  29. avatarPhotoURL: string
  30. handle: string
  31. }
  32. export interface GetFeaturedVideos_featured_videos {
  33. __typename: 'Video'
  34. id: string
  35. title: string
  36. description: string
  37. views: number
  38. duration: number
  39. thumbnailURL: string
  40. publishedOnJoystreamAt: GQLDate
  41. media: GetFeaturedVideos_featured_videos_media
  42. channel: GetFeaturedVideos_featured_videos_channel
  43. }
  44. export interface GetFeaturedVideos {
  45. featured_videos: GetFeaturedVideos_featured_videos[]
  46. }