feat: admin general + verify account
This commit is contained in:
38
client/graph/admin/site/site-mutation-save-config.gql
Normal file
38
client/graph/admin/site/site-mutation-save-config.gql
Normal file
@@ -0,0 +1,38 @@
|
||||
mutation (
|
||||
$host: String!
|
||||
$title: String!
|
||||
$description: String!
|
||||
$keywords: 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,
|
||||
keywords: $keywords,
|
||||
robots: $robots,
|
||||
ga: $ga,
|
||||
company: $company,
|
||||
hasLogo: $hasLogo,
|
||||
logoIsSquare: $logoIsSquare,
|
||||
featurePageRatings: $featurePageRatings,
|
||||
featurePageComments: $featurePageComments,
|
||||
featurePersonalWikis: $featurePersonalWikis
|
||||
) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
18
client/graph/admin/site/site-query-config.gql
Normal file
18
client/graph/admin/site/site-query-config.gql
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
site {
|
||||
config {
|
||||
host
|
||||
title
|
||||
description
|
||||
keywords
|
||||
robots
|
||||
ga
|
||||
company
|
||||
hasLogo
|
||||
logoIsSquare
|
||||
featurePageRatings
|
||||
featurePageComments
|
||||
featurePersonalWikis
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user