refactor: remove smart info table (#13985)

This commit is contained in:
Jason Rasmussen
2024-11-07 11:25:10 -05:00
committed by GitHub
parent 6053214e75
commit 64831e2328
25 changed files with 16 additions and 345 deletions

View File

@@ -62,10 +62,6 @@ const assetResponse: AssetResponseDto = {
updatedAt: today,
isFavorite: false,
isArchived: false,
smartInfo: {
tags: [],
objects: ['a', 'b', 'c'],
},
duration: '0:00:00.00000',
exifInfo: assetInfo,
livePhotoVideoId: null,
@@ -205,12 +201,6 @@ export const sharedLinkStub = {
isArchived: false,
isExternal: false,
isOffline: false,
smartInfo: {
assetId: 'id_1',
tags: [],
objects: ['a', 'b', 'c'],
asset: null as any,
},
files: [],
thumbhash: null,
encodedVideoPath: '',

View File

@@ -33,7 +33,6 @@ export const newAssetRepositoryMock = (): Mocked<IAssetRepository> => {
getTimeBucket: vitest.fn(),
getTimeBuckets: vitest.fn(),
getAssetIdByCity: vitest.fn(),
getAssetIdByTag: vitest.fn(),
getAllForUserFullSync: vitest.fn(),
getChangedDeltaSync: vitest.fn(),
getDuplicates: vitest.fn(),