mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 13:26:47 +01:00
698226634e
* feat: add system metadata repository for storing key values for internal usage * feat: add database entities for geodata * feat: move reverse geocoding from local-reverse-geocoder to postgresql * infra: disable synchronization for geodata_places table until typeorm supports earth column * feat: remove cities override config as we will default all instances to cities500 now * test: e2e tests don't clear geodata tables on reset
8 lines
343 B
TypeScript
8 lines
343 B
TypeScript
import { SystemMetadata } from '@app/infra/entities';
|
|
|
|
export const ISystemMetadataRepository = 'ISystemMetadataRepository';
|
|
|
|
export interface ISystemMetadataRepository {
|
|
get<T extends keyof SystemMetadata>(key: T): Promise<SystemMetadata[T] | null>;
|
|
set<T extends keyof SystemMetadata>(key: T, value: SystemMetadata[T]): Promise<void>;
|
|
}
|