mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-21 19:25:56 +00:00
Add CoA / Wildcard realm profiles for v0.5.0 (#10)
* Add isolated Wildcard realm profiles and release v0.5.0 * Document realm validation and align npm lock version
This commit is contained in:
1 parent
831685dbd7
commit
1bcef5f8c2
35 files changed
+872
-37
No files matched your search
@@ -436,6 +436,7 @@ fn quiet_debug_loggers(root: &Path) -> Result<Vec<String>> {
|
||||
|
||||
/// Apply validated `changes`. Nothing is written unless every change is valid; previous contents are snapshotted first.
|
||||
pub fn save(root: &Path, meta_dir: &Path, scope: Scope, changes: &BTreeMap<String, Value>) -> Result<SaveReport> {
|
||||
if scope == Scope::Bots { crate::realms::guard_module(root, "companions")?; }
|
||||
let raws = validate(root, scope, changes)?;
|
||||
let schema = scope.schema();
|
||||
let t = targets(root, scope)?;
|
||||
|
||||
Reference in new issue
Block a user