mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 21:36:46 +01:00
6ce35d47f5
* refactor(server): partner core * refactor(server): partner access check
8 lines
214 B
TypeScript
8 lines
214 B
TypeScript
import { IAccessRepository } from '../src';
|
|
|
|
export const newAccessRepositoryMock = (): jest.Mocked<IAccessRepository> => {
|
|
return {
|
|
hasPartnerAccess: jest.fn(),
|
|
hasPartnerAssetAccess: jest.fn(),
|
|
};
|
|
};
|