- useUsers(defaultFilters?: {
id?: string;
limit?: number;
offset?: number;
roleIds?: string[];
}): {
filters: {
id: string;
limit: number;
offset: number;
roleIds: string[];
};
isLoadFailed: Ref<boolean>;
isLoaded: Ref<boolean>;
loadUser: (() => Promise<void>);
loadUsers: (() => Promise<void>);
users: Ref<{
__typename?: "User";
id: any;
roles: ({ __typename?: "Role" | undefined; id: string; description: string; })[];
}[]>;
}
-
Parameters
-
Optional
defaultFilters: {
id?: string;
limit?: number;
offset?: number;
roleIds?: string[];
}
-
Optional
id?: string
-
Optional
limit?: number
-
Optional
offset?: number
-
Optional
roleIds?: string[]
Returns {
filters: {
id: string;
limit: number;
offset: number;
roleIds: string[];
};
isLoadFailed: Ref<boolean>;
isLoaded: Ref<boolean>;
loadUser: (() => Promise<void>);
loadUsers: (() => Promise<void>);
users: Ref<{
__typename?: "User";
id: any;
roles: ({ __typename?: "Role" | undefined; id: string; description: string; })[];
}[]>;
}
-
filters: {
id: string;
limit: number;
offset: number;
roleIds: string[];
}
-
id: string
-
limit: number
-
offset: number
-
roleIds: string[]
-
isLoadFailed: Ref<boolean>
-
isLoaded: Ref<boolean>
-
loadUser: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
loadUsers: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
users: Ref<{
__typename?: "User";
id: any;
roles: ({ __typename?: "Role" | undefined; id: string; description: string; })[];
}[]>