mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
Update json schema + changelog
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Change Log
|
||||
|
||||
## [8.2.0] - 2022-xx-xx
|
||||
## [8.2.0] - 2022-xx-xx - [Release notes](https://beta.frontmatter.codes/updates/v8.2.0)
|
||||
|
||||
### ✨ New features
|
||||
|
||||
|
||||
44
package.json
44
package.json
@@ -1064,6 +1064,50 @@
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Specify if the field is required"
|
||||
},
|
||||
"when": {
|
||||
"type": "object",
|
||||
"description": "Specify the conditions to show the field",
|
||||
"properties": {
|
||||
"fieldRef": {
|
||||
"type": "string",
|
||||
"description": "The field ID to use"
|
||||
},
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"description": "The operator to use",
|
||||
"enum": [
|
||||
"eq",
|
||||
"neq",
|
||||
"contains",
|
||||
"notContains",
|
||||
"startsWith",
|
||||
"endsWith",
|
||||
"gt",
|
||||
"gte",
|
||||
"lt",
|
||||
"lte",
|
||||
"minimum",
|
||||
"maximum",
|
||||
"exlusiveMinimum",
|
||||
"exclusiveMaximum"
|
||||
]
|
||||
},
|
||||
"value": {
|
||||
"type": [
|
||||
"string",
|
||||
"number",
|
||||
"boolean",
|
||||
"array"
|
||||
],
|
||||
"description": "The value to compare"
|
||||
},
|
||||
"caseSensitive": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Specify if the comparison is case sensitive. Default: true"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
||||
Reference in New Issue
Block a user