MCPcopy
hub / github.com/Alishahryar1/free-claude-code / showValidationResult

Function showValidationResult

api/admin_static/admin.js:374–380  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

372}
373
374function showValidationResult(result) {
375 if (result.valid) {
376 showMessage("Config shape is valid", "ok");
377 } else {
378 showMessage(result.errors.join("; "), "error");
379 }
380}
381
382async function apply() {
383 const result = await api("/admin/api/config/apply", {

Callers 2

validateFunction · 0.85
applyFunction · 0.85

Calls 1

showMessageFunction · 0.85

Tested by

no test coverage detected