mirror of
https://github.com/wassname/talk.git
synced 2026-08-06 13:41:02 +08:00
WIP
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user