mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
* refactor: rename share => shared-link * refactor: shared link crud methods * chore: open api
13 lines
323 B
TypeScript
13 lines
323 B
TypeScript
import { ISharedLinkRepository } from '../src';
|
|
|
|
export const newSharedLinkRepositoryMock = (): jest.Mocked<ISharedLinkRepository> => {
|
|
return {
|
|
getAll: jest.fn(),
|
|
get: jest.fn(),
|
|
getByKey: jest.fn(),
|
|
create: jest.fn(),
|
|
remove: jest.fn(),
|
|
update: jest.fn(),
|
|
hasAssetAccess: jest.fn(),
|
|
};
|
|
};
|