Skip to content

Commit

Permalink
chore: update config schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-designer committed Aug 26, 2023
1 parent e9a3387 commit a569e29
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions config/schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@
"member_leave": {
"type": "boolean",
"default": true
},
"message_bulk_delete": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -1036,6 +1040,70 @@
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"disabled_channels": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
},
"immune_roles": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
},
"immune_users": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
},
"actions": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
},
"verbal_warning_reason": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
},
"warning_reason": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
},
"mute_reason": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
},
"common_reason": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
},
"mute_duration": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
},
"type": {
"type": "string",
"const": "regex_must_match"
},
"patterns": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string"
},
{
"type": "string"
}
]
}
]
},
"default": []
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
},
Expand Down

0 comments on commit a569e29

Please sign in to comment.