mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
12 lines
430 B
TypeScript
12 lines
430 B
TypeScript
import { SystemConfigEntity } from 'src/entities/system-config.entity';
|
|
|
|
export const ISystemConfigRepository = 'ISystemConfigRepository';
|
|
|
|
export interface ISystemConfigRepository {
|
|
fetchStyle(url: string): Promise<any>;
|
|
load(): Promise<SystemConfigEntity[]>;
|
|
readFile(filename: string): Promise<string>;
|
|
saveAll(items: SystemConfigEntity[]): Promise<SystemConfigEntity[]>;
|
|
deleteKeys(keys: string[]): Promise<void>;
|
|
}
|