refactor(server): non-nullable file metadata (#17598)

This commit is contained in:
Mert 2025-04-15 07:03:31 -04:00 committed by GitHub
parent bd92748ddd
commit c3d10c5be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 49 additions and 66 deletions

View file

@ -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 {