mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
feat: sync memories (#19579)
This commit is contained in:
@@ -13794,11 +13794,11 @@
|
||||
"enum": [
|
||||
"UserV1",
|
||||
"UserDeleteV1",
|
||||
"PartnerV1",
|
||||
"PartnerDeleteV1",
|
||||
"AssetV1",
|
||||
"AssetDeleteV1",
|
||||
"AssetExifV1",
|
||||
"PartnerV1",
|
||||
"PartnerDeleteV1",
|
||||
"PartnerAssetV1",
|
||||
"PartnerAssetBackfillV1",
|
||||
"PartnerAssetDeleteV1",
|
||||
@@ -13816,10 +13816,125 @@
|
||||
"AlbumToAssetV1",
|
||||
"AlbumToAssetDeleteV1",
|
||||
"AlbumToAssetBackfillV1",
|
||||
"MemoryV1",
|
||||
"MemoryDeleteV1",
|
||||
"MemoryToAssetV1",
|
||||
"MemoryToAssetDeleteV1",
|
||||
"SyncAckV1"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SyncMemoryAssetDeleteV1": {
|
||||
"properties": {
|
||||
"assetId": {
|
||||
"type": "string"
|
||||
},
|
||||
"memoryId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"assetId",
|
||||
"memoryId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SyncMemoryAssetV1": {
|
||||
"properties": {
|
||||
"assetId": {
|
||||
"type": "string"
|
||||
},
|
||||
"memoryId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"assetId",
|
||||
"memoryId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SyncMemoryDeleteV1": {
|
||||
"properties": {
|
||||
"memoryId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"memoryId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SyncMemoryV1": {
|
||||
"properties": {
|
||||
"createdAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"data": {
|
||||
"type": "object"
|
||||
},
|
||||
"deletedAt": {
|
||||
"format": "date-time",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"hideAt": {
|
||||
"format": "date-time",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"isSaved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"memoryAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"ownerId": {
|
||||
"type": "string"
|
||||
},
|
||||
"seenAt": {
|
||||
"format": "date-time",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"showAt": {
|
||||
"format": "date-time",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MemoryType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"updatedAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"createdAt",
|
||||
"data",
|
||||
"deletedAt",
|
||||
"hideAt",
|
||||
"id",
|
||||
"isSaved",
|
||||
"memoryAt",
|
||||
"ownerId",
|
||||
"seenAt",
|
||||
"showAt",
|
||||
"type",
|
||||
"updatedAt"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SyncPartnerDeleteV1": {
|
||||
"properties": {
|
||||
"sharedById": {
|
||||
@@ -13866,7 +13981,9 @@
|
||||
"AlbumUsersV1",
|
||||
"AlbumToAssetsV1",
|
||||
"AlbumAssetsV1",
|
||||
"AlbumAssetExifsV1"
|
||||
"AlbumAssetExifsV1",
|
||||
"MemoriesV1",
|
||||
"MemoryToAssetsV1"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -4063,11 +4063,11 @@ export enum Error2 {
|
||||
export enum SyncEntityType {
|
||||
UserV1 = "UserV1",
|
||||
UserDeleteV1 = "UserDeleteV1",
|
||||
PartnerV1 = "PartnerV1",
|
||||
PartnerDeleteV1 = "PartnerDeleteV1",
|
||||
AssetV1 = "AssetV1",
|
||||
AssetDeleteV1 = "AssetDeleteV1",
|
||||
AssetExifV1 = "AssetExifV1",
|
||||
PartnerV1 = "PartnerV1",
|
||||
PartnerDeleteV1 = "PartnerDeleteV1",
|
||||
PartnerAssetV1 = "PartnerAssetV1",
|
||||
PartnerAssetBackfillV1 = "PartnerAssetBackfillV1",
|
||||
PartnerAssetDeleteV1 = "PartnerAssetDeleteV1",
|
||||
@@ -4085,6 +4085,10 @@ export enum SyncEntityType {
|
||||
AlbumToAssetV1 = "AlbumToAssetV1",
|
||||
AlbumToAssetDeleteV1 = "AlbumToAssetDeleteV1",
|
||||
AlbumToAssetBackfillV1 = "AlbumToAssetBackfillV1",
|
||||
MemoryV1 = "MemoryV1",
|
||||
MemoryDeleteV1 = "MemoryDeleteV1",
|
||||
MemoryToAssetV1 = "MemoryToAssetV1",
|
||||
MemoryToAssetDeleteV1 = "MemoryToAssetDeleteV1",
|
||||
SyncAckV1 = "SyncAckV1"
|
||||
}
|
||||
export enum SyncRequestType {
|
||||
@@ -4098,7 +4102,9 @@ export enum SyncRequestType {
|
||||
AlbumUsersV1 = "AlbumUsersV1",
|
||||
AlbumToAssetsV1 = "AlbumToAssetsV1",
|
||||
AlbumAssetsV1 = "AlbumAssetsV1",
|
||||
AlbumAssetExifsV1 = "AlbumAssetExifsV1"
|
||||
AlbumAssetExifsV1 = "AlbumAssetExifsV1",
|
||||
MemoriesV1 = "MemoriesV1",
|
||||
MemoryToAssetsV1 = "MemoryToAssetsV1"
|
||||
}
|
||||
export enum TranscodeHWAccel {
|
||||
Nvenc = "nvenc",
|
||||
|
||||
Reference in New Issue
Block a user