mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
feat: auto-sync name changes to connected users (#31923)
* feat: auto-sync name changes to connected users * fix: rename to faceId * fix: pr feedback * fix: mobile build
This commit is contained in:
@@ -688,6 +688,7 @@ export type PeopleResponse = {
|
||||
minimumFaces?: number;
|
||||
/** Whether people appear in web sidebar */
|
||||
sidebarWeb: boolean;
|
||||
updateStrategy: PersonUpdateStrategy;
|
||||
};
|
||||
export type PurchaseResponse = {
|
||||
/** Date until which to hide buy button */
|
||||
@@ -774,6 +775,7 @@ export type PeopleUpdate = {
|
||||
minimumFaces?: number;
|
||||
/** Whether people appear in web sidebar */
|
||||
sidebarWeb?: boolean;
|
||||
updateStrategy?: PersonUpdateStrategy;
|
||||
};
|
||||
export type PurchaseUpdate = {
|
||||
/** Date until which to hide buy button */
|
||||
@@ -2033,7 +2035,7 @@ export type PeopleUpdateItem = {
|
||||
isHidden?: boolean;
|
||||
/** Person name */
|
||||
name?: string;
|
||||
/** User ID */
|
||||
/** Restrict the update to the person record of this User ID */
|
||||
userId?: string;
|
||||
};
|
||||
export type PeopleUpdateDto = {
|
||||
@@ -2090,7 +2092,7 @@ export type PersonUpdateDto = {
|
||||
isHidden?: boolean;
|
||||
/** Person name */
|
||||
name?: string;
|
||||
/** User ID */
|
||||
/** Restrict the update to the person record of this User ID */
|
||||
userId?: string;
|
||||
};
|
||||
export type AssetFaceUpdateItem = {
|
||||
@@ -8061,6 +8063,10 @@ export enum AssetOrder {
|
||||
Asc = "asc",
|
||||
Desc = "desc"
|
||||
}
|
||||
export enum PersonUpdateStrategy {
|
||||
Self = "self",
|
||||
Everyone = "everyone"
|
||||
}
|
||||
export enum AssetVisibility {
|
||||
Archive = "archive",
|
||||
Timeline = "timeline",
|
||||
|
||||
Reference in New Issue
Block a user