mirror of
https://github.com/immich-app/immich.git
synced 2025-11-25 12:00:42 +09:00
chore: remove asset entity (#17703)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { Selectable } from 'kysely';
|
||||
import { Albums, AssetJobStatus as DatabaseAssetJobStatus, Exif as DatabaseExif } from 'src/db';
|
||||
import { Albums, Exif as DatabaseExif } from 'src/db';
|
||||
import { MapAsset } from 'src/dtos/asset-response.dto';
|
||||
import { AssetEntity } from 'src/entities/asset.entity';
|
||||
import {
|
||||
AlbumUserRole,
|
||||
AssetFileType,
|
||||
@@ -265,10 +264,6 @@ export type AssetFace = {
|
||||
person?: Person | null;
|
||||
};
|
||||
|
||||
export type AssetJobStatus = Selectable<DatabaseAssetJobStatus> & {
|
||||
asset: AssetEntity;
|
||||
};
|
||||
|
||||
const userColumns = ['id', 'name', 'email', 'profileImagePath', 'profileChangedAt'] as const;
|
||||
|
||||
export const columns = {
|
||||
|
||||
Reference in New Issue
Block a user