devCompanion: add findComponentByCode (#2026)

main
AutumnVN 11 months ago committed by GitHub
parent 3453d0c97c
commit c0b6d8f1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -215,6 +215,9 @@ function initWs(isManual = false) {
case "ModuleId":
results = Object.keys(search(parsedArgs[0]));
break;
case "ComponentByCode":
results = findAll(filters.componentByCode(...parsedArgs));
break;
default:
return reply("Unknown Find Type " + type);
}

Loading…
Cancel
Save