mirror of
https://github.com/immich-app/immich.git
synced 2025-01-08 12:56:48 +01:00
868f629f32
* refactor: shared links * chore: open api * fix: tsc error
14 lines
370 B
TypeScript
14 lines
370 B
TypeScript
import { IAccessRepository } from '@app/domain';
|
|
|
|
export const newAccessRepositoryMock = (): jest.Mocked<IAccessRepository> => {
|
|
return {
|
|
hasPartnerAccess: jest.fn(),
|
|
|
|
hasAlbumAssetAccess: jest.fn(),
|
|
hasOwnerAssetAccess: jest.fn(),
|
|
hasPartnerAssetAccess: jest.fn(),
|
|
hasSharedLinkAssetAccess: jest.fn(),
|
|
|
|
hasAlbumOwnerAccess: jest.fn(),
|
|
};
|
|
};
|