fix: memories mobile sync for older clients (#32167)

fix: memories mobile sync for older clients (#32150)


(cherry picked from commit 8d377bfef5a0c9d840bf2c19d155f9779387baeb)

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
Co-authored-by: Santo Shakil <shakil.mezbah@gmail.com>
This commit is contained in:
immich-push-o-matic[bot]
2026-10-06 14:10:38 +00:00
committed by GitHub
co-authored by Daniel Dietzler Santo Shakil
parent 1aede8d8c3
commit ed3073624b
13 changed files with 281 additions and 14 deletions
+34
View File
@@ -3718,6 +3718,33 @@ export type SyncMemoryDeleteV1 = {
memoryId: string;
};
export type SyncMemoryV1 = {
/** Created at */
createdAt: string;
/** Data */
data: {
[key: string]: any;
};
/** Deleted at */
deletedAt: string | null;
/** Hide at */
hideAt: string | null;
/** Memory ID */
id: string;
/** Is saved */
isSaved: boolean;
/** Memory at */
memoryAt: string;
/** Owner ID */
ownerId: string;
/** Seen at */
seenAt: string | null;
/** Show at */
showAt: string | null;
"type": MemoryTypeV1;
/** Updated at */
updatedAt: string;
};
export type SyncMemoryV2 = {
/** Created at */
createdAt: string;
/** Data */
@@ -8532,8 +8559,10 @@ export enum SyncEntityType {
AlbumToAssetDeleteV1 = "AlbumToAssetDeleteV1",
AlbumToAssetBackfillV1 = "AlbumToAssetBackfillV1",
MemoryV1 = "MemoryV1",
MemoryV2 = "MemoryV2",
MemoryDeleteV1 = "MemoryDeleteV1",
MemoryToAssetV1 = "MemoryToAssetV1",
MemoryToAssetV2 = "MemoryToAssetV2",
MemoryToAssetDeleteV1 = "MemoryToAssetDeleteV1",
StackV1 = "StackV1",
StackDeleteV1 = "StackDeleteV1",
@@ -8566,7 +8595,9 @@ export enum SyncRequestType {
AuthUsersV1 = "AuthUsersV1",
AuthUsersV2 = "AuthUsersV2",
MemoriesV1 = "MemoriesV1",
MemoriesV2 = "MemoriesV2",
MemoryToAssetsV1 = "MemoryToAssetsV1",
MemoryToAssetsV2 = "MemoryToAssetsV2",
PartnersV1 = "PartnersV1",
PartnerAssetsV1 = "PartnerAssetsV1",
PartnerAssetsV2 = "PartnerAssetsV2",
@@ -8589,6 +8620,9 @@ export enum WorkflowResult {
Halted = "halted",
Error = "error"
}
export enum MemoryTypeV1 {
OnThisDay = "on_this_day"
}
export enum ReleaseType {
Major = "major",
Premajor = "premajor",