update schema to include variables

This commit is contained in:
2022-08-10 23:31:07 +02:00
parent 60398bbb2e
commit 91072cc4e6
3 changed files with 35 additions and 14 deletions

View File

@@ -16,10 +16,28 @@
}
]
},
"vars": {
"type": "object",
"title": "your collection of variables to be available to cuddle",
"patternProperties": {
"^.*$": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
}
},
"additionalProperties": false
},
"scripts": {
"type": "object",
"title": "Scripts the cuddle cli can execute",
"description": "Scripts the cuddle cli can execute 'cuddle x my-awesome-script'",
"additionalProperties": false,
"patternProperties": {
"^.*$": {
"required": [
@@ -34,7 +52,8 @@
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
}
}