import { ISearchRepository } from 'src/interfaces/search.interface';
import { Mocked, vitest } from 'vitest';

export const newSearchRepositoryMock = (): Mocked<ISearchRepository> => {
  return {
    init: vitest.fn(),
    searchMetadata: vitest.fn(),
    searchSmart: vitest.fn(),
    searchFaces: vitest.fn(),
    upsert: vitest.fn(),
    searchPlaces: vitest.fn(),
    getAssetsByCity: vitest.fn(),
    deleteAllSearchEmbeddings: vitest.fn(),
  };
};
