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.

13 lines
455 B

  1. import { AnnotationRepository } from '@/domain/models/tasks/annotationRepository'
  2. import { TextClassificationItem } from '~/domain/models/tasks/textClassification'
  3. export class APITextClassificationRepository extends AnnotationRepository<TextClassificationItem> {
  4. constructor() {
  5. super(TextClassificationItem)
  6. }
  7. protected baseUrl(projectId: string, docId: number): string {
  8. return `/projects/${projectId}/docs/${docId}/annotations`
  9. }
  10. }