Skip to content

Commit

Permalink
pattern json data rstrict to single,set show_opt_in option
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 25, 2023
1 parent 5f130fc commit 961d059
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
11 changes: 3 additions & 8 deletions mcxcloud/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ <h3>Backend</h3>
"minimum": 0
},
"Pattern": {
"title": "Source Pattern Data",
"title": "Source Pattern",
"type": "object",
"required": [
"_ArrayType_",
Expand All @@ -879,14 +879,8 @@ <h3>Backend</h3>
"properties": {
"_ArrayType_": {
"type": "string",
"default": "uint8",
"default": "single",
"enum": [
"uint8",
"uint16",
"uint32",
"int8",
"int16",
"int32",
"single"
]
},
Expand Down Expand Up @@ -1932,6 +1926,7 @@ <h3>Backend</h3>
schema: defaultSchema,
show_errors: 'interaction',
theme: 'spectre',
show_opt_in: true,
no_additional_properties: true
}

Expand Down
8 changes: 1 addition & 7 deletions schema/mcxinput.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,8 @@
"properties": {
"_ArrayType_": {
"type": "string",
"default": "uint8",
"default": "single",
"enum": [
"uint8",
"uint16",
"uint32",
"int8",
"int16",
"int32",
"single"
]
},
Expand Down

0 comments on commit 961d059

Please sign in to comment.