feat: admin storage - save + list

This commit is contained in:
NGPixel
2018-06-25 22:04:47 -04:00
parent 2500d8b054
commit bb102c3356
11 changed files with 311 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
mutation($strategies: [AuthenticationStrategyInput]) {
authentication {
updateStrategies(strategies: $strategies) {
mutation($targets: [StorageTargetInput]) {
storage {
updateTargets(targets: $targets) {
responseResult {
succeeded
errorCode

View File

@@ -0,0 +1,12 @@
mutation($strategies: [AuthenticationStrategyInput]) {
authentication {
updateStrategies(strategies: $strategies) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}

View File

@@ -0,0 +1,14 @@
query {
storage {
targets(orderBy: "title ASC") {
isEnabled
key
title
mode
config {
key
value
}
}
}
}