mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat(server): Merge Faces sorted by Similarity (#14635)
* Merge Faces sorted by Similarity * Adds face sorting to the side panel face merger * run make open-api * Make it one query * Only have the single order by when sorting by closest face
This commit is contained in:
parent
8945a5d862
commit
12e55f5bf0
11 changed files with 136 additions and 44 deletions
|
|
@ -2362,7 +2362,9 @@ export function updatePartner({ id, updatePartnerDto }: {
|
|||
body: updatePartnerDto
|
||||
})));
|
||||
}
|
||||
export function getAllPeople({ page, size, withHidden }: {
|
||||
export function getAllPeople({ closestAssetId, closestPersonId, page, size, withHidden }: {
|
||||
closestAssetId?: string;
|
||||
closestPersonId?: string;
|
||||
page?: number;
|
||||
size?: number;
|
||||
withHidden?: boolean;
|
||||
|
|
@ -2371,6 +2373,8 @@ export function getAllPeople({ page, size, withHidden }: {
|
|||
status: 200;
|
||||
data: PeopleResponseDto;
|
||||
}>(`/people${QS.query(QS.explode({
|
||||
closestAssetId,
|
||||
closestPersonId,
|
||||
page,
|
||||
size,
|
||||
withHidden
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue