mirror of
https://github.com/immich-app/immich.git
synced 2025-12-01 02:35:21 -05:00
11 lines
447 B
TypeScript
11 lines
447 B
TypeScript
import { AssetStackEntity } from 'src/entities/asset-stack.entity';
|
|
|
|
export const IAssetStackRepository = 'IAssetStackRepository';
|
|
|
|
export interface IAssetStackRepository {
|
|
create(assetStack: Partial<AssetStackEntity>): Promise<AssetStackEntity>;
|
|
update(asset: Pick<AssetStackEntity, 'id'> & Partial<AssetStackEntity>): Promise<AssetStackEntity>;
|
|
delete(id: string): Promise<void>;
|
|
getById(id: string): Promise<AssetStackEntity | null>;
|
|
}
|