territory/src/modules/configuration/domain/interfaces/configuration.repository.ts

9 lines
242 B
TypeScript

import { Injectable } from '@nestjs/common';
@Injectable()
export abstract class IConfigurationRepository {
abstract get(key: string): Promise<string>;
abstract set(key: string, value: string): void;
abstract del(key: string): void;
}