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 27, 2023
1 parent 7ee8ace commit 54a235e
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions config/schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -719,17 +719,25 @@
"type": "integer",
"default": -1
},
"data": {
"type": {
"type": "string",
"const": "domain"
},
"mode": {
"type": "string",
"enum": [
"allow",
"disallow"
],
"default": "disallow"
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"type": {
"type": "string",
"const": "blocked_domain"
},
"scan_links_only": {
"type": "boolean",
"default": false
Expand Down Expand Up @@ -771,7 +779,11 @@
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
},
"data": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/data"
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"type": {
"type": "string",
Expand Down Expand Up @@ -814,7 +826,7 @@
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
},
"data": {
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/data"
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/1/properties/data"
},
"type": {
"type": "string",
Expand Down

0 comments on commit 54a235e

Please sign in to comment.