mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
WIP
This commit is contained in:
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
|
||||
}
|
||||
Reference in new issue
Block a user