wikijs-fork/client/graph/admin/site/site-mutation-save-config.gql
2018-12-24 17:38:34 -05:00

37 lines
761 B
GraphQL

mutation (
$host: String!
$title: String!
$description: String!
$robots: [String]!
$ga: String!
$company: String!
$hasLogo: Boolean!
$logoIsSquare: Boolean!
$featurePageRatings: Boolean!
$featurePageComments: Boolean!
$featurePersonalWikis: Boolean!
) {
site {
updateConfig(
host: $host,
title: $title,
description: $description,
robots: $robots,
ga: $ga,
company: $company,
hasLogo: $hasLogo,
logoIsSquare: $logoIsSquare,
featurePageRatings: $featurePageRatings,
featurePageComments: $featurePageComments,
featurePersonalWikis: $featurePersonalWikis
) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}