mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 17:25:35 +03:00
chore(server): rename domain repositories -> interfaces (#8147)
rename domain repositories
This commit is contained in:
11
server/src/interfaces/system-config.interface.ts
Normal file
11
server/src/interfaces/system-config.interface.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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>;
|
||||
}
|
||||
Reference in New Issue
Block a user