mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 23:09:25 +08:00
Adding the email to the schema
This commit is contained in:
@@ -834,6 +834,9 @@ type Settings {
|
||||
# organizationName is the name of the organization.
|
||||
organizationName: String
|
||||
|
||||
# organizationContactEmail is the email of the organization.
|
||||
organizationContactEmail: String
|
||||
|
||||
# wordlist will return a given list of words.
|
||||
wordlist: Wordlist
|
||||
|
||||
@@ -1290,6 +1293,9 @@ input UpdateSettingsInput {
|
||||
# organizationName is the name of the organization.
|
||||
organizationName: String
|
||||
|
||||
# organizationContactEmail is the email of the organization.
|
||||
organizationContactEmail: String
|
||||
|
||||
# editCommentWindowLength is the length of time (in milliseconds) after a
|
||||
# comment is posted that it can still be edited by the author.
|
||||
editCommentWindowLength: Int
|
||||
|
||||
@@ -49,6 +49,9 @@ const SettingSchema = new Schema(
|
||||
organizationName: {
|
||||
type: String,
|
||||
},
|
||||
organizationContactEmail: {
|
||||
type: String,
|
||||
},
|
||||
autoCloseStream: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
||||
@@ -27,5 +27,6 @@ module.exports = {
|
||||
body: 'This is a test comment',
|
||||
},
|
||||
organizationName: 'Coral',
|
||||
organizationContactEmail: 'coral@coraltest.coral',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user