mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-06 20:33:03 -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": {
|
||||
@@ -3961,6 +3969,14 @@
|
||||
"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