mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 21:36:46 +01:00
9 lines
343 B
TypeScript
9 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>;
|
||
|
}
|