You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# ===============================================
|
|
|
|
# NAVIGATION
|
|
|
|
# ===============================================
|
|
|
|
|
|
|
|
extend type Query {
|
|
|
|
navigationById(
|
|
|
|
id: UUID!
|
|
|
|
): [NavigationItem]
|
|
|
|
}
|
|
|
|
|
|
|
|
# -----------------------------------------------
|
|
|
|
# MUTATIONS
|
|
|
|
# -----------------------------------------------
|
|
|
|
|
|
|
|
extend type Mutation {
|
|
|
|
updateNavigation(
|
|
|
|
id: UUID!
|
|
|
|
name: String!
|
|
|
|
items: [JSON]!
|
|
|
|
): DefaultResponse
|
|
|
|
}
|
|
|
|
|
|
|
|
# -----------------------------------------------
|
|
|
|
# TYPES
|
|
|
|
# -----------------------------------------------
|
|
|
|
|
|
|
|
type NavigationItem {
|
|
|
|
id: UUID
|
|
|
|
type: String
|
|
|
|
label: String
|
|
|
|
icon: String
|
|
|
|
target: String
|
|
|
|
openInNewWindow: Boolean
|
|
|
|
children: [NavigationItem]
|
|
|
|
}
|