ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / api.annotate

Package api.annotate

Types

Name Summary
AnnotationDocument Model for annotating a document for the frontenddata class AnnotationDocument
AnnotationEnableConditionResult A single EnableCondition applied result, indicating if an annotation is required or not.data class AnnotationEnableConditionResult
AnnotationResultCreatorDTO Equivalent to AnnotationResultCreator but streamlined to a single displayName for the frontendsealed class AnnotationResultCreatorDTO
CheckEnableConditionRequestBody Data class to receive a check enable condition requestdata class CheckEnableConditionRequestBody
CheckEnableConditionResponse Data class for the response body of the check enable condition requestdata class CheckEnableConditionResponse

Extensions for External Classes

Name Summary
io.ktor.routing.Route  

Functions

Name Summary
buildAnnotationConditions Top level function to apply the enableConditions for a given AnnotationMapsuspend fun buildAnnotationConditions(documentID: DocumentID, projectID: ProjectID, layout: Layout, annotations: AnnotationMap): List<AnnotationEnableConditionResult>
mapAnnotationResultCreatorToDTO Convert AnnotationResultCreator to AnnotationResultCreatorDTOsuspend fun AnnotationResultCreator.mapAnnotationResultCreatorToDTO(): AnnotationResultCreatorDTO