mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: remove asset entity (#17703)
This commit is contained in:
parent
52ae06c119
commit
dd1fcd5be5
12 changed files with 281 additions and 299 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue