refactor: asset files entity (#17527)

This commit is contained in:
Jason Rasmussen
2025-04-10 13:26:27 -04:00
committed by GitHub
parent 9fd2c5220d
commit eaa0e07329
7 changed files with 19 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
import { Selectable } from 'kysely';
import { Exif as DatabaseExif } from 'src/db';
import { AlbumUserRole, AssetStatus, AssetType, MemoryType, Permission, UserStatus } from 'src/enum';
import { AlbumUserRole, AssetFileType, AssetStatus, AssetType, MemoryType, Permission, UserStatus } from 'src/enum';
import { OnThisDayData, UserMetadataItem } from 'src/types';
export type AuthUser = {
@@ -17,6 +17,12 @@ export type AlbumUser = {
role: AlbumUserRole;
};
export type AssetFile = {
id: string;
type: AssetFileType;
path: string;
};
export type Library = {
id: string;
ownerId: string;