docs: cpp,client,frontends (4 files)

This commit is contained in:
2025-12-26 06:10:51 +00:00
parent 62374a10f9
commit 5a39d253ee
4 changed files with 120 additions and 0 deletions

View File

@@ -50,6 +50,14 @@ Result<int> Client::batchDeleteUsers(const std::vector<std::string>& ids) {
return entities::user::batchDelete(getStore(), ids);
}
Result<std::vector<User>> Client::searchUsers(const std::string& query, int limit) {
return entities::user::search(getStore(), query, limit);
}
Result<int> Client::countUsers(const std::optional<UserRole>& role) {
return entities::user::count(getStore(), role);
}
Result<bool> Client::setCredential(const CreateCredentialInput& input) {
return entities::credential::set(getStore(), input);
}