Skip to content

Commit

Permalink
fix: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
HerringtonDarkholme committed May 3, 2024
1 parent cbc088a commit e9da593
Showing 1 changed file with 1 addition and 44 deletions.
45 changes: 1 addition & 44 deletions website/public/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"null"
],
"additionalProperties": {
"$ref": "#/definitions/SerializableMetaVarMatcher"
"$ref": "#/definitions/SerializableRule"
}
},
"files": {
Expand Down Expand Up @@ -311,49 +311,6 @@
}
]
},
"SerializableMetaVarMatcher": {
"oneOf": [
{
"description": "A regex to filter metavar based on its textual content.",
"type": "object",
"required": [
"regex"
],
"properties": {
"regex": {
"type": "string"
}
},
"additionalProperties": false
},
{
"description": "A pattern to filter matched metavar based on its AST tree shape.",
"type": "object",
"required": [
"pattern"
],
"properties": {
"pattern": {
"type": "string"
}
},
"additionalProperties": false
},
{
"description": "A kind_id to filter matched metavar based on its ts-node kind",
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string"
}
},
"additionalProperties": false
}
]
},
"SerializableRule": {
"type": "object",
"properties": {
Expand Down

0 comments on commit e9da593

Please sign in to comment.