mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-06 15:30:30 +08:00
fix(build): Add 'field' to block schema.
This commit is contained in:
parent
ca142ca160
commit
4aa76e8077
@ -7,10 +7,7 @@
|
||||
"connection": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -42,10 +39,7 @@
|
||||
"block": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -59,6 +53,12 @@
|
||||
"type": "Block \"type\" should be a string."
|
||||
}
|
||||
},
|
||||
"field": {
|
||||
"type": "string",
|
||||
"errorMessage": {
|
||||
"type": "Block \"field\" should be a string."
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"type": "object"
|
||||
},
|
||||
@ -163,11 +163,7 @@
|
||||
"request": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type",
|
||||
"connectionId"
|
||||
],
|
||||
"required": ["id", "type", "connectionId"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -206,10 +202,7 @@
|
||||
"menuLink": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -253,10 +246,7 @@
|
||||
"menuGroup": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -307,9 +297,7 @@
|
||||
"menu": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"required": ["id"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -343,10 +331,7 @@
|
||||
"action": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"required": ["id", "type"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@ -385,9 +370,7 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"lowdefy"
|
||||
],
|
||||
"required": ["lowdefy"],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
@ -473,4 +456,4 @@
|
||||
"lowdefy": "Lowdefy configuration should have required property \"lowdefy\"."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user