mirror of
https://github.com/immich-app/immich.git
synced 2025-01-08 12:56:48 +01:00
a2934b8830
* feat: search location * fix: tests * feat: outclick * location search index * update query * fixed query * updated sql * update query * Update search.dto.ts Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> * coalesce * fix: tests * feat: add alternate names * fix: generate sql files * single table, add alternate names to query, cleanup * merge main * update sql * pr feedback * pr feedback * chore: fix merge --------- Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com> Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
12 lines
308 B
TypeScript
12 lines
308 B
TypeScript
import { ISearchRepository } from '@app/domain';
|
|
|
|
export const newSearchRepositoryMock = (): jest.Mocked<ISearchRepository> => {
|
|
return {
|
|
init: jest.fn(),
|
|
searchMetadata: jest.fn(),
|
|
searchSmart: jest.fn(),
|
|
searchFaces: jest.fn(),
|
|
upsert: jest.fn(),
|
|
searchPlaces: jest.fn(),
|
|
};
|
|
};
|