mirror of
https://github.com/immich-app/immich.git
synced 2026-03-26 03:28:59 +03:00
refactor: move asset stacks to their own entity (#6353)
* 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>
This commit is contained in:
10
server/test/repositories/asset-stack.repository.mock.ts
Normal file
10
server/test/repositories/asset-stack.repository.mock.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { IAssetStackRepository } from '@app/domain';
|
||||
|
||||
export const newAssetStackRepositoryMock = (): jest.Mocked<IAssetStackRepository> => {
|
||||
return {
|
||||
create: jest.fn(),
|
||||
update: jest.fn(),
|
||||
delete: jest.fn(),
|
||||
getById: jest.fn(),
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user