mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
refactor(server): non-nullable file metadata (#17598)
This commit is contained in:
@@ -95,6 +95,9 @@ export class TestFactory {
|
||||
originalPath: '/path/to/something.jpg',
|
||||
ownerId: '@immich.cloud',
|
||||
isVisible: true,
|
||||
fileCreatedAt: new Date('2000-01-01T00:00:00Z'),
|
||||
fileModifiedAt: new Date('2000-01-01T00:00:00Z'),
|
||||
localDateTime: new Date('2000-01-01T00:00:00Z'),
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
@@ -418,7 +418,7 @@ describe(SyncService.name, () => {
|
||||
fileModifiedAt: date,
|
||||
isFavorite: false,
|
||||
isVisible: true,
|
||||
localDateTime: null,
|
||||
localDateTime: '2000-01-01T00:00:00.000Z',
|
||||
type: asset.type,
|
||||
},
|
||||
type: 'AssetV1',
|
||||
@@ -521,7 +521,7 @@ describe(SyncService.name, () => {
|
||||
fileModifiedAt: date,
|
||||
isFavorite: false,
|
||||
isVisible: true,
|
||||
localDateTime: null,
|
||||
localDateTime: '2000-01-01T00:00:00.000Z',
|
||||
type: asset.type,
|
||||
},
|
||||
type: SyncEntityType.PartnerAssetV1,
|
||||
|
||||
Reference in New Issue
Block a user