Merge branch 'master' into optional_performer_image

This commit is contained in:
WithoutPants
2019-08-27 19:21:25 +10:00
committed by GitHub
16 changed files with 576 additions and 45 deletions

View File

@@ -4,8 +4,16 @@ fragment ConfigGeneralData on ConfigGeneralResult {
generatedPath
}
fragment ConfigInterfaceData on ConfigInterfaceResult {
css
cssEnabled
}
fragment ConfigData on ConfigResult {
general {
...ConfigGeneralData
}
interface {
...ConfigInterfaceData
}
}

View File

@@ -2,4 +2,10 @@ mutation ConfigureGeneral($input: ConfigGeneralInput!) {
configureGeneral(input: $input) {
...ConfigGeneralData
}
}
mutation ConfigureInterface($input: ConfigInterfaceInput!) {
configureInterface(input: $input) {
...ConfigInterfaceData
}
}

View File

@@ -91,6 +91,7 @@ type Mutation {
"""Change general configuration options"""
configureGeneral(input: ConfigGeneralInput!): ConfigGeneralResult!
configureInterface(input: ConfigInterfaceInput!): ConfigInterfaceResult!
}
type Subscription {

View File

@@ -16,7 +16,20 @@ type ConfigGeneralResult {
generatedPath: String!
}
input ConfigInterfaceInput {
"""Custom CSS"""
css: String
cssEnabled: Boolean
}
type ConfigInterfaceResult {
"""Custom CSS"""
css: String
cssEnabled: Boolean
}
"""All configuration settings"""
type ConfigResult {
general: ConfigGeneralResult!
interface: ConfigInterfaceResult!
}