9 lines
449 B

import { Distribution, Progress, MyProgress } from '~/domain/models/metrics/metrics'
export interface MetricsRepository {
fetchCategoryDistribution(projectId: string): Promise<Distribution>
fetchSpanDistribution(projectId: string): Promise<Distribution>
fetchRelationDistribution(projectId: string): Promise<Distribution>
fetchMemberProgress(projectId: string): Promise<Progress>
fetchMyProgress(projectId: string): Promise<MyProgress>
}