video.ts

export const videoSchema = `
  type Video {
    videoId: String!
    title: String
    description: String
    thumbnails: Thumbnails
    comedianId: String
    weight: String
  }

  type Thumbnails {
    default: Thumbnail
    high: Thumbnail
    medium: Thumbnail
    standard: Thumbnail
    maxres: Thumbnail
  }

  type Thumbnail {
    height: Int
    width: Int
    url: String
  }
  
  type SelectedVideo {
    selected: Video!
    related: [Video]
  }

  type VideoDtls {
    meta: VideoDtls_Meta
    moderation: VideoDtls_Moderation
    profile: VideoDtls_Profile
    snippet: VideoDtls_Snippet
    time: VideoDtls_Time
  }
  type VideoDtls_Meta {
    kind: String
    source: String
    videoId: String
  }
  type VideoDtls_Moderation {
    moderatedAt: String
    moderatedAt_: Int
    status: String
    rating: Int
  }
  type VideoDtls_Profile {
    comedianId: String
  }
  type VideoDtls_Snippet {
    channelId: String
    channelTitle: String
    description: String
    liveBroadcastContent: String
    publishedAt: String
    title: String
  }
  type VideoDtls_Time {
    updatedAt: String
    updatedAt_: Int
  }
`;