feat: list pages by tags + fix search permissions

This commit is contained in:
Nick
2019-09-08 21:31:22 -04:00
parent 5202eadebb
commit b6fd070b0b
6 changed files with 183 additions and 36 deletions

View File

@@ -0,0 +1,14 @@
query ($limit: Int, $orderBy: PageOrderBy, $orderByDirection: PageOrderByDirection, $tags: [String!], $locale: String) {
pages {
list(limit: $limit, orderBy: $orderBy, orderByDirection: $orderByDirection, tags: $tags, locale: $locale) {
id
locale
path
title
description
createdAt
updatedAt
tags
}
}
}