mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
9 lines
449 B
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>
|
|
}
|