I have two custom types: menu and page. I m trying to create a single query where i get all the menu items and one page item (by its uid). I wrote something like this but I get an empty array:
const query = await api.query([ Prismic.Predicates.at('my.page.uid', 'about-us'), Prismic.Predicates.at('document.type', 'menu'), ]);
If I run only one of those Predicates then i get the correct content, but I don't seem to manage to have them both in one query only.
What am I doing wrong?