feat: visualize pages (dendograms)

This commit is contained in:
NGPixel
2020-01-05 15:04:16 -05:00
parent 4698afdaeb
commit 6920a35d80
10 changed files with 709 additions and 15 deletions

View File

@@ -42,10 +42,16 @@ type PageQuery {
tags: [PageTag]! @auth(requires: ["manage:system", "read:pages"])
tree(
parent: Int!
path: String
parent: Int
mode: PageTreeMode!
locale: String!
includeParents: Boolean
): [PageTreeItem] @auth(requires: ["manage:system", "read:pages"])
links(
locale: String!
): [PageLinkItem] @auth(requires: ["manage:system", "read:pages"])
}
# -----------------------------------------------
@@ -209,6 +215,13 @@ type PageTreeItem {
locale: String!
}
type PageLinkItem {
id: Int!
path: String!
title: String!
links: [String]!
}
enum PageOrderBy {
CREATED
ID