mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 10:58:53 -07:00
0aaeab124d
* build: add typesense to docker * feat(server): typesense search * feat(web): search * fix(web): show api error response message * chore: search tests * chore: regenerate open api * fix: disable typesense on e2e * fix: number properties for open api (dart) * fix: e2e test * fix: change lat/lng from floats to typesense geopoint * dev: Add smartInfo relation to findAssetById to be able to query against it --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
10 lines
210 B
TypeScript
10 lines
210 B
TypeScript
import { IAlbumRepository } from '../src';
|
|
|
|
export const newAlbumRepositoryMock = (): jest.Mocked<IAlbumRepository> => {
|
|
return {
|
|
deleteAll: jest.fn(),
|
|
getAll: jest.fn(),
|
|
save: jest.fn(),
|
|
};
|
|
};
|