The goal is to get a list of entry types for a section, so that a user can filter entires by entry type e.g.
query Entries {
entries(section: "content", type: ["news", "article", "video"]) {
id
title
.............
}
}
I know this can be done template side using getEntryTypes() as per this question - How to list out entry types in a section
However I'm not sure how to do this with GraphQL, is it possible?