mirror of
https://github.com/immich-app/immich.git
synced 2026-05-22 23:12:32 -04:00
fix: missing deletedAt and isVisible columns on mobile (#26414)
* feat: SyncAssetV2 * feat: mobile sync handling * feat: request correct sync object based on server version * fix: mobile queries * chore: sync sql * fix: test * chore: switch to mapper * fix: sql sync
This commit is contained in:
@@ -3037,6 +3037,26 @@ export type SyncAssetFaceV1 = {
|
||||
/** Source type */
|
||||
sourceType: string;
|
||||
};
|
||||
export type SyncAssetFaceV2 = {
|
||||
/** Asset ID */
|
||||
assetId: string;
|
||||
boundingBoxX1: number;
|
||||
boundingBoxX2: number;
|
||||
boundingBoxY1: number;
|
||||
boundingBoxY2: number;
|
||||
/** Face deleted at */
|
||||
deletedAt: string | null;
|
||||
/** Asset face ID */
|
||||
id: string;
|
||||
imageHeight: number;
|
||||
imageWidth: number;
|
||||
/** Is the face visible in the asset */
|
||||
isVisible: boolean;
|
||||
/** Person ID */
|
||||
personId: string | null;
|
||||
/** Source type */
|
||||
sourceType: string;
|
||||
};
|
||||
export type SyncAssetMetadataDeleteV1 = {
|
||||
/** Asset ID */
|
||||
assetId: string;
|
||||
@@ -7243,6 +7263,7 @@ export enum SyncEntityType {
|
||||
PersonV1 = "PersonV1",
|
||||
PersonDeleteV1 = "PersonDeleteV1",
|
||||
AssetFaceV1 = "AssetFaceV1",
|
||||
AssetFaceV2 = "AssetFaceV2",
|
||||
AssetFaceDeleteV1 = "AssetFaceDeleteV1",
|
||||
UserMetadataV1 = "UserMetadataV1",
|
||||
UserMetadataDeleteV1 = "UserMetadataDeleteV1",
|
||||
@@ -7270,6 +7291,7 @@ export enum SyncRequestType {
|
||||
UsersV1 = "UsersV1",
|
||||
PeopleV1 = "PeopleV1",
|
||||
AssetFacesV1 = "AssetFacesV1",
|
||||
AssetFacesV2 = "AssetFacesV2",
|
||||
UserMetadataV1 = "UserMetadataV1"
|
||||
}
|
||||
export enum TranscodeHWAccel {
|
||||
|
||||
Reference in New Issue
Block a user