mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
fix(schema): correct formatting and add patternProperties for disabled settings (#7402)
This commit is contained in:
@@ -1172,6 +1172,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"patternProperties": {
|
||||||
|
"^_.*": {
|
||||||
|
"type": "null",
|
||||||
|
"x-disabled": true,
|
||||||
|
"x-enabled-name": "Remove underscore prefix to enable",
|
||||||
|
"errorMessage": "⚠️ DISABLED SETTING - This setting is currently disabled. Remove the underscore (_) prefix to enable it."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"domaindefaults": {
|
"domaindefaults": {
|
||||||
@@ -3961,6 +3969,14 @@
|
|||||||
"bottom"
|
"bottom"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"patternProperties": {
|
||||||
|
"^_.*": {
|
||||||
|
"type": "null",
|
||||||
|
"x-disabled": true,
|
||||||
|
"x-enabled-name": "Remove underscore prefix to enable",
|
||||||
|
"errorMessage": "⚠️ DISABLED SETTING - This setting is currently disabled. Remove the underscore (_) prefix to enable it."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -4464,5 +4480,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"patternProperties": {
|
||||||
|
"^_.*": {
|
||||||
|
"type": "null",
|
||||||
|
"x-disabled": true,
|
||||||
|
"x-enabled-name": "Remove underscore prefix to enable",
|
||||||
|
"errorMessage": "⚠️ DISABLED SECTION - This section is currently disabled. Remove the underscore (_) prefix to enable it."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user