This commit is contained in:
Fabian Neumann committed 2018-05-11 11:19:09 +02:00
1 parent eda9a0cadf
commit b73620bcb0
11 files changed
+157

No files matched your search

@@ -0,0 +1 @@
module.exports = {};
@@ -0,0 +1,10 @@
const { get } = require('lodash');
module.exports = {
Settings: {
globalSwitchoffEnable: settings =>
get(settings, 'globalSwitchoffEnable', false),
globalSwitchoffMessage: settings =>
get(settings, 'globalSwitchoffMessage', ''),
},
};
@@ -0,0 +1,10 @@
type Settings {
globalSwitchoffEnable: Boolean
globalSwitchoffMessage: String
}
input UpdateSettingsInput {
globalSwitchoffEnable: Boolean
globalSwitchoffMessage: String
}