mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-23 14:39:32 +08:00
feat(blockTools): add menus to block schema
This commit is contained in:
parent
95faa66b0b
commit
412f08a04d
@ -1,19 +1,13 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"required": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
]
|
||||
"type": ["boolean", "object"]
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
@ -33,6 +27,12 @@
|
||||
"actions": {
|
||||
"type": "object"
|
||||
},
|
||||
"menus": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"areas": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
@ -50,4 +50,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user