mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: asset sync FKs (#19927)
This commit is contained in:
parent
a97ba4862f
commit
805ec3e351
9 changed files with 59 additions and 1 deletions
|
|
@ -36,6 +36,8 @@ describe(SyncRequestType.AlbumAssetsV1, () => {
|
|||
localDateTime: date,
|
||||
deletedAt: null,
|
||||
duration: '0:10:00.00000',
|
||||
livePhotoVideoId: null,
|
||||
stackId: null,
|
||||
});
|
||||
const { album } = await ctx.newAlbum({ ownerId: user2.id });
|
||||
await ctx.newAlbumAsset({ albumId: album.id, assetId: asset.id });
|
||||
|
|
@ -60,6 +62,8 @@ describe(SyncRequestType.AlbumAssetsV1, () => {
|
|||
type: asset.type,
|
||||
visibility: asset.visibility,
|
||||
duration: asset.duration,
|
||||
livePhotoVideoId: asset.livePhotoVideoId,
|
||||
stackId: asset.stackId,
|
||||
},
|
||||
type: SyncEntityType.AlbumAssetV1,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -57,6 +57,8 @@ describe(SyncEntityType.AssetV1, () => {
|
|||
type: asset.type,
|
||||
visibility: asset.visibility,
|
||||
duration: asset.duration,
|
||||
stackId: null,
|
||||
livePhotoVideoId: null,
|
||||
},
|
||||
type: 'AssetV1',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ describe(SyncRequestType.PartnerAssetsV1, () => {
|
|||
type: asset.type,
|
||||
visibility: asset.visibility,
|
||||
duration: asset.duration,
|
||||
stackId: null,
|
||||
livePhotoVideoId: null,
|
||||
},
|
||||
type: SyncEntityType.PartnerAssetV1,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue