mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 05:16:47 +01:00
b588a87d4a
rename domain repositories
8 lines
359 B
TypeScript
8 lines
359 B
TypeScript
import { SystemMetadata } from 'src/entities/system-metadata.entity';
|
|
|
|
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>;
|
|
}
|