feat: browse nav + pageTree ancestors
This commit is contained in:
@@ -16,6 +16,7 @@ extend type Mutation {
|
||||
|
||||
type NavigationQuery {
|
||||
tree: [NavigationTree]!
|
||||
config: NavigationConfig!
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
@@ -26,6 +27,9 @@ type NavigationMutation {
|
||||
updateTree(
|
||||
tree: [NavigationTreeInput]!
|
||||
): DefaultResponse @auth(requires: ["manage:navigation", "manage:system"])
|
||||
updateConfig(
|
||||
mode: NavigationMode!
|
||||
): DefaultResponse @auth(requires: ["manage:navigation", "manage:system"])
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
@@ -59,3 +63,13 @@ input NavigationItemInput {
|
||||
targetType: String
|
||||
target: String
|
||||
}
|
||||
|
||||
type NavigationConfig {
|
||||
mode: NavigationMode!
|
||||
}
|
||||
|
||||
enum NavigationMode {
|
||||
NONE
|
||||
TREE
|
||||
MIXED
|
||||
}
|
||||
|
Reference in New Issue
Block a user