From 3f8af24db4d073d2e9bc7f1c5612d664f9e22317 Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Fri, 26 Oct 2018 00:18:14 +0100 Subject: [PATCH] Add missing values to the schema --- config/config.schema.yaml | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/config/config.schema.yaml b/config/config.schema.yaml index 96cc1ab..24c409e 100644 --- a/config/config.schema.yaml +++ b/config/config.schema.yaml @@ -22,6 +22,10 @@ properties: type: "boolean" enableSelfServiceBridging: type: "boolean" + disableEveryoneMention: + type: "boolean" + disableHereMention: + type: "boolean" auth: type: "object" required: ["botToken"] @@ -34,7 +38,6 @@ properties: type: "string" logging: type: "object" - required: [] properties: console: type: "string" @@ -68,7 +71,6 @@ properties: type: "string" database: type: "object" - required: [] properties: connString: type: "string" @@ -80,7 +82,34 @@ properties: type: "string" room: type: "object" - required: ["defaultVisibility"] properties: defaultVisibility: type: "string" + enum: ["public", "private"] + limits: + type: "object" + properties: + roomGhostJoinDelay: + type: "number" + channel: + type: "object" + properties: + namePattern: + type: "string" + deleteOptions: + type: "object" + properties: + namePrefix: + type: "string" + topicPrefix: + type: "string" + disableMessaging: + type: "boolean" + unsetRoomAlias: + type: "boolean" + unlistFromDirectory: + type: "boolean" + setInviteOnly: + type: "boolean" + ghostsLeave: + type: "boolean" -- GitLab