wikijs-fork/client/graph/common/common-pages-query-tree.gql

13 lines
217 B
GraphQL

query ($parent: Int!, $mode: PageTreeMode!, $locale: String!) {
pages {
tree(parent: $parent, mode: $mode, locale: $locale) {
id
path
title
isFolder
pageId
parent
}
}
}