From 3ef89246baf71a78faca020b156d4d50f75bb5be Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Mon, 2 Jun 2025 23:43:13 +0000 Subject: [PATCH] chore: update config-schema.json for config-checker --- config-checker/public/config-schema.json | 36 ++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/config-checker/public/config-schema.json b/config-checker/public/config-schema.json index 4214b9f3..65769ff5 100644 --- a/config-checker/public/config-schema.json +++ b/config-checker/public/config-schema.json @@ -321,7 +321,7 @@ "type": "boolean" }, "loose_matching_threshold": { - "default": 4, + "default": 1, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -446,6 +446,22 @@ "maxLength": 32 } }, + "include_custom_invite_codes": { + "maxItems": 255, + "type": "array", + "items": { + "type": "string", + "maxLength": 32 + } + }, + "exclude_custom_invite_codes": { + "maxItems": 255, + "type": "array", + "items": { + "type": "string", + "maxLength": 32 + } + }, "allow_group_dm_invites": { "default": false, "type": "boolean" @@ -3060,7 +3076,7 @@ "type": "boolean" }, "loose_matching_threshold": { - "default": 4, + "default": 1, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -3181,6 +3197,22 @@ "maxLength": 32 } }, + "include_custom_invite_codes": { + "maxItems": 255, + "type": "array", + "items": { + "type": "string", + "maxLength": 32 + } + }, + "exclude_custom_invite_codes": { + "maxItems": 255, + "type": "array", + "items": { + "type": "string", + "maxLength": 32 + } + }, "allow_group_dm_invites": { "default": false, "type": "boolean"