You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
449 B

  1. import { Distribution, Progress, MyProgress } from '~/domain/models/metrics/metrics'
  2. export interface MetricsRepository {
  3. fetchCategoryDistribution(projectId: string): Promise<Distribution>
  4. fetchSpanDistribution(projectId: string): Promise<Distribution>
  5. fetchRelationDistribution(projectId: string): Promise<Distribution>
  6. fetchMemberProgress(projectId: string): Promise<Progress>
  7. fetchMyProgress(projectId: string): Promise<MyProgress>
  8. }