mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 13:26:47 +01:00
25cad79657
* feat: auto-stack burst photos * feat: move stacks to asset stack entity * chore: pin node version with volta in server * chore: update e2e cases * chore: cleanup * feat: migrate existing stacks --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
10 lines
454 B
TypeScript
10 lines
454 B
TypeScript
import { AssetStackEntity } from '@app/infra/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>;
|
|
}
|