added new q param (#26739)
fixes: #26231 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
cdb1841828
commit
e2f42c5ac3
1 changed files with 9 additions and 1 deletions
|
@ -8,6 +8,7 @@ import type UserRepresentation from "../defs/userRepresentation.js";
|
|||
import Resource from "./resource.js";
|
||||
|
||||
interface Query {
|
||||
q?: string;
|
||||
search?: string;
|
||||
exact?: boolean;
|
||||
}
|
||||
|
@ -35,7 +36,14 @@ export interface GroupCountQuery {
|
|||
export class Groups extends Resource<{ realm?: string }> {
|
||||
public find = this.makeRequest<GroupQuery, GroupRepresentation[]>({
|
||||
method: "GET",
|
||||
queryParamKeys: ["search", "exact", "briefRepresentation", "first", "max"],
|
||||
queryParamKeys: [
|
||||
"search",
|
||||
"q",
|
||||
"exact",
|
||||
"briefRepresentation",
|
||||
"first",
|
||||
"max",
|
||||
],
|
||||
});
|
||||
|
||||
public create = this.makeRequest<GroupRepresentation, { id: string }>({
|
||||
|
|
Loading…
Reference in a new issue