refactor(server): metadata repository (#12759)

This commit is contained in:
Jason Rasmussen 2024-09-18 08:44:22 -04:00 committed by GitHub
parent ab5dd4d66a
commit 4f25cec6df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 164 additions and 179 deletions

View file

@ -181,4 +181,9 @@ export interface ISearchRepository {
deleteAllSearchEmbeddings(): Promise<void>;
getDimensionSize(): Promise<number>;
setDimensionSize(dimSize: number): Promise<void>;
getCountries(userIds: string[]): Promise<Array<string | null>>;
getStates(userIds: string[], country?: string): Promise<Array<string | null>>;
getCities(userIds: string[], country?: string, state?: string): Promise<Array<string | null>>;
getCameraMakes(userIds: string[], model?: string): Promise<Array<string | null>>;
getCameraModels(userIds: string[], make?: string): Promise<Array<string | null>>;
}