chore: remove exif entity (#17499)

This commit is contained in:
Daniel Dietzler 2025-04-10 18:36:29 +02:00 committed by GitHub
parent 8aea07b750
commit 7a1e8ce6d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 44 additions and 76 deletions

View file

@ -1,3 +1,5 @@
import { Selectable } from 'kysely';
import { Exif as DatabaseExif } from 'src/db';
import { AlbumUserRole, AssetStatus, AssetType, MemoryType, Permission, UserStatus } from 'src/enum';
import { OnThisDayData, UserMetadataItem } from 'src/types';
@ -189,6 +191,8 @@ export type Session = {
deviceType: string;
};
export type Exif = Omit<Selectable<DatabaseExif>, 'updatedAt' | 'updateId'>;
const userColumns = ['id', 'name', 'email', 'profileImagePath', 'profileChangedAt'] as const;
export const columns = {