mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 01:11:20 +03:00
11
server/src/interfaces/system-config.repository.ts
Normal file
11
server/src/interfaces/system-config.repository.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { SystemConfigEntity } from 'src/infra/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>;
|
||||
}
|
||||
Reference in New Issue
Block a user