# lint-disable enum-values-all-caps
enum QueryType {
    exact
}

type Channel @key(fields: "channelId") @key(fields: "id") {
    channelId: String!
    channelOwner: String
    commentCount: Long
    description: String
    globalParticipantV2: GlobalParticipant
    id: ID!
    isPartOfCatalog: Boolean!
    name: String
    publishedAt: _Neo4jDateTime
    subscriberCount: Long
    thumbnailUrl: String
    vendor: Vendor
    vendorV2: Vendor
    videoCount: Long
    videos(
        """
        DO NOT USE
        """
        filter: _VideoFilter
    ): [Video!]!
    viewCount: Long
}

type ChannelSearchResult {
    items: [Channel!]!
    totalCount: Int!
}
