query GetSubmittedEntries($filter: EntryFilterInput) {
    submittedEntries(where: $filter order: {createdAt: DESC}) {
        ...submittedEntry
        categories {
            ...category
        }
    }
}