feat: add singleByPath GraphQL resolver (#6011)

Co-authored-by: k k <kleangseu@yahoo.com>
This commit is contained in:
Leangseu Kim
2023-01-29 21:43:55 -05:00
committed by GitHub
parent 1da80eaab8
commit 0d914b061e
2 changed files with 29 additions and 0 deletions

View File

@@ -46,6 +46,11 @@ type PageQuery {
id: Int!
): Page @auth(requires: ["read:pages", "manage:system"])
singleByPath(
path: String!
locale: String!
): Page @auth(requires: ["read:pages", "manage:system"])
tags: [PageTag]! @auth(requires: ["manage:system", "read:pages"])
searchTags(