mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
2ca560ebf8
* feat: explore * chore: generate open api * styling explore page * styling no result page * style overlay * style: bluring text on thumbnail card for readability * explore page tweaks * fix(web): search urls * feat(web): use objects for things * feat(server): filter by motion, sort by createdAt * More styling * better navigation --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
14 lines
317 B
TypeScript
14 lines
317 B
TypeScript
import { ISearchRepository } from '../src';
|
|
|
|
export const newSearchRepositoryMock = (): jest.Mocked<ISearchRepository> => {
|
|
return {
|
|
setup: jest.fn(),
|
|
checkMigrationStatus: jest.fn(),
|
|
index: jest.fn(),
|
|
import: jest.fn(),
|
|
search: jest.fn(),
|
|
delete: jest.fn(),
|
|
explore: jest.fn(),
|
|
};
|
|
};
|