import { CreditMetric } from '../entities/credit-metric.entity';

export const CREDIT_METRIC_REPOSITORY = Symbol('ICreditMetricRepository');

export interface ICreditMetricRepository {
  findLatestByIssuerId(issuerId: string): Promise<CreditMetric | null>;
  create(data: Partial<CreditMetric>): Promise<CreditMetric>;
  save(metric: CreditMetric): Promise<CreditMetric>;
}
